diff --git a/clients/client-acm/ACM.ts b/clients/client-acm/ACM.ts index f2f9124c6474d..5b4e524ae8491 100644 --- a/clients/client-acm/ACM.ts +++ b/clients/client-acm/ACM.ts @@ -77,14 +77,14 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - * AWS Certificate Manager - *

You can use AWS Certificate Manager (ACM) to manage SSL/TLS certificates for your AWS-based websites - * and applications. For more information about using ACM, see the AWS Certificate Manager User Guide.

+ * Amazon Web Services Certificate Manager + *

You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites + * and applications. For more information about using ACM, see the Amazon Web Services Certificate Manager User Guide.

*/ export class ACM extends ACMClient { /** *

Adds one or more tags to an ACM certificate. Tags are labels that you can use to - * identify and organize your AWS resources. Each tag consists of a key and an + * identify and organize your Amazon Web Services resources. Each tag consists of a key and an * optional value. You specify the certificate on input by its Amazon Resource Name * (ARN). You specify the tag by using a key-value pair.

* @@ -131,10 +131,10 @@ export class ACM extends ACMClient { /** *

Deletes a certificate and its associated private key. If this action succeeds, the - * certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by AWS + * certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services * services integrated with ACM.

* - *

You cannot delete an ACM certificate that is being used by another AWS service. To + *

You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To * delete a certificate that is in use, the certificate association must first be * removed.

*
@@ -240,7 +240,7 @@ export class ACM extends ACMClient { /** *

Returns the account - * configuration options associated with an AWS account.

+ * configuration options associated with an Amazon Web Services account.

*/ public getAccountConfiguration( args: GetAccountConfigurationCommandInput, @@ -307,13 +307,13 @@ export class ACM extends ACMClient { } /** - *

Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with + *

Imports a certificate into Amazon Web Services Certificate Manager (ACM) to use with services that are integrated with * ACM. Note that integrated * services allow only certificate types and keys they support to be associated with * their resources. Further, their support differs depending on whether the certificate is * imported into IAM or into ACM. For more information, see the documentation for each * service. For more information about importing certificates into ACM, see Importing - * Certificates in the AWS Certificate Manager User Guide.

+ * Certificates in the Amazon Web Services Certificate Manager User Guide.

* * *

ACM does not provide managed renewal for certificates that you import.

@@ -594,16 +594,21 @@ export class ACM extends ACMClient { } /** - *

Requests an ACM certificate for use with other AWS services. To request an ACM + *

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM * certificate, you must specify a fully qualified domain name (FQDN) in the * DomainName parameter. You can also specify additional FQDNs in the * SubjectAlternativeNames parameter.

- * *

If you are requesting a private certificate, domain validation is not required. If you are * requesting a public certificate, each domain name that you specify must be validated to verify * that you own or control the domain. You can use DNS validation or email validation. * We recommend that you use DNS validation. ACM issues public certificates after receiving * approval from the domain owner.

+ * + * + *

ACM behavior differs from the https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the + * certificate validation process. first checks for a subject alternative name, and, if it + * finds one, ignores the common name (CN)

+ *
*/ public requestCertificate( args: RequestCertificateCommandInput, diff --git a/clients/client-acm/ACMClient.ts b/clients/client-acm/ACMClient.ts index 0081cac7f0b36..ccf0c10e74624 100644 --- a/clients/client-acm/ACMClient.ts +++ b/clients/client-acm/ACMClient.ts @@ -263,9 +263,9 @@ type ACMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOp export interface ACMClientResolvedConfig extends ACMClientResolvedConfigType {} /** - * AWS Certificate Manager - *

You can use AWS Certificate Manager (ACM) to manage SSL/TLS certificates for your AWS-based websites - * and applications. For more information about using ACM, see the AWS Certificate Manager User Guide.

+ * Amazon Web Services Certificate Manager + *

You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites + * and applications. For more information about using ACM, see the Amazon Web Services Certificate Manager User Guide.

*/ export class ACMClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-acm/README.md b/clients/client-acm/README.md index 842ed13505ab6..d529b670eaf43 100644 --- a/clients/client-acm/README.md +++ b/clients/client-acm/README.md @@ -7,10 +7,10 @@ AWS SDK for JavaScript ACM Client for Node.js, Browser and React Native. -AWS Certificate Manager +Amazon Web Services Certificate Manager -

You can use AWS Certificate Manager (ACM) to manage SSL/TLS certificates for your AWS-based websites -and applications. For more information about using ACM, see the AWS Certificate Manager User Guide.

+

You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites +and applications. For more information about using ACM, see the Amazon Web Services Certificate Manager User Guide.

## Installing diff --git a/clients/client-acm/commands/AddTagsToCertificateCommand.ts b/clients/client-acm/commands/AddTagsToCertificateCommand.ts index d0bbb16ad9ab1..e77eedf7b872a 100644 --- a/clients/client-acm/commands/AddTagsToCertificateCommand.ts +++ b/clients/client-acm/commands/AddTagsToCertificateCommand.ts @@ -22,7 +22,7 @@ export interface AddTagsToCertificateCommandOutput extends __MetadataBearer {} /** *

Adds one or more tags to an ACM certificate. Tags are labels that you can use to - * identify and organize your AWS resources. Each tag consists of a key and an + * identify and organize your Amazon Web Services resources. Each tag consists of a key and an * optional value. You specify the certificate on input by its Amazon Resource Name * (ARN). You specify the tag by using a key-value pair.

* diff --git a/clients/client-acm/commands/DeleteCertificateCommand.ts b/clients/client-acm/commands/DeleteCertificateCommand.ts index 813324f5238f6..ade77c9b3cc40 100644 --- a/clients/client-acm/commands/DeleteCertificateCommand.ts +++ b/clients/client-acm/commands/DeleteCertificateCommand.ts @@ -22,10 +22,10 @@ export interface DeleteCertificateCommandOutput extends __MetadataBearer {} /** *

Deletes a certificate and its associated private key. If this action succeeds, the - * certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by AWS + * certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services * services integrated with ACM.

* - *

You cannot delete an ACM certificate that is being used by another AWS service. To + *

You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To * delete a certificate that is in use, the certificate association must first be * removed.

*
diff --git a/clients/client-acm/commands/GetAccountConfigurationCommand.ts b/clients/client-acm/commands/GetAccountConfigurationCommand.ts index b1a980330c36d..3dd7c676d6dd0 100644 --- a/clients/client-acm/commands/GetAccountConfigurationCommand.ts +++ b/clients/client-acm/commands/GetAccountConfigurationCommand.ts @@ -22,7 +22,7 @@ export interface GetAccountConfigurationCommandOutput extends GetAccountConfigur /** *

Returns the account - * configuration options associated with an AWS account.

+ * configuration options associated with an Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-acm/commands/ImportCertificateCommand.ts b/clients/client-acm/commands/ImportCertificateCommand.ts index 0a254c46be9d7..f9c79a5f904e7 100644 --- a/clients/client-acm/commands/ImportCertificateCommand.ts +++ b/clients/client-acm/commands/ImportCertificateCommand.ts @@ -21,13 +21,13 @@ export interface ImportCertificateCommandInput extends ImportCertificateRequest export interface ImportCertificateCommandOutput extends ImportCertificateResponse, __MetadataBearer {} /** - *

Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with + *

Imports a certificate into Amazon Web Services Certificate Manager (ACM) to use with services that are integrated with * ACM. Note that integrated * services allow only certificate types and keys they support to be associated with * their resources. Further, their support differs depending on whether the certificate is * imported into IAM or into ACM. For more information, see the documentation for each * service. For more information about importing certificates into ACM, see Importing - * Certificates in the AWS Certificate Manager User Guide.

+ * Certificates in the Amazon Web Services Certificate Manager User Guide.

* * *

ACM does not provide managed renewal for certificates that you import.

diff --git a/clients/client-acm/commands/RequestCertificateCommand.ts b/clients/client-acm/commands/RequestCertificateCommand.ts index e760c9b957c16..c9d587cab95e7 100644 --- a/clients/client-acm/commands/RequestCertificateCommand.ts +++ b/clients/client-acm/commands/RequestCertificateCommand.ts @@ -21,16 +21,21 @@ export interface RequestCertificateCommandInput extends RequestCertificateReques export interface RequestCertificateCommandOutput extends RequestCertificateResponse, __MetadataBearer {} /** - *

Requests an ACM certificate for use with other AWS services. To request an ACM + *

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM * certificate, you must specify a fully qualified domain name (FQDN) in the * DomainName parameter. You can also specify additional FQDNs in the * SubjectAlternativeNames parameter.

- * *

If you are requesting a private certificate, domain validation is not required. If you are * requesting a public certificate, each domain name that you specify must be validated to verify * that you own or control the domain. You can use DNS validation or email validation. * We recommend that you use DNS validation. ACM issues public certificates after receiving * approval from the domain owner.

+ * + * + *

ACM behavior differs from the https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the + * certificate validation process. first checks for a subject alternative name, and, if it + * finds one, ignores the common name (CN)

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-acm/models/models_0.ts b/clients/client-acm/models/models_0.ts index 6b9abe7420614..034a9bbf46021 100644 --- a/clients/client-acm/models/models_0.ts +++ b/clients/client-acm/models/models_0.ts @@ -206,7 +206,7 @@ export enum RecordType { } /** - *

Contains a DNS record value that you can use to can use to validate ownership or control + *

Contains a DNS record value that you can use to validate ownership or control * of a domain. This is used by the DescribeCertificate action.

*/ export interface ResourceRecord { @@ -429,6 +429,7 @@ export enum KeyAlgorithm { EC_secp521r1 = "EC_secp521r1", RSA_1024 = "RSA_1024", RSA_2048 = "RSA_2048", + RSA_3072 = "RSA_3072", RSA_4096 = "RSA_4096", } @@ -585,7 +586,7 @@ export interface CertificateDetail { /** *

The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see * Amazon Resource Names (ARNs) in - * the AWS General Reference.

+ * the Amazon Web Services General Reference.

*/ CertificateArn?: string; @@ -681,15 +682,15 @@ export interface CertificateDetail { SignatureAlgorithm?: string; /** - *

A list of ARNs for the AWS resources that are using the certificate. A certificate can - * be used by multiple AWS resources.

+ *

A list of ARNs for the Amazon Web Services resources that are using the certificate. A certificate can + * be used by multiple Amazon Web Services resources.

*/ InUseBy?: string[]; /** *

The reason the certificate request failed. This value exists only when the certificate * status is FAILED. For more information, see Certificate Request - * Failed in the AWS Certificate Manager User Guide.

+ * Failed in the Amazon Web Services Certificate Manager User Guide.

*/ FailureReason?: FailureReason | string; @@ -699,7 +700,7 @@ export interface CertificateDetail { * managed renewal for * imported certificates. For more information about the differences between certificates that * you import and those that ACM provides, see Importing Certificates in the - * AWS Certificate Manager User Guide.

+ * Amazon Web Services Certificate Manager User Guide.

*/ Type?: CertificateType | string; @@ -779,7 +780,7 @@ export namespace DeleteCertificateRequest { } /** - *

The certificate is in use by another AWS service in the caller's account. Remove the + *

The certificate is in use by another Amazon Web Services service in the caller's account. Remove the * association and try again.

*/ export interface ResourceInUseException extends __SmithyException, $MetadataBearer { @@ -914,7 +915,7 @@ export namespace RequestInProgressException { /** *

Object containing - * expiration events options associated with an AWS account.

+ * expiration events options associated with an Amazon Web Services account.

*/ export interface ExpiryEventsConfiguration { /** @@ -938,7 +939,7 @@ export namespace ExpiryEventsConfiguration { export interface GetAccountConfigurationResponse { /** *

Expiration events - * configuration options associated with the AWS account.

+ * configuration options associated with the Amazon Web Services account.

*/ ExpiryEvents?: ExpiryEventsConfiguration; } @@ -1300,7 +1301,7 @@ export namespace PutAccountConfigurationRequest { /** *

The supplied input - * failed to satisfy constraints of an AWS service.

+ * failed to satisfy constraints of an Amazon Web Services service.

*/ export interface ValidationException extends __SmithyException, $MetadataBearer { name: "ValidationException"; @@ -1512,7 +1513,7 @@ export interface RequestCertificateRequest { *

The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used * to issue the certificate. If you do not provide an ARN and you are trying to request a private * certificate, ACM will attempt to issue a public certificate. For more information about - * private CAs, see the AWS Certificate Manager Private Certificate Authority (PCA) user guide. The ARN must have the following form:

+ * private CAs, see the Amazon Web Services Certificate Manager Private Certificate Authority (PCA) user guide. The ARN must have the following form:

* *

* arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 diff --git a/clients/client-amplifybackend/models/models_0.ts b/clients/client-amplifybackend/models/models_0.ts index b04c34b256d74..4998b7e4de3ae 100644 --- a/clients/client-amplifybackend/models/models_0.ts +++ b/clients/client-amplifybackend/models/models_0.ts @@ -386,7 +386,7 @@ export interface BackendAPIResourceConfig { AdditionalAuthTypes?: BackendAPIAuthType[]; /** - *

The API name used to interact with the data model, configured as a part of the amplify project.

+ *

The API name used to interact with the data model, configured as a part of your Amplify project.

*/ ApiName?: string; @@ -581,7 +581,7 @@ export namespace SmsSettings { */ export interface CreateBackendAuthForgotPasswordConfig { /** - *

Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.

+ *

Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.

*/ DeliveryMethod: DeliveryMethod | string | undefined; @@ -641,11 +641,11 @@ export namespace Settings { } /** - *

Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

+ *

Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

*/ export interface CreateBackendAuthMFAConfig { /** - *

Describes whether MFA should be [ON, OFF, OPTIONAL] for authentication in your Amplify project.

+ *

Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

*/ MFAMode: MFAMode | string | undefined; @@ -682,12 +682,12 @@ export enum OAuthScopesElement { */ export interface BackendAuthSocialProviderConfig { /** - *

Describes the client_id which can be obtained from the third-party social federation provider.

+ *

Describes the client_id, which can be obtained from the third-party social federation provider.

*/ ClientId?: string; /** - *

Describes the client_secret which can be obtained from third-party social federation providers.

+ *

Describes the client_secret, which can be obtained from third-party social federation providers.

*/ ClientSecret?: string; } @@ -701,6 +701,40 @@ export namespace BackendAuthSocialProviderConfig { }); } +/** + *

Describes Apple social federation configurations for allowing your app users to sign in using OAuth.

+ */ +export interface BackendAuthAppleProviderConfig { + /** + *

Describes the client_id (also called Services ID) that comes from Apple.

+ */ + ClientId?: string; + + /** + *

Describes the key_id that comes from Apple.

+ */ + KeyId?: string; + + /** + *

Describes the private_key that comes from Apple.

+ */ + PrivateKey?: string; + + /** + *

Describes the team_id that comes from Apple.

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

The settings for using the social identity providers for access to your Amplify app.

*/ @@ -719,6 +753,11 @@ export interface SocialProviderSettings { *

Describes third-party social federation configurations for allowing your app users to sign in using OAuth.

*/ LoginWithAmazon?: BackendAuthSocialProviderConfig; + + /** + *

Describes Apple social federation configurations for allowing your app users to sign in using OAuth.

+ */ + SignInWithApple?: BackendAuthAppleProviderConfig; } export namespace SocialProviderSettings { @@ -755,7 +794,7 @@ export interface CreateBackendAuthOAuthConfig { RedirectSignInURIs: string[] | undefined; /** - *

Redirect URLs used by OAuth when a user signs out of an Amplify app.

+ *

Redirect URLs that OAuth uses when a user signs out of an Amplify app.

*/ RedirectSignOutURIs: string[] | undefined; @@ -835,7 +874,7 @@ export interface CreateBackendAuthUserPoolConfig { ForgotPassword?: CreateBackendAuthForgotPasswordConfig; /** - *

Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

+ *

Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

*/ Mfa?: CreateBackendAuthMFAConfig; @@ -2164,7 +2203,7 @@ export namespace UpdateBackendAPIResponse { */ export interface UpdateBackendAuthIdentityPoolConfig { /** - *

A boolean value which can be set to allow or disallow guest-level authorization into your Amplify app.

+ *

A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.

*/ UnauthenticatedLogin?: boolean; } @@ -2251,12 +2290,12 @@ export interface UpdateBackendAuthOAuthConfig { OAuthScopes?: (OAuthScopesElement | string)[]; /** - *

Redirect URLs used by OAuth when a user signs in to an Amplify app.

+ *

Redirect URLs that OAuth uses when a user signs in to an Amplify app.

*/ RedirectSignInURIs?: string[]; /** - *

Redirect URLs used by OAuth when a user signs out of an Amplify app.

+ *

Redirect URLs that OAuth uses when a user signs out of an Amplify app.

*/ RedirectSignOutURIs?: string[]; @@ -2309,7 +2348,7 @@ export interface UpdateBackendAuthUserPoolConfig { ForgotPassword?: UpdateBackendAuthForgotPasswordConfig; /** - *

Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

+ *

Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

*/ Mfa?: UpdateBackendAuthMFAConfig; @@ -2551,7 +2590,7 @@ export interface UpdateBackendJobRequest { JobId: string | undefined; /** - *

Filters the list of response objects to only include those with the specified operation name.

+ *

Filters the list of response objects to include only those with the specified operation name.

*/ Operation?: string; diff --git a/clients/client-amplifybackend/protocols/Aws_restJson1.ts b/clients/client-amplifybackend/protocols/Aws_restJson1.ts index 1a9ce968aa3cb..261d96d83f00e 100644 --- a/clients/client-amplifybackend/protocols/Aws_restJson1.ts +++ b/clients/client-amplifybackend/protocols/Aws_restJson1.ts @@ -44,6 +44,7 @@ import { BackendAPIAuthType, BackendAPIConflictResolution, BackendAPIResourceConfig, + BackendAuthAppleProviderConfig, BackendAuthSocialProviderConfig, BackendJobRespObj, BadRequestException, @@ -3641,6 +3642,18 @@ const serializeAws_restJson1BackendAPIResourceConfig = ( }; }; +const serializeAws_restJson1BackendAuthAppleProviderConfig = ( + input: BackendAuthAppleProviderConfig, + context: __SerdeContext +): any => { + return { + ...(input.ClientId !== undefined && input.ClientId !== null && { client_id: input.ClientId }), + ...(input.KeyId !== undefined && input.KeyId !== null && { key_id: input.KeyId }), + ...(input.PrivateKey !== undefined && input.PrivateKey !== null && { private_key: input.PrivateKey }), + ...(input.TeamId !== undefined && input.TeamId !== null && { team_id: input.TeamId }), + }; +}; + const serializeAws_restJson1BackendAuthSocialProviderConfig = ( input: BackendAuthSocialProviderConfig, context: __SerdeContext @@ -3914,6 +3927,10 @@ const serializeAws_restJson1SocialProviderSettings = (input: SocialProviderSetti input.LoginWithAmazon !== null && { LoginWithAmazon: serializeAws_restJson1BackendAuthSocialProviderConfig(input.LoginWithAmazon, context), }), + ...(input.SignInWithApple !== undefined && + input.SignInWithApple !== null && { + SignInWithApple: serializeAws_restJson1BackendAuthAppleProviderConfig(input.SignInWithApple, context), + }), }; }; @@ -4097,6 +4114,18 @@ const deserializeAws_restJson1BackendAPIResourceConfig = ( } as any; }; +const deserializeAws_restJson1BackendAuthAppleProviderConfig = ( + output: any, + context: __SerdeContext +): BackendAuthAppleProviderConfig => { + return { + ClientId: __expectString(output.client_id), + KeyId: __expectString(output.key_id), + PrivateKey: __expectString(output.private_key), + TeamId: __expectString(output.team_id), + } as any; +}; + const deserializeAws_restJson1BackendAuthSocialProviderConfig = ( output: any, context: __SerdeContext @@ -4388,6 +4417,10 @@ const deserializeAws_restJson1SocialProviderSettings = ( output.LoginWithAmazon !== undefined && output.LoginWithAmazon !== null ? deserializeAws_restJson1BackendAuthSocialProviderConfig(output.LoginWithAmazon, context) : undefined, + SignInWithApple: + output.SignInWithApple !== undefined && output.SignInWithApple !== null + ? deserializeAws_restJson1BackendAuthAppleProviderConfig(output.SignInWithApple, context) + : undefined, } as any; }; diff --git a/clients/client-appintegrations/AppIntegrations.ts b/clients/client-appintegrations/AppIntegrations.ts index 63ec5edb5cffb..71d84e96c9969 100644 --- a/clients/client-appintegrations/AppIntegrations.ts +++ b/clients/client-appintegrations/AppIntegrations.ts @@ -43,16 +43,13 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- * - *

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

+ *

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

*

For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.

*/ export class AppIntegrations extends AppIntegrationsClient { /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Creates an EventIntegration, given a specified name, description, and a reference to an - * Amazon Eventbridge bus in your account and a partner event source that will push events to that bus. No + *

Creates an EventIntegration, given a specified name, description, and a reference to an + * Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No * objects are created in the your account, only metadata that is persisted on the EventIntegration * control plane.

*/ @@ -86,8 +83,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Deletes the specified existing event integration. If the event integration is associated + *

Deletes the specified existing event integration. If the event integration is associated * with clients, the request is rejected.

*/ public deleteEventIntegration( @@ -120,8 +116,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Return information about the event integration.

+ *

Return information about the event integration.

*/ public getEventIntegration( args: GetEventIntegrationCommandInput, @@ -153,8 +148,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Returns a paginated list of event integration associations in the account.

+ *

Returns a paginated list of event integration associations in the account.

*/ public listEventIntegrationAssociations( args: ListEventIntegrationAssociationsCommandInput, @@ -186,8 +180,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Returns a paginated list of event integrations in the account.

+ *

Returns a paginated list of event integrations in the account.

*/ public listEventIntegrations( args: ListEventIntegrationsCommandInput, @@ -219,8 +212,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Lists the tags for the specified resource.

+ *

Lists the tags for the specified resource.

*/ public listTagsForResource( args: ListTagsForResourceCommandInput, @@ -252,8 +244,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Adds the specified tags to the specified resource.

+ *

Adds the specified tags to the specified resource.

*/ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; @@ -279,8 +270,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Removes the specified tags from the specified resource.

+ *

Removes the specified tags from the specified resource.

*/ public untagResource( args: UntagResourceCommandInput, @@ -312,8 +302,7 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Updates the description of an event integration.

+ *

Updates the description of an event integration.

*/ public updateEventIntegration( args: UpdateEventIntegrationCommandInput, diff --git a/clients/client-appintegrations/AppIntegrationsClient.ts b/clients/client-appintegrations/AppIntegrationsClient.ts index c30e894209050..30b23cf6e6da0 100644 --- a/clients/client-appintegrations/AppIntegrationsClient.ts +++ b/clients/client-appintegrations/AppIntegrationsClient.ts @@ -248,9 +248,7 @@ type AppIntegrationsClientResolvedConfigType = __SmithyResolvedConfiguration<__H export interface AppIntegrationsClientResolvedConfig extends AppIntegrationsClientResolvedConfigType {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- * - *

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

+ *

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

*

For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.

*/ export class AppIntegrationsClient extends __Client< diff --git a/clients/client-appintegrations/README.md b/clients/client-appintegrations/README.md index 8921ac51ce656..be23ca55ddda5 100644 --- a/clients/client-appintegrations/README.md +++ b/clients/client-appintegrations/README.md @@ -7,8 +7,6 @@ AWS SDK for JavaScript AppIntegrations Client for Node.js, Browser and React Native. -

The Amazon AppIntegrations APIs are in preview release and are subject to change.

-

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.

diff --git a/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts b/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts index 65d098f2be457..08ac861633e61 100644 --- a/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts @@ -21,9 +21,8 @@ export interface CreateEventIntegrationCommandInput extends CreateEventIntegrati export interface CreateEventIntegrationCommandOutput extends CreateEventIntegrationResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Creates an EventIntegration, given a specified name, description, and a reference to an - * Amazon Eventbridge bus in your account and a partner event source that will push events to that bus. No + *

Creates an EventIntegration, given a specified name, description, and a reference to an + * Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No * objects are created in the your account, only metadata that is persisted on the EventIntegration * control plane.

* @example diff --git a/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts b/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts index f8b0af51625ee..a8ff0301a3e1d 100644 --- a/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts @@ -21,8 +21,7 @@ export interface DeleteEventIntegrationCommandInput extends DeleteEventIntegrati export interface DeleteEventIntegrationCommandOutput extends DeleteEventIntegrationResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Deletes the specified existing event integration. If the event integration is associated + *

Deletes the specified existing event integration. If the event integration is associated * with clients, the request is rejected.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts b/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts index a1dfc020ff43e..8684ddbee2afa 100644 --- a/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts @@ -21,8 +21,7 @@ export interface GetEventIntegrationCommandInput extends GetEventIntegrationRequ export interface GetEventIntegrationCommandOutput extends GetEventIntegrationResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Return information about the event integration.

+ *

Return information about the event integration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts b/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts index 211034c843219..c7f9fa27d1ed1 100644 --- a/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts +++ b/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts @@ -23,8 +23,7 @@ export interface ListEventIntegrationAssociationsCommandOutput __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Returns a paginated list of event integration associations in the account.

+ *

Returns a paginated list of event integration associations in the account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts b/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts index 1913d2a739397..584c1b0e83ebb 100644 --- a/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts +++ b/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts @@ -21,8 +21,7 @@ export interface ListEventIntegrationsCommandInput extends ListEventIntegrations export interface ListEventIntegrationsCommandOutput extends ListEventIntegrationsResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Returns a paginated list of event integrations in the account.

+ *

Returns a paginated list of event integrations in the account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts b/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts index 17f8f50975e8c..49975a8568609 100644 --- a/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts @@ -21,8 +21,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Lists the tags for the specified resource.

+ *

Lists the tags for the specified resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/TagResourceCommand.ts b/clients/client-appintegrations/commands/TagResourceCommand.ts index 8b7a1f65a4e14..b54d762fe1699 100644 --- a/clients/client-appintegrations/commands/TagResourceCommand.ts +++ b/clients/client-appintegrations/commands/TagResourceCommand.ts @@ -21,8 +21,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {} export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Adds the specified tags to the specified resource.

+ *

Adds the specified tags to the specified resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/UntagResourceCommand.ts b/clients/client-appintegrations/commands/UntagResourceCommand.ts index 57ac0789a8484..224f75c061d07 100644 --- a/clients/client-appintegrations/commands/UntagResourceCommand.ts +++ b/clients/client-appintegrations/commands/UntagResourceCommand.ts @@ -21,8 +21,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {} export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Removes the specified tags from the specified resource.

+ *

Removes the specified tags from the specified resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts b/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts index caa552e8de213..72300f964f838 100644 --- a/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts @@ -21,8 +21,7 @@ export interface UpdateEventIntegrationCommandInput extends UpdateEventIntegrati export interface UpdateEventIntegrationCommandOutput extends UpdateEventIntegrationResponse, __MetadataBearer {} /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

Updates the description of an event integration.

+ *

Updates the description of an event integration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/models/models_0.ts b/clients/client-appintegrations/models/models_0.ts index e50b262912907..1150587c6c7ba 100644 --- a/clients/client-appintegrations/models/models_0.ts +++ b/clients/client-appintegrations/models/models_0.ts @@ -19,8 +19,7 @@ export namespace AccessDeniedException { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

The event filter.

+ *

The event filter.

*/ export interface EventFilter { /** @@ -55,7 +54,7 @@ export interface CreateEventIntegrationRequest { EventFilter: EventFilter | undefined; /** - *

The Eventbridge bus.

+ *

The EventBridge bus.

*/ EventBridgeBus: string | undefined; @@ -264,7 +263,7 @@ export interface GetEventIntegrationResponse { EventIntegrationArn?: string; /** - *

The Eventbridge bus.

+ *

The EventBridge bus.

*/ EventBridgeBus?: string; @@ -316,8 +315,7 @@ export namespace ListEventIntegrationAssociationsRequest { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

The event integration association.

+ *

The event integration association.

*/ export interface EventIntegrationAssociation { /** @@ -341,7 +339,7 @@ export interface EventIntegrationAssociation { ClientId?: string; /** - *

The name of the Eventbridge rule.

+ *

The name of the EventBridge rule.

*/ EventBridgeRuleName?: string; @@ -404,8 +402,7 @@ export namespace ListEventIntegrationsRequest { } /** - *

The Amazon AppIntegrations APIs are in preview release and are subject to change.

- *

The event integration.

+ *

The event integration.

*/ export interface EventIntegration { /** @@ -429,7 +426,7 @@ export interface EventIntegration { EventFilter?: EventFilter; /** - *

The Amazon Eventbridge bus for the event integration.

+ *

The Amazon EventBridge bus for the event integration.

*/ EventBridgeBus?: string; diff --git a/clients/client-auditmanager/AuditManager.ts b/clients/client-auditmanager/AuditManager.ts index 35b27cc849d2d..8889896c2d514 100644 --- a/clients/client-auditmanager/AuditManager.ts +++ b/clients/client-auditmanager/AuditManager.ts @@ -241,25 +241,25 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - *

Welcome to the AWS Audit Manager API reference. This guide is for developers who need detailed information about the AWS Audit Manager API operations, data types, and errors.

- *

AWS Audit Manager is a service that provides automated evidence collection so that you - * can continuously audit your AWS usage, and assess the effectiveness of your controls to + *

Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.

+ *

Audit Manager is a service that provides automated evidence collection so that you + * can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to * better manage risk and simplify compliance.

- *

AWS Audit Manager provides pre-built frameworks that structure and automate assessments + *

Audit Manager provides pre-built frameworks that structure and automate assessments * for a given compliance standard. Frameworks include a pre-built collection of controls with * descriptions and testing procedures, which are grouped according to the requirements of the * specified compliance standard or regulation. You can also customize frameworks and controls * to support internal audits with unique requirements.

* - *

Use the following links to get started with the AWS Audit Manager API:

+ *

Use the following links to get started with the Audit Manager API:

*
    *
  • *

    - * Actions: An alphabetical list of all AWS Audit Manager API operations.

    + * Actions: An alphabetical list of all Audit Manager API operations.

    *
  • *
  • *

    - * Data types: An alphabetical list of all AWS Audit Manager data types.

    + * Data types: An alphabetical list of all Audit Manager data types.

    *
  • *
  • *

    @@ -271,12 +271,12 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; *

  • *
* - *

If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.

+ *

If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.

*/ export class AuditManager extends AuditManagerClient { /** *

- * Associates an evidence folder to the specified assessment report in AWS Audit Manager. + * Associates an evidence folder to the specified assessment report in Audit Manager. *

*/ public associateAssessmentReportEvidenceFolder( @@ -312,7 +312,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Associates a list of evidence to an assessment report in an AWS Audit Manager assessment. + * Associates a list of evidence to an assessment report in an Audit Manager assessment. *

*/ public batchAssociateAssessmentReportEvidence( @@ -348,7 +348,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Create a batch of delegations for a specified assessment in AWS Audit Manager. + * Create a batch of delegations for a specified assessment in Audit Manager. *

*/ public batchCreateDelegationByAssessment( @@ -382,7 +382,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deletes the delegations in the specified AWS Audit Manager assessment. + * Deletes the delegations in the specified Audit Manager assessment. *

*/ public batchDeleteDelegationByAssessment( @@ -416,7 +416,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Disassociates a list of evidence from the specified assessment report in AWS Audit Manager. + * Disassociates a list of evidence from the specified assessment report in Audit Manager. *

*/ public batchDisassociateAssessmentReportEvidence( @@ -452,7 +452,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager. + * Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager. *

*/ public batchImportEvidenceToAssessmentControl( @@ -488,7 +488,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Creates an assessment in AWS Audit Manager. + * Creates an assessment in Audit Manager. *

*/ public createAssessment( @@ -522,7 +522,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Creates a custom framework in AWS Audit Manager. + * Creates a custom framework in Audit Manager. *

*/ public createAssessmentFramework( @@ -590,7 +590,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Creates a new custom control in AWS Audit Manager. + * Creates a new custom control in Audit Manager. *

*/ public createControl( @@ -624,7 +624,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deletes an assessment in AWS Audit Manager. + * Deletes an assessment in Audit Manager. *

*/ public deleteAssessment( @@ -658,7 +658,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deletes a custom framework in AWS Audit Manager. + * Deletes a custom framework in Audit Manager. *

*/ public deleteAssessmentFramework( @@ -692,7 +692,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deletes an assessment report from an assessment in AWS Audit Manager. + * Deletes an assessment report from an assessment in Audit Manager. *

*/ public deleteAssessmentReport( @@ -726,7 +726,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deletes a custom control in AWS Audit Manager. + * Deletes a custom control in Audit Manager. *

*/ public deleteControl( @@ -760,7 +760,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Deregisters an account in AWS Audit Manager. + * Deregisters an account in Audit Manager. *

*/ public deregisterAccount( @@ -793,9 +793,14 @@ export class AuditManager extends AuditManagerClient { } /** - *

- * Deregisters the delegated AWS administrator account from the AWS organization. - *

+ *

Removes the specified member account as a delegated administrator for Audit Manager.

+ * + *

When you remove a delegated administrator from your Audit Manager settings, or when you + * deregister a delegated administrator from Organizations, you continue to have access + * to the evidence that you previously collected under that account. However, Audit Manager + * will stop collecting and attaching evidence to that delegated administrator account + * moving forward.

+ *
*/ public deregisterOrganizationAdminAccount( args: DeregisterOrganizationAdminAccountCommandInput, @@ -828,7 +833,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Disassociates an evidence folder from the specified assessment report in AWS Audit Manager. + * Disassociates an evidence folder from the specified assessment report in Audit Manager. *

*/ public disassociateAssessmentReportEvidenceFolder( @@ -864,7 +869,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns the registration status of an account in AWS Audit Manager. + * Returns the registration status of an account in Audit Manager. *

*/ public getAccountStatus( @@ -898,7 +903,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns an assessment from AWS Audit Manager. + * Returns an assessment from Audit Manager. *

*/ public getAssessment( @@ -932,7 +937,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a framework from AWS Audit Manager. + * Returns a framework from Audit Manager. *

*/ public getAssessmentFramework( @@ -966,7 +971,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns the URL of a specified assessment report in AWS Audit Manager. + * Returns the URL of a specified assessment report in Audit Manager. *

*/ public getAssessmentReportUrl( @@ -1000,7 +1005,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of changelogs from AWS Audit Manager. + * Returns a list of changelogs from Audit Manager. *

*/ public getChangeLogs( @@ -1034,7 +1039,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a control from AWS Audit Manager. + * Returns a control from Audit Manager. *

*/ public getControl(args: GetControlCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1096,7 +1101,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns evidence from AWS Audit Manager. + * Returns evidence from Audit Manager. *

*/ public getEvidence(args: GetEvidenceCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1124,7 +1129,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns all evidence from a specified evidence folder in AWS Audit Manager. + * Returns all evidence from a specified evidence folder in Audit Manager. *

*/ public getEvidenceByEvidenceFolder( @@ -1158,7 +1163,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns an evidence folder from the specified assessment in AWS Audit Manager. + * Returns an evidence folder from the specified assessment in Audit Manager. *

*/ public getEvidenceFolder( @@ -1192,7 +1197,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns the evidence folders from a specified assessment in AWS Audit Manager. + * Returns the evidence folders from a specified assessment in Audit Manager. *

*/ public getEvidenceFoldersByAssessment( @@ -1226,7 +1231,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of evidence folders associated with a specified control of an assessment in AWS Audit Manager. + * Returns a list of evidence folders associated with a specified control of an assessment in Audit Manager. *

*/ public getEvidenceFoldersByAssessmentControl( @@ -1262,7 +1267,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns the name of the delegated AWS administrator account for the AWS organization. + * Returns the name of the delegated Amazon Web Services administrator account for the organization. *

*/ public getOrganizationAdminAccount( @@ -1296,7 +1301,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of the in-scope AWS services for the specified assessment. + * Returns a list of the in-scope Amazon Web Services services for the specified assessment. *

*/ public getServicesInScope( @@ -1330,7 +1335,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns the settings for the specified AWS account. + * Returns the settings for the specified account. *

*/ public getSettings(args: GetSettingsCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1358,7 +1363,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of the frameworks available in the AWS Audit Manager framework library. + * Returns a list of the frameworks available in the Audit Manager framework library. *

*/ public listAssessmentFrameworks( @@ -1392,7 +1397,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of assessment reports created in AWS Audit Manager. + * Returns a list of assessment reports created in Audit Manager. *

*/ public listAssessmentReports( @@ -1426,7 +1431,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of current and past assessments from AWS Audit Manager. + * Returns a list of current and past assessments from Audit Manager. *

*/ public listAssessments( @@ -1460,7 +1465,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of controls from AWS Audit Manager. + * Returns a list of controls from Audit Manager. *

*/ public listControls( @@ -1525,7 +1530,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of all AWS Audit Manager notifications. + * Returns a list of all Audit Manager notifications. *

*/ public listNotifications( @@ -1559,7 +1564,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Returns a list of tags for the specified resource in AWS Audit Manager. + * Returns a list of tags for the specified resource in Audit Manager. *

*/ public listTagsForResource( @@ -1593,7 +1598,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Enables AWS Audit Manager for the specified AWS account. + * Enables Audit Manager for the specified account. *

*/ public registerAccount( @@ -1627,7 +1632,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Enables an AWS account within the organization as the delegated administrator for AWS Audit Manager. + * Enables an account within the organization as the delegated administrator for Audit Manager. *

*/ public registerOrganizationAdminAccount( @@ -1661,7 +1666,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Tags the specified resource in AWS Audit Manager. + * Tags the specified resource in Audit Manager. *

*/ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1689,7 +1694,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Removes a tag from a resource in AWS Audit Manager. + * Removes a tag from a resource in Audit Manager. *

*/ public untagResource( @@ -1723,7 +1728,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Edits an AWS Audit Manager assessment. + * Edits an Audit Manager assessment. *

*/ public updateAssessment( @@ -1757,7 +1762,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates a control within an assessment in AWS Audit Manager. + * Updates a control within an assessment in Audit Manager. *

*/ public updateAssessmentControl( @@ -1791,7 +1796,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates the status of a control set in an AWS Audit Manager assessment. + * Updates the status of a control set in an Audit Manager assessment. *

*/ public updateAssessmentControlSetStatus( @@ -1825,7 +1830,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates a custom framework in AWS Audit Manager. + * Updates a custom framework in Audit Manager. *

*/ public updateAssessmentFramework( @@ -1859,7 +1864,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates the status of an assessment in AWS Audit Manager. + * Updates the status of an assessment in Audit Manager. *

*/ public updateAssessmentStatus( @@ -1893,7 +1898,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates a custom control in AWS Audit Manager. + * Updates a custom control in Audit Manager. *

*/ public updateControl( @@ -1927,7 +1932,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Updates AWS Audit Manager settings for the current user account. + * Updates Audit Manager settings for the current user account. *

*/ public updateSettings( @@ -1961,7 +1966,7 @@ export class AuditManager extends AuditManagerClient { /** *

- * Validates the integrity of an assessment report in AWS Audit Manager. + * Validates the integrity of an assessment report in Audit Manager. *

*/ public validateAssessmentReportIntegrity( diff --git a/clients/client-auditmanager/AuditManagerClient.ts b/clients/client-auditmanager/AuditManagerClient.ts index e6d62f40febab..e550387e23de5 100644 --- a/clients/client-auditmanager/AuditManagerClient.ts +++ b/clients/client-auditmanager/AuditManagerClient.ts @@ -437,25 +437,25 @@ type AuditManagerClientResolvedConfigType = __SmithyResolvedConfiguration<__Http export interface AuditManagerClientResolvedConfig extends AuditManagerClientResolvedConfigType {} /** - *

Welcome to the AWS Audit Manager API reference. This guide is for developers who need detailed information about the AWS Audit Manager API operations, data types, and errors.

- *

AWS Audit Manager is a service that provides automated evidence collection so that you - * can continuously audit your AWS usage, and assess the effectiveness of your controls to + *

Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.

+ *

Audit Manager is a service that provides automated evidence collection so that you + * can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to * better manage risk and simplify compliance.

- *

AWS Audit Manager provides pre-built frameworks that structure and automate assessments + *

Audit Manager provides pre-built frameworks that structure and automate assessments * for a given compliance standard. Frameworks include a pre-built collection of controls with * descriptions and testing procedures, which are grouped according to the requirements of the * specified compliance standard or regulation. You can also customize frameworks and controls * to support internal audits with unique requirements.

* - *

Use the following links to get started with the AWS Audit Manager API:

+ *

Use the following links to get started with the Audit Manager API:

*
    *
  • *

    - * Actions: An alphabetical list of all AWS Audit Manager API operations.

    + * Actions: An alphabetical list of all Audit Manager API operations.

    *
  • *
  • *

    - * Data types: An alphabetical list of all AWS Audit Manager data types.

    + * Data types: An alphabetical list of all Audit Manager data types.

    *
  • *
  • *

    @@ -467,7 +467,7 @@ export interface AuditManagerClientResolvedConfig extends AuditManagerClientReso *

  • *
* - *

If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.

+ *

If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.

*/ export class AuditManagerClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-auditmanager/README.md b/clients/client-auditmanager/README.md index b65c813fa2224..465466bdada64 100644 --- a/clients/client-auditmanager/README.md +++ b/clients/client-auditmanager/README.md @@ -7,25 +7,25 @@ AWS SDK for JavaScript AuditManager Client for Node.js, Browser and React Native. -

Welcome to the AWS Audit Manager API reference. This guide is for developers who need detailed information about the AWS Audit Manager API operations, data types, and errors.

-

AWS Audit Manager is a service that provides automated evidence collection so that you -can continuously audit your AWS usage, and assess the effectiveness of your controls to +

Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.

+

Audit Manager is a service that provides automated evidence collection so that you +can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to better manage risk and simplify compliance.

-

AWS Audit Manager provides pre-built frameworks that structure and automate assessments +

Audit Manager provides pre-built frameworks that structure and automate assessments for a given compliance standard. Frameworks include a pre-built collection of controls with descriptions and testing procedures, which are grouped according to the requirements of the specified compliance standard or regulation. You can also customize frameworks and controls to support internal audits with unique requirements.

-

Use the following links to get started with the AWS Audit Manager API:

+

Use the following links to get started with the Audit Manager API:

  • -Actions: An alphabetical list of all AWS Audit Manager API operations.

    +Actions: An alphabetical list of all Audit Manager API operations.

  • -Data types: An alphabetical list of all AWS Audit Manager data types.

    +Data types: An alphabetical list of all Audit Manager data types.

  • @@ -37,7 +37,7 @@ to support internal audits with unique requirements.

-

If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.

+

If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.

## Installing diff --git a/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts index fe727db93712a..3252eaa5abcaa 100644 --- a/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts @@ -28,7 +28,7 @@ export interface AssociateAssessmentReportEvidenceFolderCommandOutput /** *

- * Associates an evidence folder to the specified assessment report in AWS Audit Manager. + * Associates an evidence folder to the specified assessment report in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts index fd961a529aa15..afcc2af5b1a05 100644 --- a/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts @@ -28,7 +28,7 @@ export interface BatchAssociateAssessmentReportEvidenceCommandOutput /** *

- * Associates a list of evidence to an assessment report in an AWS Audit Manager assessment. + * Associates a list of evidence to an assessment report in an Audit Manager assessment. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts index ac5b19d8928e9..193b4ff8c6756 100644 --- a/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts @@ -27,7 +27,7 @@ export interface BatchCreateDelegationByAssessmentCommandOutput /** *

- * Create a batch of delegations for a specified assessment in AWS Audit Manager. + * Create a batch of delegations for a specified assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts index 35152b09c434e..ed30cd46d511c 100644 --- a/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts @@ -27,7 +27,7 @@ export interface BatchDeleteDelegationByAssessmentCommandOutput /** *

- * Deletes the delegations in the specified AWS Audit Manager assessment. + * Deletes the delegations in the specified Audit Manager assessment. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts index ee8d5ea73f6f2..1f583b400a538 100644 --- a/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts @@ -28,7 +28,7 @@ export interface BatchDisassociateAssessmentReportEvidenceCommandOutput /** *

- * Disassociates a list of evidence from the specified assessment report in AWS Audit Manager. + * Disassociates a list of evidence from the specified assessment report in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts index 41f279a757ea3..2e84529aaf9b3 100644 --- a/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts @@ -28,7 +28,7 @@ export interface BatchImportEvidenceToAssessmentControlCommandOutput /** *

- * Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager. + * Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/CreateAssessmentCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts index 5d694ef541061..8a8fbf8ef33b7 100644 --- a/clients/client-auditmanager/commands/CreateAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts @@ -22,7 +22,7 @@ export interface CreateAssessmentCommandOutput extends CreateAssessmentResponse, /** *

- * Creates an assessment in AWS Audit Manager. + * Creates an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts index 4bd42ab8cf7ac..7714c395e839f 100644 --- a/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts @@ -22,7 +22,7 @@ export interface CreateAssessmentFrameworkCommandOutput extends CreateAssessment /** *

- * Creates a custom framework in AWS Audit Manager. + * Creates a custom framework in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/CreateControlCommand.ts b/clients/client-auditmanager/commands/CreateControlCommand.ts index 43027350b2b26..08ca12c12a819 100644 --- a/clients/client-auditmanager/commands/CreateControlCommand.ts +++ b/clients/client-auditmanager/commands/CreateControlCommand.ts @@ -22,7 +22,7 @@ export interface CreateControlCommandOutput extends CreateControlResponse, __Met /** *

- * Creates a new custom control in AWS Audit Manager. + * Creates a new custom control in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts index d62d61433a50d..2b0991d1124aa 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts @@ -22,7 +22,7 @@ export interface DeleteAssessmentCommandOutput extends DeleteAssessmentResponse, /** *

- * Deletes an assessment in AWS Audit Manager. + * Deletes an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts index f02997320346b..687b4ccf5d904 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts @@ -22,7 +22,7 @@ export interface DeleteAssessmentFrameworkCommandOutput extends DeleteAssessment /** *

- * Deletes a custom framework in AWS Audit Manager. + * Deletes a custom framework in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts index 324f5e116e130..9f246dc595f3b 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts @@ -22,7 +22,7 @@ export interface DeleteAssessmentReportCommandOutput extends DeleteAssessmentRep /** *

- * Deletes an assessment report from an assessment in AWS Audit Manager. + * Deletes an assessment report from an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeleteControlCommand.ts b/clients/client-auditmanager/commands/DeleteControlCommand.ts index bec0750903fac..d9e81dc4f2e05 100644 --- a/clients/client-auditmanager/commands/DeleteControlCommand.ts +++ b/clients/client-auditmanager/commands/DeleteControlCommand.ts @@ -22,7 +22,7 @@ export interface DeleteControlCommandOutput extends DeleteControlResponse, __Met /** *

- * Deletes a custom control in AWS Audit Manager. + * Deletes a custom control in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeregisterAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts index 08bbdc5bba45d..c5fb23f66fb6b 100644 --- a/clients/client-auditmanager/commands/DeregisterAccountCommand.ts +++ b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts @@ -22,7 +22,7 @@ export interface DeregisterAccountCommandOutput extends DeregisterAccountRespons /** *

- * Deregisters an account in AWS Audit Manager. + * Deregisters an account in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts index c2e0fc2ecb3bb..e17a92e98fa84 100644 --- a/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts @@ -26,9 +26,14 @@ export interface DeregisterOrganizationAdminAccountCommandOutput __MetadataBearer {} /** - *

- * Deregisters the delegated AWS administrator account from the AWS organization. - *

+ *

Removes the specified member account as a delegated administrator for Audit Manager.

+ * + *

When you remove a delegated administrator from your Audit Manager settings, or when you + * deregister a delegated administrator from Organizations, you continue to have access + * to the evidence that you previously collected under that account. However, Audit Manager + * will stop collecting and attaching evidence to that delegated administrator account + * moving forward.

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts index aae72eaac2e65..aaace1f89208d 100644 --- a/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts @@ -28,7 +28,7 @@ export interface DisassociateAssessmentReportEvidenceFolderCommandOutput /** *

- * Disassociates an evidence folder from the specified assessment report in AWS Audit Manager. + * Disassociates an evidence folder from the specified assessment report in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetAccountStatusCommand.ts b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts index 6d60e660c46a4..36c85d5e38906 100644 --- a/clients/client-auditmanager/commands/GetAccountStatusCommand.ts +++ b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts @@ -22,7 +22,7 @@ export interface GetAccountStatusCommandOutput extends GetAccountStatusResponse, /** *

- * Returns the registration status of an account in AWS Audit Manager. + * Returns the registration status of an account in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetAssessmentCommand.ts b/clients/client-auditmanager/commands/GetAssessmentCommand.ts index 74e36da6c1fad..d4852b2a58af2 100644 --- a/clients/client-auditmanager/commands/GetAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentCommand.ts @@ -22,7 +22,7 @@ export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __Met /** *

- * Returns an assessment from AWS Audit Manager. + * Returns an assessment from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts index aacb8e16b4fd9..bf5ddd2ab26ff 100644 --- a/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts @@ -22,7 +22,7 @@ export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFramew /** *

- * Returns a framework from AWS Audit Manager. + * Returns a framework from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts index b755476d7f5ae..0f8c28004b6b6 100644 --- a/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts @@ -22,7 +22,7 @@ export interface GetAssessmentReportUrlCommandOutput extends GetAssessmentReport /** *

- * Returns the URL of a specified assessment report in AWS Audit Manager. + * Returns the URL of a specified assessment report in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetChangeLogsCommand.ts b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts index 656ee8e2923f2..9634ca60449e6 100644 --- a/clients/client-auditmanager/commands/GetChangeLogsCommand.ts +++ b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts @@ -22,7 +22,7 @@ export interface GetChangeLogsCommandOutput extends GetChangeLogsResponse, __Met /** *

- * Returns a list of changelogs from AWS Audit Manager. + * Returns a list of changelogs from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetControlCommand.ts b/clients/client-auditmanager/commands/GetControlCommand.ts index 94fa98f24a4b7..873bd3b5a53bd 100644 --- a/clients/client-auditmanager/commands/GetControlCommand.ts +++ b/clients/client-auditmanager/commands/GetControlCommand.ts @@ -22,7 +22,7 @@ export interface GetControlCommandOutput extends GetControlResponse, __MetadataB /** *

- * Returns a control from AWS Audit Manager. + * Returns a control from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts index 3788eff5b82f4..49fee4483deaa 100644 --- a/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts @@ -24,7 +24,7 @@ export interface GetEvidenceByEvidenceFolderCommandOutput /** *

- * Returns all evidence from a specified evidence folder in AWS Audit Manager. + * Returns all evidence from a specified evidence folder in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetEvidenceCommand.ts b/clients/client-auditmanager/commands/GetEvidenceCommand.ts index a21365b76b695..4ad50f6ab3b81 100644 --- a/clients/client-auditmanager/commands/GetEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceCommand.ts @@ -22,7 +22,7 @@ export interface GetEvidenceCommandOutput extends GetEvidenceResponse, __Metadat /** *

- * Returns evidence from AWS Audit Manager. + * Returns evidence from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts index 055820893ac20..4b9c4cd0aee25 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts @@ -22,7 +22,7 @@ export interface GetEvidenceFolderCommandOutput extends GetEvidenceFolderRespons /** *

- * Returns an evidence folder from the specified assessment in AWS Audit Manager. + * Returns an evidence folder from the specified assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts index 238b528bff0d3..5ca5bd05241a5 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts @@ -24,7 +24,7 @@ export interface GetEvidenceFoldersByAssessmentCommandOutput /** *

- * Returns the evidence folders from a specified assessment in AWS Audit Manager. + * Returns the evidence folders from a specified assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts index 1427b87a16d42..f67aead74b7f5 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts @@ -28,7 +28,7 @@ export interface GetEvidenceFoldersByAssessmentControlCommandOutput /** *

- * Returns a list of evidence folders associated with a specified control of an assessment in AWS Audit Manager. + * Returns a list of evidence folders associated with a specified control of an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts index 770df1349dfe1..7375ff347d311 100644 --- a/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts @@ -24,7 +24,7 @@ export interface GetOrganizationAdminAccountCommandOutput /** *

- * Returns the name of the delegated AWS administrator account for the AWS organization. + * Returns the name of the delegated Amazon Web Services administrator account for the organization. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts index f14f9889adcf6..408b07f40ab20 100644 --- a/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts +++ b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts @@ -22,7 +22,7 @@ export interface GetServicesInScopeCommandOutput extends GetServicesInScopeRespo /** *

- * Returns a list of the in-scope AWS services for the specified assessment. + * Returns a list of the in-scope Amazon Web Services services for the specified assessment. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/GetSettingsCommand.ts b/clients/client-auditmanager/commands/GetSettingsCommand.ts index 16e8191b12843..db9e0b9fd9951 100644 --- a/clients/client-auditmanager/commands/GetSettingsCommand.ts +++ b/clients/client-auditmanager/commands/GetSettingsCommand.ts @@ -22,7 +22,7 @@ export interface GetSettingsCommandOutput extends GetSettingsResponse, __Metadat /** *

- * Returns the settings for the specified AWS account. + * Returns the settings for the specified account. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts index fdb944f43e048..66e6640e76108 100644 --- a/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts @@ -22,7 +22,7 @@ export interface ListAssessmentFrameworksCommandOutput extends ListAssessmentFra /** *

- * Returns a list of the frameworks available in the AWS Audit Manager framework library. + * Returns a list of the frameworks available in the Audit Manager framework library. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts index c4d1f1c9d6f39..13e91896d1d9a 100644 --- a/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts @@ -22,7 +22,7 @@ export interface ListAssessmentReportsCommandOutput extends ListAssessmentReport /** *

- * Returns a list of assessment reports created in AWS Audit Manager. + * Returns a list of assessment reports created in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListAssessmentsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts index aaae9aa6450af..f385cf5420e7a 100644 --- a/clients/client-auditmanager/commands/ListAssessmentsCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts @@ -22,7 +22,7 @@ export interface ListAssessmentsCommandOutput extends ListAssessmentsResponse, _ /** *

- * Returns a list of current and past assessments from AWS Audit Manager. + * Returns a list of current and past assessments from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListControlsCommand.ts b/clients/client-auditmanager/commands/ListControlsCommand.ts index c4e84cd0f92cc..853c1017c4e53 100644 --- a/clients/client-auditmanager/commands/ListControlsCommand.ts +++ b/clients/client-auditmanager/commands/ListControlsCommand.ts @@ -22,7 +22,7 @@ export interface ListControlsCommandOutput extends ListControlsResponse, __Metad /** *

- * Returns a list of controls from AWS Audit Manager. + * Returns a list of controls from Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListNotificationsCommand.ts b/clients/client-auditmanager/commands/ListNotificationsCommand.ts index d531a432b05f8..f8d1ff1d9df81 100644 --- a/clients/client-auditmanager/commands/ListNotificationsCommand.ts +++ b/clients/client-auditmanager/commands/ListNotificationsCommand.ts @@ -22,7 +22,7 @@ export interface ListNotificationsCommandOutput extends ListNotificationsRespons /** *

- * Returns a list of all AWS Audit Manager notifications. + * Returns a list of all Audit Manager notifications. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts b/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts index f4ddb487e8cce..36c42e49ef80b 100644 --- a/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts @@ -22,7 +22,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes /** *

- * Returns a list of tags for the specified resource in AWS Audit Manager. + * Returns a list of tags for the specified resource in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/RegisterAccountCommand.ts b/clients/client-auditmanager/commands/RegisterAccountCommand.ts index 2086bfa276fc0..8044430a87ac0 100644 --- a/clients/client-auditmanager/commands/RegisterAccountCommand.ts +++ b/clients/client-auditmanager/commands/RegisterAccountCommand.ts @@ -22,7 +22,7 @@ export interface RegisterAccountCommandOutput extends RegisterAccountResponse, _ /** *

- * Enables AWS Audit Manager for the specified AWS account. + * Enables Audit Manager for the specified account. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts index a05e190c1001f..6fdc116a24c17 100644 --- a/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts @@ -24,7 +24,7 @@ export interface RegisterOrganizationAdminAccountCommandOutput /** *

- * Enables an AWS account within the organization as the delegated administrator for AWS Audit Manager. + * Enables an account within the organization as the delegated administrator for Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/TagResourceCommand.ts b/clients/client-auditmanager/commands/TagResourceCommand.ts index fa3c53c13d099..bfdf8902bd9f0 100644 --- a/clients/client-auditmanager/commands/TagResourceCommand.ts +++ b/clients/client-auditmanager/commands/TagResourceCommand.ts @@ -22,7 +22,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat /** *

- * Tags the specified resource in AWS Audit Manager. + * Tags the specified resource in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UntagResourceCommand.ts b/clients/client-auditmanager/commands/UntagResourceCommand.ts index a92a20cd976ac..1463639cfa537 100644 --- a/clients/client-auditmanager/commands/UntagResourceCommand.ts +++ b/clients/client-auditmanager/commands/UntagResourceCommand.ts @@ -22,7 +22,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met /** *

- * Removes a tag from a resource in AWS Audit Manager. + * Removes a tag from a resource in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts index 156f3fea1785b..176ba2b0ca9b4 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts @@ -22,7 +22,7 @@ export interface UpdateAssessmentCommandOutput extends UpdateAssessmentResponse, /** *

- * Edits an AWS Audit Manager assessment. + * Edits an Audit Manager assessment. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts index 90e0815a99ca6..7fa1c3005b38a 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts @@ -22,7 +22,7 @@ export interface UpdateAssessmentControlCommandOutput extends UpdateAssessmentCo /** *

- * Updates a control within an assessment in AWS Audit Manager. + * Updates a control within an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts index 9922eac5a4a19..9f1b832b06e98 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts @@ -24,7 +24,7 @@ export interface UpdateAssessmentControlSetStatusCommandOutput /** *

- * Updates the status of a control set in an AWS Audit Manager assessment. + * Updates the status of a control set in an Audit Manager assessment. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts index ae8f655da36de..28dfd403cc10e 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts @@ -22,7 +22,7 @@ export interface UpdateAssessmentFrameworkCommandOutput extends UpdateAssessment /** *

- * Updates a custom framework in AWS Audit Manager. + * Updates a custom framework in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts index c59d5c5b0208c..eb69fffd99a83 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts @@ -22,7 +22,7 @@ export interface UpdateAssessmentStatusCommandOutput extends UpdateAssessmentSta /** *

- * Updates the status of an assessment in AWS Audit Manager. + * Updates the status of an assessment in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateControlCommand.ts b/clients/client-auditmanager/commands/UpdateControlCommand.ts index fbab9b262b785..458a4c43a721a 100644 --- a/clients/client-auditmanager/commands/UpdateControlCommand.ts +++ b/clients/client-auditmanager/commands/UpdateControlCommand.ts @@ -22,7 +22,7 @@ export interface UpdateControlCommandOutput extends UpdateControlResponse, __Met /** *

- * Updates a custom control in AWS Audit Manager. + * Updates a custom control in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/UpdateSettingsCommand.ts b/clients/client-auditmanager/commands/UpdateSettingsCommand.ts index 1211b671728aa..c405a7d739e44 100644 --- a/clients/client-auditmanager/commands/UpdateSettingsCommand.ts +++ b/clients/client-auditmanager/commands/UpdateSettingsCommand.ts @@ -22,7 +22,7 @@ export interface UpdateSettingsCommandOutput extends UpdateSettingsResponse, __M /** *

- * Updates AWS Audit Manager settings for the current user account. + * Updates Audit Manager settings for the current user account. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts b/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts index fbb21a0adedb0..d29e9f8e7b4f0 100644 --- a/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts +++ b/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts @@ -27,7 +27,7 @@ export interface ValidateAssessmentReportIntegrityCommandOutput /** *

- * Validates the integrity of an assessment report in AWS Audit Manager. + * Validates the integrity of an assessment report in Audit Manager. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auditmanager/models/models_0.ts b/clients/client-auditmanager/models/models_0.ts index 382addf69d5b1..ee67b88208a48 100644 --- a/clients/client-auditmanager/models/models_0.ts +++ b/clients/client-auditmanager/models/models_0.ts @@ -2,7 +2,7 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException /** *

- * Your account is not registered with AWS Audit Manager. Check the delegated administrator setup on the AWS Audit Manager settings page, and try again. + * Your account is not registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again. *

*/ export interface AccessDeniedException extends __SmithyException, $MetadataBearer { @@ -39,27 +39,27 @@ export enum ActionEnum { /** *

- * The wrapper of AWS account details, such as account ID, email address, and so on. + * The wrapper of account details, such as account ID, email address, and so on. *

*/ export interface AWSAccount { /** *

- * The identifier for the specified AWS account. + * The identifier for the specified account. *

*/ id?: string; /** *

- * The email address associated with the specified AWS account. + * The email address associated with the specified account. *

*/ emailAddress?: string; /** *

- * The name of the specified AWS account. + * The name of the specified account. *

*/ name?: string; @@ -126,7 +126,7 @@ export enum ControlStatus { /** *

- * The control entity that represents a standard or custom control used in an AWS Audit Manager assessment. + * The control entity that represents a standard or custom control used in an Audit Manager assessment. *

*/ export interface AssessmentControl { @@ -310,7 +310,7 @@ export namespace Delegation { /** *

- * The wrapper that contains the AWS Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN). + * The wrapper that contains the Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN). *

*/ export interface Role { @@ -351,7 +351,7 @@ export enum ControlSetStatus { /** *

- * Represents a set of controls in an AWS Audit Manager assessment. + * Represents a set of controls in an Audit Manager assessment. *

*/ export interface AssessmentControlSet { @@ -467,7 +467,7 @@ export namespace FrameworkMetadata { /** *

- * The file used to structure and automate AWS Audit Manager assessments for a given compliance standard. + * The file used to structure and automate Audit Manager assessments for a given compliance standard. *

*/ export interface AssessmentFramework { @@ -515,7 +515,7 @@ export enum AssessmentReportDestinationType { /** *

- * The location in which AWS Audit Manager saves assessment reports for the given assessment. + * The location in which Audit Manager saves assessment reports for the given assessment. *

*/ export interface AssessmentReportsDestination { @@ -545,13 +545,13 @@ export namespace AssessmentReportsDestination { /** *

- * An AWS service such as Amazon S3, AWS CloudTrail, and so on. + * An Amazon Web Service such as Amazon S3, CloudTrail, and so on. *

*/ export interface AWSService { /** *

- * The name of the AWS service. + * The name of the Amazon Web Service. *

*/ serviceName?: string; @@ -568,20 +568,20 @@ export namespace AWSService { /** *

- * The wrapper that contains the AWS accounts and AWS services in scope for the assessment. + * The wrapper that contains the accounts and services in scope for the assessment. *

*/ export interface Scope { /** *

- * The AWS accounts included in the scope of the assessment. + * The accounts included in the scope of the assessment. *

*/ awsAccounts?: AWSAccount[]; /** *

- * The AWS services included in the scope of the assessment. + * The Amazon Web Services services included in the scope of the assessment. *

*/ awsServices?: AWSService[]; @@ -651,7 +651,7 @@ export interface AssessmentMetadata { /** *

- * The wrapper of AWS accounts and services in scope for the assessment. + * The wrapper of accounts and services in scope for the assessment. *

*/ scope?: Scope; @@ -696,7 +696,7 @@ export namespace AssessmentMetadata { /** *

- * An entity that defines the scope of audit evidence collected by AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS Audit Manager framework. + * An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework. *

*/ export interface Assessment { @@ -709,7 +709,7 @@ export interface Assessment { /** *

- * The AWS account associated with the assessment. + * The account associated with the assessment. *

*/ awsAccount?: AWSAccount; @@ -747,7 +747,7 @@ export namespace Assessment { /** *

- * The folder in which AWS Audit Manager stores evidence for an assessment. + * The folder in which Audit Manager stores evidence for an assessment. *

*/ export interface AssessmentEvidenceFolder { @@ -796,7 +796,7 @@ export interface AssessmentEvidenceFolder { /** *

- * The AWS service from which the evidence was collected. + * The Amazon Web Service from which the evidence was collected. *

*/ dataSource?: string; @@ -838,7 +838,7 @@ export interface AssessmentEvidenceFolder { /** *

- * The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. + * The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM. *

*/ evidenceByTypeConfigurationDataCount?: number; @@ -852,29 +852,28 @@ export interface AssessmentEvidenceFolder { /** *

- * The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config or AWS Security Hub. + * The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub. *

*/ evidenceByTypeComplianceCheckCount?: number; /** *

- * The total number of issues that were reported directly from AWS Security - * Hub, AWS Config, or both. + * The total number of issues that were reported directly from Security Hub, Config, or both. *

*/ evidenceByTypeComplianceCheckIssuesCount?: number; /** *

- * The number of evidence that falls under the user activity category. This evidence is collected from AWS CloudTrail logs. + * The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs. *

*/ evidenceByTypeUserActivityCount?: number; /** *

- * The total number of AWS resources assessed to generate the evidence. + * The total number of Amazon Web Services resources assessed to generate the evidence. *

*/ evidenceAwsServiceSourceCount?: number; @@ -989,7 +988,7 @@ export namespace AssessmentFrameworkMetadata { /** *

- * A metadata object associated with an assessment in AWS Audit Manager. + * A metadata object associated with an assessment in Audit Manager. *

*/ export interface AssessmentMetadataItem { @@ -1067,7 +1066,7 @@ export enum AssessmentReportStatus { /** *

- * A finalized document generated from an AWS Audit Manager assessment. These reports summarize the relevant evidence collected for your audit, and link to the relevant evidence folders which are named and organized according to the controls specified in your assessment. + * A finalized document generated from an Audit Manager assessment. These reports summarize the relevant evidence collected for your audit, and link to the relevant evidence folders which are named and organized according to the controls specified in your assessment. *

*/ export interface AssessmentReport { @@ -1094,7 +1093,7 @@ export interface AssessmentReport { /** *

- * The identifier for the specified AWS account. + * The identifier for the specified account. *

*/ awsAccountId?: string; @@ -1470,7 +1469,7 @@ export namespace BatchAssociateAssessmentReportEvidenceResponse { /** *

- * A collection of attributes used to create a delegation for an assessment in AWS Audit Manager. + * A collection of attributes used to create a delegation for an assessment in Audit Manager. *

*/ export interface CreateDelegationRequest { @@ -1520,7 +1519,7 @@ export namespace CreateDelegationRequest { export interface BatchCreateDelegationByAssessmentRequest { /** *

- * The API request to batch create delegations in AWS Audit Manager. + * The API request to batch create delegations in Audit Manager. *

*/ createDelegationRequests: CreateDelegationRequest[] | undefined; @@ -1550,7 +1549,7 @@ export namespace BatchCreateDelegationByAssessmentRequest { export interface BatchCreateDelegationByAssessmentError { /** *

- * The API request to batch create delegations in AWS Audit Manager. + * The API request to batch create delegations in Audit Manager. *

*/ createDelegationRequest?: CreateDelegationRequest; @@ -1743,7 +1742,7 @@ export namespace BatchDisassociateAssessmentReportEvidenceResponse { /** *

- * Evidence that is uploaded to AWS Audit Manager manually. + * Evidence that is uploaded to Audit Manager manually. *

*/ export interface ManualEvidence { @@ -1812,7 +1811,7 @@ export namespace BatchImportEvidenceToAssessmentControlRequest { export interface BatchImportEvidenceToAssessmentControlError { /** *

- * Manual evidence that cannot be collected automatically by AWS Audit Manager. + * Manual evidence that cannot be collected automatically by Audit Manager. *

*/ manualEvidence?: ManualEvidence; @@ -1883,7 +1882,7 @@ export interface CreateAssessmentRequest { /** *

- * The wrapper that contains the AWS accounts and AWS services in scope for the assessment. + * The wrapper that contains the accounts and services in scope for the assessment. *

*/ scope: Scope | undefined; @@ -1922,7 +1921,7 @@ export namespace CreateAssessmentRequest { export interface CreateAssessmentResponse { /** *

- * An entity that defines the scope of audit evidence collected by AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS Audit Manager framework. + * An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework. *

*/ assessment?: Assessment; @@ -1939,7 +1938,7 @@ export namespace CreateAssessmentResponse { /** *

- * Control entity attributes that uniquely identify an existing control to be added to a framework in AWS Audit Manager. + * Control entity attributes that uniquely identify an existing control to be added to a framework in Audit Manager. *

*/ export interface CreateAssessmentFrameworkControl { @@ -1962,7 +1961,7 @@ export namespace CreateAssessmentFrameworkControl { /** *

- * A controlSet entity that represents a collection of controls in AWS Audit Manager. This does not contain the control set ID. + * A controlSet entity that represents a collection of controls in Audit Manager. This does not contain the control set ID. *

*/ export interface CreateAssessmentFrameworkControlSet { @@ -2048,7 +2047,7 @@ export enum KeywordInputType { /** *

- * The keyword to search for in AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names. + * The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. *

*/ export interface SourceKeyword { @@ -2061,7 +2060,7 @@ export interface SourceKeyword { /** *

- * The value of the keyword used to search AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names when mapping a control data source. + * The value of the keyword used to search CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names when mapping a control data source. *

*/ keywordValue?: string; @@ -2091,7 +2090,7 @@ export enum SourceType { /** *

- * The data source that determines from where AWS Audit Manager collects evidence for the control. + * The data source that determines from where Audit Manager collects evidence for the control. *

*/ export interface ControlMappingSource { @@ -2132,7 +2131,7 @@ export interface ControlMappingSource { /** *

- * The keyword to search for in AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names. + * The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. *

*/ sourceKeyword?: SourceKeyword; @@ -2168,7 +2167,7 @@ export enum ControlType { /** *

- * A control in AWS Audit Manager. + * A control in Audit Manager. *

*/ export interface Control { @@ -2231,7 +2230,7 @@ export interface Control { /** *

- * The data source that determines from where AWS Audit Manager collects evidence for the control. + * The data source that determines from where Audit Manager collects evidence for the control. *

*/ controlSources?: string; @@ -2290,7 +2289,7 @@ export namespace Control { /** *

- * A set of controls in AWS Audit Manager. + * A set of controls in Audit Manager. *

*/ export interface ControlSet { @@ -2327,7 +2326,7 @@ export namespace ControlSet { /** *

- * The file used to structure and automate AWS Audit Manager assessments for a given compliance standard. + * The file used to structure and automate Audit Manager assessments for a given compliance standard. *

*/ export interface Framework { @@ -2382,7 +2381,7 @@ export interface Framework { /** *

- * The sources from which AWS Audit Manager collects evidence for the control. + * The sources from which Audit Manager collects evidence for the control. *

*/ controlSources?: string; @@ -2522,7 +2521,7 @@ export interface CreateControlMappingSource { /** *

- * The description of the data source that determines from where AWS Audit Manager collects evidence for the control. + * The description of the data source that determines from where Audit Manager collects evidence for the control. *

*/ sourceDescription?: string; @@ -2544,7 +2543,7 @@ export interface CreateControlMappingSource { /** *

- * The keyword to search for in AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names. + * The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. *

*/ sourceKeyword?: SourceKeyword; @@ -2882,7 +2881,7 @@ export namespace GetAccountStatusRequest { export interface GetAccountStatusResponse { /** *

- * The status of the specified AWS account. + * The status of the specified account. *

*/ status?: AccountStatus | string; @@ -2918,14 +2917,14 @@ export namespace GetAssessmentRequest { export interface GetAssessmentResponse { /** *

- * An entity that defines the scope of audit evidence collected by AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS Audit Manager framework. + * An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework. *

*/ assessment?: Assessment; /** *

- * The wrapper that contains the AWS Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN). + * The wrapper that contains the Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN). *

*/ userRole?: Role; @@ -3106,7 +3105,7 @@ export enum ObjectTypeEnum { /** *

- * The record of a change within AWS Audit Manager, such as a modified assessment, a delegated control set, and so on. + * The record of a change within Audit Manager, such as a modified assessment, a delegated control set, and so on. *

*/ export interface ChangeLog { @@ -3140,7 +3139,7 @@ export interface ChangeLog { /** *

- * The IAM user or role that performed the action. + * The IAM user or role that performed the action. *

*/ createdBy?: string; @@ -3373,7 +3372,7 @@ export namespace GetEvidenceRequest { /** *

- * A system asset that is evaluated in an AWS Audit Manager assessment. + * A system asset that is evaluated in an Audit Manager assessment. *

*/ export interface Resource { @@ -3416,7 +3415,7 @@ export interface Evidence { /** *

- * The identifier for the specified AWS account. + * The identifier for the specified account. *

*/ evidenceAwsAccountId?: string; @@ -3430,7 +3429,7 @@ export interface Evidence { /** *

- * The AWS service from which the evidence is collected. + * The Amazon Web Service from which the evidence is collected. *

*/ eventSource?: string; @@ -3472,22 +3471,22 @@ export interface Evidence { /** *

The evaluation status for evidence that falls under the compliance check category. For - * evidence collected from AWS Security Hub, a Pass or - * Fail result is shown. For evidence collected from AWS Config, a + * evidence collected from Security Hub, a Pass or + * Fail result is shown. For evidence collected from Config, a * Compliant or Noncompliant result is shown.

*/ complianceCheck?: string; /** *

- * The AWS account from which the evidence is collected, and its AWS organization path. + * The account from which the evidence is collected, and its organization path. *

*/ awsOrganization?: string; /** *

- * The identifier for the specified AWS account. + * The identifier for the specified account. *

*/ awsAccountId?: string; @@ -3838,34 +3837,34 @@ export namespace GetServicesInScopeRequest { /** *

- * The metadata associated with the specified AWS service. + * The metadata associated with the specified Amazon Web Service. *

*/ export interface ServiceMetadata { /** *

- * The name of the AWS service. + * The name of the Amazon Web Service. *

*/ name?: string; /** *

- * The display name of the AWS service. + * The display name of the Amazon Web Service. *

*/ displayName?: string; /** *

- * The description of the specified AWS service. + * The description of the specified Amazon Web Service. *

*/ description?: string; /** *

- * The category in which the AWS service belongs, such as compute, storage, database, and so on. + * The category in which the Amazon Web Service belongs, such as compute, storage, database, and so on. *

*/ category?: string; @@ -3883,7 +3882,7 @@ export namespace ServiceMetadata { export interface GetServicesInScopeResponse { /** *

- * The metadata associated with the aAWS service. + * The metadata associated with the Amazon Web Service. *

*/ serviceMetadata?: ServiceMetadata[]; @@ -3926,20 +3925,20 @@ export namespace GetSettingsRequest { /** *

- * The settings object that holds all supported AWS Audit Manager settings. + * The settings object that holds all supported Audit Manager settings. *

*/ export interface Settings { /** *

- * Specifies whether AWS Organizations is enabled. + * Specifies whether Organizations is enabled. *

*/ isAwsOrgEnabled?: boolean; /** *

- * The designated Amazon Simple Notification Service (Amazon SNS) topic. + * The designated Amazon Simple Notification Service (Amazon SNS) topic. *

*/ snsTopic?: string; @@ -3960,7 +3959,7 @@ export interface Settings { /** *

- * The AWS KMS key details. + * The KMS key details. *

*/ kmsKey?: string; @@ -3978,7 +3977,7 @@ export namespace Settings { export interface GetSettingsResponse { /** *

- * The settings object that holds all supported AWS Audit Manager settings. + * The settings object that holds all supported Audit Manager settings. *

*/ settings?: Settings; @@ -4211,7 +4210,7 @@ export interface ControlMetadata { /** *

- * The data source that determines from where AWS Audit Manager collects evidence for the control. + * The data source that determines from where Audit Manager collects evidence for the control. *

*/ controlSources?: string; @@ -4349,7 +4348,7 @@ export namespace ListNotificationsRequest { /** *

- * The notification used to inform a user of an update in AWS Audit Manager. For example, this includes the notification that is sent when a control set is delegated for review. + * The notification used to inform a user of an update in Audit Manager. For example, this includes the notification that is sent when a control set is delegated for review. *

*/ export interface Notification { @@ -4483,14 +4482,14 @@ export namespace ListTagsForResourceResponse { export interface RegisterAccountRequest { /** *

- * The AWS KMS key details. + * The KMS key details. *

*/ kmsKey?: string; /** *

- * The delegated administrator account for AWS Audit Manager. + * The delegated administrator account for Audit Manager. *

*/ delegatedAdminAccount?: string; @@ -4551,7 +4550,7 @@ export interface RegisterOrganizationAdminAccountResponse { /** *

- * The identifier for the specified AWS organization. + * The identifier for the specified organization. *

*/ organizationId?: string; @@ -4833,7 +4832,7 @@ export namespace UpdateAssessmentControlSetStatusResponse { /** *

- * A controlSet entity that represents a collection of controls in AWS Audit Manager. This does not contain the control set ID. + * A controlSet entity that represents a collection of controls in Audit Manager. This does not contain the control set ID. *

*/ export interface UpdateAssessmentFrameworkControlSet { @@ -5057,7 +5056,7 @@ export namespace UpdateControlResponse { export interface UpdateSettingsRequest { /** *

- * The Amazon Simple Notification Service (Amazon SNS) topic to which AWS Audit Manager sends notifications. + * The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications. *

*/ snsTopic?: string; @@ -5078,7 +5077,7 @@ export interface UpdateSettingsRequest { /** *

- * The AWS KMS key details. + * The KMS key details. *

*/ kmsKey?: string; diff --git a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts index 052280ba7cfc5..992d72be2f8ff 100644 --- a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts @@ -1,8 +1,6 @@ import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { - GetVoiceConnectorLoggingConfigurationRequest, - GetVoiceConnectorLoggingConfigurationResponse, -} from "../models/models_0"; +import { GetVoiceConnectorLoggingConfigurationRequest } from "../models/models_0"; +import { GetVoiceConnectorLoggingConfigurationResponse } from "../models/models_1"; import { deserializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand, serializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand, diff --git a/clients/client-chime/models/models_0.ts b/clients/client-chime/models/models_0.ts index 0606d5149b7fc..f8734a305cd35 100644 --- a/clients/client-chime/models/models_0.ts +++ b/clients/client-chime/models/models_0.ts @@ -38,6 +38,11 @@ export namespace AccessDeniedException { }); } +export enum AccountStatus { + Active = "Active", + Suspended = "Suspended", +} + export enum AccountType { EnterpriseDirectory = "EnterpriseDirectory", EnterpriseLWA = "EnterpriseLWA", @@ -112,6 +117,11 @@ export interface Account { */ SupportedLicenses?: (License | string)[]; + /** + *

The status of the account, Suspended or Active.

+ */ + AccountStatus?: AccountStatus | string; + /** *

The sign-in delegate groups associated with the account.

*/ @@ -6882,19 +6892,3 @@ export namespace LoggingConfiguration { ...obj, }); } - -export interface GetVoiceConnectorLoggingConfigurationResponse { - /** - *

The logging configuration details.

- */ - LoggingConfiguration?: LoggingConfiguration; -} - -export namespace GetVoiceConnectorLoggingConfigurationResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetVoiceConnectorLoggingConfigurationResponse): any => ({ - ...obj, - }); -} diff --git a/clients/client-chime/models/models_1.ts b/clients/client-chime/models/models_1.ts index 0fced29a6e0d5..a79e1fa30861b 100644 --- a/clients/client-chime/models/models_1.ts +++ b/clients/client-chime/models/models_1.ts @@ -61,6 +61,22 @@ import { } from "./models_0"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; +export interface GetVoiceConnectorLoggingConfigurationResponse { + /** + *

The logging configuration details.

+ */ + LoggingConfiguration?: LoggingConfiguration; +} + +export namespace GetVoiceConnectorLoggingConfigurationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetVoiceConnectorLoggingConfigurationResponse): any => ({ + ...obj, + }); +} + export interface GetVoiceConnectorOriginationRequest { /** *

The Amazon Chime Voice Connector ID.

diff --git a/clients/client-chime/protocols/Aws_restJson1.ts b/clients/client-chime/protocols/Aws_restJson1.ts index 713c671441a39..3902152c4e953 100644 --- a/clients/client-chime/protocols/Aws_restJson1.ts +++ b/clients/client-chime/protocols/Aws_restJson1.ts @@ -27972,6 +27972,7 @@ const serializeAws_restJson1VoiceConnectorSettings = (input: VoiceConnectorSetti const deserializeAws_restJson1Account = (output: any, context: __SerdeContext): Account => { return { AccountId: __expectString(output.AccountId), + AccountStatus: __expectString(output.AccountStatus), AccountType: __expectString(output.AccountType), AwsAccountId: __expectString(output.AwsAccountId), CreatedTimestamp: diff --git a/clients/client-cognito-identity-provider/CognitoIdentityProvider.ts b/clients/client-cognito-identity-provider/CognitoIdentityProvider.ts index 182e118f4a630..a8e74d99e455a 100644 --- a/clients/client-cognito-identity-provider/CognitoIdentityProvider.ts +++ b/clients/client-cognito-identity-provider/CognitoIdentityProvider.ts @@ -576,8 +576,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -926,8 +925,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -1172,8 +1170,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -1224,8 +1221,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -1460,8 +1456,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -1842,8 +1837,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -2464,8 +2458,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -2722,8 +2715,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -2838,8 +2830,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3091,7 +3082,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { } /** - *

Lists the user pools associated with an AWS account.

+ *

Lists the user pools associated with an account.

*/ public listUserPools( args: ListUserPoolsCommandInput, @@ -3193,8 +3184,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3243,8 +3233,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3439,8 +3428,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3525,8 +3513,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3763,10 +3750,6 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { /** *

Updates the specified group with the specified attributes.

*

Calling this action requires developer credentials.

- * - *

If you don't provide a value for an attribute, it will be set to the default - * value.

- *
*/ public updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise; public updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void; @@ -3870,8 +3853,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -3922,8 +3904,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages @@ -4008,7 +3989,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * pool.

*

A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up * and sign-in pages for your application. When you set up a custom domain, you provide a - * certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can + * certificate that you manage with Certificate Manager (ACM). When necessary, you can * use this operation to change the certificate that you applied to your custom * domain.

*

Usually, this is unnecessary following routine certificate renewal with ACM. When you @@ -4018,7 +3999,7 @@ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { * certificate a new ARN. To apply the new certificate to your custom domain, you must * provide this ARN to Amazon Cognito.

*

When you add your new certificate in ACM, you must choose US East (N. Virginia) as the - * AWS Region.

+ * Region.

*

After you submit your request, Amazon Cognito requires up to 1 hour to distribute your * new certificate to your custom domain.

*

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

diff --git a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts index ccd8a7be1541b..9ac8d5b806169 100644 --- a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts @@ -38,8 +38,7 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _ * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts index 1ccb1a8795c08..daf11f8a89c52 100644 --- a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts @@ -37,8 +37,7 @@ export interface AdminInitiateAuthCommandOutput extends AdminInitiateAuthRespons * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts index fa08accf189c3..070935ec29af4 100644 --- a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts @@ -46,8 +46,7 @@ export interface AdminResetUserPasswordCommandOutput extends AdminResetUserPassw * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts index 6ceeeb52fabed..6ea9fbfb8b423 100644 --- a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts @@ -38,8 +38,7 @@ export interface AdminRespondToAuthChallengeCommandOutput * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts index 3c1e073f052da..47af8cee497fd 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts @@ -41,8 +41,7 @@ export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserA * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts index e8794193676ea..1a494d83d5d56 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts @@ -37,8 +37,7 @@ export interface CreateUserPoolCommandOutput extends CreateUserPoolResponse, __M * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts index 4cb05342944b6..fd40136d2ceb1 100644 --- a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts @@ -42,8 +42,7 @@ export interface ForgotPasswordCommandOutput extends ForgotPasswordResponse, __M * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts index 4b34f306e19b8..0ec1fcca086d5 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts @@ -37,8 +37,7 @@ export interface GetUserAttributeVerificationCodeCommandOutput * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts index 9aff0cc349747..7339c88f78da3 100644 --- a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts @@ -35,8 +35,7 @@ export interface InitiateAuthCommandOutput extends InitiateAuthResponse, __Metad * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts index dbc9953f905a7..daf59a0e5bb86 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts @@ -26,7 +26,7 @@ export interface ListUserPoolsCommandInput extends ListUserPoolsRequest {} export interface ListUserPoolsCommandOutput extends ListUserPoolsResponse, __MetadataBearer {} /** - *

Lists the user pools associated with an AWS account.

+ *

Lists the user pools associated with an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts index cf1471312e8f6..8b3a873938bcc 100644 --- a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts @@ -36,8 +36,7 @@ export interface ResendConfirmationCodeCommandOutput extends ResendConfirmationC * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts index abdd03a50ffab..96164076cfdcb 100644 --- a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts @@ -35,8 +35,7 @@ export interface RespondToAuthChallengeCommandOutput extends RespondToAuthChalle * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts index 1c737953e0a6a..0e8c133ddf64c 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts @@ -36,8 +36,7 @@ export interface SetUserPoolMfaConfigCommandOutput extends SetUserPoolMfaConfigR * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts index fe9f3cccc0525..913e92b5cd784 100644 --- a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts @@ -33,8 +33,7 @@ export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {} * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts index dfeee6e88c4aa..cc6b95e51c64b 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts @@ -28,10 +28,6 @@ export interface UpdateGroupCommandOutput extends UpdateGroupResponse, __Metadat /** *

Updates the specified group with the specified attributes.

*

Calling this action requires developer credentials.

- * - *

If you don't provide a value for an attribute, it will be set to the default - * value.

- *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts index 05b575d32eb6d..195d4f0575643 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts @@ -35,8 +35,7 @@ export interface UpdateUserAttributesCommandOutput extends UpdateUserAttributesR * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts index cde844b8985cd..8bbe9d7a1fa93 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts @@ -38,8 +38,7 @@ export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __M * Cognito will use the the registered number automatically. Otherwise, Cognito users that must * receive SMS messages might be unable to sign up, activate their accounts, or sign * in.

- *

If you have never used SMS text messages with Amazon Cognito or any other AWS - * service, Amazon SNS might place your account in SMS sandbox. In + *

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In * sandbox * mode * , you’ll have limitations, such as sending messages diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts index 39a505073a68b..2499796013671 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts @@ -33,7 +33,7 @@ export interface UpdateUserPoolDomainCommandOutput extends UpdateUserPoolDomainR * pool.

*

A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up * and sign-in pages for your application. When you set up a custom domain, you provide a - * certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can + * certificate that you manage with Certificate Manager (ACM). When necessary, you can * use this operation to change the certificate that you applied to your custom * domain.

*

Usually, this is unnecessary following routine certificate renewal with ACM. When you @@ -43,7 +43,7 @@ export interface UpdateUserPoolDomainCommandOutput extends UpdateUserPoolDomainR * certificate a new ARN. To apply the new certificate to your custom domain, you must * provide this ARN to Amazon Cognito.

*

When you add your new certificate in ACM, you must choose US East (N. Virginia) as the - * AWS Region.

+ * Region.

*

After you submit your request, Amazon Cognito requires up to 1 hour to distribute your * new certificate to your custom domain.

*

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

diff --git a/clients/client-cognito-identity-provider/models/models_0.ts b/clients/client-cognito-identity-provider/models/models_0.ts index 27c0bb58ee750..fbf5063e8c05b 100644 --- a/clients/client-cognito-identity-provider/models/models_0.ts +++ b/clients/client-cognito-identity-provider/models/models_0.ts @@ -590,12 +590,12 @@ export interface AdminConfirmSignUpRequest { *

A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

*

If your user pool configuration includes triggers, the AdminConfirmSignUp API action - * invokes the AWS Lambda function that is specified for the post + * invokes the Lambda function that is specified for the post * confirmation trigger. When Amazon Cognito invokes this function, it * passes a JSON payload, which the function receives as input. In this payload, the * clientMetadata attribute provides the data that you assigned to the * ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in - * AWS Lambda, you can process the ClientMetadata value to enhance your workflow for your + * Lambda, you can process the ClientMetadata value to enhance your workflow for your * specific needs.

*

For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

@@ -605,7 +605,7 @@ export interface AdminConfirmSignUpRequest { *
    *
  • *

    Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

    *
  • @@ -648,14 +648,13 @@ export namespace AdminConfirmSignUpResponse { } /** - *

    This exception is thrown when the Amazon Cognito service encounters an invalid AWS - * Lambda response.

    + *

    This exception is thrown when the Amazon Cognito service encounters an invalid Lambda response.

    */ export interface InvalidLambdaResponseException extends __SmithyException, $MetadataBearer { name: "InvalidLambdaResponseException"; $fault: "client"; /** - *

    The message returned when the Amazon Cognito service throws an invalid AWS Lambda + *

    The message returned when the Amazon Cognito service throws an invalid Lambda * response exception.

    */ message?: string; @@ -671,7 +670,7 @@ export namespace InvalidLambdaResponseException { } /** - *

    This exception is thrown when a user exceeds the limit for a requested AWS + *

    This exception is thrown when a user exceeds the limit for a requested Amazon Web Services * resource.

    */ export interface LimitExceededException extends __SmithyException, $MetadataBearer { @@ -717,13 +716,13 @@ export namespace TooManyFailedAttemptsException { /** *

    This exception is thrown when the Amazon Cognito service encounters an unexpected - * exception with the AWS Lambda service.

    + * exception with the Lambda service.

    */ export interface UnexpectedLambdaException extends __SmithyException, $MetadataBearer { name: "UnexpectedLambdaException"; $fault: "client"; /** - *

    The message returned when the Amazon Cognito service returns an unexpected AWS Lambda + *

    The message returned when the Amazon Cognito service returns an unexpected Lambda * exception.

    */ message?: string; @@ -740,14 +739,14 @@ export namespace UnexpectedLambdaException { /** *

    This exception is thrown when the Amazon Cognito service encounters a user validation - * exception with the AWS Lambda service.

    + * exception with the Lambda service.

    */ export interface UserLambdaValidationException extends __SmithyException, $MetadataBearer { name: "UserLambdaValidationException"; $fault: "client"; /** *

    The message returned when the Amazon Cognito service returns a user validation - * exception with the AWS Lambda service.

    + * exception with the Lambda service.

    */ message?: string; } @@ -910,13 +909,13 @@ export interface AdminCreateUserRequest { /** *

    A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

    - *

    You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

    You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is * assigned to the pre sign-up trigger. When Amazon Cognito invokes * this function, it passes a JSON payload, which the function receives as input. This * payload contains a clientMetadata attribute, which provides the data that * you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your - * function code in AWS Lambda, you can process the clientMetadata value to + * function code in Lambda, you can process the clientMetadata value to * enhance your workflow for your specific needs.

    *

    For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

    @@ -926,7 +925,7 @@ export interface AdminCreateUserRequest { *
      *
    • *

      Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

      *
    • @@ -1166,7 +1165,7 @@ export namespace InvalidSmsRoleAccessPolicyException { /** *

      This exception is thrown when the trust relationship is invalid for the role provided - * for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does + * for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does * not match what is provided in the SMS configuration for the user pool.

      */ export interface InvalidSmsRoleTrustRelationshipException extends __SmithyException, $MetadataBearer { @@ -2034,8 +2033,8 @@ export interface AdminInitiateAuthRequest { /** *

      A map of custom key-value pairs that you can provide as input for certain custom * workflows that this action triggers.

      - *

      You create custom workflows by assigning AWS Lambda functions to user pool triggers. - * When you use the AdminInitiateAuth API action, Amazon Cognito invokes the AWS Lambda + *

      You create custom workflows by assigning Lambda functions to user pool triggers. + * When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda * functions that are specified for various triggers. The ClientMetadata value is passed as * input to the functions for only the following triggers:

      *
        @@ -2053,7 +2052,7 @@ export interface AdminInitiateAuthRequest { * payload, which the function receives as input. This payload contains a * validationData attribute, which provides the data that you assigned to * the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in - * AWS Lambda, you can process the validationData value to enhance your + * Lambda, you can process the validationData value to enhance your * workflow for your specific needs.

        *

        When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the * functions for the following triggers, but it does not provide the ClientMetadata value @@ -2086,7 +2085,7 @@ export interface AdminInitiateAuthRequest { *

          *
        • *

          Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

          *
        • @@ -2978,13 +2977,13 @@ export interface AdminResetUserPasswordRequest { /** *

          A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

          - *

          You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

          You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function * that is assigned to the custom message trigger. When Amazon Cognito * invokes this function, it passes a JSON payload, which the function receives as input. * This payload contains a clientMetadata attribute, which provides the data * that you assigned to the ClientMetadata parameter in your AdminResetUserPassword - * request. In your function code in AWS Lambda, you can process the + * request. In your function code in Lambda, you can process the * clientMetadata value to enhance your workflow for your specific * needs.

          *

          For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -2995,7 +2994,7 @@ export interface AdminResetUserPasswordRequest { *

            *
          • *

            Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

            *
          • @@ -3148,7 +3147,7 @@ export interface AdminRespondToAuthChallengeRequest { /** *

            A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

            - *

            You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

            You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any * functions that are assigned to the following triggers: pre sign-up, * custom message, post authentication, @@ -3158,7 +3157,7 @@ export interface AdminRespondToAuthChallengeRequest { * Amazon Cognito invokes any of these functions, it passes a JSON payload, which the * function receives as input. This payload contains a clientMetadata * attribute, which provides the data that you assigned to the ClientMetadata parameter in - * your AdminRespondToAuthChallenge request. In your function code in AWS Lambda, you can + * your AdminRespondToAuthChallenge request. In your function code in Lambda, you can * process the clientMetadata value to enhance your workflow for your specific * needs.

            *

            For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -3169,7 +3168,7 @@ export interface AdminRespondToAuthChallengeRequest { *

              *
            • *

              Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

              *
            • @@ -3617,13 +3616,13 @@ export interface AdminUpdateUserAttributesRequest { /** *

              A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

              - *

              You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

              You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the * function that is assigned to the custom message trigger. When * Amazon Cognito invokes this function, it passes a JSON payload, which the function * receives as input. This payload contains a clientMetadata attribute, which * provides the data that you assigned to the ClientMetadata parameter in your - * AdminUpdateUserAttributes request. In your function code in AWS Lambda, you can process + * AdminUpdateUserAttributes request. In your function code in Lambda, you can process * the clientMetadata value to enhance your workflow for your specific * needs.

              *

              For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -3634,7 +3633,7 @@ export interface AdminUpdateUserAttributesRequest { *

                *
              • *

                Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                *
              • @@ -4045,13 +4044,13 @@ export interface ConfirmForgotPasswordRequest { /** *

                A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                - *

                You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function * that is assigned to the post confirmation trigger. When Amazon * Cognito invokes this function, it passes a JSON payload, which the function receives as * input. This payload contains a clientMetadata attribute, which provides the * data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword - * request. In your function code in AWS Lambda, you can process the + * request. In your function code in Lambda, you can process the * clientMetadata value to enhance your workflow for your specific * needs.

                *

                For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -4062,7 +4061,7 @@ export interface ConfirmForgotPasswordRequest { *

                  *
                • *

                  Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                  *
                • @@ -4158,13 +4157,13 @@ export interface ConfirmSignUpRequest { /** *

                  A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                  - *

                  You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                  You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is * assigned to the post confirmation trigger. When Amazon Cognito * invokes this function, it passes a JSON payload, which the function receives as input. * This payload contains a clientMetadata attribute, which provides the data * that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your - * function code in AWS Lambda, you can process the clientMetadata value to + * function code in Lambda, you can process the clientMetadata value to * enhance your workflow for your specific needs.

                  *

                  For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

                  @@ -4174,7 +4173,7 @@ export interface ConfirmSignUpRequest { * */ @@ -6143,7 +6142,7 @@ export interface CreateUserPoolClientRequest { /** *

                  The allowed OAuth scopes. Possible values provided by OAuth are: phone, * email, openid, and profile. Possible values - * provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created + * provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created * in Resource Servers are also supported.

                  */ AllowedOAuthScopes?: string[]; @@ -6392,7 +6391,7 @@ export interface UserPoolClientType { /** *

                  The allowed OAuth scopes. Possible values provided by OAuth are: phone, * email, openid, and profile. Possible values - * provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created + * provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created * in Resource Servers are also supported.

                  */ AllowedOAuthScopes?: string[]; @@ -6525,7 +6524,7 @@ export namespace ScopeDoesNotExistException { */ export interface CustomDomainConfigType { /** - *

                  The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use + *

                  The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use * this certificate for the subdomain of your custom domain.

                  */ CertificateArn: string | undefined; @@ -7214,7 +7213,7 @@ export interface DomainDescriptionType { UserPoolId?: string; /** - *

                  The AWS account ID for the user pool owner.

                  + *

                  The account ID for the user pool owner.

                  */ AWSAccountId?: string; @@ -7337,14 +7336,14 @@ export interface ForgotPasswordRequest { /** *

                  A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                  - *

                  You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                  You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the ForgotPassword API action, Amazon Cognito invokes any functions that * are assigned to the following triggers: pre sign-up, * custom message, and user migration. When * Amazon Cognito invokes any of these functions, it passes a JSON payload, which the * function receives as input. This payload contains a clientMetadata * attribute, which provides the data that you assigned to the ClientMetadata parameter in - * your ForgotPassword request. In your function code in AWS Lambda, you can process the + * your ForgotPassword request. In your function code in Lambda, you can process the * clientMetadata value to enhance your workflow for your specific * needs.

                  *

                  For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -7355,7 +7354,7 @@ export interface ForgotPasswordRequest { *

                    *
                  • *

                    Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                    *
                  • @@ -7817,13 +7816,13 @@ export interface GetUserAttributeVerificationCodeRequest { /** *

                    A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                    - *

                    You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                    You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the * function that is assigned to the custom message trigger. When * Amazon Cognito invokes this function, it passes a JSON payload, which the function * receives as input. This payload contains a clientMetadata attribute, which * provides the data that you assigned to the ClientMetadata parameter in your - * GetUserAttributeVerificationCode request. In your function code in AWS Lambda, you can + * GetUserAttributeVerificationCode request. In your function code in Lambda, you can * process the clientMetadata value to enhance your workflow for your specific * needs.

                    *

                    For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -7834,7 +7833,7 @@ export interface GetUserAttributeVerificationCodeRequest { *

                      *
                    • *

                      Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                      *
                    • @@ -8109,8 +8108,8 @@ export interface InitiateAuthRequest { /** *

                      A map of custom key-value pairs that you can provide as input for certain custom * workflows that this action triggers.

                      - *

                      You create custom workflows by assigning AWS Lambda functions to user pool triggers. - * When you use the InitiateAuth API action, Amazon Cognito invokes the AWS Lambda + *

                      You create custom workflows by assigning Lambda functions to user pool triggers. + * When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda * functions that are specified for various triggers. The ClientMetadata value is passed as * input to the functions for only the following triggers:

                      *
                        @@ -8127,8 +8126,7 @@ export interface InitiateAuthRequest { *

                        When Amazon Cognito invokes the functions for these triggers, it passes a JSON * payload, which the function receives as input. This payload contains a * validationData attribute, which provides the data that you assigned to - * the ClientMetadata parameter in your InitiateAuth request. In your function code in AWS - * Lambda, you can process the validationData value to enhance your workflow + * the ClientMetadata parameter in your InitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow * for your specific needs.

                        *

                        When you use the InitiateAuth API action, Amazon Cognito also invokes the functions * for the following triggers, but it does not provide the ClientMetadata value as @@ -8161,7 +8159,7 @@ export interface InitiateAuthRequest { *

                          *
                        • *

                          Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                          *
                        • @@ -8761,7 +8759,7 @@ export interface UserPoolDescriptionType { Name?: string; /** - *

                          The AWS Lambda configuration information in a user pool description.

                          + *

                          The Lambda configuration information in a user pool description.

                          */ LambdaConfig?: LambdaConfigType; @@ -9052,13 +9050,13 @@ export interface ResendConfirmationCodeRequest { /** *

                          A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                          - *

                          You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                          You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function * that is assigned to the custom message trigger. When Amazon Cognito * invokes this function, it passes a JSON payload, which the function receives as input. * This payload contains a clientMetadata attribute, which provides the data * that you assigned to the ClientMetadata parameter in your ResendConfirmationCode - * request. In your function code in AWS Lambda, you can process the + * request. In your function code in Lambda, you can process the * clientMetadata value to enhance your workflow for your specific * needs.

                          *

                          For more information, see Customizing User Pool Workflows with Lambda Triggers in the @@ -9069,7 +9067,7 @@ export interface ResendConfirmationCodeRequest { *

                            *
                          • *

                            Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                            *
                          • @@ -9210,7 +9208,7 @@ export interface RespondToAuthChallengeRequest { /** *

                            A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                            - *

                            You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                            You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions * that are assigned to the following triggers: post authentication, * pre token generation, define auth @@ -9219,7 +9217,7 @@ export interface RespondToAuthChallengeRequest { * functions, it passes a JSON payload, which the function receives as input. This payload * contains a clientMetadata attribute, which provides the data that you * assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your - * function code in AWS Lambda, you can process the clientMetadata value to + * function code in Lambda, you can process the clientMetadata value to * enhance your workflow for your specific needs.

                            *

                            For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

                            @@ -9229,7 +9227,7 @@ export interface RespondToAuthChallengeRequest { *
                              *
                            • *

                              Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                              *
                            • @@ -9722,14 +9720,14 @@ export interface SignUpRequest { /** *

                              A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                              - *

                              You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                              You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the SignUp API action, Amazon Cognito invokes any functions that are * assigned to the following triggers: pre sign-up, custom * message, and post confirmation. When Amazon Cognito * invokes any of these functions, it passes a JSON payload, which the function receives as * input. This payload contains a clientMetadata attribute, which provides the * data that you assigned to the ClientMetadata parameter in your SignUp request. In your - * function code in AWS Lambda, you can process the clientMetadata value to + * function code in Lambda, you can process the clientMetadata value to * enhance your workflow for your specific needs.

                              *

                              For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

                              @@ -9739,7 +9737,7 @@ export interface SignUpRequest { *
                                *
                              • *

                                Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                                *
                              • diff --git a/clients/client-cognito-identity-provider/models/models_1.ts b/clients/client-cognito-identity-provider/models/models_1.ts index 9a803f818993a..0681910612536 100644 --- a/clients/client-cognito-identity-provider/models/models_1.ts +++ b/clients/client-cognito-identity-provider/models/models_1.ts @@ -425,13 +425,13 @@ export interface UpdateUserAttributesRequest { /** *

                                A map of custom key-value pairs that you can provide as input for any custom workflows * that this action triggers.

                                - *

                                You create custom workflows by assigning AWS Lambda functions to user pool triggers. + *

                                You create custom workflows by assigning Lambda functions to user pool triggers. * When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function * that is assigned to the custom message trigger. When Amazon Cognito * invokes this function, it passes a JSON payload, which the function receives as input. * This payload contains a clientMetadata attribute, which provides the data * that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request. - * In your function code in AWS Lambda, you can process the clientMetadata + * In your function code in Lambda, you can process the clientMetadata * value to enhance your workflow for your specific needs.

                                *

                                For more information, see Customizing User Pool Workflows with Lambda Triggers in the * Amazon Cognito Developer Guide.

                                @@ -441,7 +441,7 @@ export interface UpdateUserAttributesRequest { *
                                  *
                                • *

                                  Amazon Cognito does not store the ClientMetadata value. This data is - * available only to AWS Lambda triggers that are assigned to a user pool to + * available only to Lambda triggers that are assigned to a user pool to * support custom workflows. If your user pool configuration does not include * triggers, the ClientMetadata parameter serves no purpose.

                                  *
                                • @@ -507,7 +507,7 @@ export interface UpdateUserPoolRequest { Policies?: UserPoolPolicyType; /** - *

                                  The AWS Lambda configuration information from the request to update the user + *

                                  The Lambda configuration information from the request to update the user * pool.

                                  */ LambdaConfig?: LambdaConfigType; @@ -798,7 +798,7 @@ export interface UpdateUserPoolClientRequest { /** *

                                  The allowed OAuth scopes. Possible values provided by OAuth are: phone, * email, openid, and profile. Possible values - * provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created + * provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created * in Resource Servers are also supported.

                                  */ AllowedOAuthScopes?: string[]; diff --git a/clients/client-database-migration-service/DatabaseMigrationService.ts b/clients/client-database-migration-service/DatabaseMigrationService.ts index 2b359c61dcbeb..306ebe8c76d4e 100644 --- a/clients/client-database-migration-service/DatabaseMigrationService.ts +++ b/clients/client-database-migration-service/DatabaseMigrationService.ts @@ -277,20 +277,20 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - * AWS Database Migration Service - *

                                  AWS Database Migration Service (AWS DMS) can migrate your data to and from the most + * Database Migration Service + *

                                  Database Migration Service (DMS) can migrate your data to and from the most * widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL * Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise * (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as * heterogeneous migrations between different database platforms, such as Oracle to MySQL or * SQL Server to PostgreSQL.

                                  - *

                                  For more information about AWS DMS, see What Is AWS Database Migration Service? - * in the AWS Database Migration User Guide. + *

                                  For more information about DMS, see What Is Database Migration Service? + * in the Database Migration Service User Guide. *

                                  */ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** - *

                                  Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, + *

                                  Adds metadata tags to an DMS resource, including replication instance, endpoint, * security group, and migration task. These tags can also be used with cost allocation * reporting to track cost associated with DMS resources, or used in a Condition statement in * an IAM policy for DMS. For more information, see @@ -395,6 +395,13 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Creates an endpoint using the provided settings.

                                  + * + *

                                  For a MySQL source or target endpoint, don't explicitly specify the database using + * the DatabaseName request parameter on the CreateEndpoint API call. + * Specifying DatabaseName when you create a MySQL endpoint replicates all the + * task tables to this single database. For MySQL endpoints, you specify the database only when + * you specify the schema in the table-mapping rules of the DMS task.

                                  + *
                                  */ public createEndpoint( args: CreateEndpointCommandInput, @@ -426,20 +433,20 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Creates an AWS DMS event notification subscription.

                                  + *

                                  Creates an DMS event notification subscription.

                                  *

                                  You can specify the type of source (SourceType) you want to be notified of, - * provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and + * provide a list of DMS source IDs (SourceIds) that triggers the events, and * provide a list of event categories (EventCategories) for events you want to be * notified of. If you specify both the SourceType and SourceIds, * such as SourceType = replication-instance and SourceIdentifier = * my-replinstance, you will be notified of all the replication instance events for * the specified source. If you specify a SourceType but don't specify a * SourceIdentifier, you receive notice of the events for that source type for - * all your AWS DMS sources. If you don't specify either SourceType nor - * SourceIdentifier, you will be notified of events generated from all AWS DMS + * all your DMS sources. If you don't specify either SourceType nor + * SourceIdentifier, you will be notified of events generated from all DMS * sources belonging to your customer account.

                                  - *

                                  For more information about AWS DMS events, see Working with Events and - * Notifications in the AWS Database Migration Service User + *

                                  For more information about DMS events, see Working with Events and + * Notifications in the Database Migration Service User * Guide. *

                                  */ @@ -474,11 +481,11 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Creates the replication instance using the specified parameters.

                                  - *

                                  AWS DMS requires that your account have certain roles with appropriate permissions + *

                                  DMS requires that your account have certain roles with appropriate permissions * before you can create a replication instance. For information on the required roles, see - * Creating the IAM Roles to Use With the AWS CLI and AWS DMS API. For + * Creating the IAM Roles to Use With the CLI and DMS API. For * information on the required permissions, see - * IAM Permissions Needed to Use AWS DMS.

                                  + * IAM Permissions Needed to Use DMS.

                                  */ public createReplicationInstance( args: CreateReplicationInstanceCommandInput, @@ -675,7 +682,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Deletes an AWS DMS event subscription.

                                  + *

                                  Deletes an DMS event subscription.

                                  */ public deleteEventSubscription( args: DeleteEventSubscriptionCommandInput, @@ -809,7 +816,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Deletes the record of a single premigration assessment run.

                                  - *

                                  This operation removes all metadata that AWS DMS maintains about this assessment run. + *

                                  This operation removes all metadata that DMS maintains about this assessment run. * However, the operation leaves untouched all information about this assessment run that is * stored in your Amazon S3 bucket.

                                  */ @@ -843,8 +850,8 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Lists all of the AWS DMS attributes for a customer account. These attributes include AWS - * DMS quotas for the account and a unique account identifier in a particular DMS region. DMS + *

                                  Lists all of the DMS attributes for a customer account. These attributes include DMS + * quotas for the account and a unique account identifier in a particular DMS region. DMS * quotas include a list of resource quotas supported by the account, such as the number of * replication instances allowed. The description for each resource quota, includes the quota * name, current usage toward that quota, and the quota's maximum value. DMS uses the unique @@ -1093,7 +1100,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Lists categories for all event source types, or, if specified, for a specified source * type. You can see a list of the event categories and source types in Working with Events - * and Notifications in the AWS Database Migration Service User + * and Notifications in the Database Migration Service User * Guide. *

                                  */ @@ -1128,8 +1135,8 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Lists events for a given source identifier and source type. You can also specify a - * start and end time. For more information on AWS DMS events, see Working with Events and - * Notifications in the AWS Database Migration User + * start and end time. For more information on DMS events, see Working with Events and + * Notifications in the Database Migration Service User * Guide. *

                                  */ @@ -1396,8 +1403,13 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Returns the task assessment results from Amazon S3. This action always returns the + *

                                  Returns the task assessment results from the Amazon S3 bucket that DMS creates in your + * account. This action always returns the * latest results.

                                  + *

                                  For more information about DMS task assessments, see + * Creating a task assessment report + * in the + * Database Migration Service User Guide.

                                  */ public describeReplicationTaskAssessmentResults( args: DescribeReplicationTaskAssessmentResultsCommandInput, @@ -1578,7 +1590,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Returns table statistics on the database migration task, including table name, rows * inserted, rows updated, and rows deleted.

                                  - *

                                  Note that the "last updated" column the DMS console only indicates the time that AWS DMS + *

                                  Note that the "last updated" column the DMS console only indicates the time that DMS * last updated the table statistics record for a table. It does not indicate the time of the * last update to the table.

                                  */ @@ -1644,7 +1656,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Lists all metadata tags attached to an AWS DMS resource, including + *

                                  Lists all metadata tags attached to an DMS resource, including * replication instance, endpoint, security group, and migration task. * For more information, see * Tag @@ -1681,6 +1693,13 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Modifies the specified endpoint.

                                  + * + *

                                  For a MySQL source or target endpoint, don't explicitly specify the database using + * the DatabaseName request parameter on the ModifyEndpoint API call. + * Specifying DatabaseName when you modify a MySQL endpoint replicates all the + * task tables to this single database. For MySQL endpoints, you specify the database only when + * you specify the schema in the table-mapping rules of the DMS task.

                                  + *
                                  */ public modifyEndpoint( args: ModifyEndpointCommandInput, @@ -1712,7 +1731,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Modifies an existing AWS DMS event notification subscription.

                                  + *

                                  Modifies an existing DMS event notification subscription.

                                  */ public modifyEventSubscription( args: ModifyEventSubscriptionCommandInput, @@ -1814,8 +1833,8 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Modifies the specified replication task.

                                  *

                                  You can't modify the task endpoints. The task must be stopped before you can modify it.

                                  - *

                                  For more information about AWS DMS tasks, see Working with Migration Tasks in the - * AWS Database Migration Service User Guide.

                                  + *

                                  For more information about DMS tasks, see Working with Migration Tasks in the + * Database Migration Service User Guide.

                                  */ public modifyReplicationTask( args: ModifyReplicationTaskCommandInput, @@ -1849,7 +1868,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Moves a replication task from its current replication instance to a different target * replication instance using the specified parameters. The target replication instance must - * be created with the same or later AWS DMS version as the current replication + * be created with the same or later DMS version as the current replication * instance.

                                  */ public moveReplicationTask( @@ -1978,7 +1997,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { } /** - *

                                  Removes metadata tags from an AWS DMS resource, including replication instance, + *

                                  Removes metadata tags from an DMS resource, including replication instance, * endpoint, security group, and migration task. For more information, see * * Tag @@ -2016,8 +2035,8 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /** *

                                  Starts the replication task.

                                  - *

                                  For more information about AWS DMS tasks, see Working with Migration Tasks in the - * AWS Database Migration Service User Guide. + *

                                  For more information about DMS tasks, see Working with Migration Tasks in the + * Database Migration Service User Guide. *

                                  */ public startReplicationTask( diff --git a/clients/client-database-migration-service/DatabaseMigrationServiceClient.ts b/clients/client-database-migration-service/DatabaseMigrationServiceClient.ts index 1e49c21a07ca5..8814be8058c53 100644 --- a/clients/client-database-migration-service/DatabaseMigrationServiceClient.ts +++ b/clients/client-database-migration-service/DatabaseMigrationServiceClient.ts @@ -486,15 +486,15 @@ export interface DatabaseMigrationServiceClientResolvedConfig extends DatabaseMigrationServiceClientResolvedConfigType {} /** - * AWS Database Migration Service - *

                                  AWS Database Migration Service (AWS DMS) can migrate your data to and from the most + * Database Migration Service + *

                                  Database Migration Service (DMS) can migrate your data to and from the most * widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL * Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise * (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as * heterogeneous migrations between different database platforms, such as Oracle to MySQL or * SQL Server to PostgreSQL.

                                  - *

                                  For more information about AWS DMS, see What Is AWS Database Migration Service? - * in the AWS Database Migration User Guide. + *

                                  For more information about DMS, see What Is Database Migration Service? + * in the Database Migration Service User Guide. *

                                  */ export class DatabaseMigrationServiceClient extends __Client< diff --git a/clients/client-database-migration-service/README.md b/clients/client-database-migration-service/README.md index 5477600fd20c1..7fce93b54412c 100644 --- a/clients/client-database-migration-service/README.md +++ b/clients/client-database-migration-service/README.md @@ -7,16 +7,16 @@ AWS SDK for JavaScript DatabaseMigrationService Client for Node.js, Browser and React Native. -AWS Database Migration Service +Database Migration Service -

                                  AWS Database Migration Service (AWS DMS) can migrate your data to and from the most +

                                  Database Migration Service (DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.

                                  -

                                  For more information about AWS DMS, see What Is AWS Database Migration Service? -in the AWS Database Migration User Guide. +

                                  For more information about DMS, see What Is Database Migration Service? +in the Database Migration Service User Guide.

                                  ## Installing diff --git a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts index 8257f9e908fba..5c2307cc4b756 100644 --- a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts +++ b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts @@ -25,7 +25,7 @@ export interface AddTagsToResourceCommandInput extends AddTagsToResourceMessage export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResponse, __MetadataBearer {} /** - *

                                  Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, + *

                                  Adds metadata tags to an DMS resource, including replication instance, endpoint, * security group, and migration task. These tags can also be used with cost allocation * reporting to track cost associated with DMS resources, or used in a Condition statement in * an IAM policy for DMS. For more information, see diff --git a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts index 597d121a3fb75..25afefde41d17 100644 --- a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts @@ -26,6 +26,13 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M /** *

                                  Creates an endpoint using the provided settings.

                                  + * + *

                                  For a MySQL source or target endpoint, don't explicitly specify the database using + * the DatabaseName request parameter on the CreateEndpoint API call. + * Specifying DatabaseName when you create a MySQL endpoint replicates all the + * task tables to this single database. For MySQL endpoints, you specify the database only when + * you specify the schema in the table-mapping rules of the DMS task.

                                  + *
                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts index 582c10d479cac..629a4aa76e2ac 100644 --- a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts @@ -25,20 +25,20 @@ export interface CreateEventSubscriptionCommandInput extends CreateEventSubscrip export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscriptionResponse, __MetadataBearer {} /** - *

                                  Creates an AWS DMS event notification subscription.

                                  + *

                                  Creates an DMS event notification subscription.

                                  *

                                  You can specify the type of source (SourceType) you want to be notified of, - * provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and + * provide a list of DMS source IDs (SourceIds) that triggers the events, and * provide a list of event categories (EventCategories) for events you want to be * notified of. If you specify both the SourceType and SourceIds, * such as SourceType = replication-instance and SourceIdentifier = * my-replinstance, you will be notified of all the replication instance events for * the specified source. If you specify a SourceType but don't specify a * SourceIdentifier, you receive notice of the events for that source type for - * all your AWS DMS sources. If you don't specify either SourceType nor - * SourceIdentifier, you will be notified of events generated from all AWS DMS + * all your DMS sources. If you don't specify either SourceType nor + * SourceIdentifier, you will be notified of events generated from all DMS * sources belonging to your customer account.

                                  - *

                                  For more information about AWS DMS events, see Working with Events and - * Notifications in the AWS Database Migration Service User + *

                                  For more information about DMS events, see Working with Events and + * Notifications in the Database Migration Service User * Guide. *

                                  * @example diff --git a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts index 80ca1e0b4d154..bc7ef802a3461 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts @@ -26,11 +26,11 @@ export interface CreateReplicationInstanceCommandOutput extends CreateReplicatio /** *

                                  Creates the replication instance using the specified parameters.

                                  - *

                                  AWS DMS requires that your account have certain roles with appropriate permissions + *

                                  DMS requires that your account have certain roles with appropriate permissions * before you can create a replication instance. For information on the required roles, see - * Creating the IAM Roles to Use With the AWS CLI and AWS DMS API. For + * Creating the IAM Roles to Use With the CLI and DMS API. For * information on the required permissions, see - * IAM Permissions Needed to Use AWS DMS.

                                  + * IAM Permissions Needed to Use DMS.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts index 2d57bbd2a8571..02b2205b9c719 100644 --- a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts @@ -25,7 +25,7 @@ export interface DeleteEventSubscriptionCommandInput extends DeleteEventSubscrip export interface DeleteEventSubscriptionCommandOutput extends DeleteEventSubscriptionResponse, __MetadataBearer {} /** - *

                                  Deletes an AWS DMS event subscription.

                                  + *

                                  Deletes an DMS event subscription.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts index fa5339cb03a94..5dc93abe896b3 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts @@ -31,7 +31,7 @@ export interface DeleteReplicationTaskAssessmentRunCommandOutput /** *

                                  Deletes the record of a single premigration assessment run.

                                  - *

                                  This operation removes all metadata that AWS DMS maintains about this assessment run. + *

                                  This operation removes all metadata that DMS maintains about this assessment run. * However, the operation leaves untouched all information about this assessment run that is * stored in your Amazon S3 bucket.

                                  * @example diff --git a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts index 5ec040b268f68..c00f66dc51320 100644 --- a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts @@ -25,8 +25,8 @@ export interface DescribeAccountAttributesCommandInput extends DescribeAccountAt export interface DescribeAccountAttributesCommandOutput extends DescribeAccountAttributesResponse, __MetadataBearer {} /** - *

                                  Lists all of the AWS DMS attributes for a customer account. These attributes include AWS - * DMS quotas for the account and a unique account identifier in a particular DMS region. DMS + *

                                  Lists all of the DMS attributes for a customer account. These attributes include DMS + * quotas for the account and a unique account identifier in a particular DMS region. DMS * quotas include a list of resource quotas supported by the account, such as the number of * replication instances allowed. The description for each resource quota, includes the quota * name, current usage toward that quota, and the quota's maximum value. DMS uses the unique diff --git a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts index 8d457f8614dbf..0c88db3005181 100644 --- a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts @@ -27,7 +27,7 @@ export interface DescribeEventCategoriesCommandOutput extends DescribeEventCateg /** *

                                  Lists categories for all event source types, or, if specified, for a specified source * type. You can see a list of the event categories and source types in Working with Events - * and Notifications in the AWS Database Migration Service User + * and Notifications in the Database Migration Service User * Guide. *

                                  * @example diff --git a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts index b5a36c1bdd34f..bc6958b563f49 100644 --- a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts @@ -26,8 +26,8 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M /** *

                                  Lists events for a given source identifier and source type. You can also specify a - * start and end time. For more information on AWS DMS events, see Working with Events and - * Notifications in the AWS Database Migration User + * start and end time. For more information on DMS events, see Working with Events and + * Notifications in the Database Migration Service User * Guide. *

                                  * @example diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts index cc61761da28ac..c0881250e5997 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts @@ -31,8 +31,13 @@ export interface DescribeReplicationTaskAssessmentResultsCommandOutput __MetadataBearer {} /** - *

                                  Returns the task assessment results from Amazon S3. This action always returns the + *

                                  Returns the task assessment results from the Amazon S3 bucket that DMS creates in your + * account. This action always returns the * latest results.

                                  + *

                                  For more information about DMS task assessments, see + * Creating a task assessment report + * in the + * Database Migration Service User Guide.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts index 739608a4653c2..24971ca9fedde 100644 --- a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts @@ -27,7 +27,7 @@ export interface DescribeTableStatisticsCommandOutput extends DescribeTableStati /** *

                                  Returns table statistics on the database migration task, including table name, rows * inserted, rows updated, and rows deleted.

                                  - *

                                  Note that the "last updated" column the DMS console only indicates the time that AWS DMS + *

                                  Note that the "last updated" column the DMS console only indicates the time that DMS * last updated the table statistics record for a table. It does not indicate the time of the * last update to the table.

                                  * @example diff --git a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts index af1a0aaf44796..3bc07d7d6354f 100644 --- a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts @@ -25,7 +25,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceMess export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} /** - *

                                  Lists all metadata tags attached to an AWS DMS resource, including + *

                                  Lists all metadata tags attached to an DMS resource, including * replication instance, endpoint, security group, and migration task. * For more information, see * Tag diff --git a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts index 80e9fc00b7d31..24c53fb2110a3 100644 --- a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts @@ -26,6 +26,13 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M /** *

                                  Modifies the specified endpoint.

                                  + * + *

                                  For a MySQL source or target endpoint, don't explicitly specify the database using + * the DatabaseName request parameter on the ModifyEndpoint API call. + * Specifying DatabaseName when you modify a MySQL endpoint replicates all the + * task tables to this single database. For MySQL endpoints, you specify the database only when + * you specify the schema in the table-mapping rules of the DMS task.

                                  + *
                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts index f64e0701aaa52..75e64edadd6ae 100644 --- a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts @@ -25,7 +25,7 @@ export interface ModifyEventSubscriptionCommandInput extends ModifyEventSubscrip export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscriptionResponse, __MetadataBearer {} /** - *

                                  Modifies an existing AWS DMS event notification subscription.

                                  + *

                                  Modifies an existing DMS event notification subscription.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts index 6a09f9327bc3a..354d7351a09a6 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts @@ -27,8 +27,8 @@ export interface ModifyReplicationTaskCommandOutput extends ModifyReplicationTas /** *

                                  Modifies the specified replication task.

                                  *

                                  You can't modify the task endpoints. The task must be stopped before you can modify it.

                                  - *

                                  For more information about AWS DMS tasks, see Working with Migration Tasks in the - * AWS Database Migration Service User Guide.

                                  + *

                                  For more information about DMS tasks, see Working with Migration Tasks in the + * Database Migration Service User Guide.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts index b72479084150a..4a972ab273018 100644 --- a/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts @@ -27,7 +27,7 @@ export interface MoveReplicationTaskCommandOutput extends MoveReplicationTaskRes /** *

                                  Moves a replication task from its current replication instance to a different target * replication instance using the specified parameters. The target replication instance must - * be created with the same or later AWS DMS version as the current replication + * be created with the same or later DMS version as the current replication * instance.

                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts index f5ee53a325395..e95c180dbb093 100644 --- a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts @@ -25,7 +25,7 @@ export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResour export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResourceResponse, __MetadataBearer {} /** - *

                                  Removes metadata tags from an AWS DMS resource, including replication instance, + *

                                  Removes metadata tags from an DMS resource, including replication instance, * endpoint, security group, and migration task. For more information, see * * Tag diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts index f0c870dae5821..0126aac80be4e 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts @@ -26,8 +26,8 @@ export interface StartReplicationTaskCommandOutput extends StartReplicationTaskR /** *

                                  Starts the replication task.

                                  - *

                                  For more information about AWS DMS tasks, see Working with Migration Tasks in the - * AWS Database Migration Service User Guide. + *

                                  For more information about DMS tasks, see Working with Migration Tasks in the + * Database Migration Service User Guide. *

                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-database-migration-service/models/models_0.ts b/clients/client-database-migration-service/models/models_0.ts index a49befcf52a30..32e8dfadf6ec5 100644 --- a/clients/client-database-migration-service/models/models_0.ts +++ b/clients/client-database-migration-service/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"; /** - *

                                  AWS DMS was denied access to the endpoint. Check that the + *

                                  DMS was denied access to the endpoint. Check that the * role is correctly configured.

                                  */ export interface AccessDeniedFault extends __SmithyException, $MetadataBearer { @@ -24,12 +24,12 @@ export namespace AccessDeniedFault { } /** - *

                                  Describes a quota for an AWS account, for example, the number of replication instances + *

                                  Describes a quota for an account, for example the number of replication instances * allowed.

                                  */ export interface AccountQuota { /** - *

                                  The name of the AWS DMS quota for this AWS account.

                                  + *

                                  The name of the DMS quota for this account.

                                  */ AccountQuotaName?: string; @@ -54,7 +54,7 @@ export namespace AccountQuota { } /** - *

                                  A user-defined key-value pair that describes metadata added to an AWS DMS resource and + *

                                  A user-defined key-value pair that describes metadata added to an DMS resource and * that is used by operations such as the following:

                                  *
                                    *
                                  • @@ -102,12 +102,12 @@ export namespace Tag { } /** - *

                                    Associates a set of tags with an AWS DMS resource.

                                    + *

                                    Associates a set of tags with an DMS resource.

                                    */ export interface AddTagsToResourceMessage { /** - *

                                    Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

                                    - *

                                    For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.

                                    + *

                                    Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

                                    + *

                                    For DMS, you can tag a replication instance, an endpoint, or a replication task.

                                    */ ResourceArn: string | undefined; @@ -166,7 +166,7 @@ export namespace ResourceNotFoundFault { */ export interface ApplyPendingMaintenanceActionMessage { /** - *

                                    The Amazon Resource Name (ARN) of the AWS DMS resource that the pending maintenance + *

                                    The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance * action applies to.

                                    */ ReplicationInstanceArn: string | undefined; @@ -210,7 +210,7 @@ export namespace ApplyPendingMaintenanceActionMessage { } /** - *

                                    Describes a maintenance action pending for an AWS DMS resource, including when and how + *

                                    Describes a maintenance action pending for an DMS resource, including when and how * it will be applied. This data type is a response element to the * DescribePendingMaintenanceActions operation.

                                    */ @@ -267,13 +267,13 @@ export namespace PendingMaintenanceAction { } /** - *

                                    Identifies an AWS DMS resource and any pending actions for it.

                                    + *

                                    Identifies an DMS resource and any pending actions for it.

                                    */ export interface ResourcePendingMaintenanceActions { /** *

                                    The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action * applies to. For information about creating an ARN, see Constructing an Amazon - * Resource Name (ARN) for AWS DMS in the DMS documentation.

                                    + * Resource Name (ARN) for DMS in the DMS documentation.

                                    */ ResourceIdentifier?: string; @@ -297,7 +297,7 @@ export namespace ResourcePendingMaintenanceActions { */ export interface ApplyPendingMaintenanceActionResponse { /** - *

                                    The AWS DMS resource that the pending maintenance action will be applied to.

                                    + *

                                    The DMS resource that the pending maintenance action will be applied to.

                                    */ ResourcePendingMaintenanceActions?: ResourcePendingMaintenanceActions; } @@ -448,17 +448,17 @@ export interface ReplicationTaskAssessmentRun { /** *

                                    ARN of the service role used to start the assessment run using the - * StartReplicationTaskAssessmentRun operation.

                                    + * StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn?: string; /** - *

                                    Amazon S3 bucket where AWS DMS stores the results of this assessment run.

                                    + *

                                    Amazon S3 bucket where DMS stores the results of this assessment run.

                                    */ ResultLocationBucket?: string; /** - *

                                    Folder in an Amazon S3 bucket where AWS DMS stores the results of this assessment + *

                                    Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

                                    */ ResultLocationFolder?: string; @@ -469,7 +469,7 @@ export interface ReplicationTaskAssessmentRun { ResultEncryptionMode?: string; /** - *

                                    ARN of the AWS KMS encryption key used to encrypt the assessment run results.

                                    + *

                                    ARN of the KMS encryption key used to encrypt the assessment run results.

                                    */ ResultKmsKeyArn?: string; @@ -534,7 +534,9 @@ export namespace InvalidResourceStateFault { */ export interface DmsTransferSettings { /** - *

                                    The IAM role that has permission to access the Amazon S3 bucket.

                                    + *

                                    The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, + * such as for the CreateEndpoint and ModifyEndpoint actions, + * the role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn?: string; @@ -611,19 +613,18 @@ export interface DocDbSettings { DocsToInvestigate?: number; /** - *

                                    The AWS KMS key identifier that is used to encrypt the content on the replication + *

                                    The KMS key identifier that is used to encrypt the content on the replication * instance. If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for - * your AWS account. Your AWS account has a different default encryption key for each AWS - * Region.

                                    + * DMS uses your default encryption key. KMS creates the default encryption key for + * your account. Your account has a different default encryption key for each Region.

                                    */ KmsKeyId?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the DocumentDB endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -631,8 +632,8 @@ export interface DocDbSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -656,12 +657,12 @@ export namespace DocDbSettings { } /** - *

                                    Provides the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) + *

                                    Provides the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role used to define an Amazon DynamoDB target endpoint.

                                    */ export interface DynamoDbSettings { /** - *

                                    The Amazon Resource Name (ARN) used by the service access IAM role.

                                    + *

                                    The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn: string | undefined; } @@ -680,12 +681,13 @@ export namespace DynamoDbSettings { */ export interface ElasticsearchSettings { /** - *

                                    The Amazon Resource Name (ARN) used by service to access the IAM role.

                                    + *

                                    The Amazon Resource Name (ARN) used by the service to access the IAM role. + * The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn: string | undefined; /** - *

                                    The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport + *

                                    The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.

                                    */ EndpointUri: string | undefined; @@ -736,7 +738,7 @@ export interface IBMDb2Settings { Password?: string; /** - *

                                    Endpoint TCP port.

                                    + *

                                    Endpoint TCP port. The default value is 50000.

                                    */ Port?: number; @@ -770,10 +772,11 @@ export interface IBMDb2Settings { Username?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of - * the AWS Secrets Manager secret that allows access to the Db2 LUW endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of + * the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -781,8 +784,8 @@ export interface IBMDb2Settings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -828,14 +831,14 @@ export interface KafkaSettings { * broker-hostname-or-ip:port * . For example, "ec2-12-345-678-901.compute-1.amazonaws.com:2345". * For more information and examples of specifying a list of broker locations, - * see Using Apache Kafka as a target for AWS Database Migration Service - * in the AWS Data Migration Service User Guide. + * see Using Apache Kafka as a target for Database Migration Service + * in the Database Migration Service User Guide. *

                                    */ Broker?: string; /** - *

                                    The topic to which you migrate the data. If you don't specify a topic, AWS DMS + *

                                    The topic to which you migrate the data. If you don't specify a topic, DMS * specifies "kafka-default-topic" as the migration topic.

                                    */ Topic?: string; @@ -856,7 +859,7 @@ export interface KafkaSettings { IncludeTransactionDetails?: boolean; /** - *

                                    Shows the partition value within the Kafka message output, unless the partition type is + *

                                    Shows the partition value within the Kafka message output unless the partition type is * schema-table-type. The default is false.

                                    */ IncludePartitionValue?: boolean; @@ -918,14 +921,15 @@ export interface KafkaSettings { SslClientKeyPassword?: string; /** - *

                                    The Amazon Resource Name (ARN) for the private Certification Authority (CA) cert that AWS DMS uses + *

                                    The Amazon Resource Name (ARN) for the private Certification Authority (CA) cert that DMS uses * to securely connect to your Kafka target endpoint.

                                    */ SslCaCertificateArn?: string; /** - *

                                    The secure username you created when you first set up your MSK cluster to validate a client identity and - * make an encrypted connection between server and client using SASL-SSL authentication.

                                    + *

                                    The secure user name you created when you first set up your MSK cluster to validate a + * client identity and make an encrypted connection between server and client using SASL-SSL + * authentication.

                                    */ SaslUsername?: string; @@ -934,6 +938,13 @@ export interface KafkaSettings { * make an encrypted connection between server and client using SASL-SSL authentication.

                                    */ SaslPassword?: string; + + /** + *

                                    If this attribute is Y, it allows hexadecimal values that don't have the + * 0x prefix when migrated to a Kafka target. If this attribute is N, all + * hexadecimal values include this prefix when migrated to Kafka.

                                    + */ + NoHexPrefix?: boolean; } export namespace KafkaSettings { @@ -965,8 +976,9 @@ export interface KinesisSettings { MessageFormat?: MessageFormatValue | string; /** - *

                                    The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role - * that AWS DMS uses to write to the Kinesis data stream.

                                    + *

                                    The Amazon Resource Name (ARN) for the IAM role + * that DMS uses to write to the Kinesis data stream. + * The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn?: string; @@ -1011,6 +1023,13 @@ export interface KinesisSettings { *

                                    Include NULL and empty columns for records migrated to the endpoint. The default is false.

                                    */ IncludeNullAndEmpty?: boolean; + + /** + *

                                    If this attribute is Y, it allows hexadecimal values that don't have the + * 0x prefix when migrated to a Kinesis target. If this attribute is N, all + * hexadecimal values include this prefix when migrated to Kinesis.

                                    + */ + NoHexPrefix?: boolean; } export namespace KinesisSettings { @@ -1049,8 +1068,8 @@ export interface MicrosoftSQLServerSettings { DatabaseName?: string; /** - *

                                    Specifies a file group for the AWS DMS internal tables. When the replication task - * starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply, + *

                                    Specifies a file group for the DMS internal tables. When the replication task + * starts, all the internal DMS control tables (awsdms_ apply_exception, awsdms_apply, * awsdms_changes) are created for the specified file group.

                                    */ ControlTablesFileGroup?: string; @@ -1069,7 +1088,7 @@ export interface MicrosoftSQLServerSettings { QuerySingleAlwaysOnNode?: boolean; /** - *

                                    When this attribute is set to Y, AWS DMS only reads changes + *

                                    When this attribute is set to Y, DMS only reads changes * from transaction log backups and doesn't read from the * active transaction log file during ongoing replication. Setting * this parameter to Y enables you to control active transaction @@ -1081,11 +1100,11 @@ export interface MicrosoftSQLServerSettings { /** *

                                    Use this attribute to minimize the need to access the - * backup log and enable AWS DMS to prevent truncation using one of the + * backup log and enable DMS to prevent truncation using one of the * following two methods.

                                    *

                                    * Start transactions in the database: This is the default - * method. When this method is used, AWS DMS prevents + * method. When this method is used, DMS prevents * TLOG truncation by mimicking a transaction in the database. * As long as such a transaction is open, changes that appear * after the transaction started aren't truncated. If you need @@ -1093,13 +1112,13 @@ export interface MicrosoftSQLServerSettings { * you must choose this method.

                                    *

                                    * Exclusively use sp_repldone within a single task: When - * this method is used, AWS DMS reads the changes and then + * this method is used, DMS reads the changes and then * uses sp_repldone to mark the TLOG transactions as ready * for truncation. Although this method doesn't involve any * transactional activities, it can only be used when Microsoft * Replication isn't running. Also, when using this method, only - * one AWS DMS task can access the database at any given - * time. Therefore, if you need to run parallel AWS DMS tasks + * one DMS task can access the database at any given + * time. Therefore, if you need to run parallel DMS tasks * against the same database, use the default method.

                                    */ SafeguardPolicy?: SafeguardPolicy | string; @@ -1129,10 +1148,11 @@ export interface MicrosoftSQLServerSettings { UseThirdPartyBackupDevice?: boolean; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the SQL Server endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager + * secret that allows access to the SQL Server endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -1140,8 +1160,8 @@ export interface MicrosoftSQLServerSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -1250,19 +1270,18 @@ export interface MongoDbSettings { AuthSource?: string; /** - *

                                    The AWS KMS key identifier that is used to encrypt the content on the replication + *

                                    The KMS key identifier that is used to encrypt the content on the replication * instance. If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for - * your AWS account. Your AWS account has a different default encryption key for each AWS - * Region.

                                    + * DMS uses your default encryption key. KMS creates the default encryption key for + * your account. Your account has a different default encryption key for each Region.

                                    */ KmsKeyId?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the MongoDB endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -1270,8 +1289,8 @@ export interface MongoDbSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -1303,9 +1322,11 @@ export enum TargetDbType { */ export interface MySQLSettings { /** - *

                                    Specifies a script to run immediately after AWS DMS + *

                                    Specifies a script to run immediately after DMS * connects to the endpoint. The migration task continues * running regardless if the SQL statement succeeds or fails.

                                    + *

                                    For this parameter, provide the code of the script itself, not the name of a file + * containing the script.

                                    */ AfterConnectScript?: string; @@ -1318,7 +1339,12 @@ export interface MySQLSettings { CleanSourceMetadataOnMismatch?: boolean; /** - *

                                    Database name for the endpoint.

                                    + *

                                    Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly + * specify the database using the DatabaseName request parameter on either the + * CreateEndpoint or ModifyEndpoint API call. Specifying + * DatabaseName when you create or modify a MySQL endpoint replicates all the + * task tables to this single database. For MySQL endpoints, you specify the database only when + * you specify the schema in the table-mapping rules of the DMS task.

                                    */ DatabaseName?: string; @@ -1327,7 +1353,7 @@ export interface MySQLSettings { * changes/events when the database is idle.

                                    *

                                    Example: eventsPollInterval=5; *

                                    - *

                                    In the example, AWS DMS checks for changes in the binary + *

                                    In the example, DMS checks for changes in the binary * logs every five seconds.

                                    */ EventsPollInterval?: number; @@ -1387,10 +1413,11 @@ export interface MySQLSettings { Username?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the MySQL endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager + * secret that allows access to the MySQL endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -1398,8 +1425,8 @@ export interface MySQLSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -1427,49 +1454,49 @@ export namespace MySQLSettings { export interface NeptuneSettings { /** *

                                    The Amazon Resource Name (ARN) of the service role that you created for the Neptune - * target endpoint. - * For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the AWS Database Migration Service User + * target endpoint. The role must allow the iam:PassRole action. + * For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User * Guide. *

                                    */ ServiceAccessRoleArn?: string; /** - *

                                    The name of the Amazon S3 bucket where AWS DMS can temporarily store migrated graph data - * in .csv files before bulk-loading it to the Neptune target database. AWS DMS maps the SQL + *

                                    The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data + * in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL * source data to graph data before storing it in these .csv files.

                                    */ S3BucketName: string | undefined; /** - *

                                    A folder path where you want AWS DMS to store migrated graph data in the S3 bucket + *

                                    A folder path where you want DMS to store migrated graph data in the S3 bucket * specified by S3BucketName *

                                    */ S3BucketFolder: string | undefined; /** - *

                                    The number of milliseconds for AWS DMS to wait to retry a bulk-load of migrated graph + *

                                    The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph * data to the Neptune target database before raising an error. The default is 250.

                                    */ ErrorRetryDuration?: number; /** - *

                                    The maximum size in kilobytes of migrated graph data stored in a .csv file before AWS - * DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the - * bulk load is successful, AWS DMS clears the bucket, ready to store the next batch of + *

                                    The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS + * bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the + * bulk load is successful, DMS clears the bucket, ready to store the next batch of * migrated graph data.

                                    */ MaxFileSize?: number; /** - *

                                    The number of times for AWS DMS to retry a bulk load of migrated graph data to the + *

                                    The number of times for DMS to retry a bulk load of migrated graph data to the * Neptune target database before raising an error. The default is 5.

                                    */ MaxRetryCount?: number; /** - *

                                    If you want AWS Identity and Access Management (IAM) authorization enabled for this + *

                                    If you want Identity and Access Management (IAM) authorization enabled for this * endpoint, set this parameter to true. Then attach the appropriate IAM policy * document to your service role specified by ServiceAccessRoleArn. The default * is false.

                                    @@ -1507,23 +1534,27 @@ export interface OracleSettings { AddSupplementalLogging?: boolean; /** - *

                                    Specifies the destination of the archived redo logs. The - * value should be the same as the DEST_ID number in the - * v$archived_log table. When working with multiple log - * destinations (DEST_ID), we recommend that you to specify - * an archived redo logs location identifier. Doing this improves - * performance by ensuring that the correct logs are accessed - * from the outset.

                                    + *

                                    Specifies the ID of the destination for the archived redo logs. This value + * should be the same as a number in the dest_id column of the v$archived_log + * view. If you work with an additional redo log destination, use the + * AdditionalArchivedLogDestId option to specify the additional + * destination ID. Doing this improves performance by ensuring that the correct + * logs are accessed from the outset.

                                    */ ArchivedLogDestId?: number; /** - *

                                    Set this attribute with archivedLogDestId in a primary/ + *

                                    Set this attribute with ArchivedLogDestId in a primary/ * standby setup. This attribute is useful in the case of a - * switchover. In this case, AWS DMS needs to know which + * switchover. In this case, DMS needs to know which * destination to get archive redo logs from to read changes. * This need arises because the previous primary instance is * now a standby instance after switchover.

                                    + *

                                    Although DMS supports the use of the Oracle + * RESETLOGS option to open the database, never + * use RESETLOGS unless necessary. For additional + * information about RESETLOGS, see RMAN Data Repair Concepts in the + * Oracle Database Backup and Recovery User's Guide.

                                    */ AdditionalArchivedLogDestId?: number; @@ -1535,21 +1566,18 @@ export interface OracleSettings { AllowSelectNestedTables?: boolean; /** - *

                                    Set this attribute to change the number of threads that - * DMS configures to perform a Change Data Capture (CDC) - * load using Oracle Automatic Storage Management (ASM). - * You can specify an integer value between 2 (the default) - * and 8 (the maximum). Use this attribute together with the - * readAheadBlocks attribute.

                                    + *

                                    Set this attribute to change the number of threads that DMS configures to perform a + * change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can + * specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute + * together with the readAheadBlocks attribute.

                                    */ ParallelAsmReadThreads?: number; /** - *

                                    Set this attribute to change the number of read-ahead - * blocks that DMS configures to perform a Change Data - * Capture (CDC) load using Oracle Automatic Storage - * Management (ASM). You can specify an integer value - * between 1000 (the default) and 200,000 (the maximum).

                                    + *

                                    Set this attribute to change the number of read-ahead blocks that DMS configures to + * perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). + * You can specify an integer value between 1000 (the default) and 200,000 (the + * maximum).

                                    */ ReadAheadBlocks?: number; @@ -1611,9 +1639,9 @@ export interface OracleSettings { DirectPathNoLog?: boolean; /** - *

                                    When this field is set to Y, AWS DMS only accesses the + *

                                    When this field is set to Y, DMS only accesses the * archived redo logs. If the archived redo logs are stored on - * Oracle ASM only, the AWS DMS user account needs to be + * Oracle ASM only, the DMS user account needs to be * granted ASM privileges.

                                    */ ArchivedLogsOnly?: boolean; @@ -1666,7 +1694,7 @@ export interface OracleSettings { /** *

                                    When set to true, this attribute specifies a parallel load * when useDirectPathFullLoad is set to Y. This attribute - * also only applies when you use the AWS DMS parallel load + * also only applies when you use the DMS parallel load * feature. Note that the target table cannot have any constraints or indexes.

                                    */ DirectPathParallelLoad?: boolean; @@ -1721,8 +1749,8 @@ export interface OracleSettings { * part of the comma-separated value you * set to the Password request parameter when you create the endpoint. The * SecurityDbEncryptian setting is related to this - * SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for AWS - * DMS in the AWS Database Migration Service User Guide.

                                    + * SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS + * in the Database Migration Service User Guide.

                                    */ SecurityDbEncryption?: string; @@ -1732,8 +1760,8 @@ export interface OracleSettings { * encrypted using TDE. The key value is the value of the SecurityDbEncryption * setting. For more information on setting the key name value of * SecurityDbEncryptionName, see the information and example for setting the - * securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for AWS - * DMS in the AWS Database Migration Service User + * securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS + * in the Database Migration Service User * Guide.

                                    */ SecurityDbEncryptionName?: string; @@ -1753,16 +1781,52 @@ export interface OracleSettings { */ SpatialDataOptionToGeoJsonFunctionName?: string; + /** + *

                                    Use this attribute to specify a time in minutes for the delay in standby sync. If the + * source is an Oracle Active Data Guard standby database, use this attribute to specify the + * time lag between primary and standby databases.

                                    + *

                                    In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby + * instance as a source for replicating ongoing changes. Doing this eliminates the need to connect + * to an active database that might be in production.

                                    + */ + StandbyDelayTime?: number; + /** *

                                    Endpoint connection user name.

                                    */ Username?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    Set this attribute to Y to capture change data using the Binary Reader utility. Set + * UseLogminerReader to N to set this attribute to Y. To use Binary Reader + * with Amazon RDS for Oracle as the source, you set additional attributes. For more information + * about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or DMS Binary Reader for + * CDC.

                                    + */ + UseBFile?: boolean; + + /** + *

                                    Set this attribute to Y to have DMS use a direct path full load. + * Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). + * By using this OCI protocol, you can bulk-load Oracle target tables during a full load.

                                    + */ + UseDirectPathFullLoad?: boolean; + + /** + *

                                    Set this attribute to Y to capture change data using the Oracle LogMiner utility (the + * default). Set this attribute to N if you want to access the redo logs as a binary file. + * When you set UseLogminerReader to N, also set UseBfile to Y. For + * more information on this setting and using Oracle ASM, see Using Oracle LogMiner or DMS Binary Reader for CDC in + * the DMS User Guide.

                                    + */ + UseLogminerReader?: boolean; + + /** + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the Oracle endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager + * secret that allows access to the Oracle endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -1770,8 +1834,8 @@ export interface OracleSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -1784,7 +1848,7 @@ export interface OracleSettings { /** *

                                    Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN - * of the IAM role that specifies AWS DMS as the trusted entity and grants the required + * of the IAM role that specifies DMS as the trusted entity and grants the required * permissions to access the SecretsManagerOracleAsmSecret. This * SecretsManagerOracleAsmSecret has the secret value that allows access to * the Oracle ASM of the endpoint.

                                    @@ -1795,8 +1859,8 @@ export interface OracleSettings { * AsmServerName. You can't specify both. For more information on * creating this SecretsManagerOracleAsmSecret and the * SecretsManagerOracleAsmAccessRoleArn and - * SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    * */ @@ -1821,13 +1885,19 @@ export namespace OracleSettings { }); } +export enum PluginNameValue { + NO_PREFERENCE = "no-preference", + PGLOGICAL = "pglogical", + TEST_DECODING = "test-decoding", +} + /** *

                                    Provides information that defines a PostgreSQL endpoint.

                                    */ export interface PostgreSQLSettings { /** *

                                    For use with change data capture (CDC) only, this attribute - * has AWS DMS bypass foreign keys and user triggers to + * has DMS bypass foreign keys and user triggers to * reduce the time it takes to bulk load data.

                                    *

                                    Example: afterConnectScript=SET * session_replication_role='replica' @@ -1836,7 +1906,7 @@ export interface PostgreSQLSettings { AfterConnectScript?: string; /** - *

                                    To capture DDL events, AWS DMS creates various artifacts in + *

                                    To capture DDL events, DMS creates various artifacts in * the PostgreSQL database when the task starts. You can later * remove these artifacts.

                                    *

                                    If this value is set to N, you don't have to create tables or @@ -1882,6 +1952,26 @@ export interface PostgreSQLSettings { */ FailTasksOnLobTruncation?: boolean; + /** + *

                                    If this attribute is set to true, the write-ahead log (WAL) heartbeat keeps + * restart_lsn moving and prevents storage full scenarios. + * The WAL heartbeat mimics a dummy transaction, so that idle + * logical replication slots don't hold onto old WAL logs that result in storage full + * situations on the source. + *

                                    + */ + HeartbeatEnable?: boolean; + + /** + *

                                    Sets the schema in which the heartbeat artifacts are created.

                                    + */ + HeartbeatSchema?: string; + + /** + *

                                    Sets the WAL heartbeat frequency (in minutes).

                                    + */ + HeartbeatFrequency?: number; + /** *

                                    Endpoint connection password.

                                    */ @@ -1905,17 +1995,23 @@ export interface PostgreSQLSettings { /** *

                                    Sets the name of a previously created logical replication slot * for a CDC load of the PostgreSQL source instance.

                                    - *

                                    When used with the AWS DMS API CdcStartPosition + *

                                    When used with the DMS API CdcStartPosition * request parameter, this attribute also enables using native * CDC start points.

                                    */ SlotName?: string; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    Specifies the plugin to use to create a replication slot.

                                    + */ + PluginName?: PluginNameValue | string; + + /** + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the PostgreSQL endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager + * secret that allows access to the PostgreSQL endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -1923,8 +2019,8 @@ export interface PostgreSQLSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -1974,12 +2070,12 @@ export interface RedshiftSettings { /** *

                                    An S3 folder where the comma-separated-value (.csv) files are stored before being * uploaded to the target Redshift cluster.

                                    - *

                                    For full load mode, AWS DMS converts source records into .csv files and loads them to - * the BucketFolder/TableID path. AWS DMS uses the Redshift + *

                                    For full load mode, DMS converts source records into .csv files and loads them to + * the BucketFolder/TableID path. DMS uses the Redshift * COPY command to upload the .csv files to the target table. The files are * deleted once the COPY operation has finished. For more information, see COPY in the * Amazon Redshift Database Developer Guide.

                                    - *

                                    For change-data-capture (CDC) mode, AWS DMS creates a NetChanges table, + *

                                    For change-data-capture (CDC) mode, DMS creates a NetChanges table, * and loads the .csv files to this BucketFolder/NetChangesTableID path.

                                    */ BucketFolder?: string; @@ -2028,7 +2124,7 @@ export interface RedshiftSettings { DateFormat?: string; /** - *

                                    A value that specifies whether AWS DMS should migrate empty CHAR and VARCHAR fields as + *

                                    A value that specifies whether DMS should migrate empty CHAR and VARCHAR fields as * NULL. A value of true sets empty CHAR and VARCHAR fields to null. The default * is false.

                                    */ @@ -2044,7 +2140,7 @@ export interface RedshiftSettings { * SSE_S3. But you can’t change the existing value from SSE_S3 * to SSE_KMS.

                                    * - *

                                    To use SSE_S3, create an AWS Identity and Access Management (IAM) role with + *

                                    To use SSE_S3, create an Identity and Access Management (IAM) role with * a policy that allows "arn:aws:s3:::*" to use the following actions: * "s3:PutObject", "s3:ListBucket" *

                                    @@ -2073,7 +2169,7 @@ export interface RedshiftSettings { /** *

                                    The amount of time to wait (in milliseconds) before timing out of operations performed - * by AWS DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

                                    + * by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

                                    */ LoadTimeout?: number; @@ -2121,12 +2217,12 @@ export interface RedshiftSettings { /** *

                                    The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift - * service.

                                    + * service. The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn?: string; /** - *

                                    The AWS KMS key ID. If you are using SSE_KMS for the EncryptionMode, + *

                                    The KMS key ID. If you are using SSE_KMS for the EncryptionMode, * provide this key ID. The key that you use needs an attached policy that enables IAM user * permissions and allows use of the key.

                                    */ @@ -2171,10 +2267,10 @@ export interface RedshiftSettings { WriteBufferSize?: number; /** - *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                    The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the Amazon Redshift endpoint.

                                    + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

                                    * *

                                    You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -2182,8 +2278,8 @@ export interface RedshiftSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                    *
                                    */ @@ -2246,7 +2342,8 @@ export enum ParquetVersionValue { */ export interface S3Settings { /** - *

                                    The Amazon Resource Name (ARN) used by the service access IAM role. It is a required + *

                                    The Amazon Resource Name (ARN) used by the service to access the IAM role. + * The role must allow the iam:PassRole action. It is a required * parameter that enables DMS to write and read objects from an S3 bucket.

                                    */ ServiceAccessRoleArn?: string; @@ -2301,7 +2398,7 @@ export interface S3Settings { * SSE_S3. But you can’t change the existing value from SSE_S3 * to SSE_KMS.

                                    * - *

                                    To use SSE_S3, you need an AWS Identity and Access Management (IAM) role + *

                                    To use SSE_S3, you need an Identity and Access Management (IAM) role * with permission to allow "arn:aws:s3:::dms-*" to use the following * actions:

                                    *
                                      @@ -2366,8 +2463,8 @@ export interface S3Settings { /** *

                                      If you are using SSE_KMS for the EncryptionMode, provide the - * AWS KMS key ID. The key that you use needs an attached policy that enables AWS Identity and - * Access Management (IAM) user permissions and allows use of the key.

                                      + * KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management + * (IAM) user permissions and allows use of the key.

                                      *

                                      Here is a CLI example: aws dms create-endpoint --endpoint-identifier * value --endpoint-type target --engine-name s3 --s3-settings * ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value @@ -2460,7 +2557,7 @@ export interface S3Settings { *

                                      A value that enables a full load to write INSERT operations to the comma-separated value * (.csv) output files only to indicate how the rows were added to the source database.

                                      * - *

                                      AWS DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and + *

                                      DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and * later.

                                      *
                                      *

                                      For full load, records can only be inserted. By default (the false @@ -2472,8 +2569,8 @@ export interface S3Settings { * *

                                      This setting works together with the CdcInsertsOnly and the * CdcInsertsAndUpdates parameters for output to .csv files only. For more - * information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS - * Database Migration Service User Guide..

                                      + * information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service + * User Guide..

                                      * */ IncludeOpForFullLoad?: boolean; @@ -2492,12 +2589,11 @@ export interface S3Settings { * INSERT operation at the source. If IncludeOpForFullLoad is set to * false, every CDC record is written without a first field to indicate the * INSERT operation at the source. For more information about how these settings work - * together, see Indicating Source DB Operations in Migrated S3 Data in the AWS - * Database Migration Service User Guide..

                                      + * together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

                                      * * * - *

                                      AWS DMS supports the interaction described preceding between the + *

                                      DMS supports the interaction described preceding between the * CdcInsertsOnly and IncludeOpForFullLoad parameters in * versions 3.1.4 and later.

                                      * @@ -2512,10 +2608,10 @@ export interface S3Settings { CdcInsertsOnly?: boolean; /** - *

                                      A value that when nonblank causes AWS DMS to add a column with timestamp information to + *

                                      A value that when nonblank causes DMS to add a column with timestamp information to * the endpoint data for an Amazon S3 target.

                                      * - *

                                      AWS DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

                                      + *

                                      DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

                                      *
                                      *

                                      DMS includes an additional STRING column in the * .csv or .parquet object files of your migrated data when you set @@ -2541,20 +2637,20 @@ export interface S3Settings { *

                                      A value that specifies the precision of any TIMESTAMP column values that * are written to an Amazon S3 object file in .parquet format.

                                      * - *

                                      AWS DMS supports the ParquetTimestampInMillisecond parameter in versions + *

                                      DMS supports the ParquetTimestampInMillisecond parameter in versions * 3.1.4 and later.

                                      *
                                      *

                                      When ParquetTimestampInMillisecond is set to true or - * y, AWS DMS writes all TIMESTAMP columns in a .parquet + * y, DMS writes all TIMESTAMP columns in a .parquet * formatted file with millisecond precision. Otherwise, DMS writes them with microsecond * precision.

                                      - *

                                      Currently, Amazon Athena and AWS Glue can handle only + *

                                      Currently, Amazon Athena and Glue can handle only * millisecond precision for TIMESTAMP values. Set * this parameter to true for S3 endpoint object - * files that are .parquet formatted only if you plan to query or process the data with Athena or AWS Glue.

                                      + * files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

                                      * * - *

                                      AWS DMS writes any TIMESTAMP column + *

                                      DMS writes any TIMESTAMP column * values written to an S3 file in .csv format with * microsecond precision.

                                      * @@ -2579,11 +2675,10 @@ export interface S3Settings { * operations at the source. But if IncludeOpForFullLoad is set to * false, CDC records are written without an indication of INSERT or UPDATE * operations at the source. For more information about how these settings work together, see - * Indicating Source DB Operations in Migrated S3 Data in the AWS - * Database Migration Service User Guide..

                                      + * Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

                                      * * - *

                                      AWS DMS supports the use of the CdcInsertsAndUpdates parameter in + *

                                      DMS supports the use of the CdcInsertsAndUpdates parameter in * versions 3.3.1 and later.

                                      * *

                                      @@ -2597,9 +2692,9 @@ export interface S3Settings { CdcInsertsAndUpdates?: boolean; /** - *

                                      When set to true, this parameter partitions S3 bucket folders based on transaction commit - * dates. The default value is false. For more information about date-based folder partitoning, - * see Using date-based folder partitioning.

                                      + *

                                      When set to true, this parameter partitions S3 bucket folders based on + * transaction commit dates. The default value is false. For more information + * about date-based folder partitioning, see Using date-based folder partitioning.

                                      */ DatePartitionEnabled?: boolean; @@ -2618,12 +2713,12 @@ export interface S3Settings { /** *

                                      This setting applies if the S3 output files during a change data capture (CDC) load are * written in .csv format. If set to true for columns not included in the - * supplemental log, AWS DMS uses the value specified by + * supplemental log, DMS uses the value specified by * CsvNoSupValue * . If not set or set to - * false, AWS DMS uses the null value for these columns.

                                      + * false, DMS uses the null value for these columns.

                                      * - *

                                      This setting is supported in AWS DMS versions 3.4.1 and later.

                                      + *

                                      This setting is supported in DMS versions 3.4.1 and later.

                                      *
                                      */ UseCsvNoSupValue?: boolean; @@ -2633,36 +2728,36 @@ export interface S3Settings { * (CDC) load are written in .csv format. If * UseCsvNoSupValue * is set to true, specify a - * string value that you want AWS DMS to use for all columns not included in the supplemental - * log. If you do not specify a string value, AWS DMS uses the null value for these columns + * string value that you want DMS to use for all columns not included in the supplemental + * log. If you do not specify a string value, DMS uses the null value for these columns * regardless of the UseCsvNoSupValue setting.

                                      * - *

                                      This setting is supported in AWS DMS versions 3.4.1 and later.

                                      + *

                                      This setting is supported in DMS versions 3.4.1 and later.

                                      *
                                      */ CsvNoSupValue?: string; /** - *

                                      If set to true, AWS DMS saves the transaction order for a change data + *

                                      If set to true, DMS saves the transaction order for a change data * capture (CDC) load on the Amazon S3 target specified by * CdcPath * . For more information, see Capturing data changes (CDC) including transaction order on the S3 * target.

                                      * - *

                                      This setting is supported in AWS DMS versions 3.4.2 and later.

                                      + *

                                      This setting is supported in DMS versions 3.4.2 and later.

                                      *
                                      */ PreserveTransactions?: boolean; /** *

                                      Specifies the folder path of CDC files. For an S3 source, this setting is required if a - * task captures change data; otherwise, it's optional. If CdcPath is set, AWS - * DMS reads CDC files from this path and replicates the data changes to the target endpoint. + * task captures change data; otherwise, it's optional. If CdcPath is set, DMS + * reads CDC files from this path and replicates the data changes to the target endpoint. * For an S3 target if you set * PreserveTransactions - * to true, AWS - * DMS verifies that you have set this parameter to a folder path on your S3 target where AWS - * DMS can save the transaction order for the CDC load. AWS DMS creates this CDC folder path + * to true, DMS + * verifies that you have set this parameter to a folder path on your S3 target where DMS + * can save the transaction order for the CDC load. DMS creates this CDC folder path * in either your S3 target working directory or the S3 target location specified by * BucketFolder * and @@ -2670,16 +2765,16 @@ export interface S3Settings { * .

                                      *

                                      For example, if you specify CdcPath as MyChangedData, and you * specify BucketName as MyTargetBucket but do not specify - * BucketFolder, AWS DMS creates the CDC folder path following: + * BucketFolder, DMS creates the CDC folder path following: * MyTargetBucket/MyChangedData.

                                      *

                                      If you specify the same CdcPath, and you specify BucketName as * MyTargetBucket and BucketFolder as MyTargetData, - * AWS DMS creates the CDC folder path following: + * DMS creates the CDC folder path following: * MyTargetBucket/MyTargetData/MyChangedData.

                                      *

                                      For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 * target.

                                      * - *

                                      This setting is supported in AWS DMS versions 3.4.2 and later.

                                      + *

                                      This setting is supported in DMS versions 3.4.2 and later.

                                      *
                                      */ CdcPath?: string; @@ -2731,10 +2826,11 @@ export interface SybaseSettings { Username?: string; /** - *

                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the + *

                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the * trusted entity and grants the required permissions to access the value in - * SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets - * Manager secret that allows access to the SAP ASE endpoint.

                                      + * SecretsManagerSecret. The role must allow the iam:PassRole action. + * SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager + * secret that allows access to the SAP ASE endpoint.

                                      * *

                                      You can specify one of two sets of values for these permissions. You can specify the * values for this setting and SecretsManagerSecretId. Or you can specify @@ -2742,8 +2838,8 @@ export interface SybaseSettings { * ServerName, and Port. You can't specify both. For more * information on creating this SecretsManagerSecret and the * SecretsManagerAccessRoleArn and SecretsManagerSecretId - * required to access it, see Using secrets to access AWS Database Migration Service - * resources in the AWS Database Migration Service User + * required to access it, see Using secrets to access Database Migration Service + * resources in the Database Migration Service User * Guide.

                                      *
                                      */ @@ -2813,7 +2909,7 @@ export interface CreateEndpointMessage { Port?: number; /** - *

                                      The name of the endpoint database.

                                      + *

                                      The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

                                      */ DatabaseName?: string; @@ -2822,18 +2918,18 @@ export interface CreateEndpointMessage { * name-value pair associated by an equal sign (=). Multiple attributes are separated by a * semicolon (;) with no additional white space. For information on the attributes available * for connecting your source or target endpoint, see Working with - * AWS DMS Endpoints in the AWS Database Migration Service User + * DMS Endpoints in the Database Migration Service User * Guide. *

                                      */ ExtraConnectionAttributes?: string; /** - *

                                      An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                      + *

                                      An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                      *

                                      If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key.

                                      - *

                                      AWS KMS creates the default encryption key for your AWS account. Your AWS account has a - * different default encryption key for each AWS Region.

                                      + * DMS uses your default encryption key.

                                      + *

                                      KMS creates the default encryption key for your account. Your account has a + * different default encryption key for each Region.

                                      */ KmsKeyId?: string; @@ -2855,7 +2951,7 @@ export interface CreateEndpointMessage { /** *

                                      The Amazon Resource Name (ARN) for the service access role that you want to use to - * create the endpoint.

                                      + * create the endpoint. The role must allow the iam:PassRole action.

                                      */ ServiceAccessRoleArn?: string; @@ -2866,8 +2962,8 @@ export interface CreateEndpointMessage { /** *

                                      Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other - * available settings, see Using Object Mapping to Migrate - * Data to DynamoDB in the AWS Database Migration Service User + * available settings, see Using Object Mapping to Migrate + * Data to DynamoDB in the Database Migration Service User * Guide. *

                                      */ @@ -2876,8 +2972,8 @@ export interface CreateEndpointMessage { /** *

                                      Settings in JSON format for the target Amazon S3 endpoint. For more information about * the available settings, see Extra - * Connection Attributes When Using Amazon S3 as a Target for AWS DMS in the - * AWS Database Migration Service User Guide. + * Connection Attributes When Using Amazon S3 as a Target for DMS in the + * Database Migration Service User Guide. *

                                      */ S3Settings?: S3Settings; @@ -2889,49 +2985,43 @@ export interface CreateEndpointMessage { *
                                    • *

                                      * ServiceAccessRoleArn - The IAM role that has permission to access the - * Amazon S3 bucket.

                                      + * Amazon S3 bucket. The role must allow the iam:PassRole action.

                                      *
                                    • *
                                    • *

                                      * BucketName - The name of the S3 bucket to use.

                                      *
                                    • - *
                                    • - *

                                      - * CompressionType - An optional parameter to use GZIP to compress the - * target files. To use GZIP, set this value to NONE (the default). To keep - * the files uncompressed, don't use this value.

                                      - *
                                    • *
                                    *

                                    Shorthand syntax for these settings is as follows: - * ServiceAccessRoleArn=string,BucketName=string,CompressionType=string + * ServiceAccessRoleArn=string,BucketName=string *

                                    *

                                    JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": - * "string", "BucketName": "string", "CompressionType": "none"|"gzip" } + * "string", "BucketName": "string", } *

                                    */ DmsTransferSettings?: DmsTransferSettings; /** *

                                    Settings in JSON format for the source MongoDB endpoint. For more information about the - * available settings, see Using MongoDB as a Target for AWS Database Migration Service in the - * AWS Database Migration Service User Guide. + * available settings, see Endpoint configuration settings + * when using MongoDB as a source for Database Migration Service in the + * Database Migration Service User Guide. *

                                    */ MongoDbSettings?: MongoDbSettings; /** *

                                    Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For - * more information about the available settings, see Using Amazon Kinesis Data Streams - * as a Target for AWS Database Migration Service in the AWS Database Migration Service User - * Guide. + * more information about the available settings, see Using object mapping to + * migrate data to a Kinesis data stream in the Database Migration Service User Guide. *

                                    */ KinesisSettings?: KinesisSettings; /** *

                                    Settings in JSON format for the target Apache Kafka endpoint. For more information about - * the available settings, see Using Apache Kafka as a Target for - * AWS Database Migration Service in the AWS Database Migration Service User + * the available settings, see Using object mapping + * to migrate data to a Kafka topic in the Database Migration Service User * Guide. *

                                    */ @@ -2939,16 +3029,16 @@ export interface CreateEndpointMessage { /** *

                                    Settings in JSON format for the target Elasticsearch endpoint. For more information - * about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in - * the AWS Database Migration Service User Guide.

                                    + * about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in + * the Database Migration Service User Guide.

                                    */ ElasticsearchSettings?: ElasticsearchSettings; /** *

                                    Settings in JSON format for the target Amazon Neptune endpoint. * For more information - * about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target - * in the AWS Database Migration Service User Guide. + * about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target + * in the Database Migration Service User Guide. *

                                    */ NeptuneSettings?: NeptuneSettings; @@ -2960,59 +3050,59 @@ export interface CreateEndpointMessage { /** *

                                    Settings in JSON format for the source and target PostgreSQL endpoint. For information - * about other available settings, see Extra connection - * attributes when using PostgreSQL as a source for AWS DMS and - * Extra connection attributes when using PostgreSQL as a target for AWS DMS in the - * AWS Database Migration Service User Guide. + * about other available settings, see Extra connection + * attributes when using PostgreSQL as a source for DMS and + * Extra connection attributes when using PostgreSQL as a target for DMS in the + * Database Migration Service User Guide. *

                                    */ PostgreSQLSettings?: PostgreSQLSettings; /** *

                                    Settings in JSON format for the source and target MySQL endpoint. For information about - * other available settings, see Extra connection attributes - * when using MySQL as a source for AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in - * the AWS Database Migration Service User Guide. + * other available settings, see Extra connection attributes + * when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in + * the Database Migration Service User Guide. *

                                    */ MySQLSettings?: MySQLSettings; /** *

                                    Settings in JSON format for the source and target Oracle endpoint. For information about - * other available settings, see Extra connection attributes - * when using Oracle as a source for AWS DMS and - * - * Extra connection attributes when using Oracle as a target for AWS DMS - * in the AWS Database Migration Service User Guide. + * other available settings, see Extra connection attributes + * when using Oracle as a source for DMS and + * + * Extra connection attributes when using Oracle as a target for DMS + * in the Database Migration Service User Guide. *

                                    */ OracleSettings?: OracleSettings; /** *

                                    Settings in JSON format for the source and target SAP ASE endpoint. For information - * about other available settings, see Extra connection attributes - * when using SAP ASE as a source for AWS DMS and Extra connection attributes - * when using SAP ASE as a target for AWS DMS in the AWS Database - * Migration Service User Guide. + * about other available settings, see Extra connection attributes + * when using SAP ASE as a source for DMS and Extra connection attributes + * when using SAP ASE as a target for DMS in the Database Migration Service + * User Guide. *

                                    */ SybaseSettings?: SybaseSettings; /** *

                                    Settings in JSON format for the source and target Microsoft SQL Server endpoint. For - * information about other available settings, see Extra connection - * attributes when using SQL Server as a source for AWS DMS and - * Extra connection attributes when using SQL Server as a target for AWS DMS in the - * AWS Database Migration Service User Guide. + * information about other available settings, see Extra connection + * attributes when using SQL Server as a source for DMS and + * Extra connection attributes when using SQL Server as a target for DMS in the + * Database Migration Service User Guide. *

                                    */ MicrosoftSQLServerSettings?: MicrosoftSQLServerSettings; /** *

                                    Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other - * available settings, see Extra connection attributes - * when using Db2 LUW as a source for AWS DMS in the AWS Database - * Migration Service User Guide. + * available settings, see Extra connection attributes + * when using Db2 LUW as a source for DMS in the Database Migration Service + * User Guide. *

                                    */ IBMDb2Settings?: IBMDb2Settings; @@ -3025,7 +3115,7 @@ export interface CreateEndpointMessage { * and can only begin with a letter, such as Example-App-ARN1. For example, this * value might result in the EndpointArn value * arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't - * specify a ResourceIdentifier value, AWS DMS generates a default identifier + * specify a ResourceIdentifier value, DMS generates a default identifier * value for the end of EndpointArn.

                                    */ ResourceIdentifier?: string; @@ -3076,11 +3166,6 @@ export namespace CreateEndpointMessage { *
                                  • *
                                  • *

                                    - * DescribeEndpointTypes - *

                                    - *
                                  • - *
                                  • - *

                                    * ModifyEndpoint *

                                    *
                                  • @@ -3147,11 +3232,11 @@ export interface Endpoint { Status?: string; /** - *

                                    An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                    + *

                                    An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                    *

                                    If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key.

                                    - *

                                    AWS KMS creates the default encryption key for your AWS account. Your AWS account has a - * different default encryption key for each AWS Region.

                                    + * DMS uses your default encryption key.

                                    + *

                                    KMS creates the default encryption key for your account. Your account has a + * different default encryption key for each Region.

                                    */ KmsKeyId?: string; @@ -3171,7 +3256,8 @@ export interface Endpoint { SslMode?: DmsSslModeValue | string; /** - *

                                    The Amazon Resource Name (ARN) used by the service access IAM role.

                                    + *

                                    The Amazon Resource Name (ARN) used by the service to access the IAM role. + * The role must allow the iam:PassRole action.

                                    */ ServiceAccessRoleArn?: string; @@ -3206,24 +3292,18 @@ export interface Endpoint { *
                                  • *

                                    * ServiceAccessRoleArn - The IAM role that has permission to access the - * Amazon S3 bucket.

                                    + * Amazon S3 bucket. The role must allow the iam:PassRole action.

                                    *
                                  • *
                                  • *

                                    * BucketName - The name of the S3 bucket to use.

                                    *
                                  • - *
                                  • - *

                                    - * CompressionType - An optional parameter to use GZIP to compress the - * target files. To use GZIP, set this value to NONE (the default). To keep - * the files uncompressed, don't use this value.

                                    - *
                                  • *
                                  *

                                  Shorthand syntax for these settings is as follows: - * ServiceAccessRoleArn=string,BucketName=string,CompressionType=string + * ServiceAccessRoleArn=string,BucketName=string, *

                                  *

                                  JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": - * "string", "BucketName": "string", "CompressionType": "none"|"gzip" } + * "string", "BucketName": "string"} *

                                  */ DmsTransferSettings?: DmsTransferSettings; @@ -3350,7 +3430,7 @@ export namespace CreateEndpointResponse { } /** - *

                                  AWS DMS cannot access the AWS KMS key.

                                  + *

                                  DMS cannot access the KMS key.

                                  */ export interface KMSKeyNotAccessibleFault extends __SmithyException, $MetadataBearer { name: "KMSKeyNotAccessibleFault"; @@ -3437,7 +3517,7 @@ export namespace S3AccessDeniedFault { */ export interface CreateEventSubscriptionMessage { /** - *

                                  The name of the AWS DMS event notification subscription. This name must be less than 255 characters.

                                  + *

                                  The name of the DMS event notification subscription. This name must be less than 255 characters.

                                  */ SubscriptionName: string | undefined; @@ -3448,7 +3528,7 @@ export interface CreateEventSubscriptionMessage { SnsTopicArn: string | undefined; /** - *

                                  The type of AWS DMS resource that generates the events. For example, if you want to be + *

                                  The type of DMS resource that generates the events. For example, if you want to be * notified of events generated by a replication instance, you set this parameter to * replication-instance. If this value isn't specified, all events are * returned.

                                  @@ -3460,14 +3540,14 @@ export interface CreateEventSubscriptionMessage { /** *

                                  A list of event categories for a source type that you want to subscribe to. For more * information, see Working with Events and - * Notifications in the AWS Database Migration Service User + * Notifications in the Database Migration Service User * Guide. *

                                  */ EventCategories?: string[]; /** - *

                                  A list of identifiers for which AWS DMS provides notification events.

                                  + *

                                  A list of identifiers for which DMS provides notification events.

                                  *

                                  If you don't specify a value, notifications are provided for all sources.

                                  *

                                  If you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database instance @@ -3502,39 +3582,39 @@ export namespace CreateEventSubscriptionMessage { */ export interface EventSubscription { /** - *

                                  The AWS customer account associated with the AWS DMS event notification + *

                                  The Amazon Web Services customer account associated with the DMS event notification * subscription.

                                  */ CustomerAwsId?: string; /** - *

                                  The AWS DMS event notification subscription Id.

                                  + *

                                  The DMS event notification subscription Id.

                                  */ CustSubscriptionId?: string; /** - *

                                  The topic ARN of the AWS DMS event notification subscription.

                                  + *

                                  The topic ARN of the DMS event notification subscription.

                                  */ SnsTopicArn?: string; /** - *

                                  The status of the AWS DMS event notification subscription.

                                  + *

                                  The status of the DMS event notification subscription.

                                  *

                                  Constraints:

                                  *

                                  Can be one of the following: creating | modifying | deleting | active | no-permission | * topic-not-exist

                                  - *

                                  The status "no-permission" indicates that AWS DMS no longer has permission to post to + *

                                  The status "no-permission" indicates that DMS no longer has permission to post to * the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the * subscription was created.

                                  */ Status?: string; /** - *

                                  The time the AWS DMS event notification subscription was created.

                                  + *

                                  The time the DMS event notification subscription was created.

                                  */ SubscriptionCreationTime?: string; /** - *

                                  The type of AWS DMS resource that generates events.

                                  + *

                                  The type of DMS resource that generates events.

                                  *

                                  Valid values: replication-instance | replication-server | security-group | * replication-task

                                  */ @@ -3621,7 +3701,7 @@ export namespace KMSDisabledFault { } /** - *

                                  The state of the specified AWS KMS resource isn't valid for this request.

                                  + *

                                  The state of the specified KMS resource isn't valid for this request.

                                  */ export interface KMSInvalidStateFault extends __SmithyException, $MetadataBearer { name: "KMSInvalidStateFault"; @@ -3639,7 +3719,7 @@ export namespace KMSInvalidStateFault { } /** - *

                                  The specified AWS KMS entity or resource can't be found.

                                  + *

                                  The specified KMS entity or resource can't be found.

                                  */ export interface KMSNotFoundFault extends __SmithyException, $MetadataBearer { name: "KMSNotFoundFault"; @@ -3657,7 +3737,7 @@ export namespace KMSNotFoundFault { } /** - *

                                  This request triggered AWS KMS request throttling.

                                  + *

                                  This request triggered KMS request throttling.

                                  */ export interface KMSThrottlingFault extends __SmithyException, $MetadataBearer { name: "KMSThrottlingFault"; @@ -3751,7 +3831,7 @@ export interface CreateReplicationInstanceMessage { * replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

                                  *

                                  For more information on the settings and capacities for the available replication instance classes, see * - * Selecting the right AWS DMS replication instance for your migration. + * Selecting the right DMS replication instance for your migration. *

                                  */ ReplicationInstanceClass: string | undefined; @@ -3764,7 +3844,7 @@ export interface CreateReplicationInstanceMessage { /** *

                                  The Availability Zone where the replication instance will be created. The default - * value is a random, system-chosen Availability Zone in the endpoint's AWS Region, for + * value is a random, system-chosen Availability Zone in the endpoint's Region, for * example: us-east-1d *

                                  */ @@ -3780,8 +3860,8 @@ export interface CreateReplicationInstanceMessage { * Coordinated Time (UTC).

                                  *

                                  Format: ddd:hh24:mi-ddd:hh24:mi *

                                  - *

                                  Default: A 30-minute window selected at random from an 8-hour block of time per AWS - * Region, occurring on a random day of the week.

                                  + *

                                  Default: A 30-minute window selected at random from an 8-hour block of time per Region, + * occurring on a random day of the week.

                                  *

                                  Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

                                  *

                                  Constraints: Minimum 30-minute window.

                                  */ @@ -3816,12 +3896,12 @@ export interface CreateReplicationInstanceMessage { Tags?: Tag[]; /** - *

                                  An AWS KMS key identifier that is used to encrypt the data on the replication + *

                                  An KMS key identifier that is used to encrypt the data on the replication * instance.

                                  *

                                  If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key.

                                  - *

                                  AWS KMS creates the default encryption key for your AWS account. Your AWS account has a - * different default encryption key for each AWS Region.

                                  + * DMS uses your default encryption key.

                                  + *

                                  KMS creates the default encryption key for your account. Your account has a + * different default encryption key for each Region.

                                  */ KmsKeyId?: string; @@ -3851,7 +3931,7 @@ export interface CreateReplicationInstanceMessage { * and can only begin with a letter, such as Example-App-ARN1. For example, this * value might result in the EndpointArn value * arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't - * specify a ResourceIdentifier value, AWS DMS generates a default identifier + * specify a ResourceIdentifier value, DMS generates a default identifier * value for the end of EndpointArn.

                                  */ ResourceIdentifier?: string; @@ -3880,7 +3960,7 @@ export interface ReplicationPendingModifiedValues { * replication instance class.

                                  *

                                  For more information on the settings and capacities for the available replication instance classes, see * - * Selecting the right AWS DMS replication instance for your migration. + * Selecting the right DMS replication instance for your migration. *

                                  */ ReplicationInstanceClass?: string; @@ -3918,7 +3998,7 @@ export namespace ReplicationPendingModifiedValues { * AvailabilityZone is an optional parameter to the * CreateReplicationInstance * operation, and it’s value relates to - * the AWS Region of an endpoint. For example, the availability zone of an endpoint in the + * the Region of an endpoint. For example, the availability zone of an endpoint in the * us-east-1 region might be us-east-1a, us-east-1b, us-east-1c, or us-east-1d.

                                  */ export interface AvailabilityZone { @@ -4059,11 +4139,11 @@ export interface ReplicationInstance { /** *

                                  The compute and memory capacity of the replication instance as defined for the specified - * replication instance class. It is a required parameter, although a defualt value is + * replication instance class. It is a required parameter, although a default value is * pre-selected in the DMS console.

                                  *

                                  For more information on the settings and capacities for the available replication instance classes, see * - * Selecting the right AWS DMS replication instance for your migration. + * Selecting the right DMS replication instance for your migration. *

                                  */ ReplicationInstanceClass?: string; @@ -4201,12 +4281,12 @@ export interface ReplicationInstance { AutoMinorVersionUpgrade?: boolean; /** - *

                                  An AWS KMS key identifier that is used to encrypt the data on the replication + *

                                  An KMS key identifier that is used to encrypt the data on the replication * instance.

                                  *

                                  If you don't specify a value for the KmsKeyId parameter, then - * AWS DMS uses your default encryption key.

                                  - *

                                  AWS KMS creates the default encryption key for your AWS account. Your AWS account has a - * different default encryption key for each AWS Region.

                                  + * DMS uses your default encryption key.

                                  + *

                                  KMS creates the default encryption key for your account. Your account has a + * different default encryption key for each Region.

                                  */ KmsKeyId?: string; @@ -4485,7 +4565,7 @@ export interface CreateReplicationTaskMessage { /** *

                                  The table mappings for the task, in JSON format. For more information, see Using Table - * Mapping to Specify Task Settings in the AWS Database Migration Service User + * Mapping to Specify Task Settings in the Database Migration Service User * Guide. *

                                  */ @@ -4493,8 +4573,7 @@ export interface CreateReplicationTaskMessage { /** *

                                  Overall settings for the task, in JSON format. For more information, see Specifying Task - * Settings for AWS Database Migration Service Tasks in the AWS Database - * Migration User Guide. + * Settings for Database Migration Service Tasks in the Database Migration Service User Guide. *

                                  */ ReplicationTaskSettings?: string; @@ -4521,7 +4600,7 @@ export interface CreateReplicationTaskMessage { * replication slot should already be created and associated with the source endpoint. You * can verify this by setting the slotName extra connection attribute to the * name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source - * for AWS DMS.

                                  + * for DMS.

                                  * */ CdcStartPosition?: string; @@ -4542,7 +4621,7 @@ export interface CreateReplicationTaskMessage { /** *

                                  Supplemental information that the task requires to migrate the data for certain source and target endpoints. * For more information, see Specifying Supplemental Data for Task Settings in the - * AWS Database Migration Service User Guide. + * Database Migration Service User Guide. *

                                  */ TaskData?: string; @@ -4555,7 +4634,7 @@ export interface CreateReplicationTaskMessage { * and can only begin with a letter, such as Example-App-ARN1. For example, this * value might result in the EndpointArn value * arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't - * specify a ResourceIdentifier value, AWS DMS generates a default identifier + * specify a ResourceIdentifier value, DMS generates a default identifier * value for the end of EndpointArn.

                                  */ ResourceIdentifier?: string; @@ -4892,7 +4971,7 @@ export interface ReplicationTask { /** *

                                  Supplemental information that the task requires to migrate the data for certain source and target endpoints. * For more information, see Specifying Supplemental Data for Task Settings in the - * AWS Database Migration Service User Guide. + * Database Migration Service User Guide. *

                                  */ TaskData?: string; @@ -5396,16 +5475,16 @@ export interface DescribeAccountAttributesResponse { AccountQuotas?: AccountQuota[]; /** - *

                                  A unique AWS DMS identifier for an account in a particular AWS Region. The value of this + *

                                  A unique DMS identifier for an account in a particular Region. The value of this * identifier has the following format: c99999999999. DMS uses this identifier to * name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket - * for storing task assessment reports in a given AWS Region. The format of this S3 bucket + * for storing task assessment reports in a given Region. The format of this S3 bucket * name is the following: * dms-AccountNumber-UniqueAccountIdentifier. * Here is an example name for this default S3 bucket: * dms-111122223333-c44445555666.

                                  * - *

                                  AWS DMS supports the UniqueAccountIdentifier parameter in + *

                                  DMS supports the UniqueAccountIdentifier parameter in * versions 3.1.4 and later.

                                  *
                                  */ @@ -5485,7 +5564,7 @@ export interface DescribeApplicableIndividualAssessmentsResponse { * run that you start based on the specified request parameters. For more information on the * available individual assessments, including compatibility with different migration task * configurations, see Working with premigration assessment runs in the - * AWS Database Migration Service User Guide. + * Database Migration Service User Guide. *

                                  */ IndividualAssessmentNames?: string[]; @@ -5510,7 +5589,7 @@ export namespace DescribeApplicableIndividualAssessmentsResponse { /** *

                                  Identifies the name and value of a filter object. This filter is used to limit the - * number and type of AWS DMS objects that are returned for a particular + * number and type of DMS objects that are returned for a particular * Describe* call or similar operation. Filters are used as an optional * parameter for certain API operations.

                                  */ @@ -5793,6 +5872,11 @@ export interface EndpointSetting { *

                                  The maximum value of an endpoint setting that is of type int.

                                  */ IntValueMax?: number; + + /** + *

                                  The default value of the endpoint setting if no value is specified using CreateEndpoint or ModifyEndpoint.

                                  + */ + DefaultValue?: string; } export namespace EndpointSetting { @@ -5881,7 +5965,7 @@ export interface SupportedEndpointType { EngineName?: string; /** - *

                                  Indicates if Change Data Capture (CDC) is supported.

                                  + *

                                  Indicates if change data capture (CDC) is supported.

                                  */ SupportsCDC?: boolean; @@ -5891,7 +5975,7 @@ export interface SupportedEndpointType { EndpointType?: ReplicationEndpointTypeValue | string; /** - *

                                  The earliest AWS DMS engine version that supports this endpoint engine. Note that endpoint engines released with AWS DMS versions earlier than 3.1.1 do not return a value for this parameter.

                                  + *

                                  The earliest DMS engine version that supports this endpoint engine. Note that endpoint engines released with DMS versions earlier than 3.1.1 do not return a value for this parameter.

                                  */ ReplicationInstanceEngineMinimumVersion?: string; @@ -5942,7 +6026,7 @@ export namespace DescribeEndpointTypesResponse { */ export interface DescribeEventCategoriesMessage { /** - *

                                  The type of AWS DMS resource that generates events.

                                  + *

                                  The type of DMS resource that generates events.

                                  *

                                  Valid values: replication-instance | replication-task

                                  */ SourceType?: string; @@ -5963,7 +6047,7 @@ export namespace DescribeEventCategoriesMessage { } /** - *

                                  Lists categories of events subscribed to, and generated by, the applicable AWS DMS + *

                                  Lists categories of events subscribed to, and generated by, the applicable DMS * resource type. This data type appears in response to the * * DescribeEventCategories @@ -5972,7 +6056,7 @@ export namespace DescribeEventCategoriesMessage { */ export interface EventCategoryGroup { /** - *

                                  The type of AWS DMS resource that generates events.

                                  + *

                                  The type of DMS resource that generates events.

                                  *

                                  Valid values: replication-instance | replication-server | security-group | * replication-task

                                  */ @@ -6024,7 +6108,7 @@ export interface DescribeEventsMessage { SourceIdentifier?: string; /** - *

                                  The type of AWS DMS resource that generates events.

                                  + *

                                  The type of DMS resource that generates events.

                                  *

                                  Valid values: replication-instance | replication-task

                                  */ SourceType?: SourceType | string; @@ -6083,7 +6167,7 @@ export namespace DescribeEventsMessage { /** *

                                  Describes an identifiable significant activity that affects a replication instance or * task. This object can provide the message, the available event categories, the date and - * source of the event, and the AWS DMS resource type.

                                  + * source of the event, and the DMS resource type.

                                  */ export interface Event { /** @@ -6092,7 +6176,7 @@ export interface Event { SourceIdentifier?: string; /** - *

                                  The type of AWS DMS resource that generates events.

                                  + *

                                  The type of DMS resource that generates events.

                                  *

                                  Valid values: replication-instance | endpoint | replication-task

                                  */ SourceType?: SourceType | string; @@ -6153,7 +6237,7 @@ export namespace DescribeEventsResponse { */ export interface DescribeEventSubscriptionsMessage { /** - *

                                  The name of the AWS DMS event subscription to be described.

                                  + *

                                  The name of the DMS event subscription to be described.

                                  */ SubscriptionName?: string; @@ -6264,7 +6348,7 @@ export interface OrderableReplicationInstance { * replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

                                  *

                                  For more information on the settings and capacities for the available replication instance classes, see * - * Selecting the right AWS DMS replication instance for your migration. + * Selecting the right DMS replication instance for your migration. *

                                  */ ReplicationInstanceClass?: string; @@ -6307,7 +6391,7 @@ export interface OrderableReplicationInstance { *

                                  The value returned when the specified EngineVersion of the replication * instance is in Beta or test mode. This indicates some features might not work as expected.

                                  * - *

                                  AWS DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.

                                  + *

                                  DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.

                                  *
                                  */ ReleaseStatus?: ReleaseStatusValues | string; @@ -6782,11 +6866,15 @@ export interface ReplicationTaskAssessmentResult { /** *

                                  The task assessment results in JSON format.

                                  + *

                                  The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn + * in the request.

                                  */ AssessmentResults?: string; /** *

                                  The URL of the S3 object containing the task assessment results.

                                  + *

                                  The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn + * in the request.

                                  */ S3ObjectUrl?: string; } @@ -7409,7 +7497,9 @@ export interface ImportCertificateMessage { CertificatePem?: string; /** - *

                                  The location of an imported Oracle Wallet certificate for use with SSL.

                                  + *

                                  The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file + * using the fileb:// prefix. You can't provide the certificate inline. + *

                                  */ CertificateWallet?: Uint8Array; @@ -7468,7 +7558,7 @@ export namespace InvalidCertificateFault { */ export interface ListTagsForResourceMessage { /** - *

                                  The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS + *

                                  The Amazon Resource Name (ARN) string that uniquely identifies the DMS * resource.

                                  */ ResourceArn: string | undefined; @@ -7556,7 +7646,7 @@ export interface ModifyEndpointMessage { Port?: number; /** - *

                                  The name of the endpoint database.

                                  + *

                                  The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

                                  */ DatabaseName?: string; @@ -7577,8 +7667,8 @@ export interface ModifyEndpointMessage { SslMode?: DmsSslModeValue | string; /** - *

                                  The Amazon Resource Name (ARN) for the service access role you want to use to modify - * the endpoint.

                                  + *

                                  The Amazon Resource Name (ARN) for the IAM role you want to use to modify + * the endpoint. The role must allow the iam:PassRole action.

                                  */ ServiceAccessRoleArn?: string; @@ -7589,8 +7679,8 @@ export interface ModifyEndpointMessage { /** *

                                  Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other - * available settings, see Using Object Mapping to Migrate - * Data to DynamoDB in the AWS Database Migration Service User + * available settings, see Using Object Mapping to Migrate + * Data to DynamoDB in the Database Migration Service User * Guide. *

                                  */ @@ -7599,8 +7689,8 @@ export interface ModifyEndpointMessage { /** *

                                  Settings in JSON format for the target Amazon S3 endpoint. For more information about * the available settings, see Extra - * Connection Attributes When Using Amazon S3 as a Target for AWS DMS in the - * AWS Database Migration Service User Guide. + * Connection Attributes When Using Amazon S3 as a Target for DMS in the + * Database Migration Service User Guide. *

                                  */ S3Settings?: S3Settings; @@ -7610,66 +7700,59 @@ export interface ModifyEndpointMessage { *

                                  Attributes include the following:

                                  *
                                    *
                                  • - *

                                    serviceAccessRoleArn - The AWS Identity and Access Management (IAM) role that has - * permission to access the Amazon S3 bucket.

                                    + *

                                    serviceAccessRoleArn - The Identity and Access Management (IAM) role that has + * permission to access the Amazon S3 bucket. The role must allow the iam:PassRole action.

                                    *
                                  • *
                                  • *

                                    BucketName - The name of the S3 bucket to use.

                                    *
                                  • - *
                                  • - *

                                    compressionType - An optional parameter to use GZIP to compress the target files. - * Either set this parameter to NONE (the default) or don't use it to leave the - * files uncompressed.

                                    - *
                                  • *
                                  *

                                  Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string - * ,BucketName=string,CompressionType=string + * ,BucketName=string *

                                  *

                                  JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", - * "BucketName": "string", "CompressionType": "none"|"gzip" } + * "BucketName": "string"} *

                                  */ DmsTransferSettings?: DmsTransferSettings; /** *

                                  Settings in JSON format for the source MongoDB endpoint. For more information about the - * available settings, see the configuration properties section in Using MongoDB as a Target for AWS - * Database Migration Service in the AWS Database Migration Service User - * Guide. + * available settings, see the configuration properties section in Endpoint configuration settings + * when using MongoDB as a source for Database Migration Service in the + * Database Migration Service User Guide. *

                                  */ MongoDbSettings?: MongoDbSettings; /** *

                                  Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For - * more information about the available settings, see Using Amazon Kinesis Data Streams - * as a Target for AWS Database Migration Service in the AWS Database Migration Service User - * Guide. + * more information about the available settings, see Using object mapping to + * migrate data to a Kinesis data stream in the Database Migration Service User Guide. *

                                  */ KinesisSettings?: KinesisSettings; /** *

                                  Settings in JSON format for the target Apache Kafka endpoint. For more information about - * the available settings, see Using Apache Kafka as a Target for AWS - * Database Migration Service in the AWS Database Migration Service User - * Guide. + * the available settings, see Using object mapping + * to migrate data to a Kafka topic in the Database Migration Service User Guide. *

                                  */ KafkaSettings?: KafkaSettings; /** *

                                  Settings in JSON format for the target Elasticsearch endpoint. For more information - * about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in - * the AWS Database Migration Service User Guide. + * about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in + * the Database Migration Service User Guide. *

                                  */ ElasticsearchSettings?: ElasticsearchSettings; /** *

                                  Settings in JSON format for the target Amazon Neptune endpoint. For more information - * about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target - * in the AWS Database Migration Service User Guide. + * about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target + * in the Database Migration Service User Guide. *

                                  */ NeptuneSettings?: NeptuneSettings; @@ -7681,20 +7764,19 @@ export interface ModifyEndpointMessage { /** *

                                  Settings in JSON format for the source and target PostgreSQL endpoint. For information - * about other available settings, see Extra connection - * attributes when using PostgreSQL as a source for AWS DMS and - * Extra connection attributes when using PostgreSQL as a target for AWS DMS in the - * AWS Database Migration Service User Guide. + * about other available settings, see Extra connection + * attributes when using PostgreSQL as a source for DMS and + * Extra connection attributes when using PostgreSQL as a target for DMS in the + * Database Migration Service User Guide. *

                                  */ PostgreSQLSettings?: PostgreSQLSettings; /** *

                                  Settings in JSON format for the source and target MySQL endpoint. For information about - * other available settings, see Extra connection - * attributes when using MySQL as a source for AWS DMS and Extra - * connection attributes when using a MySQL-compatible database as a target for AWS - * DMS in the AWS Database Migration Service User + * other available settings, see Extra connection + * attributes when using MySQL as a source for DMS and Extra + * connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User * Guide. *

                                  */ @@ -7702,51 +7784,76 @@ export interface ModifyEndpointMessage { /** *

                                  Settings in JSON format for the source and target Oracle endpoint. For information about - * other available settings, see Extra connection - * attributes when using Oracle as a source for AWS DMS and - * Extra connection attributes when using Oracle as a target for AWS DMS in the - * AWS Database Migration Service User Guide. + * other available settings, see Extra connection + * attributes when using Oracle as a source for DMS and + * Extra connection attributes when using Oracle as a target for DMS in the + * Database Migration Service User Guide. *

                                  */ OracleSettings?: OracleSettings; /** *

                                  Settings in JSON format for the source and target SAP ASE endpoint. For information - * about other available settings, see Extra connection attributes - * when using SAP ASE as a source for AWS DMS and Extra connection attributes - * when using SAP ASE as a target for AWS DMS in the AWS Database - * Migration Service User Guide. + * about other available settings, see Extra connection attributes + * when using SAP ASE as a source for DMS and Extra connection attributes + * when using SAP ASE as a target for DMS in the Database Migration Service + * User Guide. *

                                  */ SybaseSettings?: SybaseSettings; /** *

                                  Settings in JSON format for the source and target Microsoft SQL Server endpoint. For - * information about other available settings, see Extra connection - * attributes when using SQL Server as a source for AWS DMS and - * Extra connection attributes when using SQL Server as a target for AWS DMS in the - * AWS Database Migration Service User Guide. + * information about other available settings, see Extra connection + * attributes when using SQL Server as a source for DMS and + * Extra connection attributes when using SQL Server as a target for DMS in the + * Database Migration Service User Guide. *

                                  */ MicrosoftSQLServerSettings?: MicrosoftSQLServerSettings; /** *

                                  Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other - * available settings, see Extra connection attributes - * when using Db2 LUW as a source for AWS DMS in the AWS Database - * Migration Service User Guide. + * available settings, see Extra connection attributes + * when using Db2 LUW as a source for DMS in the Database Migration Service + * User Guide. *

                                  */ IBMDb2Settings?: IBMDb2Settings; /** *

                                  Settings in JSON format for the source DocumentDB endpoint. For more information about the - * available settings, see the configuration properties section in Using DocumentDB as a Target for AWS - * Database Migration Service in the AWS Database Migration Service User + * available settings, see the configuration properties section in Using DocumentDB as a Target for Database Migration Service + * in the Database Migration Service User * Guide. *

                                  */ DocDbSettings?: DocDbSettings; + + /** + *

                                  If this attribute is Y, the current call to ModifyEndpoint replaces all + * existing endpoint settings with the exact settings that you specify in this call. If this + * attribute is N, the current call to ModifyEndpoint does two things:

                                  + *
                                    + *
                                  • + *

                                    It replaces any endpoint settings that already exist with new values, for settings with the + * same names.

                                    + *
                                  • + *
                                  • + *

                                    It creates new endpoint settings that you specify in the call, for settings with different + * names.

                                    + *
                                  • + *
                                  + *

                                  For example, if you call create-endpoint ... --endpoint-settings '{"a":1}' + * ..., the endpoint has the following endpoint settings: '{"a":1}'. If + * you then call modify-endpoint ... --endpoint-settings '{"b":2}' ... for the + * same endpoint, the endpoint has the following settings: '{"a":1,"b":2}'.

                                  + *

                                  However, suppose that you follow this with a call to modify-endpoint ... + * --endpoint-settings '{"b":2}' --exact-settings ... for that same endpoint again. + * Then the endpoint has the following settings: '{"b":2}'. All existing settings + * are replaced with the exact settings that you specify.

                                  + */ + ExactSettings?: boolean; } export namespace ModifyEndpointMessage { @@ -7798,7 +7905,7 @@ export namespace ModifyEndpointResponse { */ export interface ModifyEventSubscriptionMessage { /** - *

                                  The name of the AWS DMS event notification subscription to be modified.

                                  + *

                                  The name of the DMS event notification subscription to be modified.

                                  */ SubscriptionName: string | undefined; @@ -7809,7 +7916,7 @@ export interface ModifyEventSubscriptionMessage { SnsTopicArn?: string; /** - *

                                  The type of AWS DMS resource that generates the events you want to subscribe to.

                                  + *

                                  The type of DMS resource that generates the events you want to subscribe to.

                                  *

                                  Valid values: replication-instance | replication-task

                                  */ SourceType?: string; @@ -7881,7 +7988,7 @@ export interface ModifyReplicationInstanceMessage { * replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

                                  *

                                  For more information on the settings and capacities for the available replication instance classes, see * - * Selecting the right AWS DMS replication instance for your migration. + * Selecting the right DMS replication instance for your migration. *

                                  */ ReplicationInstanceClass?: string; @@ -7942,7 +8049,7 @@ export interface ModifyReplicationInstanceMessage { *

                                  A newer minor version is available.

                                  * *
                                • - *

                                  AWS DMS has enabled automatic patching for the given engine version.

                                  + *

                                  DMS has enabled automatic patching for the given engine version.

                                  *
                                • *
                                */ @@ -8106,9 +8213,9 @@ export interface ModifyReplicationTaskMessage { MigrationType?: MigrationTypeValue | string; /** - *

                                When using the AWS CLI or boto3, provide the path of the JSON file that contains the + *

                                When using the CLI or boto3, provide the path of the JSON file that contains the * table mappings. Precede the path with file://. For example, - * --table-mappings file://mappingfile.json. When working with the DMS API, + * --table-mappings file://mappingfile.json. When working with the DMS API, * provide the JSON as the parameter value. *

                                */ @@ -8141,7 +8248,7 @@ export interface ModifyReplicationTaskMessage { * replication slot should already be created and associated with the source endpoint. You * can verify this by setting the slotName extra connection attribute to the * name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source - * for AWS DMS.

                                + * for DMS.

                                * */ CdcStartPosition?: string; @@ -8157,7 +8264,7 @@ export interface ModifyReplicationTaskMessage { /** *

                                Supplemental information that the task requires to migrate the data for certain source and target endpoints. * For more information, see Specifying Supplemental Data for Task Settings in the - * AWS Database Migration Service User Guide. + * Database Migration Service User Guide. *

                                */ TaskData?: string; @@ -8392,11 +8499,11 @@ export namespace ReloadTablesResponse { } /** - *

                                Removes one or more tags from an AWS DMS resource.

                                + *

                                Removes one or more tags from an DMS resource.

                                */ export interface RemoveTagsFromResourceMessage { /** - *

                                An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

                                + *

                                An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

                                */ ResourceArn: string | undefined; @@ -8471,7 +8578,7 @@ export interface StartReplicationTaskMessage { * replication slot should already be created and associated with the source endpoint. You * can verify this by setting the slotName extra connection attribute to the * name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source - * for AWS DMS.

                                + * for DMS.

                                * */ CdcStartPosition?: string; @@ -8552,7 +8659,7 @@ export namespace StartReplicationTaskAssessmentResponse { } /** - *

                                An AWS Key Management Service (AWS KMS) error is preventing access to AWS KMS.

                                + *

                                An Key Management Service (KMS) error is preventing access to KMS.

                                */ export interface KMSFault extends __SmithyException, $MetadataBearer { name: "KMSFault"; @@ -8599,25 +8706,25 @@ export interface StartReplicationTaskAssessmentRunMessage { ReplicationTaskArn: string | undefined; /** - *

                                ARN of a service role needed to start the assessment run.

                                + *

                                ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action.

                                */ ServiceAccessRoleArn: string | undefined; /** - *

                                Amazon S3 bucket where you want AWS DMS to store the results of this assessment + *

                                Amazon S3 bucket where you want DMS to store the results of this assessment * run.

                                */ ResultLocationBucket: string | undefined; /** - *

                                Folder within an Amazon S3 bucket where you want AWS DMS to store the results of this assessment + *

                                Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment * run.

                                */ ResultLocationFolder?: string; /** *

                                Encryption mode that you can specify to encrypt the results of this assessment run. If - * you don't specify this request parameter, AWS DMS stores the assessment run results + * you don't specify this request parameter, DMS stores the assessment run results * without encryption. You can specify one of the options following:

                                *
                                  *
                                • @@ -8627,7 +8734,7 @@ export interface StartReplicationTaskAssessmentRunMessage { *
                                • *
                                • *

                                  - * "SSE_KMS" – AWS Key Management Service (AWS KMS) encryption. + * "SSE_KMS" – Key Management Service (KMS) encryption. * This encryption can use either a custom KMS encryption key that you specify or the * default KMS encryption key that DMS provides.

                                  *
                                • @@ -8648,13 +8755,13 @@ export interface StartReplicationTaskAssessmentRunMessage { /** *

                                  Space-separated list of names for specific individual assessments that you want to - * include. These names come from the default list of individual assessments that AWS DMS + * include. These names come from the default list of individual assessments that DMS * supports for the associated migration task. This task is specified by * ReplicationTaskArn.

                                  * *

                                  You can't set a value for IncludeOnly if you also set a value for * Exclude in the API operation.

                                  - *

                                  To identify the names of the default individual assessments that AWS DMS + *

                                  To identify the names of the default individual assessments that DMS * supports for the associated migration task, run the * DescribeApplicableIndividualAssessments operation using its own * ReplicationTaskArn request parameter.

                                  @@ -8664,13 +8771,13 @@ export interface StartReplicationTaskAssessmentRunMessage { /** *

                                  Space-separated list of names for specific individual assessments that you want to - * exclude. These names come from the default list of individual assessments that AWS DMS + * exclude. These names come from the default list of individual assessments that DMS * supports for the associated migration task. This task is specified by * ReplicationTaskArn.

                                  * *

                                  You can't set a value for Exclude if you also set a value for * IncludeOnly in the API operation.

                                  - *

                                  To identify the names of the default individual assessments that AWS DMS + *

                                  To identify the names of the default individual assessments that DMS * supports for the associated migration task, run the * DescribeApplicableIndividualAssessments operation using its own * ReplicationTaskArn request parameter.

                                  diff --git a/clients/client-database-migration-service/protocols/Aws_json1_1.ts b/clients/client-database-migration-service/protocols/Aws_json1_1.ts index 1db388b139036..28ec1124f3f8c 100644 --- a/clients/client-database-migration-service/protocols/Aws_json1_1.ts +++ b/clients/client-database-migration-service/protocols/Aws_json1_1.ts @@ -5957,6 +5957,7 @@ const serializeAws_json1_1KafkaSettings = (input: KafkaSettings, context: __Serd ...(input.MessageFormat !== undefined && input.MessageFormat !== null && { MessageFormat: input.MessageFormat }), ...(input.MessageMaxBytes !== undefined && input.MessageMaxBytes !== null && { MessageMaxBytes: input.MessageMaxBytes }), + ...(input.NoHexPrefix !== undefined && input.NoHexPrefix !== null && { NoHexPrefix: input.NoHexPrefix }), ...(input.PartitionIncludeSchemaTable !== undefined && input.PartitionIncludeSchemaTable !== null && { PartitionIncludeSchemaTable: input.PartitionIncludeSchemaTable }), ...(input.SaslPassword !== undefined && input.SaslPassword !== null && { SaslPassword: input.SaslPassword }), @@ -5999,6 +6000,7 @@ const serializeAws_json1_1KinesisSettings = (input: KinesisSettings, context: __ ...(input.IncludeTransactionDetails !== undefined && input.IncludeTransactionDetails !== null && { IncludeTransactionDetails: input.IncludeTransactionDetails }), ...(input.MessageFormat !== undefined && input.MessageFormat !== null && { MessageFormat: input.MessageFormat }), + ...(input.NoHexPrefix !== undefined && input.NoHexPrefix !== null && { NoHexPrefix: input.NoHexPrefix }), ...(input.PartitionIncludeSchemaTable !== undefined && input.PartitionIncludeSchemaTable !== null && { PartitionIncludeSchemaTable: input.PartitionIncludeSchemaTable }), ...(input.ServiceAccessRoleArn !== undefined && @@ -6072,6 +6074,7 @@ const serializeAws_json1_1ModifyEndpointMessage = (input: ModifyEndpointMessage, input.EndpointIdentifier !== null && { EndpointIdentifier: input.EndpointIdentifier }), ...(input.EndpointType !== undefined && input.EndpointType !== null && { EndpointType: input.EndpointType }), ...(input.EngineName !== undefined && input.EngineName !== null && { EngineName: input.EngineName }), + ...(input.ExactSettings !== undefined && input.ExactSettings !== null && { ExactSettings: input.ExactSettings }), ...(input.ExternalTableDefinition !== undefined && input.ExternalTableDefinition !== null && { ExternalTableDefinition: input.ExternalTableDefinition }), ...(input.ExtraConnectionAttributes !== undefined && @@ -6369,8 +6372,15 @@ const serializeAws_json1_1OracleSettings = (input: OracleSettings, context: __Se input.SpatialDataOptionToGeoJsonFunctionName !== null && { SpatialDataOptionToGeoJsonFunctionName: input.SpatialDataOptionToGeoJsonFunctionName, }), + ...(input.StandbyDelayTime !== undefined && + input.StandbyDelayTime !== null && { StandbyDelayTime: input.StandbyDelayTime }), ...(input.UseAlternateFolderForOnline !== undefined && input.UseAlternateFolderForOnline !== null && { UseAlternateFolderForOnline: input.UseAlternateFolderForOnline }), + ...(input.UseBFile !== undefined && input.UseBFile !== null && { UseBFile: input.UseBFile }), + ...(input.UseDirectPathFullLoad !== undefined && + input.UseDirectPathFullLoad !== null && { UseDirectPathFullLoad: input.UseDirectPathFullLoad }), + ...(input.UseLogminerReader !== undefined && + input.UseLogminerReader !== null && { UseLogminerReader: input.UseLogminerReader }), ...(input.UsePathPrefix !== undefined && input.UsePathPrefix !== null && { UsePathPrefix: input.UsePathPrefix }), ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }), }; @@ -6388,8 +6398,15 @@ const serializeAws_json1_1PostgreSQLSettings = (input: PostgreSQLSettings, conte input.ExecuteTimeout !== null && { ExecuteTimeout: input.ExecuteTimeout }), ...(input.FailTasksOnLobTruncation !== undefined && input.FailTasksOnLobTruncation !== null && { FailTasksOnLobTruncation: input.FailTasksOnLobTruncation }), + ...(input.HeartbeatEnable !== undefined && + input.HeartbeatEnable !== null && { HeartbeatEnable: input.HeartbeatEnable }), + ...(input.HeartbeatFrequency !== undefined && + input.HeartbeatFrequency !== null && { HeartbeatFrequency: input.HeartbeatFrequency }), + ...(input.HeartbeatSchema !== undefined && + input.HeartbeatSchema !== null && { HeartbeatSchema: input.HeartbeatSchema }), ...(input.MaxFileSize !== undefined && input.MaxFileSize !== null && { MaxFileSize: input.MaxFileSize }), ...(input.Password !== undefined && input.Password !== null && { Password: input.Password }), + ...(input.PluginName !== undefined && input.PluginName !== null && { PluginName: input.PluginName }), ...(input.Port !== undefined && input.Port !== null && { Port: input.Port }), ...(input.SecretsManagerAccessRoleArn !== undefined && input.SecretsManagerAccessRoleArn !== null && { SecretsManagerAccessRoleArn: input.SecretsManagerAccessRoleArn }), @@ -7407,6 +7424,7 @@ const deserializeAws_json1_1EndpointList = (output: any, context: __SerdeContext const deserializeAws_json1_1EndpointSetting = (output: any, context: __SerdeContext): EndpointSetting => { return { Applicability: __expectString(output.Applicability), + DefaultValue: __expectString(output.DefaultValue), EnumValues: output.EnumValues !== undefined && output.EnumValues !== null ? deserializeAws_json1_1EndpointSettingEnumValues(output.EnumValues, context) @@ -7610,6 +7628,7 @@ const deserializeAws_json1_1KafkaSettings = (output: any, context: __SerdeContex IncludeTransactionDetails: __expectBoolean(output.IncludeTransactionDetails), MessageFormat: __expectString(output.MessageFormat), MessageMaxBytes: __expectNumber(output.MessageMaxBytes), + NoHexPrefix: __expectBoolean(output.NoHexPrefix), PartitionIncludeSchemaTable: __expectBoolean(output.PartitionIncludeSchemaTable), SaslPassword: __expectString(output.SaslPassword), SaslUsername: __expectString(output.SaslUsername), @@ -7630,6 +7649,7 @@ const deserializeAws_json1_1KinesisSettings = (output: any, context: __SerdeCont IncludeTableAlterOperations: __expectBoolean(output.IncludeTableAlterOperations), IncludeTransactionDetails: __expectBoolean(output.IncludeTransactionDetails), MessageFormat: __expectString(output.MessageFormat), + NoHexPrefix: __expectBoolean(output.NoHexPrefix), PartitionIncludeSchemaTable: __expectBoolean(output.PartitionIncludeSchemaTable), ServiceAccessRoleArn: __expectString(output.ServiceAccessRoleArn), StreamArn: __expectString(output.StreamArn), @@ -7868,7 +7888,11 @@ const deserializeAws_json1_1OracleSettings = (output: any, context: __SerdeConte SecurityDbEncryptionName: __expectString(output.SecurityDbEncryptionName), ServerName: __expectString(output.ServerName), SpatialDataOptionToGeoJsonFunctionName: __expectString(output.SpatialDataOptionToGeoJsonFunctionName), + StandbyDelayTime: __expectNumber(output.StandbyDelayTime), UseAlternateFolderForOnline: __expectBoolean(output.UseAlternateFolderForOnline), + UseBFile: __expectBoolean(output.UseBFile), + UseDirectPathFullLoad: __expectBoolean(output.UseDirectPathFullLoad), + UseLogminerReader: __expectBoolean(output.UseLogminerReader), UsePathPrefix: __expectString(output.UsePathPrefix), Username: __expectString(output.Username), } as any; @@ -7967,8 +7991,12 @@ const deserializeAws_json1_1PostgreSQLSettings = (output: any, context: __SerdeC DdlArtifactsSchema: __expectString(output.DdlArtifactsSchema), ExecuteTimeout: __expectNumber(output.ExecuteTimeout), FailTasksOnLobTruncation: __expectBoolean(output.FailTasksOnLobTruncation), + HeartbeatEnable: __expectBoolean(output.HeartbeatEnable), + HeartbeatFrequency: __expectNumber(output.HeartbeatFrequency), + HeartbeatSchema: __expectString(output.HeartbeatSchema), MaxFileSize: __expectNumber(output.MaxFileSize), Password: __expectString(output.Password), + PluginName: __expectString(output.PluginName), Port: __expectNumber(output.Port), SecretsManagerAccessRoleArn: __expectString(output.SecretsManagerAccessRoleArn), SecretsManagerSecretId: __expectString(output.SecretsManagerSecretId), diff --git a/clients/client-direct-connect/DirectConnect.ts b/clients/client-direct-connect/DirectConnect.ts index 11c6ccc87dd67..172df7a35a910 100644 --- a/clients/client-direct-connect/DirectConnect.ts +++ b/clients/client-direct-connect/DirectConnect.ts @@ -277,12 +277,12 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - *

                                  AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. - * One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection - * in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon EC2 + *

                                  Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. + * One end of the cable is connected to your router, the other to an Direct Connect router. With this connection + * in place, you can create virtual interfaces directly to the Cloud (for example, to Amazon EC2 * and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A - * connection provides access to all AWS Regions except the China (Beijing) and (China) Ningxia Regions. - * AWS resources in the China Regions can only be accessed through locations associated with those Regions.

                                  + * connection provides access to all Regions except the China (Beijing) and (China) Ningxia Regions. + * Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

                                  */ export class DirectConnect extends DirectConnectClient { /** @@ -326,7 +326,7 @@ export class DirectConnect extends DirectConnectClient { *

                                  Creates a hosted connection on an interconnect.

                                  *

                                  Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public allocateConnectionOnInterconnect( @@ -360,9 +360,10 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.

                                  - *

                                  Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. AWS polices the hosted connection for the specified capacity and the AWS Direct Connect Partner must also police the hosted connection for the specified capacity.

                                  + *

                                  Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. + * Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public allocateHostedConnection( @@ -395,7 +396,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Provisions a private virtual interface to be owned by the specified AWS account.

                                  + *

                                  Provisions a private virtual interface to be owned by the specified account.

                                  *

                                  Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. * Until then, the virtual interface is in the Confirming state and is not available to handle traffic.

                                  */ @@ -429,8 +430,8 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Provisions a public virtual interface to be owned by the specified AWS account.

                                  - *

                                  The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account.

                                  + *

                                  Provisions a public virtual interface to be owned by the specified account.

                                  + *

                                  The owner of a connection calls this function to provision a public virtual interface to be owned by the specified account.

                                  *

                                  Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. * Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

                                  *

                                  When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from @@ -466,8 +467,8 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Provisions a transit virtual interface to be owned by the specified AWS account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                  - *

                                  The owner of a connection provisions a transit virtual interface to be owned by the specified AWS account.

                                  + *

                                  Provisions a transit virtual interface to be owned by the specified account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                  + *

                                  The owner of a connection provisions a transit virtual interface to be owned by the specified account.

                                  *

                                  After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

                                  */ public allocateTransitVirtualInterface( @@ -501,8 +502,8 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Associates an existing connection with a link aggregation group (LAG). The connection - * is interrupted and re-established as a member of the LAG (connectivity to AWS is - * interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its + * is interrupted and re-established as a member of the LAG (connectivity to Amazon Web Services is + * interrupted). The connection must be hosted on the same Direct Connect endpoint as the LAG, and its * bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's * currently associated with a different LAG; however, if removing the connection would cause * the original LAG to fall below its setting for minimum number of operational connections, @@ -548,10 +549,10 @@ export class DirectConnect extends DirectConnectClient { *

                                  Associates a hosted connection and its virtual interfaces with a link aggregation * group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted * connection with a conflicting VLAN number or IP address, the operation fails. This - * action temporarily interrupts the hosted connection's connectivity to AWS as it is being - * migrated.

                                  + * action temporarily interrupts the hosted connection's connectivity to Amazon Web Services + * as it is being migrated.

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public associateHostedConnection( @@ -584,9 +585,9 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection.

                                  + *

                                  Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an Direct Connect dedicated connection.

                                  *

                                  You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.

                                  - *

                                  For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.

                                  + *

                                  For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide.

                                  */ public associateMacSecKey( args: AssociateMacSecKeyCommandInput, @@ -619,7 +620,7 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Associates a virtual interface with a specified link aggregation group (LAG) or - * connection. Connectivity to AWS is temporarily interrupted as the virtual interface is + * connection. Connectivity to Amazon Web Services is temporarily interrupted as the virtual interface is * being migrated. If the target connection or LAG has an associated virtual interface with * a conflicting VLAN number or a conflicting IP address, the operation fails.

                                  *

                                  Virtual interfaces associated with a hosted connection cannot be associated with a @@ -693,7 +694,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Accepts ownership of a private virtual interface created by another AWS account.

                                  + *

                                  Accepts ownership of a private virtual interface created by another account.

                                  *

                                  After the virtual interface owner makes this call, the virtual interface is * created and attached to the specified virtual private gateway or Direct Connect gateway, and is * made available to handle traffic.

                                  @@ -728,7 +729,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Accepts ownership of a public virtual interface created by another AWS account.

                                  + *

                                  Accepts ownership of a public virtual interface created by another account.

                                  *

                                  After the virtual interface owner makes this call, the specified virtual interface is * created and made available to handle traffic.

                                  */ @@ -762,7 +763,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Accepts ownership of a transit virtual interface created by another AWS account.

                                  + *

                                  Accepts ownership of a transit virtual interface created by another account.

                                  * *

                                  After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.

                                  */ @@ -797,7 +798,7 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Creates a BGP peer on the specified virtual interface.

                                  - *

                                  You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family.

                                  + *

                                  You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.

                                  *

                                  If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot * be in the same address family as an existing BGP peer on the virtual interface.

                                  *

                                  When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from @@ -834,14 +835,14 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Creates a connection between a customer network and a specific AWS Direct Connect location.

                                  + *

                                  Creates a connection between a customer network and a specific Direct Connect location.

                                  * - *

                                  A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic - * cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router.

                                  + *

                                  A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic + * cable. One end of the cable is connected to your router, the other to an Direct Connect router.

                                  *

                                  To find the locations for your Region, use DescribeLocations.

                                  *

                                  You can automatically add the new connection to a link aggregation group (LAG) by * specifying a LAG ID in the request. This ensures that the new connection is allocated on the - * same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, + * same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, * the request fails and no connection is created.

                                  */ public createConnection( @@ -876,8 +877,8 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set * of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any - * AWS Region after it is created. The virtual interfaces and virtual private gateways that - * are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to + * Region after it is created. The virtual interfaces and virtual private gateways that + * are connected through a Direct Connect gateway can be in different Regions. This enables you to * connect to a VPC in any Region, regardless of the Region in which the virtual interfaces * are located, and pass traffic between them.

                                  */ @@ -947,7 +948,7 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.

                                  - *

                                  You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any AWS account.

                                  + *

                                  You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any account.

                                  */ public createDirectConnectGatewayAssociationProposal( args: CreateDirectConnectGatewayAssociationProposalCommandInput, @@ -981,21 +982,21 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location.

                                  - *

                                  An interconnect is a connection that is capable of hosting other connections. The AWS - * Direct Connect partner can use an interconnect to provide AWS Direct Connect hosted + *

                                  Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.

                                  + *

                                  An interconnect is a connection that is capable of hosting other connections. The + * Direct Connect Partner can use an interconnect to provide Direct Connect hosted * connections to customers through their own network services. Like a standard connection, an - * interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet - * fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect + * interconnect links the partner's network to an Direct Connect location over a standard Ethernet + * fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect * router.

                                  *

                                  You can automatically add the new interconnect to a link aggregation group (LAG) by * specifying a LAG ID in the request. This ensures that the new interconnect is allocated on - * the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the + * the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the * endpoint, the request fails and no interconnect is created.

                                  - *

                                  For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. - * The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect Partner.

                                  + *

                                  For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. + * The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public createInterconnect( @@ -1029,21 +1030,21 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Creates a link aggregation group (LAG) with the specified number of bundled - * physical dedicated connections between the customer network and a specific AWS Direct Connect location. + * physical dedicated connections between the customer network and a specific Direct Connect location. * A LAG is a logical interface that uses the Link Aggregation Control Protocol * (LACP) to aggregate multiple interfaces, enabling you to treat them as a single * interface.

                                  - *

                                  All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same AWS Direct Connect endpoint.

                                  + *

                                  All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.

                                  *

                                  You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you - * request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is + * request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is * created.

                                  *

                                  You can specify an existing physical dedicated connection or interconnect to include in * the LAG (which counts towards the total number of connections). Doing so interrupts the * current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG - * will be created on the same AWS Direct Connect endpoint to which the dedicated connection terminates. Any + * will be created on the same Direct Connect endpoint to which the dedicated connection terminates. Any * virtual interfaces associated with the dedicated connection are automatically disassociated * and re-associated with the LAG. The connection ID does not change.

                                  - *

                                  If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG is + *

                                  If the account used to create a LAG is a registered Direct Connect Partner, the LAG is * automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual * interfaces cannot be directly configured.

                                  */ @@ -1071,11 +1072,11 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. + *

                                  Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. * A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). * Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple - * VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only - * provides access to a single VPC within the same Region.

                                  + * VPCs, including VPCs in different Regions. Connecting the private virtual interface + * to a VGW only provides access to a single VPC within the same Region.

                                  *

                                  Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to * the underlying physical connection if it wasn't updated to support jumbo frames. Updating * the connection disrupts network connectivity for all virtual interfaces associated with @@ -1113,8 +1114,8 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. - * A public virtual interface supports sending traffic to public services of AWS such as Amazon S3.

                                  + *

                                  Creates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. + * A public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3.

                                  *

                                  When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer * and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.

                                  */ @@ -1223,8 +1224,8 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Deletes the specified connection.

                                  - *

                                  Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. - * If you are partnering with any third parties to connect with the AWS Direct Connect location, + *

                                  Deleting a connection only stops the Direct Connect port hour and data transfer charges. + * If you are partnering with any third parties to connect with the Direct Connect location, * you must cancel your service with them separately.

                                  */ public deleteConnection( @@ -1363,7 +1364,7 @@ export class DirectConnect extends DirectConnectClient { *

                                  Deletes the specified interconnect.

                                  * *

                                  Intended for use - * by AWS Direct Connect Partners only.

                                  + * by Direct Connect Partners only.

                                  *
                                  */ public deleteInterconnect( @@ -1460,9 +1461,9 @@ export class DirectConnect extends DirectConnectClient { *

                                  Deprecated. Use DescribeLoa instead.

                                  *

                                  Gets the LOA-CFA for a connection.

                                  *

                                  The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or - * service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, + * service provider uses when establishing your cross connect to Amazon Web Services at the colocation facility. For more information, * see Requesting Cross Connects - * at AWS Direct Connect Locations in the AWS Direct Connect User Guide.

                                  + * at Direct Connect Locations in the Direct Connect User Guide.

                                  */ public describeConnectionLoa( args: DescribeConnectionLoaCommandInput, @@ -1531,7 +1532,7 @@ export class DirectConnect extends DirectConnectClient { *

                                  Deprecated. Use DescribeHostedConnections instead.

                                  *

                                  Lists the connections that have been provisioned on the specified interconnect.

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public describeConnectionsOnInterconnect( @@ -1727,7 +1728,7 @@ export class DirectConnect extends DirectConnectClient { *

                                  Lists the hosted connections that have been provisioned on the specified * interconnect or link aggregation group (LAG).

                                  * - *

                                  Intended for use by AWS Direct Connect Partners only.

                                  + *

                                  Intended for use by Direct Connect Partners only.

                                  *
                                  */ public describeHostedConnections( @@ -1764,9 +1765,9 @@ export class DirectConnect extends DirectConnectClient { * *

                                  Deprecated. Use DescribeLoa instead.

                                  *

                                  Gets the LOA-CFA for the specified interconnect.

                                  - *

                                  The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. - * For more information, see Requesting Cross Connects at AWS Direct Connect Locations - * in the AWS Direct Connect User Guide.

                                  + *

                                  The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to Amazon Web Services at the colocation facility. + * For more information, see Requesting Cross Connects at Direct Connect Locations + * in the Direct Connect User Guide.

                                  */ public describeInterconnectLoa( args: DescribeInterconnectLoaCommandInput, @@ -1798,7 +1799,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Lists the interconnects owned by the AWS account or only the specified interconnect.

                                  + *

                                  Lists the interconnects owned by the account or only the specified interconnect.

                                  */ public describeInterconnects( args: DescribeInterconnectsCommandInput, @@ -1861,8 +1862,8 @@ export class DirectConnect extends DirectConnectClient { /** *

                                  Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).

                                  *

                                  The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing - * your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations - * in the AWS Direct Connect User Guide.

                                  + * your cross connect to Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at Direct Connect Locations + * in the Direct Connect User Guide.

                                  */ public describeLoa(args: DescribeLoaCommandInput, options?: __HttpHandlerOptions): Promise; public describeLoa(args: DescribeLoaCommandInput, cb: (err: any, data?: DescribeLoaCommandOutput) => void): void; @@ -1888,7 +1889,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling + *

                                  Lists the Direct Connect locations in the current Region. These are the locations that can be selected when calling * CreateConnection or CreateInterconnect.

                                  */ public describeLocations( @@ -1921,7 +1922,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Describes the tags associated with the specified AWS Direct Connect resources.

                                  + *

                                  Describes the tags associated with the specified Direct Connect resources.

                                  */ public describeTags( args: DescribeTagsCommandInput, @@ -1950,8 +1951,8 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Lists the virtual private gateways owned by the AWS account.

                                  - *

                                  You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.

                                  + *

                                  Lists the virtual private gateways owned by the account.

                                  + *

                                  You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.

                                  */ public describeVirtualGateways( args: DescribeVirtualGatewaysCommandInput, @@ -1983,11 +1984,11 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer + *

                                  Displays all virtual interfaces for an account. Virtual interfaces deleted fewer * than 15 minutes before you make the request are also returned. If you specify a * connection ID, only the virtual interfaces associated with the connection are returned. * If you specify a virtual interface ID, then only a single virtual interface is returned.

                                  - *

                                  A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.

                                  + *

                                  A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.

                                  */ public describeVirtualInterfaces( args: DescribeVirtualInterfacesCommandInput, @@ -2023,7 +2024,7 @@ export class DirectConnect extends DirectConnectClient { * interrupted and re-established as a standalone connection (the connection is not * deleted; to delete the connection, use the DeleteConnection request). * If the LAG has associated virtual interfaces or hosted connections, they remain - * associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is + * associated with the LAG. A disassociated connection owned by an Direct Connect Partner is * automatically converted to an interconnect.

                                  *

                                  If disassociating the connection would cause the LAG to fall below its setting for * minimum number of operational connections, the request fails, except when it's the last @@ -2060,7 +2061,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.

                                  + *

                                  Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.

                                  */ public disassociateMacSecKey( args: DisassociateMacSecKeyCommandInput, @@ -2191,7 +2192,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags.

                                  + *

                                  Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags.

                                  *

                                  Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

                                  */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; @@ -2218,7 +2219,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Removes one or more tags from the specified AWS Direct Connect resource.

                                  + *

                                  Removes one or more tags from the specified Direct Connect resource.

                                  */ public untagResource( args: UntagResourceCommandInput, @@ -2250,7 +2251,7 @@ export class DirectConnect extends DirectConnectClient { } /** - *

                                  Updates the AWS Direct Connect dedicated connection configuration.

                                  + *

                                  Updates the Direct Connect dedicated connection configuration.

                                  *

                                  You can update the following parameters for a connection:

                                  *
                                    *
                                  • @@ -2338,7 +2339,7 @@ export class DirectConnect extends DirectConnectClient { *
                                  • *
                                  • *

                                    The LAG's MACsec encryption mode.

                                    - *

                                    AWS assigns this value to each connection which is part of the LAG.

                                    + *

                                    Amazon Web Services assigns this value to each connection which is part of the LAG.

                                    *
                                  • *
                                  • *

                                    The tags

                                    diff --git a/clients/client-direct-connect/DirectConnectClient.ts b/clients/client-direct-connect/DirectConnectClient.ts index a7fe0a41b1067..ae2cc72a8fe7c 100644 --- a/clients/client-direct-connect/DirectConnectClient.ts +++ b/clients/client-direct-connect/DirectConnectClient.ts @@ -494,12 +494,12 @@ type DirectConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt export interface DirectConnectClientResolvedConfig extends DirectConnectClientResolvedConfigType {} /** - *

                                    AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. - * One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection - * in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon EC2 + *

                                    Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. + * One end of the cable is connected to your router, the other to an Direct Connect router. With this connection + * in place, you can create virtual interfaces directly to the Cloud (for example, to Amazon EC2 * and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A - * connection provides access to all AWS Regions except the China (Beijing) and (China) Ningxia Regions. - * AWS resources in the China Regions can only be accessed through locations associated with those Regions.

                                    + * connection provides access to all Regions except the China (Beijing) and (China) Ningxia Regions. + * Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

                                    */ export class DirectConnectClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-direct-connect/README.md b/clients/client-direct-connect/README.md index f95d74e245808..58d30a866dfe0 100644 --- a/clients/client-direct-connect/README.md +++ b/clients/client-direct-connect/README.md @@ -7,12 +7,12 @@ AWS SDK for JavaScript DirectConnect Client for Node.js, Browser and React Native. -

                                    AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. -One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection -in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon EC2 +

                                    Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. +One end of the cable is connected to your router, the other to an Direct Connect router. With this connection +in place, you can create virtual interfaces directly to the Cloud (for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A -connection provides access to all AWS Regions except the China (Beijing) and (China) Ningxia Regions. -AWS resources in the China Regions can only be accessed through locations associated with those Regions.

                                    +connection provides access to all Regions except the China (Beijing) and (China) Ningxia Regions. +Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

                                    ## Installing diff --git a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts index bbe873cf9e275..5b36b61b432db 100644 --- a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts @@ -27,7 +27,7 @@ export interface AllocateConnectionOnInterconnectCommandOutput extends Connectio *

                                    Creates a hosted connection on an interconnect.

                                    *

                                    Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts index 2adf0b7f0e90a..8c0138e94c55f 100644 --- a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts @@ -22,9 +22,10 @@ export interface AllocateHostedConnectionCommandOutput extends Connection, __Met /** *

                                    Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.

                                    - *

                                    Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. AWS polices the hosted connection for the specified capacity and the AWS Direct Connect Partner must also police the hosted connection for the specified capacity.

                                    + *

                                    Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. + * Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts index 1f0d19e2f3505..718a96646136f 100644 --- a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts @@ -21,7 +21,7 @@ export interface AllocatePrivateVirtualInterfaceCommandInput extends AllocatePri export interface AllocatePrivateVirtualInterfaceCommandOutput extends VirtualInterface, __MetadataBearer {} /** - *

                                    Provisions a private virtual interface to be owned by the specified AWS account.

                                    + *

                                    Provisions a private virtual interface to be owned by the specified account.

                                    *

                                    Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. * Until then, the virtual interface is in the Confirming state and is not available to handle traffic.

                                    * @example diff --git a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts index e41de8525caa3..a394702d2e29d 100644 --- a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts @@ -21,8 +21,8 @@ export interface AllocatePublicVirtualInterfaceCommandInput extends AllocatePubl export interface AllocatePublicVirtualInterfaceCommandOutput extends VirtualInterface, __MetadataBearer {} /** - *

                                    Provisions a public virtual interface to be owned by the specified AWS account.

                                    - *

                                    The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account.

                                    + *

                                    Provisions a public virtual interface to be owned by the specified account.

                                    + *

                                    The owner of a connection calls this function to provision a public virtual interface to be owned by the specified account.

                                    *

                                    Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. * Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

                                    *

                                    When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from diff --git a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts index f4080728b9538..7690b6ea5d251 100644 --- a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts @@ -23,8 +23,8 @@ export interface AllocateTransitVirtualInterfaceCommandOutput __MetadataBearer {} /** - *

                                    Provisions a transit virtual interface to be owned by the specified AWS account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                    - *

                                    The owner of a connection provisions a transit virtual interface to be owned by the specified AWS account.

                                    + *

                                    Provisions a transit virtual interface to be owned by the specified account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                    + *

                                    The owner of a connection provisions a transit virtual interface to be owned by the specified account.

                                    *

                                    After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts index 5a4cad8b489aa..8210f8c795196 100644 --- a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts +++ b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts @@ -22,8 +22,8 @@ export interface AssociateConnectionWithLagCommandOutput extends Connection, __M /** *

                                    Associates an existing connection with a link aggregation group (LAG). The connection - * is interrupted and re-established as a member of the LAG (connectivity to AWS is - * interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its + * is interrupted and re-established as a member of the LAG (connectivity to Amazon Web Services is + * interrupted). The connection must be hosted on the same Direct Connect endpoint as the LAG, and its * bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's * currently associated with a different LAG; however, if removing the connection would cause * the original LAG to fall below its setting for minimum number of operational connections, diff --git a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts index e0f62641829e8..18e44c5a9410f 100644 --- a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts @@ -24,10 +24,10 @@ export interface AssociateHostedConnectionCommandOutput extends Connection, __Me *

                                    Associates a hosted connection and its virtual interfaces with a link aggregation * group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted * connection with a conflicting VLAN number or IP address, the operation fails. This - * action temporarily interrupts the hosted connection's connectivity to AWS as it is being - * migrated.

                                    + * action temporarily interrupts the hosted connection's connectivity to Amazon Web Services + * as it is being migrated.

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/AssociateMacSecKeyCommand.ts b/clients/client-direct-connect/commands/AssociateMacSecKeyCommand.ts index eeb223f0e0534..c35033e3bb0e5 100644 --- a/clients/client-direct-connect/commands/AssociateMacSecKeyCommand.ts +++ b/clients/client-direct-connect/commands/AssociateMacSecKeyCommand.ts @@ -21,9 +21,9 @@ export interface AssociateMacSecKeyCommandInput extends AssociateMacSecKeyReques export interface AssociateMacSecKeyCommandOutput extends AssociateMacSecKeyResponse, __MetadataBearer {} /** - *

                                    Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection.

                                    + *

                                    Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an Direct Connect dedicated connection.

                                    *

                                    You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.

                                    - *

                                    For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.

                                    + *

                                    For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts index b63bed9171482..411b29df80b16 100644 --- a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts @@ -22,7 +22,7 @@ export interface AssociateVirtualInterfaceCommandOutput extends VirtualInterface /** *

                                    Associates a virtual interface with a specified link aggregation group (LAG) or - * connection. Connectivity to AWS is temporarily interrupted as the virtual interface is + * connection. Connectivity to Amazon Web Services is temporarily interrupted as the virtual interface is * being migrated. If the target connection or LAG has an associated virtual interface with * a conflicting VLAN number or a conflicting IP address, the operation fails.

                                    *

                                    Virtual interfaces associated with a hosted connection cannot be associated with a diff --git a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts index 4861168c205a8..7aedda4a5c2fc 100644 --- a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts @@ -23,7 +23,7 @@ export interface ConfirmPrivateVirtualInterfaceCommandOutput __MetadataBearer {} /** - *

                                    Accepts ownership of a private virtual interface created by another AWS account.

                                    + *

                                    Accepts ownership of a private virtual interface created by another account.

                                    *

                                    After the virtual interface owner makes this call, the virtual interface is * created and attached to the specified virtual private gateway or Direct Connect gateway, and is * made available to handle traffic.

                                    diff --git a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts index a75541004c5c8..837b5cda82474 100644 --- a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts @@ -23,7 +23,7 @@ export interface ConfirmPublicVirtualInterfaceCommandOutput __MetadataBearer {} /** - *

                                    Accepts ownership of a public virtual interface created by another AWS account.

                                    + *

                                    Accepts ownership of a public virtual interface created by another account.

                                    *

                                    After the virtual interface owner makes this call, the specified virtual interface is * created and made available to handle traffic.

                                    * @example diff --git a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts index 3ff361eb03005..2985798009273 100644 --- a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts @@ -23,7 +23,7 @@ export interface ConfirmTransitVirtualInterfaceCommandOutput __MetadataBearer {} /** - *

                                    Accepts ownership of a transit virtual interface created by another AWS account.

                                    + *

                                    Accepts ownership of a transit virtual interface created by another account.

                                    * *

                                    After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.

                                    * @example diff --git a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts index 6ff861075dbda..ca09af6d66fd2 100644 --- a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts +++ b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts @@ -22,7 +22,7 @@ export interface CreateBGPPeerCommandOutput extends CreateBGPPeerResponse, __Met /** *

                                    Creates a BGP peer on the specified virtual interface.

                                    - *

                                    You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family.

                                    + *

                                    You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.

                                    *

                                    If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot * be in the same address family as an existing BGP peer on the virtual interface.

                                    *

                                    When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from diff --git a/clients/client-direct-connect/commands/CreateConnectionCommand.ts b/clients/client-direct-connect/commands/CreateConnectionCommand.ts index f7642a9d4e67d..aeccfb923123c 100644 --- a/clients/client-direct-connect/commands/CreateConnectionCommand.ts +++ b/clients/client-direct-connect/commands/CreateConnectionCommand.ts @@ -21,14 +21,14 @@ export interface CreateConnectionCommandInput extends CreateConnectionRequest {} export interface CreateConnectionCommandOutput extends Connection, __MetadataBearer {} /** - *

                                    Creates a connection between a customer network and a specific AWS Direct Connect location.

                                    + *

                                    Creates a connection between a customer network and a specific Direct Connect location.

                                    * - *

                                    A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic - * cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router.

                                    + *

                                    A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic + * cable. One end of the cable is connected to your router, the other to an Direct Connect router.

                                    *

                                    To find the locations for your Region, use DescribeLocations.

                                    *

                                    You can automatically add the new connection to a link aggregation group (LAG) by * specifying a LAG ID in the request. This ensures that the new connection is allocated on the - * same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, + * same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, * the request fails and no connection is created.

                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts index c9894b8c0a794..9ed28c81b72d1 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts @@ -28,7 +28,7 @@ export interface CreateDirectConnectGatewayAssociationProposalCommandOutput /** *

                                    Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.

                                    - *

                                    You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any AWS account.

                                    + *

                                    You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any account.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts index 58e6b2b85993f..a7a024e1becd1 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts @@ -23,8 +23,8 @@ export interface CreateDirectConnectGatewayCommandOutput extends CreateDirectCon /** *

                                    Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set * of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any - * AWS Region after it is created. The virtual interfaces and virtual private gateways that - * are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to + * Region after it is created. The virtual interfaces and virtual private gateways that + * are connected through a Direct Connect gateway can be in different Regions. This enables you to * connect to a VPC in any Region, regardless of the Region in which the virtual interfaces * are located, and pass traffic between them.

                                    * @example diff --git a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts index 5a51ce011681b..c774548c5d182 100644 --- a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts @@ -21,21 +21,21 @@ export interface CreateInterconnectCommandInput extends CreateInterconnectReques export interface CreateInterconnectCommandOutput extends Interconnect, __MetadataBearer {} /** - *

                                    Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location.

                                    - *

                                    An interconnect is a connection that is capable of hosting other connections. The AWS - * Direct Connect partner can use an interconnect to provide AWS Direct Connect hosted + *

                                    Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.

                                    + *

                                    An interconnect is a connection that is capable of hosting other connections. The + * Direct Connect Partner can use an interconnect to provide Direct Connect hosted * connections to customers through their own network services. Like a standard connection, an - * interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet - * fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect + * interconnect links the partner's network to an Direct Connect location over a standard Ethernet + * fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect * router.

                                    *

                                    You can automatically add the new interconnect to a link aggregation group (LAG) by * specifying a LAG ID in the request. This ensures that the new interconnect is allocated on - * the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the + * the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the * endpoint, the request fails and no interconnect is created.

                                    - *

                                    For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. - * The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect Partner.

                                    + *

                                    For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. + * The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/CreateLagCommand.ts b/clients/client-direct-connect/commands/CreateLagCommand.ts index ea07941ef381e..cf7cb4e6904cd 100644 --- a/clients/client-direct-connect/commands/CreateLagCommand.ts +++ b/clients/client-direct-connect/commands/CreateLagCommand.ts @@ -19,21 +19,21 @@ export interface CreateLagCommandOutput extends Lag, __MetadataBearer {} /** *

                                    Creates a link aggregation group (LAG) with the specified number of bundled - * physical dedicated connections between the customer network and a specific AWS Direct Connect location. + * physical dedicated connections between the customer network and a specific Direct Connect location. * A LAG is a logical interface that uses the Link Aggregation Control Protocol * (LACP) to aggregate multiple interfaces, enabling you to treat them as a single * interface.

                                    - *

                                    All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same AWS Direct Connect endpoint.

                                    + *

                                    All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.

                                    *

                                    You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you - * request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is + * request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is * created.

                                    *

                                    You can specify an existing physical dedicated connection or interconnect to include in * the LAG (which counts towards the total number of connections). Doing so interrupts the * current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG - * will be created on the same AWS Direct Connect endpoint to which the dedicated connection terminates. Any + * will be created on the same Direct Connect endpoint to which the dedicated connection terminates. Any * virtual interfaces associated with the dedicated connection are automatically disassociated * and re-associated with the LAG. The connection ID does not change.

                                    - *

                                    If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG is + *

                                    If the account used to create a LAG is a registered Direct Connect Partner, the LAG is * automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual * interfaces cannot be directly configured.

                                    * @example diff --git a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts index b52ed5e020dbd..7bf50fe764979 100644 --- a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts @@ -21,11 +21,11 @@ export interface CreatePrivateVirtualInterfaceCommandInput extends CreatePrivate export interface CreatePrivateVirtualInterfaceCommandOutput extends VirtualInterface, __MetadataBearer {} /** - *

                                    Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. + *

                                    Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. * A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). * Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple - * VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only - * provides access to a single VPC within the same Region.

                                    + * VPCs, including VPCs in different Regions. Connecting the private virtual interface + * to a VGW only provides access to a single VPC within the same Region.

                                    *

                                    Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to * the underlying physical connection if it wasn't updated to support jumbo frames. Updating * the connection disrupts network connectivity for all virtual interfaces associated with diff --git a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts index 69dd7cbddc4fd..7dd5af651cca7 100644 --- a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts @@ -21,8 +21,8 @@ export interface CreatePublicVirtualInterfaceCommandInput extends CreatePublicVi export interface CreatePublicVirtualInterfaceCommandOutput extends VirtualInterface, __MetadataBearer {} /** - *

                                    Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. - * A public virtual interface supports sending traffic to public services of AWS such as Amazon S3.

                                    + *

                                    Creates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. + * A public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3.

                                    *

                                    When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer * and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.

                                    * @example diff --git a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts index 7f6227a092b8d..fa676302735b9 100644 --- a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts +++ b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts @@ -22,8 +22,8 @@ export interface DeleteConnectionCommandOutput extends Connection, __MetadataBea /** *

                                    Deletes the specified connection.

                                    - *

                                    Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. - * If you are partnering with any third parties to connect with the AWS Direct Connect location, + *

                                    Deleting a connection only stops the Direct Connect port hour and data transfer charges. + * If you are partnering with any third parties to connect with the Direct Connect location, * you must cancel your service with them separately.

                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts index 229cb69f9e035..5473aee5cb004 100644 --- a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts @@ -24,7 +24,7 @@ export interface DeleteInterconnectCommandOutput extends DeleteInterconnectRespo *

                                    Deletes the specified interconnect.

                                    * *

                                    Intended for use - * by AWS Direct Connect Partners only.

                                    + * by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts index a1ac792245f81..6597a914c016a 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts @@ -26,9 +26,9 @@ export interface DescribeConnectionLoaCommandOutput extends DescribeConnectionLo *

                                    Deprecated. Use DescribeLoa instead.

                                    *

                                    Gets the LOA-CFA for a connection.

                                    *

                                    The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or - * service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, + * service provider uses when establishing your cross connect to Amazon Web Services at the colocation facility. For more information, * see Requesting Cross Connects - * at AWS Direct Connect Locations in the AWS Direct Connect User Guide.

                                    + * at Direct Connect Locations in the Direct Connect User Guide.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts index b6677680904ea..6fbff84155b03 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts @@ -26,7 +26,7 @@ export interface DescribeConnectionsOnInterconnectCommandOutput extends Connecti *

                                    Deprecated. Use DescribeHostedConnections instead.

                                    *

                                    Lists the connections that have been provisioned on the specified interconnect.

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts index 190b44ab5455f..2b865dccea49f 100644 --- a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts @@ -24,7 +24,7 @@ export interface DescribeHostedConnectionsCommandOutput extends Connections, __M *

                                    Lists the hosted connections that have been provisioned on the specified * interconnect or link aggregation group (LAG).

                                    * - *

                                    Intended for use by AWS Direct Connect Partners only.

                                    + *

                                    Intended for use by Direct Connect Partners only.

                                    *
                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts index 7160562f64776..8c479743b5838 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts @@ -25,9 +25,9 @@ export interface DescribeInterconnectLoaCommandOutput extends DescribeInterconne * *

                                    Deprecated. Use DescribeLoa instead.

                                    *

                                    Gets the LOA-CFA for the specified interconnect.

                                    - *

                                    The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. - * For more information, see Requesting Cross Connects at AWS Direct Connect Locations - * in the AWS Direct Connect User Guide.

                                    + *

                                    The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to Amazon Web Services at the colocation facility. + * For more information, see Requesting Cross Connects at Direct Connect Locations + * in the Direct Connect User Guide.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts index 44f018c27773c..7e933eb1b557b 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts @@ -21,7 +21,7 @@ export interface DescribeInterconnectsCommandInput extends DescribeInterconnects export interface DescribeInterconnectsCommandOutput extends Interconnects, __MetadataBearer {} /** - *

                                    Lists the interconnects owned by the AWS account or only the specified interconnect.

                                    + *

                                    Lists the interconnects owned by the account or only the specified interconnect.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeLoaCommand.ts b/clients/client-direct-connect/commands/DescribeLoaCommand.ts index a110881ce7526..caf2c916dd083 100644 --- a/clients/client-direct-connect/commands/DescribeLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLoaCommand.ts @@ -23,8 +23,8 @@ export interface DescribeLoaCommandOutput extends Loa, __MetadataBearer {} /** *

                                    Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).

                                    *

                                    The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing - * your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations - * in the AWS Direct Connect User Guide.

                                    + * your cross connect to Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at Direct Connect Locations + * in the Direct Connect User Guide.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts index b0cbd8aa2932b..bfba932c67782 100644 --- a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts @@ -21,7 +21,7 @@ export interface DescribeLocationsCommandInput {} export interface DescribeLocationsCommandOutput extends Locations, __MetadataBearer {} /** - *

                                    Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling + *

                                    Lists the Direct Connect locations in the current Region. These are the locations that can be selected when calling * CreateConnection or CreateInterconnect.

                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/DescribeTagsCommand.ts b/clients/client-direct-connect/commands/DescribeTagsCommand.ts index b9579f588687d..36308789dfee7 100644 --- a/clients/client-direct-connect/commands/DescribeTagsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeTagsCommand.ts @@ -21,7 +21,7 @@ export interface DescribeTagsCommandInput extends DescribeTagsRequest {} export interface DescribeTagsCommandOutput extends DescribeTagsResponse, __MetadataBearer {} /** - *

                                    Describes the tags associated with the specified AWS Direct Connect resources.

                                    + *

                                    Describes the tags associated with the specified Direct Connect resources.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts index d85eb165aaeec..60903291149aa 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts @@ -21,8 +21,8 @@ export interface DescribeVirtualGatewaysCommandInput {} export interface DescribeVirtualGatewaysCommandOutput extends VirtualGateways, __MetadataBearer {} /** - *

                                    Lists the virtual private gateways owned by the AWS account.

                                    - *

                                    You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.

                                    + *

                                    Lists the virtual private gateways owned by the account.

                                    + *

                                    You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts index b2856fbe73f5c..ed1d61f7e01ea 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts @@ -21,11 +21,11 @@ export interface DescribeVirtualInterfacesCommandInput extends DescribeVirtualIn export interface DescribeVirtualInterfacesCommandOutput extends VirtualInterfaces, __MetadataBearer {} /** - *

                                    Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer + *

                                    Displays all virtual interfaces for an account. Virtual interfaces deleted fewer * than 15 minutes before you make the request are also returned. If you specify a * connection ID, only the virtual interfaces associated with the connection are returned. * If you specify a virtual interface ID, then only a single virtual interface is returned.

                                    - *

                                    A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.

                                    + *

                                    A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts index b955a36e34a8e..690aed5e24472 100644 --- a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts +++ b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts @@ -25,7 +25,7 @@ export interface DisassociateConnectionFromLagCommandOutput extends Connection, * interrupted and re-established as a standalone connection (the connection is not * deleted; to delete the connection, use the DeleteConnection request). * If the LAG has associated virtual interfaces or hosted connections, they remain - * associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is + * associated with the LAG. A disassociated connection owned by an Direct Connect Partner is * automatically converted to an interconnect.

                                    *

                                    If disassociating the connection would cause the LAG to fall below its setting for * minimum number of operational connections, the request fails, except when it's the last diff --git a/clients/client-direct-connect/commands/DisassociateMacSecKeyCommand.ts b/clients/client-direct-connect/commands/DisassociateMacSecKeyCommand.ts index de0f643e4cd4b..9dd6339c7fc67 100644 --- a/clients/client-direct-connect/commands/DisassociateMacSecKeyCommand.ts +++ b/clients/client-direct-connect/commands/DisassociateMacSecKeyCommand.ts @@ -21,7 +21,7 @@ export interface DisassociateMacSecKeyCommandInput extends DisassociateMacSecKey export interface DisassociateMacSecKeyCommandOutput extends DisassociateMacSecKeyResponse, __MetadataBearer {} /** - *

                                    Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.

                                    + *

                                    Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/TagResourceCommand.ts b/clients/client-direct-connect/commands/TagResourceCommand.ts index 41a34a392f159..89139857f640a 100644 --- a/clients/client-direct-connect/commands/TagResourceCommand.ts +++ b/clients/client-direct-connect/commands/TagResourceCommand.ts @@ -21,7 +21,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {} export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} /** - *

                                    Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags.

                                    + *

                                    Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags.

                                    *

                                    Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-direct-connect/commands/UntagResourceCommand.ts b/clients/client-direct-connect/commands/UntagResourceCommand.ts index c87cd1ca64fec..74f126e85e525 100644 --- a/clients/client-direct-connect/commands/UntagResourceCommand.ts +++ b/clients/client-direct-connect/commands/UntagResourceCommand.ts @@ -21,7 +21,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {} export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} /** - *

                                    Removes one or more tags from the specified AWS Direct Connect resource.

                                    + *

                                    Removes one or more tags from the specified Direct Connect resource.

                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-direct-connect/commands/UpdateConnectionCommand.ts b/clients/client-direct-connect/commands/UpdateConnectionCommand.ts index 6d7ead04d740d..2078a498d927d 100644 --- a/clients/client-direct-connect/commands/UpdateConnectionCommand.ts +++ b/clients/client-direct-connect/commands/UpdateConnectionCommand.ts @@ -21,7 +21,7 @@ export interface UpdateConnectionCommandInput extends UpdateConnectionRequest {} export interface UpdateConnectionCommandOutput extends Connection, __MetadataBearer {} /** - *

                                    Updates the AWS Direct Connect dedicated connection configuration.

                                    + *

                                    Updates the Direct Connect dedicated connection configuration.

                                    *

                                    You can update the following parameters for a connection:

                                    *
                                      *
                                    • diff --git a/clients/client-direct-connect/commands/UpdateLagCommand.ts b/clients/client-direct-connect/commands/UpdateLagCommand.ts index 01691aca7cf27..6e0fb5cb47ce9 100644 --- a/clients/client-direct-connect/commands/UpdateLagCommand.ts +++ b/clients/client-direct-connect/commands/UpdateLagCommand.ts @@ -30,7 +30,7 @@ export interface UpdateLagCommandOutput extends Lag, __MetadataBearer {} *
                                    • *
                                    • *

                                      The LAG's MACsec encryption mode.

                                      - *

                                      AWS assigns this value to each connection which is part of the LAG.

                                      + *

                                      Amazon Web Services assigns this value to each connection which is part of the LAG.

                                      *
                                    • *
                                    • *

                                      The tags

                                      diff --git a/clients/client-direct-connect/models/models_0.ts b/clients/client-direct-connect/models/models_0.ts index cc670917b609f..e38896a3691b2 100644 --- a/clients/client-direct-connect/models/models_0.ts +++ b/clients/client-direct-connect/models/models_0.ts @@ -32,13 +32,13 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest { proposalId: string | undefined; /** - *

                                      The ID of the AWS account that owns the virtual private gateway or transit gateway.

                                      + *

                                      The ID of the account that owns the virtual private gateway or transit gateway.

                                      */ associatedGatewayOwnerAccount: string | undefined; /** *

                                      Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.

                                      - *

                                      For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect User Guide.

                                      + *

                                      For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

                                      */ overrideAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[]; } @@ -72,7 +72,7 @@ export interface AssociatedGateway { type?: GatewayType | string; /** - *

                                      The ID of the AWS account that owns the associated virtual private gateway or transit gateway.

                                      + *

                                      The ID of the account that owns the associated virtual private gateway or transit gateway.

                                      */ ownerAccount?: string; @@ -108,7 +108,7 @@ export interface DirectConnectGatewayAssociation { directConnectGatewayId?: string; /** - *

                                      The ID of the AWS account that owns the associated gateway.

                                      + *

                                      The ID of the account that owns the associated gateway.

                                      */ directConnectGatewayOwnerAccount?: string; @@ -163,12 +163,12 @@ export interface DirectConnectGatewayAssociation { /** * @deprecated * - *

                                      The AWS Region where the virtual private gateway is located.

                                      + *

                                      The Region where the virtual private gateway is located.

                                      */ virtualGatewayRegion?: string; /** - *

                                      The ID of the AWS account that owns the virtual private gateway.

                                      + *

                                      The ID of the account that owns the virtual private gateway.

                                      */ virtualGatewayOwnerAccount?: string; } @@ -242,7 +242,7 @@ export enum AddressFamily { export interface AllocateConnectionOnInterconnectRequest { /** *

                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, - * 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners + * 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners * who have met specific requirements * are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

                                      */ @@ -254,7 +254,7 @@ export interface AllocateConnectionOnInterconnectRequest { connectionName: string | undefined; /** - *

                                      The ID of the AWS account of the customer for whom the connection will be provisioned.

                                      + *

                                      The ID of the account of the customer for whom the connection will be provisioned.

                                      */ ownerAccount: string | undefined; @@ -373,11 +373,11 @@ export namespace Tag { } /** - *

                                      Information about an AWS Direct Connect connection.

                                      + *

                                      Information about an Direct Connect connection.

                                      */ export interface Connection { /** - *

                                      The ID of the AWS account that owns the connection.

                                      + *

                                      The ID of the account that owns the connection.

                                      */ ownerAccount?: string; @@ -435,7 +435,7 @@ export interface Connection { connectionState?: ConnectionState | string; /** - *

                                      The AWS Region where the connection is located.

                                      + *

                                      The Region where the connection is located.

                                      */ region?: string; @@ -455,7 +455,7 @@ export interface Connection { vlan?: number; /** - *

                                      The name of the AWS Direct Connect service provider associated with the connection.

                                      + *

                                      The name of the Direct Connect service provider associated with the connection.

                                      */ partnerName?: string; @@ -486,6 +486,11 @@ export interface Connection { */ awsDeviceV2?: string; + /** + *

                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                      + */ + awsLogicalDeviceId?: string; + /** *

                                      Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).

                                      */ @@ -540,12 +545,12 @@ export interface AllocateHostedConnectionRequest { connectionId: string | undefined; /** - *

                                      The ID of the AWS account ID of the customer for the connection.

                                      + *

                                      The ID of the account ID of the customer for the connection.

                                      */ ownerAccount: string | undefined; /** - *

                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

                                      + *

                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

                                      */ bandwidth: string | undefined; @@ -677,7 +682,7 @@ export interface AllocatePrivateVirtualInterfaceRequest { connectionId: string | undefined; /** - *

                                      The ID of the AWS account that owns the virtual private interface.

                                      + *

                                      The ID of the account that owns the virtual private interface.

                                      */ ownerAccount: string | undefined; @@ -795,6 +800,8 @@ export interface BGPPeer { *

                                      The Direct Connect endpoint on which the BGP peer terminates.

                                      */ awsDeviceV2?: string; + + awsLogicalDeviceId?: string; } export namespace BGPPeer { @@ -822,7 +829,7 @@ export type VirtualInterfaceState = */ export interface VirtualInterface { /** - *

                                      The ID of the AWS account that owns the virtual interface.

                                      + *

                                      The ID of the account that owns the virtual interface.

                                      */ ownerAccount?: string; @@ -956,7 +963,7 @@ export interface VirtualInterface { directConnectGatewayId?: string; /** - *

                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                      + *

                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                      */ routeFilterPrefixes?: RouteFilterPrefix[]; @@ -966,16 +973,20 @@ export interface VirtualInterface { bgpPeers?: BGPPeer[]; /** - *

                                      The AWS Region where the virtual interface is located.

                                      + *

                                      The Region where the virtual interface is located.

                                      */ region?: string; /** - *

                                      The - * Direct Connect endpoint on which the virtual interface terminates.

                                      + *

                                      The Direct Connect endpoint on which the virtual interface terminates.

                                      */ awsDeviceV2?: string; + /** + *

                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                      + */ + awsLogicalDeviceId?: string; + /** *

                                      The tags associated with the virtual interface.

                                      */ @@ -1032,7 +1043,7 @@ export interface NewPublicVirtualInterfaceAllocation { addressFamily?: AddressFamily | string; /** - *

                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                      + *

                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                      */ routeFilterPrefixes?: RouteFilterPrefix[]; @@ -1058,7 +1069,7 @@ export interface AllocatePublicVirtualInterfaceRequest { connectionId: string | undefined; /** - *

                                      The ID of the AWS account that owns the public virtual interface.

                                      + *

                                      The ID of the account that owns the public virtual interface.

                                      */ ownerAccount: string | undefined; @@ -1144,7 +1155,7 @@ export interface AllocateTransitVirtualInterfaceRequest { connectionId: string | undefined; /** - *

                                      The ID of the AWS account that owns the transit virtual interface.

                                      + *

                                      The ID of the account that owns the transit virtual interface.

                                      */ ownerAccount: string | undefined; @@ -1723,7 +1734,7 @@ export interface CreateConnectionRequest { /** *

                                      Indicates whether you want the connection to support MAC Security (MACsec).

                                      - *

                                      MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

                                      + *

                                      MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

                                      */ requestMACSec?: boolean; } @@ -1782,7 +1793,7 @@ export interface DirectConnectGateway { amazonSideAsn?: number; /** - *

                                      The ID of the AWS account that owns the Direct Connect gateway.

                                      + *

                                      The ID of the account that owns the Direct Connect gateway.

                                      */ ownerAccount?: string; @@ -1854,7 +1865,7 @@ export interface CreateDirectConnectGatewayAssociationRequest { /** *

                                      The Amazon VPC prefixes to advertise to the Direct Connect gateway

                                      *

                                      This parameter is required when you create an association to a transit gateway.

                                      - *

                                      For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect User Guide.

                                      + *

                                      For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

                                      */ addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[]; @@ -1896,7 +1907,7 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest { directConnectGatewayId: string | undefined; /** - *

                                      The ID of the AWS account that owns the Direct Connect gateway.

                                      + *

                                      The ID of the account that owns the Direct Connect gateway.

                                      */ directConnectGatewayOwnerAccount: string | undefined; @@ -1942,7 +1953,7 @@ export interface DirectConnectGatewayAssociationProposal { directConnectGatewayId?: string; /** - *

                                      The ID of the AWS account that owns the Direct Connect gateway.

                                      + *

                                      The ID of the account that owns the Direct Connect gateway.

                                      */ directConnectGatewayOwnerAccount?: string; @@ -2100,7 +2111,7 @@ export interface Interconnect { interconnectState?: InterconnectState | string; /** - *

                                      The AWS Region where the connection is located.

                                      + *

                                      The Region where the connection is located.

                                      */ region?: string; @@ -2141,6 +2152,11 @@ export interface Interconnect { */ awsDeviceV2?: string; + /** + *

                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                      + */ + awsLogicalDeviceId?: string; + /** *

                                      Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).

                                      */ @@ -2212,7 +2228,7 @@ export interface CreateLagRequest { /** *

                                      Indicates whether the connection will support MAC Security (MACsec).

                                      * - *

                                      All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

                                      + *

                                      All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

                                      *
                                      */ requestMACSec?: boolean; @@ -2250,7 +2266,7 @@ export interface Lag { lagId?: string; /** - *

                                      The ID of the AWS account that owns the LAG.

                                      + *

                                      The ID of the account that owns the LAG.

                                      */ ownerAccount?: string; @@ -2301,7 +2317,7 @@ export interface Lag { location?: string; /** - *

                                      The AWS Region where the connection is located.

                                      + *

                                      The Region where the connection is located.

                                      */ region?: string; @@ -2313,15 +2329,20 @@ export interface Lag { /** * @deprecated * - *

                                      The AWS Direct Connect endpoint that hosts the LAG.

                                      + *

                                      The Direct Connect endpoint that hosts the LAG.

                                      */ awsDevice?: string; /** - *

                                      The AWS Direct Connect endpoint that hosts the LAG.

                                      + *

                                      The Direct Connect endpoint that hosts the LAG.

                                      */ awsDeviceV2?: string; + /** + *

                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                      + */ + awsLogicalDeviceId?: string; + /** *

                                      The connections bundled by the LAG.

                                      */ @@ -2510,7 +2531,7 @@ export interface NewPublicVirtualInterface { addressFamily?: AddressFamily | string; /** - *

                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                      + *

                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                      */ routeFilterPrefixes?: RouteFilterPrefix[]; @@ -3251,12 +3272,12 @@ export interface DirectConnectGatewayAttachment { virtualInterfaceId?: string; /** - *

                                      The AWS Region where the virtual interface is located.

                                      + *

                                      The Region where the virtual interface is located.

                                      */ virtualInterfaceRegion?: string; /** - *

                                      The ID of the AWS account that owns the virtual interface.

                                      + *

                                      The ID of the account that owns the virtual interface.

                                      */ virtualInterfaceOwnerAccount?: string; @@ -3524,7 +3545,7 @@ export namespace DescribeLoaRequest { } /** - *

                                      Information about an AWS Direct Connect location.

                                      + *

                                      Information about an Direct Connect location.

                                      */ export interface Location { /** @@ -3538,7 +3559,7 @@ export interface Location { locationName?: string; /** - *

                                      The AWS Region for the location.

                                      + *

                                      The Region for the location.

                                      */ region?: string; @@ -3600,7 +3621,7 @@ export namespace DescribeTagsRequest { } /** - *

                                      Information about a tag associated with an AWS Direct Connect resource.

                                      + *

                                      Information about a tag associated with an Direct Connect resource.

                                      */ export interface ResourceTag { /** @@ -4146,7 +4167,7 @@ export interface UpdateLagRequest { /** *

                                      The LAG MAC Security (MACsec) encryption mode.

                                      - *

                                      AWS applies the value to all connections which are part of the LAG.

                                      + *

                                      Amazon Web Services applies the value to all connections which are part of the LAG.

                                      */ encryptionMode?: string; } diff --git a/clients/client-direct-connect/protocols/Aws_json1_1.ts b/clients/client-direct-connect/protocols/Aws_json1_1.ts index e216d53a0f404..15da4898df7a3 100644 --- a/clients/client-direct-connect/protocols/Aws_json1_1.ts +++ b/clients/client-direct-connect/protocols/Aws_json1_1.ts @@ -5976,6 +5976,7 @@ const deserializeAws_json1_1BGPPeer = (output: any, context: __SerdeContext): BG asn: __expectNumber(output.asn), authKey: __expectString(output.authKey), awsDeviceV2: __expectString(output.awsDeviceV2), + awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId), bgpPeerId: __expectString(output.bgpPeerId), bgpPeerState: __expectString(output.bgpPeerState), bgpStatus: __expectString(output.bgpStatus), @@ -6045,6 +6046,7 @@ const deserializeAws_json1_1Connection = (output: any, context: __SerdeContext): return { awsDevice: __expectString(output.awsDevice), awsDeviceV2: __expectString(output.awsDeviceV2), + awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId), bandwidth: __expectString(output.bandwidth), connectionId: __expectString(output.connectionId), connectionName: __expectString(output.connectionName), @@ -6484,6 +6486,7 @@ const deserializeAws_json1_1Interconnect = (output: any, context: __SerdeContext return { awsDevice: __expectString(output.awsDevice), awsDeviceV2: __expectString(output.awsDeviceV2), + awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId), bandwidth: __expectString(output.bandwidth), hasLogicalRedundancy: __expectString(output.hasLogicalRedundancy), interconnectId: __expectString(output.interconnectId), @@ -6530,6 +6533,7 @@ const deserializeAws_json1_1Lag = (output: any, context: __SerdeContext): Lag => allowsHostedConnections: __expectBoolean(output.allowsHostedConnections), awsDevice: __expectString(output.awsDevice), awsDeviceV2: __expectString(output.awsDeviceV2), + awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId), connections: output.connections !== undefined && output.connections !== null ? deserializeAws_json1_1ConnectionList(output.connections, context) @@ -6814,6 +6818,7 @@ const deserializeAws_json1_1VirtualInterface = (output: any, context: __SerdeCon asn: __expectNumber(output.asn), authKey: __expectString(output.authKey), awsDeviceV2: __expectString(output.awsDeviceV2), + awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId), bgpPeers: output.bgpPeers !== undefined && output.bgpPeers !== null ? deserializeAws_json1_1BGPPeerList(output.bgpPeers, context) diff --git a/clients/client-ec2/EC2.ts b/clients/client-ec2/EC2.ts index 6d1c87031e629..e0b4dc00d2342 100644 --- a/clients/client-ec2/EC2.ts +++ b/clients/client-ec2/EC2.ts @@ -84,6 +84,11 @@ import { AssociateIamInstanceProfileCommandInput, AssociateIamInstanceProfileCommandOutput, } from "./commands/AssociateIamInstanceProfileCommand"; +import { + AssociateInstanceEventWindowCommand, + AssociateInstanceEventWindowCommandInput, + AssociateInstanceEventWindowCommandOutput, +} from "./commands/AssociateInstanceEventWindowCommand"; import { AssociateRouteTableCommand, AssociateRouteTableCommandInput, @@ -272,6 +277,11 @@ import { CreateFpgaImageCommandOutput, } from "./commands/CreateFpgaImageCommand"; import { CreateImageCommand, CreateImageCommandInput, CreateImageCommandOutput } from "./commands/CreateImageCommand"; +import { + CreateInstanceEventWindowCommand, + CreateInstanceEventWindowCommandInput, + CreateInstanceEventWindowCommandOutput, +} from "./commands/CreateInstanceEventWindowCommand"; import { CreateInstanceExportTaskCommand, CreateInstanceExportTaskCommandInput, @@ -550,6 +560,11 @@ import { DeleteFpgaImageCommandInput, DeleteFpgaImageCommandOutput, } from "./commands/DeleteFpgaImageCommand"; +import { + DeleteInstanceEventWindowCommand, + DeleteInstanceEventWindowCommandInput, + DeleteInstanceEventWindowCommandOutput, +} from "./commands/DeleteInstanceEventWindowCommand"; import { DeleteInternetGatewayCommand, DeleteInternetGatewayCommandInput, @@ -1003,6 +1018,11 @@ import { DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstanceEventNotificationAttributesCommandOutput, } from "./commands/DescribeInstanceEventNotificationAttributesCommand"; +import { + DescribeInstanceEventWindowsCommand, + DescribeInstanceEventWindowsCommandInput, + DescribeInstanceEventWindowsCommandOutput, +} from "./commands/DescribeInstanceEventWindowsCommand"; import { DescribeInstanceStatusCommand, DescribeInstanceStatusCommandInput, @@ -1493,6 +1513,11 @@ import { DisassociateIamInstanceProfileCommandInput, DisassociateIamInstanceProfileCommandOutput, } from "./commands/DisassociateIamInstanceProfileCommand"; +import { + DisassociateInstanceEventWindowCommand, + DisassociateInstanceEventWindowCommandInput, + DisassociateInstanceEventWindowCommandOutput, +} from "./commands/DisassociateInstanceEventWindowCommand"; import { DisassociateRouteTableCommand, DisassociateRouteTableCommandInput, @@ -1797,6 +1822,11 @@ import { ModifyInstanceEventStartTimeCommandInput, ModifyInstanceEventStartTimeCommandOutput, } from "./commands/ModifyInstanceEventStartTimeCommand"; +import { + ModifyInstanceEventWindowCommand, + ModifyInstanceEventWindowCommandInput, + ModifyInstanceEventWindowCommandOutput, +} from "./commands/ModifyInstanceEventWindowCommand"; import { ModifyInstanceMetadataOptionsCommand, ModifyInstanceMetadataOptionsCommandInput, @@ -2903,6 +2933,41 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Associates one or more targets with an event window. Only one type of target (instance IDs, + * Dedicated Host IDs, or tags) can be specified with an event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public associateInstanceEventWindow( + args: AssociateInstanceEventWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public associateInstanceEventWindow( + args: AssociateInstanceEventWindowCommandInput, + cb: (err: any, data?: AssociateInstanceEventWindowCommandOutput) => void + ): void; + public associateInstanceEventWindow( + args: AssociateInstanceEventWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateInstanceEventWindowCommandOutput) => void + ): void; + public associateInstanceEventWindow( + args: AssociateInstanceEventWindowCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateInstanceEventWindowCommandOutput) => void), + cb?: (err: any, data?: AssociateInstanceEventWindowCommandOutput) => void + ): Promise | void { + const command = new AssociateInstanceEventWindowCommand(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); + } + } + /** *

                                      Associates a subnet in your VPC or an internet gateway or virtual private gateway * attached to your VPC with a route table in your VPC. This association causes traffic @@ -4463,6 +4528,62 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Creates an event window in which scheduled events for the associated Amazon EC2 instances can + * run.

                                      + *

                                      You can define either a set of time ranges or a cron expression when creating the event + * window, but not both. All event window times are in UTC.

                                      + *

                                      You can create up to 200 event windows per Amazon Web Services Region.

                                      + *

                                      When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) + * are not yet associated with it. To ensure that the event window can be used, you must + * associate one or more targets with it by using the AssociateInstanceEventWindow API.

                                      + * + * + *

                                      Event windows are applicable only for scheduled events that stop, reboot, or + * terminate instances.

                                      + *

                                      Event windows are not applicable for:

                                      + *
                                        + *
                                      • + *

                                        Expedited scheduled events and network maintenance events.

                                        + *
                                      • + *
                                      • + *

                                        Unscheduled maintenance such as AutoRecovery and unplanned reboots.

                                        + *
                                      • + *
                                      + *
                                      + * + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public createInstanceEventWindow( + args: CreateInstanceEventWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createInstanceEventWindow( + args: CreateInstanceEventWindowCommandInput, + cb: (err: any, data?: CreateInstanceEventWindowCommandOutput) => void + ): void; + public createInstanceEventWindow( + args: CreateInstanceEventWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateInstanceEventWindowCommandOutput) => void + ): void; + public createInstanceEventWindow( + args: CreateInstanceEventWindowCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateInstanceEventWindowCommandOutput) => void), + cb?: (err: any, data?: CreateInstanceEventWindowCommandOutput) => void + ): Promise | void { + const command = new CreateInstanceEventWindowCommand(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); + } + } + /** *

                                      Exports a running or stopped instance to an Amazon S3 bucket.

                                      *

                                      For information about the supported operating systems, image formats, and known limitations @@ -6651,6 +6772,40 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Deletes the specified event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public deleteInstanceEventWindow( + args: DeleteInstanceEventWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteInstanceEventWindow( + args: DeleteInstanceEventWindowCommandInput, + cb: (err: any, data?: DeleteInstanceEventWindowCommandOutput) => void + ): void; + public deleteInstanceEventWindow( + args: DeleteInstanceEventWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteInstanceEventWindowCommandOutput) => void + ): void; + public deleteInstanceEventWindow( + args: DeleteInstanceEventWindowCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteInstanceEventWindowCommandOutput) => void), + cb?: (err: any, data?: DeleteInstanceEventWindowCommandOutput) => void + ): Promise | void { + const command = new DeleteInstanceEventWindowCommand(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 the specified internet gateway. You must detach the internet gateway from the * VPC before you can delete it.

                                      @@ -8220,7 +8375,8 @@ export class EC2 extends EC2Client { } /** - *

                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included + *

                                      c

                                      + *

                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included * in scheduled event notifications for resources in the Region.

                                      */ public deregisterInstanceEventNotificationAttributes( @@ -9864,6 +10020,46 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Describes the specified event windows or all event windows.

                                      + *

                                      If you specify event window IDs, the output includes information for only the specified + * event windows. If you specify filters, the output includes information for only those event + * windows that meet the filter criteria. If you do not specify event windows IDs or filters, + * the output includes information for all event windows, which can affect performance. We + * recommend that you use pagination to ensure that the operation returns quickly and + * successfully.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public describeInstanceEventWindows( + args: DescribeInstanceEventWindowsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeInstanceEventWindows( + args: DescribeInstanceEventWindowsCommandInput, + cb: (err: any, data?: DescribeInstanceEventWindowsCommandOutput) => void + ): void; + public describeInstanceEventWindows( + args: DescribeInstanceEventWindowsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeInstanceEventWindowsCommandOutput) => void + ): void; + public describeInstanceEventWindows( + args: DescribeInstanceEventWindowsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstanceEventWindowsCommandOutput) => void), + cb?: (err: any, data?: DescribeInstanceEventWindowsCommandOutput) => void + ): Promise | void { + const command = new DescribeInstanceEventWindowsCommand(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 specified instances or all instances.

                                      *

                                      If you specify instance IDs, the output includes information for only the specified instances. @@ -13332,6 +13528,40 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Disassociates one or more targets from an event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public disassociateInstanceEventWindow( + args: DisassociateInstanceEventWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public disassociateInstanceEventWindow( + args: DisassociateInstanceEventWindowCommandInput, + cb: (err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void + ): void; + public disassociateInstanceEventWindow( + args: DisassociateInstanceEventWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void + ): void; + public disassociateInstanceEventWindow( + args: DisassociateInstanceEventWindowCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void), + cb?: (err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void + ): Promise | void { + const command = new DisassociateInstanceEventWindowCommand(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); + } + } + /** *

                                      Disassociates a subnet or gateway from a route table.

                                      *

                                      After you perform this action, the subnet no longer uses the routes in the route table. @@ -15635,6 +15865,45 @@ export class EC2 extends EC2Client { } } + /** + *

                                      Modifies the specified event window.

                                      + *

                                      You can define either a set of time ranges or a cron expression when modifying the event + * window, but not both.

                                      + *

                                      To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.

                                      + *

                                      If Amazon Web Services has already scheduled an event, modifying an event window won't change the time + * of the scheduled event.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + */ + public modifyInstanceEventWindow( + args: ModifyInstanceEventWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public modifyInstanceEventWindow( + args: ModifyInstanceEventWindowCommandInput, + cb: (err: any, data?: ModifyInstanceEventWindowCommandOutput) => void + ): void; + public modifyInstanceEventWindow( + args: ModifyInstanceEventWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ModifyInstanceEventWindowCommandOutput) => void + ): void; + public modifyInstanceEventWindow( + args: ModifyInstanceEventWindowCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyInstanceEventWindowCommandOutput) => void), + cb?: (err: any, data?: ModifyInstanceEventWindowCommandOutput) => void + ): Promise | void { + const command = new ModifyInstanceEventWindowCommand(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); + } + } + /** *

                                      Modify the instance metadata parameters on a running or stopped instance. When you * modify the parameters on a stopped instance, they are applied when the instance is diff --git a/clients/client-ec2/EC2Client.ts b/clients/client-ec2/EC2Client.ts index 6814cbd6f1986..1c08b47994e01 100644 --- a/clients/client-ec2/EC2Client.ts +++ b/clients/client-ec2/EC2Client.ts @@ -54,6 +54,10 @@ import { AssociateIamInstanceProfileCommandInput, AssociateIamInstanceProfileCommandOutput, } from "./commands/AssociateIamInstanceProfileCommand"; +import { + AssociateInstanceEventWindowCommandInput, + AssociateInstanceEventWindowCommandOutput, +} from "./commands/AssociateInstanceEventWindowCommand"; import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput, @@ -169,6 +173,10 @@ import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/Cr import { CreateFlowLogsCommandInput, CreateFlowLogsCommandOutput } from "./commands/CreateFlowLogsCommand"; import { CreateFpgaImageCommandInput, CreateFpgaImageCommandOutput } from "./commands/CreateFpgaImageCommand"; import { CreateImageCommandInput, CreateImageCommandOutput } from "./commands/CreateImageCommand"; +import { + CreateInstanceEventWindowCommandInput, + CreateInstanceEventWindowCommandOutput, +} from "./commands/CreateInstanceEventWindowCommand"; import { CreateInstanceExportTaskCommandInput, CreateInstanceExportTaskCommandOutput, @@ -350,6 +358,10 @@ import { import { DeleteFleetsCommandInput, DeleteFleetsCommandOutput } from "./commands/DeleteFleetsCommand"; import { DeleteFlowLogsCommandInput, DeleteFlowLogsCommandOutput } from "./commands/DeleteFlowLogsCommand"; import { DeleteFpgaImageCommandInput, DeleteFpgaImageCommandOutput } from "./commands/DeleteFpgaImageCommand"; +import { + DeleteInstanceEventWindowCommandInput, + DeleteInstanceEventWindowCommandOutput, +} from "./commands/DeleteInstanceEventWindowCommand"; import { DeleteInternetGatewayCommandInput, DeleteInternetGatewayCommandOutput, @@ -656,6 +668,10 @@ import { DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstanceEventNotificationAttributesCommandOutput, } from "./commands/DescribeInstanceEventNotificationAttributesCommand"; +import { + DescribeInstanceEventWindowsCommandInput, + DescribeInstanceEventWindowsCommandOutput, +} from "./commands/DescribeInstanceEventWindowsCommand"; import { DescribeInstanceStatusCommandInput, DescribeInstanceStatusCommandOutput, @@ -1015,6 +1031,10 @@ import { DisassociateIamInstanceProfileCommandInput, DisassociateIamInstanceProfileCommandOutput, } from "./commands/DisassociateIamInstanceProfileCommand"; +import { + DisassociateInstanceEventWindowCommandInput, + DisassociateInstanceEventWindowCommandOutput, +} from "./commands/DisassociateInstanceEventWindowCommand"; import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput, @@ -1232,6 +1252,10 @@ import { ModifyInstanceEventStartTimeCommandInput, ModifyInstanceEventStartTimeCommandOutput, } from "./commands/ModifyInstanceEventStartTimeCommand"; +import { + ModifyInstanceEventWindowCommandInput, + ModifyInstanceEventWindowCommandOutput, +} from "./commands/ModifyInstanceEventWindowCommand"; import { ModifyInstanceMetadataOptionsCommandInput, ModifyInstanceMetadataOptionsCommandOutput, @@ -1589,6 +1613,7 @@ export type ServiceInputTypes = | AssociateDhcpOptionsCommandInput | AssociateEnclaveCertificateIamRoleCommandInput | AssociateIamInstanceProfileCommandInput + | AssociateInstanceEventWindowCommandInput | AssociateRouteTableCommandInput | AssociateSubnetCidrBlockCommandInput | AssociateTransitGatewayMulticastDomainCommandInput @@ -1629,6 +1654,7 @@ export type ServiceInputTypes = | CreateFlowLogsCommandInput | CreateFpgaImageCommandInput | CreateImageCommandInput + | CreateInstanceEventWindowCommandInput | CreateInstanceExportTaskCommandInput | CreateInternetGatewayCommandInput | CreateKeyPairCommandInput @@ -1687,6 +1713,7 @@ export type ServiceInputTypes = | DeleteFleetsCommandInput | DeleteFlowLogsCommandInput | DeleteFpgaImageCommandInput + | DeleteInstanceEventWindowCommandInput | DeleteInternetGatewayCommandInput | DeleteKeyPairCommandInput | DeleteLaunchTemplateCommandInput @@ -1780,6 +1807,7 @@ export type ServiceInputTypes = | DescribeInstanceAttributeCommandInput | DescribeInstanceCreditSpecificationsCommandInput | DescribeInstanceEventNotificationAttributesCommandInput + | DescribeInstanceEventWindowsCommandInput | DescribeInstanceStatusCommandInput | DescribeInstanceTypeOfferingsCommandInput | DescribeInstanceTypesCommandInput @@ -1878,6 +1906,7 @@ export type ServiceInputTypes = | DisassociateClientVpnTargetNetworkCommandInput | DisassociateEnclaveCertificateIamRoleCommandInput | DisassociateIamInstanceProfileCommandInput + | DisassociateInstanceEventWindowCommandInput | DisassociateRouteTableCommandInput | DisassociateSubnetCidrBlockCommandInput | DisassociateTransitGatewayMulticastDomainCommandInput @@ -1942,6 +1971,7 @@ export type ServiceInputTypes = | ModifyInstanceCapacityReservationAttributesCommandInput | ModifyInstanceCreditSpecificationCommandInput | ModifyInstanceEventStartTimeCommandInput + | ModifyInstanceEventWindowCommandInput | ModifyInstanceMetadataOptionsCommandInput | ModifyInstancePlacementCommandInput | ModifyLaunchTemplateCommandInput @@ -2047,6 +2077,7 @@ export type ServiceOutputTypes = | AssociateDhcpOptionsCommandOutput | AssociateEnclaveCertificateIamRoleCommandOutput | AssociateIamInstanceProfileCommandOutput + | AssociateInstanceEventWindowCommandOutput | AssociateRouteTableCommandOutput | AssociateSubnetCidrBlockCommandOutput | AssociateTransitGatewayMulticastDomainCommandOutput @@ -2087,6 +2118,7 @@ export type ServiceOutputTypes = | CreateFlowLogsCommandOutput | CreateFpgaImageCommandOutput | CreateImageCommandOutput + | CreateInstanceEventWindowCommandOutput | CreateInstanceExportTaskCommandOutput | CreateInternetGatewayCommandOutput | CreateKeyPairCommandOutput @@ -2145,6 +2177,7 @@ export type ServiceOutputTypes = | DeleteFleetsCommandOutput | DeleteFlowLogsCommandOutput | DeleteFpgaImageCommandOutput + | DeleteInstanceEventWindowCommandOutput | DeleteInternetGatewayCommandOutput | DeleteKeyPairCommandOutput | DeleteLaunchTemplateCommandOutput @@ -2238,6 +2271,7 @@ export type ServiceOutputTypes = | DescribeInstanceAttributeCommandOutput | DescribeInstanceCreditSpecificationsCommandOutput | DescribeInstanceEventNotificationAttributesCommandOutput + | DescribeInstanceEventWindowsCommandOutput | DescribeInstanceStatusCommandOutput | DescribeInstanceTypeOfferingsCommandOutput | DescribeInstanceTypesCommandOutput @@ -2336,6 +2370,7 @@ export type ServiceOutputTypes = | DisassociateClientVpnTargetNetworkCommandOutput | DisassociateEnclaveCertificateIamRoleCommandOutput | DisassociateIamInstanceProfileCommandOutput + | DisassociateInstanceEventWindowCommandOutput | DisassociateRouteTableCommandOutput | DisassociateSubnetCidrBlockCommandOutput | DisassociateTransitGatewayMulticastDomainCommandOutput @@ -2400,6 +2435,7 @@ export type ServiceOutputTypes = | ModifyInstanceCapacityReservationAttributesCommandOutput | ModifyInstanceCreditSpecificationCommandOutput | ModifyInstanceEventStartTimeCommandOutput + | ModifyInstanceEventWindowCommandOutput | ModifyInstanceMetadataOptionsCommandOutput | ModifyInstancePlacementCommandOutput | ModifyLaunchTemplateCommandOutput diff --git a/clients/client-ec2/commands/AssociateInstanceEventWindowCommand.ts b/clients/client-ec2/commands/AssociateInstanceEventWindowCommand.ts new file mode 100644 index 0000000000000..3f839fcb82d55 --- /dev/null +++ b/clients/client-ec2/commands/AssociateInstanceEventWindowCommand.ts @@ -0,0 +1,102 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { AssociateInstanceEventWindowRequest, AssociateInstanceEventWindowResult } from "../models/models_0"; +import { + deserializeAws_ec2AssociateInstanceEventWindowCommand, + serializeAws_ec2AssociateInstanceEventWindowCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface AssociateInstanceEventWindowCommandInput extends AssociateInstanceEventWindowRequest {} +export interface AssociateInstanceEventWindowCommandOutput + extends AssociateInstanceEventWindowResult, + __MetadataBearer {} + +/** + *

                                      Associates one or more targets with an event window. Only one type of target (instance IDs, + * Dedicated Host IDs, or tags) can be specified with an event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, AssociateInstanceEventWindowCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, AssociateInstanceEventWindowCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new AssociateInstanceEventWindowCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link AssociateInstanceEventWindowCommandInput} for command's `input` shape. + * @see {@link AssociateInstanceEventWindowCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class AssociateInstanceEventWindowCommand extends $Command< + AssociateInstanceEventWindowCommandInput, + AssociateInstanceEventWindowCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: AssociateInstanceEventWindowCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "AssociateInstanceEventWindowCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AssociateInstanceEventWindowRequest.filterSensitiveLog, + outputFilterSensitiveLog: AssociateInstanceEventWindowResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: AssociateInstanceEventWindowCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2AssociateInstanceEventWindowCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2AssociateInstanceEventWindowCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/CreateInstanceEventWindowCommand.ts b/clients/client-ec2/commands/CreateInstanceEventWindowCommand.ts new file mode 100644 index 0000000000000..a455b1768cf71 --- /dev/null +++ b/clients/client-ec2/commands/CreateInstanceEventWindowCommand.ts @@ -0,0 +1,121 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { CreateInstanceEventWindowRequest, CreateInstanceEventWindowResult } from "../models/models_0"; +import { + deserializeAws_ec2CreateInstanceEventWindowCommand, + serializeAws_ec2CreateInstanceEventWindowCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface CreateInstanceEventWindowCommandInput extends CreateInstanceEventWindowRequest {} +export interface CreateInstanceEventWindowCommandOutput extends CreateInstanceEventWindowResult, __MetadataBearer {} + +/** + *

                                      Creates an event window in which scheduled events for the associated Amazon EC2 instances can + * run.

                                      + *

                                      You can define either a set of time ranges or a cron expression when creating the event + * window, but not both. All event window times are in UTC.

                                      + *

                                      You can create up to 200 event windows per Amazon Web Services Region.

                                      + *

                                      When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) + * are not yet associated with it. To ensure that the event window can be used, you must + * associate one or more targets with it by using the AssociateInstanceEventWindow API.

                                      + * + * + *

                                      Event windows are applicable only for scheduled events that stop, reboot, or + * terminate instances.

                                      + *

                                      Event windows are not applicable for:

                                      + *
                                        + *
                                      • + *

                                        Expedited scheduled events and network maintenance events.

                                        + *
                                      • + *
                                      • + *

                                        Unscheduled maintenance such as AutoRecovery and unplanned reboots.

                                        + *
                                      • + *
                                      + *
                                      + * + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, CreateInstanceEventWindowCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, CreateInstanceEventWindowCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new CreateInstanceEventWindowCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateInstanceEventWindowCommandInput} for command's `input` shape. + * @see {@link CreateInstanceEventWindowCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreateInstanceEventWindowCommand extends $Command< + CreateInstanceEventWindowCommandInput, + CreateInstanceEventWindowCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateInstanceEventWindowCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "CreateInstanceEventWindowCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateInstanceEventWindowRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateInstanceEventWindowResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateInstanceEventWindowCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2CreateInstanceEventWindowCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2CreateInstanceEventWindowCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts index 36a5ce3f83a9f..685b7669d39a3 100644 --- a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts @@ -1,5 +1,6 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { CreateInternetGatewayRequest, CreateInternetGatewayResult } from "../models/models_0"; +import { CreateInternetGatewayRequest } from "../models/models_0"; +import { CreateInternetGatewayResult } from "../models/models_1"; import { deserializeAws_ec2CreateInternetGatewayCommand, serializeAws_ec2CreateInternetGatewayCommand, diff --git a/clients/client-ec2/commands/CreateKeyPairCommand.ts b/clients/client-ec2/commands/CreateKeyPairCommand.ts index 73316311080ec..cb7f54983de6a 100644 --- a/clients/client-ec2/commands/CreateKeyPairCommand.ts +++ b/clients/client-ec2/commands/CreateKeyPairCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { CreateKeyPairRequest, KeyPair } from "../models/models_0"; +import { CreateKeyPairRequest, KeyPair } from "../models/models_1"; import { deserializeAws_ec2CreateKeyPairCommand, serializeAws_ec2CreateKeyPairCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DeleteFleetsCommand.ts b/clients/client-ec2/commands/DeleteFleetsCommand.ts index 734d1bd23bbe2..5dd313c69968d 100644 --- a/clients/client-ec2/commands/DeleteFleetsCommand.ts +++ b/clients/client-ec2/commands/DeleteFleetsCommand.ts @@ -1,5 +1,6 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteFleetsRequest, DeleteFleetsResult } from "../models/models_1"; +import { DeleteFleetsRequest } from "../models/models_1"; +import { DeleteFleetsResult } from "../models/models_2"; import { deserializeAws_ec2DeleteFleetsCommand, serializeAws_ec2DeleteFleetsCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts index a05c02a1df81b..59e9450a7f179 100644 --- a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts +++ b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteFlowLogsRequest, DeleteFlowLogsResult } from "../models/models_1"; +import { DeleteFlowLogsRequest, DeleteFlowLogsResult } from "../models/models_2"; import { deserializeAws_ec2DeleteFlowLogsCommand, serializeAws_ec2DeleteFlowLogsCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts index 2774a0e8154b7..19c2475ee701f 100644 --- a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts +++ b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteFpgaImageRequest, DeleteFpgaImageResult } from "../models/models_1"; +import { DeleteFpgaImageRequest, DeleteFpgaImageResult } from "../models/models_2"; import { deserializeAws_ec2DeleteFpgaImageCommand, serializeAws_ec2DeleteFpgaImageCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DeleteInstanceEventWindowCommand.ts b/clients/client-ec2/commands/DeleteInstanceEventWindowCommand.ts new file mode 100644 index 0000000000000..fc5f991ac3fbc --- /dev/null +++ b/clients/client-ec2/commands/DeleteInstanceEventWindowCommand.ts @@ -0,0 +1,99 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { DeleteInstanceEventWindowRequest, DeleteInstanceEventWindowResult } from "../models/models_2"; +import { + deserializeAws_ec2DeleteInstanceEventWindowCommand, + serializeAws_ec2DeleteInstanceEventWindowCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DeleteInstanceEventWindowCommandInput extends DeleteInstanceEventWindowRequest {} +export interface DeleteInstanceEventWindowCommandOutput extends DeleteInstanceEventWindowResult, __MetadataBearer {} + +/** + *

                                      Deletes the specified event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DeleteInstanceEventWindowCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DeleteInstanceEventWindowCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DeleteInstanceEventWindowCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteInstanceEventWindowCommandInput} for command's `input` shape. + * @see {@link DeleteInstanceEventWindowCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteInstanceEventWindowCommand extends $Command< + DeleteInstanceEventWindowCommandInput, + DeleteInstanceEventWindowCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteInstanceEventWindowCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DeleteInstanceEventWindowCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteInstanceEventWindowRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteInstanceEventWindowResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteInstanceEventWindowCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2DeleteInstanceEventWindowCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DeleteInstanceEventWindowCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts index 60a821fa13c87..d6d5240ec5c52 100644 --- a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteInternetGatewayRequest } from "../models/models_1"; +import { DeleteInternetGatewayRequest } from "../models/models_2"; import { deserializeAws_ec2DeleteInternetGatewayCommand, serializeAws_ec2DeleteInternetGatewayCommand, diff --git a/clients/client-ec2/commands/DeleteKeyPairCommand.ts b/clients/client-ec2/commands/DeleteKeyPairCommand.ts index eb3a325d1ecc9..045dc151307de 100644 --- a/clients/client-ec2/commands/DeleteKeyPairCommand.ts +++ b/clients/client-ec2/commands/DeleteKeyPairCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteKeyPairRequest } from "../models/models_1"; +import { DeleteKeyPairRequest } from "../models/models_2"; import { deserializeAws_ec2DeleteKeyPairCommand, serializeAws_ec2DeleteKeyPairCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts index 1cc376088460a..c10c0edb6be02 100644 --- a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts @@ -1,6 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DeleteLaunchTemplateRequest } from "../models/models_1"; -import { DeleteLaunchTemplateResult } from "../models/models_2"; +import { DeleteLaunchTemplateRequest, DeleteLaunchTemplateResult } from "../models/models_2"; import { deserializeAws_ec2DeleteLaunchTemplateCommand, serializeAws_ec2DeleteLaunchTemplateCommand, diff --git a/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts index 8b5682907c089..182499670f301 100644 --- a/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts @@ -27,7 +27,8 @@ export interface DeregisterInstanceEventNotificationAttributesCommandOutput __MetadataBearer {} /** - *

                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included + *

                                      c

                                      + *

                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included * in scheduled event notifications for resources in the Region.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ec2/commands/DescribeInstanceEventWindowsCommand.ts b/clients/client-ec2/commands/DescribeInstanceEventWindowsCommand.ts new file mode 100644 index 0000000000000..c1ec557c7e0c5 --- /dev/null +++ b/clients/client-ec2/commands/DescribeInstanceEventWindowsCommand.ts @@ -0,0 +1,107 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { DescribeInstanceEventWindowsRequest, DescribeInstanceEventWindowsResult } from "../models/models_2"; +import { + deserializeAws_ec2DescribeInstanceEventWindowsCommand, + serializeAws_ec2DescribeInstanceEventWindowsCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DescribeInstanceEventWindowsCommandInput extends DescribeInstanceEventWindowsRequest {} +export interface DescribeInstanceEventWindowsCommandOutput + extends DescribeInstanceEventWindowsResult, + __MetadataBearer {} + +/** + *

                                      Describes the specified event windows or all event windows.

                                      + *

                                      If you specify event window IDs, the output includes information for only the specified + * event windows. If you specify filters, the output includes information for only those event + * windows that meet the filter criteria. If you do not specify event windows IDs or filters, + * the output includes information for all event windows, which can affect performance. We + * recommend that you use pagination to ensure that the operation returns quickly and + * successfully.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DescribeInstanceEventWindowsCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DescribeInstanceEventWindowsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DescribeInstanceEventWindowsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeInstanceEventWindowsCommandInput} for command's `input` shape. + * @see {@link DescribeInstanceEventWindowsCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DescribeInstanceEventWindowsCommand extends $Command< + DescribeInstanceEventWindowsCommandInput, + DescribeInstanceEventWindowsCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeInstanceEventWindowsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DescribeInstanceEventWindowsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeInstanceEventWindowsRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeInstanceEventWindowsResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeInstanceEventWindowsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2DescribeInstanceEventWindowsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DescribeInstanceEventWindowsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts index 385b4d1b5905f..313c3fe2dfe5b 100644 --- a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts @@ -1,6 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeInstanceStatusRequest } from "../models/models_2"; -import { DescribeInstanceStatusResult } from "../models/models_3"; +import { DescribeInstanceStatusRequest, DescribeInstanceStatusResult } from "../models/models_3"; import { deserializeAws_ec2DescribeInstanceStatusCommand, serializeAws_ec2DescribeInstanceStatusCommand, diff --git a/clients/client-ec2/commands/DescribeInstancesCommand.ts b/clients/client-ec2/commands/DescribeInstancesCommand.ts index f69c4d3d397ab..98703d44101ed 100644 --- a/clients/client-ec2/commands/DescribeInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstancesCommand.ts @@ -1,5 +1,6 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeInstancesRequest, DescribeInstancesResult } from "../models/models_2"; +import { DescribeInstancesRequest } from "../models/models_2"; +import { DescribeInstancesResult } from "../models/models_3"; import { deserializeAws_ec2DescribeInstancesCommand, serializeAws_ec2DescribeInstancesCommand, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts index d2c82cae60ede..e4919ae8e2313 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts @@ -2,7 +2,7 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { DescribeVpcEndpointServiceConfigurationsRequest, DescribeVpcEndpointServiceConfigurationsResult, -} from "../models/models_3"; +} from "../models/models_4"; import { deserializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand, serializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts index 4b9436c9a1e8f..5ea12d7f13aee 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts @@ -2,7 +2,7 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { DescribeVpcEndpointServicePermissionsRequest, DescribeVpcEndpointServicePermissionsResult, -} from "../models/models_3"; +} from "../models/models_4"; import { deserializeAws_ec2DescribeVpcEndpointServicePermissionsCommand, serializeAws_ec2DescribeVpcEndpointServicePermissionsCommand, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts index c3635486fc3ae..ae38b2e26bf6b 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVpcEndpointServicesRequest, DescribeVpcEndpointServicesResult } from "../models/models_3"; +import { DescribeVpcEndpointServicesRequest, DescribeVpcEndpointServicesResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVpcEndpointServicesCommand, serializeAws_ec2DescribeVpcEndpointServicesCommand, diff --git a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts index ba06991b6d0b8..92e39ea0fad04 100644 --- a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVpcPeeringConnectionsRequest, DescribeVpcPeeringConnectionsResult } from "../models/models_3"; +import { DescribeVpcPeeringConnectionsRequest, DescribeVpcPeeringConnectionsResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVpcPeeringConnectionsCommand, serializeAws_ec2DescribeVpcPeeringConnectionsCommand, diff --git a/clients/client-ec2/commands/DescribeVpcsCommand.ts b/clients/client-ec2/commands/DescribeVpcsCommand.ts index f0827769980cf..bf342414d9093 100644 --- a/clients/client-ec2/commands/DescribeVpcsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcsCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVpcsRequest, DescribeVpcsResult } from "../models/models_3"; +import { DescribeVpcsRequest, DescribeVpcsResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVpcsCommand, serializeAws_ec2DescribeVpcsCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts index cec694fe96c34..892fde220c67e 100644 --- a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVpnConnectionsRequest, DescribeVpnConnectionsResult } from "../models/models_3"; +import { DescribeVpnConnectionsRequest, DescribeVpnConnectionsResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVpnConnectionsCommand, serializeAws_ec2DescribeVpnConnectionsCommand, diff --git a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts index 22acf53a6624a..9ff0b8bfca41e 100644 --- a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVpnGatewaysRequest, DescribeVpnGatewaysResult } from "../models/models_3"; +import { DescribeVpnGatewaysRequest, DescribeVpnGatewaysResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVpnGatewaysCommand, serializeAws_ec2DescribeVpnGatewaysCommand, diff --git a/clients/client-ec2/commands/DisassociateInstanceEventWindowCommand.ts b/clients/client-ec2/commands/DisassociateInstanceEventWindowCommand.ts new file mode 100644 index 0000000000000..3a7c5e610efc3 --- /dev/null +++ b/clients/client-ec2/commands/DisassociateInstanceEventWindowCommand.ts @@ -0,0 +1,104 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { DisassociateInstanceEventWindowRequest, DisassociateInstanceEventWindowResult } from "../models/models_4"; +import { + deserializeAws_ec2DisassociateInstanceEventWindowCommand, + serializeAws_ec2DisassociateInstanceEventWindowCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DisassociateInstanceEventWindowCommandInput extends DisassociateInstanceEventWindowRequest {} +export interface DisassociateInstanceEventWindowCommandOutput + extends DisassociateInstanceEventWindowResult, + __MetadataBearer {} + +/** + *

                                      Disassociates one or more targets from an event window.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DisassociateInstanceEventWindowCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DisassociateInstanceEventWindowCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DisassociateInstanceEventWindowCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DisassociateInstanceEventWindowCommandInput} for command's `input` shape. + * @see {@link DisassociateInstanceEventWindowCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DisassociateInstanceEventWindowCommand extends $Command< + DisassociateInstanceEventWindowCommandInput, + DisassociateInstanceEventWindowCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DisassociateInstanceEventWindowCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DisassociateInstanceEventWindowCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DisassociateInstanceEventWindowRequest.filterSensitiveLog, + outputFilterSensitiveLog: DisassociateInstanceEventWindowResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DisassociateInstanceEventWindowCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2DisassociateInstanceEventWindowCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DisassociateInstanceEventWindowCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/ModifyInstanceEventWindowCommand.ts b/clients/client-ec2/commands/ModifyInstanceEventWindowCommand.ts new file mode 100644 index 0000000000000..e426718a53588 --- /dev/null +++ b/clients/client-ec2/commands/ModifyInstanceEventWindowCommand.ts @@ -0,0 +1,104 @@ +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_4"; +import { + deserializeAws_ec2ModifyInstanceEventWindowCommand, + serializeAws_ec2ModifyInstanceEventWindowCommand, +} from "../protocols/Aws_ec2"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ModifyInstanceEventWindowCommandInput extends ModifyInstanceEventWindowRequest {} +export interface ModifyInstanceEventWindowCommandOutput extends ModifyInstanceEventWindowResult, __MetadataBearer {} + +/** + *

                                      Modifies the specified event window.

                                      + *

                                      You can define either a set of time ranges or a cron expression when modifying the event + * window, but not both.

                                      + *

                                      To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.

                                      + *

                                      If Amazon Web Services has already scheduled an event, modifying an event window won't change the time + * of the scheduled event.

                                      + *

                                      For more information, see Define event windows + * for scheduled events in the Amazon EC2 User Guide.

                                      + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, ModifyInstanceEventWindowCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, ModifyInstanceEventWindowCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new ModifyInstanceEventWindowCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ModifyInstanceEventWindowCommandInput} for command's `input` shape. + * @see {@link ModifyInstanceEventWindowCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ModifyInstanceEventWindowCommand extends $Command< + ModifyInstanceEventWindowCommandInput, + ModifyInstanceEventWindowCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ModifyInstanceEventWindowCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "ModifyInstanceEventWindowCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ModifyInstanceEventWindowRequest.filterSensitiveLog, + outputFilterSensitiveLog: ModifyInstanceEventWindowResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ModifyInstanceEventWindowCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2ModifyInstanceEventWindowCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2ModifyInstanceEventWindowCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts index 1ba81b863e8c1..816bb57c07b06 100644 --- a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts +++ b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts @@ -1,5 +1,6 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { MoveAddressToVpcRequest, MoveAddressToVpcResult } from "../models/models_4"; +import { MoveAddressToVpcRequest } from "../models/models_4"; +import { MoveAddressToVpcResult } from "../models/models_5"; import { deserializeAws_ec2MoveAddressToVpcCommand, serializeAws_ec2MoveAddressToVpcCommand, diff --git a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts index 2316c9c2db6b4..ae5b994a6449d 100644 --- a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts +++ b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ProvisionByoipCidrRequest, ProvisionByoipCidrResult } from "../models/models_4"; +import { ProvisionByoipCidrRequest, ProvisionByoipCidrResult } from "../models/models_5"; import { deserializeAws_ec2ProvisionByoipCidrCommand, serializeAws_ec2ProvisionByoipCidrCommand, diff --git a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts index 47cf624c80c71..3ff4d514a2561 100644 --- a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts +++ b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { PurchaseHostReservationRequest, PurchaseHostReservationResult } from "../models/models_4"; +import { PurchaseHostReservationRequest, PurchaseHostReservationResult } from "../models/models_5"; import { deserializeAws_ec2PurchaseHostReservationCommand, serializeAws_ec2PurchaseHostReservationCommand, diff --git a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts index 4693b333bc516..fb78a49524982 100644 --- a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts +++ b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { PurchaseReservedInstancesOfferingRequest, PurchaseReservedInstancesOfferingResult } from "../models/models_4"; +import { PurchaseReservedInstancesOfferingRequest, PurchaseReservedInstancesOfferingResult } from "../models/models_5"; import { deserializeAws_ec2PurchaseReservedInstancesOfferingCommand, serializeAws_ec2PurchaseReservedInstancesOfferingCommand, diff --git a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts index 8638c842a316a..ac42ff53394b5 100644 --- a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { PurchaseScheduledInstancesRequest, PurchaseScheduledInstancesResult } from "../models/models_4"; +import { PurchaseScheduledInstancesRequest, PurchaseScheduledInstancesResult } from "../models/models_5"; import { deserializeAws_ec2PurchaseScheduledInstancesCommand, serializeAws_ec2PurchaseScheduledInstancesCommand, diff --git a/clients/client-ec2/commands/RebootInstancesCommand.ts b/clients/client-ec2/commands/RebootInstancesCommand.ts index c8fcfdfda3750..fdb11f594db47 100644 --- a/clients/client-ec2/commands/RebootInstancesCommand.ts +++ b/clients/client-ec2/commands/RebootInstancesCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { RebootInstancesRequest } from "../models/models_4"; +import { RebootInstancesRequest } from "../models/models_5"; import { deserializeAws_ec2RebootInstancesCommand, serializeAws_ec2RebootInstancesCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/RegisterImageCommand.ts b/clients/client-ec2/commands/RegisterImageCommand.ts index 54e0629b56be7..40da7cae17cc0 100644 --- a/clients/client-ec2/commands/RegisterImageCommand.ts +++ b/clients/client-ec2/commands/RegisterImageCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { RegisterImageRequest, RegisterImageResult } from "../models/models_4"; +import { RegisterImageRequest, RegisterImageResult } from "../models/models_5"; import { deserializeAws_ec2RegisterImageCommand, serializeAws_ec2RegisterImageCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; diff --git a/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts index fc206f78c1f7e..caf2d64a3054b 100644 --- a/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts @@ -2,7 +2,7 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { RegisterInstanceEventNotificationAttributesRequest, RegisterInstanceEventNotificationAttributesResult, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2RegisterInstanceEventNotificationAttributesCommand, serializeAws_ec2RegisterInstanceEventNotificationAttributesCommand, diff --git a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts index da00fe7f1fedc..f9463db9c6a79 100644 --- a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts @@ -1,6 +1,8 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { RegisterTransitGatewayMulticastGroupMembersRequest } from "../models/models_4"; -import { RegisterTransitGatewayMulticastGroupMembersResult } from "../models/models_5"; +import { + RegisterTransitGatewayMulticastGroupMembersRequest, + RegisterTransitGatewayMulticastGroupMembersResult, +} from "../models/models_5"; import { deserializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand, serializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand, diff --git a/clients/client-ec2/commands/RunInstancesCommand.ts b/clients/client-ec2/commands/RunInstancesCommand.ts index 1dd958d14939e..391fc1304a2aa 100644 --- a/clients/client-ec2/commands/RunInstancesCommand.ts +++ b/clients/client-ec2/commands/RunInstancesCommand.ts @@ -1,5 +1,5 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { Reservation } from "../models/models_2"; +import { Reservation } from "../models/models_3"; import { RunInstancesRequest } from "../models/models_5"; import { deserializeAws_ec2RunInstancesCommand, serializeAws_ec2RunInstancesCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; diff --git a/clients/client-ec2/index.ts b/clients/client-ec2/index.ts index 8496c43f4e0cd..635235e944270 100644 --- a/clients/client-ec2/index.ts +++ b/clients/client-ec2/index.ts @@ -17,6 +17,7 @@ export * from "./commands/AssociateClientVpnTargetNetworkCommand"; export * from "./commands/AssociateDhcpOptionsCommand"; export * from "./commands/AssociateEnclaveCertificateIamRoleCommand"; export * from "./commands/AssociateIamInstanceProfileCommand"; +export * from "./commands/AssociateInstanceEventWindowCommand"; export * from "./commands/AssociateRouteTableCommand"; export * from "./commands/AssociateSubnetCidrBlockCommand"; export * from "./commands/AssociateTransitGatewayMulticastDomainCommand"; @@ -57,6 +58,7 @@ export * from "./commands/CreateFleetCommand"; export * from "./commands/CreateFlowLogsCommand"; export * from "./commands/CreateFpgaImageCommand"; export * from "./commands/CreateImageCommand"; +export * from "./commands/CreateInstanceEventWindowCommand"; export * from "./commands/CreateInstanceExportTaskCommand"; export * from "./commands/CreateInternetGatewayCommand"; export * from "./commands/CreateKeyPairCommand"; @@ -115,6 +117,7 @@ export * from "./commands/DeleteEgressOnlyInternetGatewayCommand"; export * from "./commands/DeleteFleetsCommand"; export * from "./commands/DeleteFlowLogsCommand"; export * from "./commands/DeleteFpgaImageCommand"; +export * from "./commands/DeleteInstanceEventWindowCommand"; export * from "./commands/DeleteInternetGatewayCommand"; export * from "./commands/DeleteKeyPairCommand"; export * from "./commands/DeleteLaunchTemplateCommand"; @@ -242,6 +245,8 @@ export * from "./commands/DescribeInstanceAttributeCommand"; export * from "./commands/DescribeInstanceCreditSpecificationsCommand"; export * from "./pagination/DescribeInstanceCreditSpecificationsPaginator"; export * from "./commands/DescribeInstanceEventNotificationAttributesCommand"; +export * from "./commands/DescribeInstanceEventWindowsCommand"; +export * from "./pagination/DescribeInstanceEventWindowsPaginator"; export * from "./commands/DescribeInstancesCommand"; export * from "./pagination/DescribeInstancesPaginator"; export * from "./waiters/waitForInstanceExists"; @@ -425,6 +430,7 @@ export * from "./commands/DisassociateAddressCommand"; export * from "./commands/DisassociateClientVpnTargetNetworkCommand"; export * from "./commands/DisassociateEnclaveCertificateIamRoleCommand"; export * from "./commands/DisassociateIamInstanceProfileCommand"; +export * from "./commands/DisassociateInstanceEventWindowCommand"; export * from "./commands/DisassociateRouteTableCommand"; export * from "./commands/DisassociateSubnetCidrBlockCommand"; export * from "./commands/DisassociateTransitGatewayMulticastDomainCommand"; @@ -499,6 +505,7 @@ export * from "./commands/ModifyInstanceAttributeCommand"; export * from "./commands/ModifyInstanceCapacityReservationAttributesCommand"; export * from "./commands/ModifyInstanceCreditSpecificationCommand"; export * from "./commands/ModifyInstanceEventStartTimeCommand"; +export * from "./commands/ModifyInstanceEventWindowCommand"; export * from "./commands/ModifyInstanceMetadataOptionsCommand"; export * from "./commands/ModifyInstancePlacementCommand"; export * from "./commands/ModifyLaunchTemplateCommand"; diff --git a/clients/client-ec2/models/models_0.ts b/clients/client-ec2/models/models_0.ts index 856ef037f95b1..a94ac40e3dd8a 100644 --- a/clients/client-ec2/models/models_0.ts +++ b/clients/client-ec2/models/models_0.ts @@ -1,5 +1,3 @@ -import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; - /** *

                                      Details about the target configuration.

                                      */ @@ -1231,6 +1229,7 @@ export type ResourceType = | "import-image-task" | "import-snapshot-task" | "instance" + | "instance-event-window" | "internet-gateway" | "key-pair" | "launch-template" @@ -1276,7 +1275,7 @@ export interface TagSpecification { * export-image-task * | export-instance-task | fleet | fpga-image | * host-reservation | image| import-image-task | - * import-snapshot-task | instance | + * import-snapshot-task | instance | instance-event-window | * internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | * key-pair | launch-template | local-gateway-route-table-vpc-association | placement-group | * prefix-list | natgateway | network-acl | network-interface | @@ -1287,7 +1286,7 @@ export interface TagSpecification { * transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table | * volume |vpc | vpc-peering-connection | * vpc-endpoint (for interface and gateway endpoints) | - * vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | + * vpc-endpoint-service (for PrivateLink) | vpc-flow-log | * vpn-connection | vpn-gateway.

                                      *

                                      To tag a resource after it has been created, see CreateTags.

                                      */ @@ -2138,6 +2137,214 @@ export namespace AssociateIamInstanceProfileResult { }); } +/** + *

                                      One or more targets associated with the specified event window. Only one + * type of target (instance ID, instance tag, or Dedicated Host ID) + * can be associated with an event window.

                                      + */ +export interface InstanceEventWindowAssociationRequest { + /** + *

                                      The IDs of the instances to associate with the event window. If the instance is on a + * Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated + * Host ID parameter.

                                      + */ + InstanceIds?: string[]; + + /** + *

                                      The instance tags to associate with the event window. Any instances associated with the + * tags will be associated with the event window.

                                      + */ + InstanceTags?: Tag[]; + + /** + *

                                      The IDs of the Dedicated Hosts to associate with the event window.

                                      + */ + DedicatedHostIds?: string[]; +} + +export namespace InstanceEventWindowAssociationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindowAssociationRequest): any => ({ + ...obj, + }); +} + +export interface AssociateInstanceEventWindowRequest { + /** + *

                                      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; + + /** + *

                                      The ID of the event window.

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

                                      One or more targets associated with the specified event window.

                                      + */ + AssociationTarget: InstanceEventWindowAssociationRequest | undefined; +} + +export namespace AssociateInstanceEventWindowRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AssociateInstanceEventWindowRequest): any => ({ + ...obj, + }); +} + +/** + *

                                      One or more targets associated with the event window.

                                      + */ +export interface InstanceEventWindowAssociationTarget { + /** + *

                                      The IDs of the instances associated with the event window.

                                      + */ + InstanceIds?: string[]; + + /** + *

                                      The instance tags associated with the event window. Any instances associated with the tags + * will be associated with the event window.

                                      + */ + Tags?: Tag[]; + + /** + *

                                      The IDs of the Dedicated Hosts associated with the event window.

                                      + */ + DedicatedHostIds?: string[]; +} + +export namespace InstanceEventWindowAssociationTarget { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindowAssociationTarget): any => ({ + ...obj, + }); +} + +export enum InstanceEventWindowState { + active = "active", + creating = "creating", + deleted = "deleted", + deleting = "deleting", +} + +export enum WeekDay { + friday = "friday", + monday = "monday", + saturday = "saturday", + sunday = "sunday", + thursday = "thursday", + tuesday = "tuesday", + wednesday = "wednesday", +} + +/** + *

                                      The start day and time and the end day and time of the time range, in UTC.

                                      + */ +export interface InstanceEventWindowTimeRange { + /** + *

                                      The day on which the time range begins.

                                      + */ + StartWeekDay?: WeekDay | string; + + /** + *

                                      The hour when the time range begins.

                                      + */ + StartHour?: number; + + /** + *

                                      The day on which the time range ends.

                                      + */ + EndWeekDay?: WeekDay | string; + + /** + *

                                      The hour when the time range ends.

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

                                      The event window.

                                      + */ +export interface InstanceEventWindow { + /** + *

                                      The ID of the event window.

                                      + */ + InstanceEventWindowId?: string; + + /** + *

                                      One or more time ranges defined for the event window.

                                      + */ + TimeRanges?: InstanceEventWindowTimeRange[]; + + /** + *

                                      The name of the event window.

                                      + */ + Name?: string; + + /** + *

                                      The cron expression defined for the event window.

                                      + */ + CronExpression?: string; + + /** + *

                                      One or more targets associated with the event window.

                                      + */ + AssociationTarget?: InstanceEventWindowAssociationTarget; + + /** + *

                                      The current state of the event window.

                                      + */ + State?: InstanceEventWindowState | string; + + /** + *

                                      The instance tags associated with the event window.

                                      + */ + Tags?: Tag[]; +} + +export namespace InstanceEventWindow { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindow): any => ({ + ...obj, + }); +} + +export interface AssociateInstanceEventWindowResult { + /** + *

                                      Information about the event window.

                                      + */ + InstanceEventWindow?: InstanceEventWindow; +} + +export namespace AssociateInstanceEventWindowResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AssociateInstanceEventWindowResult): any => ({ + ...obj, + }); +} + export interface AssociateRouteTableRequest { /** *

                                      Checks whether you have the required permissions for the action, without actually making the request, @@ -8108,6 +8315,124 @@ export namespace CreateImageResult { }); } +/** + *

                                      The start day and time and the end day and time of the time range, in UTC.

                                      + */ +export interface InstanceEventWindowTimeRangeRequest { + /** + *

                                      The day on which the time range begins.

                                      + */ + StartWeekDay?: WeekDay | string; + + /** + *

                                      The hour when the time range begins.

                                      + */ + StartHour?: number; + + /** + *

                                      The day on which the time range ends.

                                      + */ + EndWeekDay?: WeekDay | string; + + /** + *

                                      The hour when the time range ends.

                                      + */ + EndHour?: number; +} + +export namespace InstanceEventWindowTimeRangeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindowTimeRangeRequest): any => ({ + ...obj, + }); +} + +export interface CreateInstanceEventWindowRequest { + /** + *

                                      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; + + /** + *

                                      The name of the event window.

                                      + */ + Name?: string; + + /** + *

                                      The time range for the event window. If you specify a time range, you can't specify a cron + * expression.

                                      + */ + TimeRanges?: InstanceEventWindowTimeRangeRequest[]; + + /** + *

                                      The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If + * you specify a cron expression, you can't specify a time range.

                                      + *

                                      Constraints:

                                      + *
                                        + *
                                      • + *

                                        Only hour and day of the week values are supported.

                                        + *
                                      • + *
                                      • + *

                                        For day of the week values, you can specify either integers 0 through + * 6, or alternative single values SUN through + * SAT.

                                        + *
                                      • + *
                                      • + *

                                        The minute, month, and year must be specified by *.

                                        + *
                                      • + *
                                      • + *

                                        The hour value must be one or a multiple range, for example, 0-4 or + * 0-4,20-23.

                                        + *
                                      • + *
                                      • + *

                                        Each hour range must be >= 2 hours, for example, 0-2 or + * 20-23.

                                        + *
                                      • + *
                                      • + *

                                        The event window must be >= 4 hours. The combined total time ranges in the event + * window must be >= 4 hours.

                                        + *
                                      • + *
                                      + *

                                      For more information about cron expressions, see cron on the Wikipedia + * website.

                                      + */ + CronExpression?: string; + + /** + *

                                      The tags to apply to the event window.

                                      + */ + TagSpecifications?: TagSpecification[]; +} + +export namespace CreateInstanceEventWindowRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateInstanceEventWindowRequest): any => ({ + ...obj, + }); +} + +export interface CreateInstanceEventWindowResult { + /** + *

                                      Information about the event window.

                                      + */ + InstanceEventWindow?: InstanceEventWindow; +} + +export namespace CreateInstanceEventWindowResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateInstanceEventWindowResult): any => ({ + ...obj, + }); +} + export type ContainerFormat = "ova"; export type DiskImageFormat = "RAW" | "VHD" | "VMDK"; @@ -8372,358 +8697,3 @@ export namespace InternetGateway { ...obj, }); } - -export interface CreateInternetGatewayResult { - /** - *

                                      Information about the internet gateway.

                                      - */ - InternetGateway?: InternetGateway; -} - -export namespace CreateInternetGatewayResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreateInternetGatewayResult): any => ({ - ...obj, - }); -} - -export interface CreateKeyPairRequest { - /** - *

                                      A unique name for the key pair.

                                      - *

                                      Constraints: Up to 255 ASCII characters

                                      - */ - KeyName: string | undefined; - - /** - *

                                      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; - - /** - *

                                      The tags to apply to the new key pair.

                                      - */ - TagSpecifications?: TagSpecification[]; -} - -export namespace CreateKeyPairRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreateKeyPairRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes a key pair.

                                      - */ -export interface KeyPair { - /** - *

                                      The SHA-1 digest of the DER encoded private key.

                                      - */ - KeyFingerprint?: string; - - /** - *

                                      An unencrypted PEM encoded RSA private key.

                                      - */ - KeyMaterial?: string; - - /** - *

                                      The name of the key pair.

                                      - */ - KeyName?: string; - - /** - *

                                      The ID of the key pair.

                                      - */ - KeyPairId?: string; - - /** - *

                                      Any tags applied to the key pair.

                                      - */ - Tags?: Tag[]; -} - -export namespace KeyPair { - /** - * @internal - */ - export const filterSensitiveLog = (obj: KeyPair): any => ({ - ...obj, - ...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }), - }); -} - -/** - *

                                      The parameters for a block device for an EBS volume.

                                      - */ -export interface LaunchTemplateEbsBlockDeviceRequest { - /** - *

                                      Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. - * If you are creating a volume from a snapshot, you can't specify an encryption value.

                                      - */ - Encrypted?: boolean; - - /** - *

                                      Indicates whether the EBS volume is deleted on instance termination.

                                      - */ - DeleteOnTermination?: boolean; - - /** - *

                                      The number of I/O operations per second (IOPS). For gp3, io1, and io2 - * volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, - * this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits - * for bursting.

                                      - *

                                      The following are the supported values for each volume type:

                                      - *
                                        - *
                                      • - *

                                        - * gp3: 3,000-16,000 IOPS

                                        - *
                                      • - *
                                      • - *

                                        - * io1: 100-64,000 IOPS

                                        - *
                                      • - *
                                      • - *

                                        - * io2: 100-64,000 IOPS

                                        - *
                                      • - *
                                      - *

                                      For io1 and io2 volumes, we guarantee 64,000 IOPS - * only for Instances built on the Nitro System. Other instance families guarantee performance up - * to 32,000 IOPS.

                                      - *

                                      This parameter is supported for io1, io2, and gp3 volumes only. This parameter is not supported for - * gp2, st1, sc1, or standard volumes.

                                      - */ - Iops?: number; - - /** - *

                                      The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used for - * encryption.

                                      - */ - KmsKeyId?: string; - - /** - *

                                      The ID of the snapshot.

                                      - */ - SnapshotId?: string; - - /** - *

                                      The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following - * are the supported volumes sizes for each volume type:

                                      - *
                                        - *
                                      • - *

                                        - * gp2 and gp3: 1-16,384

                                        - *
                                      • - *
                                      • - *

                                        - * io1 and io2: 4-16,384

                                        - *
                                      • - *
                                      • - *

                                        - * st1 and sc1: 125-16,384

                                        - *
                                      • - *
                                      • - *

                                        - * standard: 1-1,024

                                        - *
                                      • - *
                                      - */ - VolumeSize?: number; - - /** - *

                                      The volume type. For more information, see Amazon EBS volume types in the - * Amazon Elastic Compute Cloud User Guide.

                                      - */ - VolumeType?: VolumeType | string; - - /** - *

                                      The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.

                                      - *

                                      Valid Range: Minimum value of 125. Maximum value of 1000.

                                      - */ - Throughput?: number; -} - -export namespace LaunchTemplateEbsBlockDeviceRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: LaunchTemplateEbsBlockDeviceRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes a block device mapping.

                                      - */ -export interface LaunchTemplateBlockDeviceMappingRequest { - /** - *

                                      The device name (for example, /dev/sdh or xvdh).

                                      - */ - DeviceName?: string; - - /** - *

                                      The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. - * An instance type with 2 available instance store volumes can specify mappings for ephemeral0 - * and ephemeral1. The number of available instance store volumes depends on the instance type. - * After you connect to the instance, you must mount the volume.

                                      - */ - VirtualName?: string; - - /** - *

                                      Parameters used to automatically set up EBS volumes when the instance is launched.

                                      - */ - Ebs?: LaunchTemplateEbsBlockDeviceRequest; - - /** - *

                                      To omit the device from the block device mapping, specify an empty string.

                                      - */ - NoDevice?: string; -} - -export namespace LaunchTemplateBlockDeviceMappingRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: LaunchTemplateBlockDeviceMappingRequest): any => ({ - ...obj, - }); -} - -export type CapacityReservationPreference = "none" | "open"; - -/** - *

                                      Describes a target Capacity Reservation or Capacity Reservation group.

                                      - */ -export interface CapacityReservationTarget { - /** - *

                                      The ID of the Capacity Reservation in which to run the instance.

                                      - */ - CapacityReservationId?: string; - - /** - *

                                      The ARN of the Capacity Reservation resource group in which to run the instance.

                                      - */ - CapacityReservationResourceGroupArn?: string; -} - -export namespace CapacityReservationTarget { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CapacityReservationTarget): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the - * CapacityReservationPreference parameter to configure the instance to run in On-Demand capacity or - * to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). - * Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation or - * a Capacity Reservation group.

                                      - */ -export interface LaunchTemplateCapacityReservationSpecificationRequest { - /** - *

                                      Indicates the instance's Capacity Reservation preferences. Possible preferences include:

                                      - *
                                        - *
                                      • - *

                                        - * open - The instance can run in any open Capacity Reservation that has matching attributes - * (instance type, platform, Availability Zone).

                                        - *
                                      • - *
                                      • - *

                                        - * none - The instance avoids running in a Capacity Reservation even if one is available. The instance - * runs in On-Demand capacity.

                                        - *
                                      • - *
                                      - */ - CapacityReservationPreference?: CapacityReservationPreference | string; - - /** - *

                                      Information about the target Capacity Reservation or Capacity Reservation group.

                                      - */ - CapacityReservationTarget?: CapacityReservationTarget; -} - -export namespace LaunchTemplateCapacityReservationSpecificationRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: LaunchTemplateCapacityReservationSpecificationRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      The CPU options for the instance. Both the core count and threads per core - * must be specified in the request.

                                      - */ -export interface LaunchTemplateCpuOptionsRequest { - /** - *

                                      The number of CPU cores for the instance.

                                      - */ - CoreCount?: number; - - /** - *

                                      The number of threads per CPU core. To disable multithreading - * for the instance, specify a value of 1. Otherwise, specify the default value of 2.

                                      - */ - ThreadsPerCore?: number; -} - -export namespace LaunchTemplateCpuOptionsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: LaunchTemplateCpuOptionsRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      The credit option for CPU usage of a T2, T3, or T3a instance.

                                      - */ -export interface CreditSpecificationRequest { - /** - *

                                      The credit option for CPU usage of a T2, T3, or T3a instance. Valid values are - * standard and unlimited.

                                      - */ - CpuCredits: string | undefined; -} - -export namespace CreditSpecificationRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreditSpecificationRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      A specification for an Elastic Graphics accelerator.

                                      - */ -export interface ElasticGpuSpecification { - /** - *

                                      The type of Elastic Graphics accelerator. For more information about the values to specify for - * Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows - * Instances.

                                      - */ - Type: string | undefined; -} - -export namespace ElasticGpuSpecification { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ElasticGpuSpecification): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/models/models_1.ts b/clients/client-ec2/models/models_1.ts index 1af3b86bab162..1a9c32a4782ca 100644 --- a/clients/client-ec2/models/models_1.ts +++ b/clients/client-ec2/models/models_1.ts @@ -2,19 +2,14 @@ import { AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, - CapacityReservationPreference, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, - CreditSpecificationRequest, CurrencyCodeValues, DnsSupportValue, - ElasticGpuSpecification, GatewayType, + InternetGateway, Ipv6SupportValue, - LaunchTemplateBlockDeviceMappingRequest, - LaunchTemplateCapacityReservationSpecificationRequest, - LaunchTemplateCpuOptionsRequest, ReservedInstancesListing, ResourceType, RouteTableAssociationState, @@ -26,7 +21,6 @@ import { TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, - UnsuccessfulItem, VolumeAttachment, VolumeType, Vpc, @@ -34,6 +28,362 @@ import { VpcPeeringConnection, _InstanceType, } from "./models_0"; +import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; + +export interface CreateInternetGatewayResult { + /** + *

                                      Information about the internet gateway.

                                      + */ + InternetGateway?: InternetGateway; +} + +export namespace CreateInternetGatewayResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateInternetGatewayResult): any => ({ + ...obj, + }); +} + +export interface CreateKeyPairRequest { + /** + *

                                      A unique name for the key pair.

                                      + *

                                      Constraints: Up to 255 ASCII characters

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

                                      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; + + /** + *

                                      The tags to apply to the new key pair.

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

                                      Describes a key pair.

                                      + */ +export interface KeyPair { + /** + *

                                      The SHA-1 digest of the DER encoded private key.

                                      + */ + KeyFingerprint?: string; + + /** + *

                                      An unencrypted PEM encoded RSA private key.

                                      + */ + KeyMaterial?: string; + + /** + *

                                      The name of the key pair.

                                      + */ + KeyName?: string; + + /** + *

                                      The ID of the key pair.

                                      + */ + KeyPairId?: string; + + /** + *

                                      Any tags applied to the key pair.

                                      + */ + Tags?: Tag[]; +} + +export namespace KeyPair { + /** + * @internal + */ + export const filterSensitiveLog = (obj: KeyPair): any => ({ + ...obj, + ...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }), + }); +} + +/** + *

                                      The parameters for a block device for an EBS volume.

                                      + */ +export interface LaunchTemplateEbsBlockDeviceRequest { + /** + *

                                      Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. + * If you are creating a volume from a snapshot, you can't specify an encryption value.

                                      + */ + Encrypted?: boolean; + + /** + *

                                      Indicates whether the EBS volume is deleted on instance termination.

                                      + */ + DeleteOnTermination?: boolean; + + /** + *

                                      The number of I/O operations per second (IOPS). For gp3, io1, and io2 + * volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, + * this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits + * for bursting.

                                      + *

                                      The following are the supported values for each volume type:

                                      + *
                                        + *
                                      • + *

                                        + * gp3: 3,000-16,000 IOPS

                                        + *
                                      • + *
                                      • + *

                                        + * io1: 100-64,000 IOPS

                                        + *
                                      • + *
                                      • + *

                                        + * io2: 100-64,000 IOPS

                                        + *
                                      • + *
                                      + *

                                      For io1 and io2 volumes, we guarantee 64,000 IOPS + * only for Instances built on the Nitro System. Other instance families guarantee performance up + * to 32,000 IOPS.

                                      + *

                                      This parameter is supported for io1, io2, and gp3 volumes only. This parameter is not supported for + * gp2, st1, sc1, or standard volumes.

                                      + */ + Iops?: number; + + /** + *

                                      The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used for + * encryption.

                                      + */ + KmsKeyId?: string; + + /** + *

                                      The ID of the snapshot.

                                      + */ + SnapshotId?: string; + + /** + *

                                      The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following + * are the supported volumes sizes for each volume type:

                                      + *
                                        + *
                                      • + *

                                        + * gp2 and gp3: 1-16,384

                                        + *
                                      • + *
                                      • + *

                                        + * io1 and io2: 4-16,384

                                        + *
                                      • + *
                                      • + *

                                        + * st1 and sc1: 125-16,384

                                        + *
                                      • + *
                                      • + *

                                        + * standard: 1-1,024

                                        + *
                                      • + *
                                      + */ + VolumeSize?: number; + + /** + *

                                      The volume type. For more information, see Amazon EBS volume types in the + * Amazon Elastic Compute Cloud User Guide.

                                      + */ + VolumeType?: VolumeType | string; + + /** + *

                                      The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.

                                      + *

                                      Valid Range: Minimum value of 125. Maximum value of 1000.

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

                                      Describes a block device mapping.

                                      + */ +export interface LaunchTemplateBlockDeviceMappingRequest { + /** + *

                                      The device name (for example, /dev/sdh or xvdh).

                                      + */ + DeviceName?: string; + + /** + *

                                      The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. + * An instance type with 2 available instance store volumes can specify mappings for ephemeral0 + * and ephemeral1. The number of available instance store volumes depends on the instance type. + * After you connect to the instance, you must mount the volume.

                                      + */ + VirtualName?: string; + + /** + *

                                      Parameters used to automatically set up EBS volumes when the instance is launched.

                                      + */ + Ebs?: LaunchTemplateEbsBlockDeviceRequest; + + /** + *

                                      To omit the device from the block device mapping, specify an empty string.

                                      + */ + NoDevice?: string; +} + +export namespace LaunchTemplateBlockDeviceMappingRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: LaunchTemplateBlockDeviceMappingRequest): any => ({ + ...obj, + }); +} + +export type CapacityReservationPreference = "none" | "open"; + +/** + *

                                      Describes a target Capacity Reservation or Capacity Reservation group.

                                      + */ +export interface CapacityReservationTarget { + /** + *

                                      The ID of the Capacity Reservation in which to run the instance.

                                      + */ + CapacityReservationId?: string; + + /** + *

                                      The ARN of the Capacity Reservation resource group in which to run the instance.

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

                                      Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the + * CapacityReservationPreference parameter to configure the instance to run in On-Demand capacity or + * to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). + * Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation or + * a Capacity Reservation group.

                                      + */ +export interface LaunchTemplateCapacityReservationSpecificationRequest { + /** + *

                                      Indicates the instance's Capacity Reservation preferences. Possible preferences include:

                                      + *
                                        + *
                                      • + *

                                        + * open - The instance can run in any open Capacity Reservation that has matching attributes + * (instance type, platform, Availability Zone).

                                        + *
                                      • + *
                                      • + *

                                        + * none - The instance avoids running in a Capacity Reservation even if one is available. The instance + * runs in On-Demand capacity.

                                        + *
                                      • + *
                                      + */ + CapacityReservationPreference?: CapacityReservationPreference | string; + + /** + *

                                      Information about the target Capacity Reservation or Capacity Reservation group.

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

                                      The CPU options for the instance. Both the core count and threads per core + * must be specified in the request.

                                      + */ +export interface LaunchTemplateCpuOptionsRequest { + /** + *

                                      The number of CPU cores for the instance.

                                      + */ + CoreCount?: number; + + /** + *

                                      The number of threads per CPU core. To disable multithreading + * for the instance, specify a value of 1. Otherwise, specify the default value of 2.

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

                                      The credit option for CPU usage of a T2, T3, or T3a instance.

                                      + */ +export interface CreditSpecificationRequest { + /** + *

                                      The credit option for CPU usage of a T2, T3, or T3a instance. Valid values are + * standard and unlimited.

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

                                      A specification for an Elastic Graphics accelerator.

                                      + */ +export interface ElasticGpuSpecification { + /** + *

                                      The type of Elastic Graphics accelerator. For more information about the values to specify for + * Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows + * Instances.

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

                                      @@ -9203,240 +9553,3 @@ export namespace DeleteFleetSuccessItem { ...obj, }); } - -export enum DeleteFleetErrorCode { - FLEET_ID_DOES_NOT_EXIST = "fleetIdDoesNotExist", - FLEET_ID_MALFORMED = "fleetIdMalformed", - FLEET_NOT_IN_DELETABLE_STATE = "fleetNotInDeletableState", - UNEXPECTED_ERROR = "unexpectedError", -} - -/** - *

                                      Describes an EC2 Fleet error.

                                      - */ -export interface DeleteFleetError { - /** - *

                                      The error code.

                                      - */ - Code?: DeleteFleetErrorCode | string; - - /** - *

                                      The description for the error code.

                                      - */ - Message?: string; -} - -export namespace DeleteFleetError { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFleetError): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes an EC2 Fleet that was not successfully deleted.

                                      - */ -export interface DeleteFleetErrorItem { - /** - *

                                      The error.

                                      - */ - Error?: DeleteFleetError; - - /** - *

                                      The ID of the EC2 Fleet.

                                      - */ - FleetId?: string; -} - -export namespace DeleteFleetErrorItem { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFleetErrorItem): any => ({ - ...obj, - }); -} - -export interface DeleteFleetsResult { - /** - *

                                      Information about the EC2 Fleets that are successfully deleted.

                                      - */ - SuccessfulFleetDeletions?: DeleteFleetSuccessItem[]; - - /** - *

                                      Information about the EC2 Fleets that are not successfully deleted.

                                      - */ - UnsuccessfulFleetDeletions?: DeleteFleetErrorItem[]; -} - -export namespace DeleteFleetsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFleetsResult): any => ({ - ...obj, - }); -} - -export interface DeleteFlowLogsRequest { - /** - *

                                      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; - - /** - *

                                      One or more flow log IDs.

                                      - *

                                      Constraint: Maximum of 1000 flow log IDs.

                                      - */ - FlowLogIds: string[] | undefined; -} - -export namespace DeleteFlowLogsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFlowLogsRequest): any => ({ - ...obj, - }); -} - -export interface DeleteFlowLogsResult { - /** - *

                                      Information about the flow logs that could not be deleted successfully.

                                      - */ - Unsuccessful?: UnsuccessfulItem[]; -} - -export namespace DeleteFlowLogsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFlowLogsResult): any => ({ - ...obj, - }); -} - -export interface DeleteFpgaImageRequest { - /** - *

                                      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; - - /** - *

                                      The ID of the AFI.

                                      - */ - FpgaImageId: string | undefined; -} - -export namespace DeleteFpgaImageRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFpgaImageRequest): any => ({ - ...obj, - }); -} - -export interface DeleteFpgaImageResult { - /** - *

                                      Is true if the request succeeds, and an error otherwise.

                                      - */ - Return?: boolean; -} - -export namespace DeleteFpgaImageResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteFpgaImageResult): any => ({ - ...obj, - }); -} - -export interface DeleteInternetGatewayRequest { - /** - *

                                      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; - - /** - *

                                      The ID of the internet gateway.

                                      - */ - InternetGatewayId: string | undefined; -} - -export namespace DeleteInternetGatewayRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteInternetGatewayRequest): any => ({ - ...obj, - }); -} - -export interface DeleteKeyPairRequest { - /** - *

                                      The name of the key pair.

                                      - */ - KeyName?: string; - - /** - *

                                      The ID of the key pair.

                                      - */ - KeyPairId?: string; - - /** - *

                                      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; -} - -export namespace DeleteKeyPairRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteKeyPairRequest): any => ({ - ...obj, - }); -} - -export interface DeleteLaunchTemplateRequest { - /** - *

                                      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; - - /** - *

                                      The ID of the launch template. You must specify either the launch template ID or - * launch template name in the request.

                                      - */ - LaunchTemplateId?: string; - - /** - *

                                      The name of the launch template. You must specify either the launch template ID or - * launch template name in the request.

                                      - */ - LaunchTemplateName?: string; -} - -export namespace DeleteLaunchTemplateRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteLaunchTemplateRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/models/models_2.ts b/clients/client-ec2/models/models_2.ts index dea79a7ad441d..3f884d188fd76 100644 --- a/clients/client-ec2/models/models_2.ts +++ b/clients/client-ec2/models/models_2.ts @@ -15,7 +15,6 @@ import { BundleTask, ByoipCidr, CapacityReservation, - CapacityReservationPreference, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, @@ -36,12 +35,12 @@ import { FleetReplacementStrategy, FleetType, HostRecovery, - IamInstanceProfile, IamInstanceProfileAssociation, + InstanceEventWindow, + InstanceEventWindowState, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, - Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, @@ -54,15 +53,15 @@ import { _InstanceType, } from "./models_0"; import { + CapacityReservationPreference, CapacityReservationTargetResponse, + DeleteFleetSuccessItem, FleetStateCode, GroupIdentifier, - InstanceIpv6Address, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, - NetworkInterfaceStatus, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, @@ -72,6 +71,312 @@ import { TransitGatewayRouteTable, } from "./models_1"; +export enum DeleteFleetErrorCode { + FLEET_ID_DOES_NOT_EXIST = "fleetIdDoesNotExist", + FLEET_ID_MALFORMED = "fleetIdMalformed", + FLEET_NOT_IN_DELETABLE_STATE = "fleetNotInDeletableState", + UNEXPECTED_ERROR = "unexpectedError", +} + +/** + *

                                      Describes an EC2 Fleet error.

                                      + */ +export interface DeleteFleetError { + /** + *

                                      The error code.

                                      + */ + Code?: DeleteFleetErrorCode | string; + + /** + *

                                      The description for the error code.

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

                                      Describes an EC2 Fleet that was not successfully deleted.

                                      + */ +export interface DeleteFleetErrorItem { + /** + *

                                      The error.

                                      + */ + Error?: DeleteFleetError; + + /** + *

                                      The ID of the EC2 Fleet.

                                      + */ + FleetId?: string; +} + +export namespace DeleteFleetErrorItem { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteFleetErrorItem): any => ({ + ...obj, + }); +} + +export interface DeleteFleetsResult { + /** + *

                                      Information about the EC2 Fleets that are successfully deleted.

                                      + */ + SuccessfulFleetDeletions?: DeleteFleetSuccessItem[]; + + /** + *

                                      Information about the EC2 Fleets that are not successfully deleted.

                                      + */ + UnsuccessfulFleetDeletions?: DeleteFleetErrorItem[]; +} + +export namespace DeleteFleetsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteFleetsResult): any => ({ + ...obj, + }); +} + +export interface DeleteFlowLogsRequest { + /** + *

                                      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; + + /** + *

                                      One or more flow log IDs.

                                      + *

                                      Constraint: Maximum of 1000 flow log IDs.

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

                                      Information about the flow logs that could not be deleted successfully.

                                      + */ + Unsuccessful?: UnsuccessfulItem[]; +} + +export namespace DeleteFlowLogsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteFlowLogsResult): any => ({ + ...obj, + }); +} + +export interface DeleteFpgaImageRequest { + /** + *

                                      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; + + /** + *

                                      The ID of the AFI.

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

                                      Is true if the request succeeds, and an error otherwise.

                                      + */ + Return?: boolean; +} + +export namespace DeleteFpgaImageResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteFpgaImageResult): any => ({ + ...obj, + }); +} + +export interface DeleteInstanceEventWindowRequest { + /** + *

                                      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; + + /** + *

                                      Specify true to force delete the event window. Use the force delete parameter + * if the event window is currently associated with targets.

                                      + */ + ForceDelete?: boolean; + + /** + *

                                      The ID of the event window.

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

                                      The state of the event window.

                                      + */ +export interface InstanceEventWindowStateChange { + /** + *

                                      The ID of the event window.

                                      + */ + InstanceEventWindowId?: string; + + /** + *

                                      The current state of the event window.

                                      + */ + State?: InstanceEventWindowState | string; +} + +export namespace InstanceEventWindowStateChange { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindowStateChange): any => ({ + ...obj, + }); +} + +export interface DeleteInstanceEventWindowResult { + /** + *

                                      The state of the event window.

                                      + */ + InstanceEventWindowState?: InstanceEventWindowStateChange; +} + +export namespace DeleteInstanceEventWindowResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteInstanceEventWindowResult): any => ({ + ...obj, + }); +} + +export interface DeleteInternetGatewayRequest { + /** + *

                                      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; + + /** + *

                                      The ID of the internet gateway.

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

                                      The name of the key pair.

                                      + */ + KeyName?: string; + + /** + *

                                      The ID of the key pair.

                                      + */ + KeyPairId?: string; + + /** + *

                                      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; +} + +export namespace DeleteKeyPairRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteKeyPairRequest): any => ({ + ...obj, + }); +} + +export interface DeleteLaunchTemplateRequest { + /** + *

                                      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; + + /** + *

                                      The ID of the launch template. You must specify either the launch template ID or + * launch template name in the request.

                                      + */ + LaunchTemplateId?: string; + + /** + *

                                      The name of the launch template. You must specify either the launch template ID or + * launch template name in the request.

                                      + */ + LaunchTemplateName?: string; +} + +export namespace DeleteLaunchTemplateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteLaunchTemplateRequest): any => ({ + ...obj, + }); +} + export interface DeleteLaunchTemplateResult { /** *

                                      Information about the launch template.

                                      @@ -932,7 +1237,7 @@ export interface DeleteTagsRequest { * key regardless of its value. If you specify a tag key with an empty string as the tag * value, we delete the tag only if its value is an empty string.

                                      *

                                      If you omit this parameter, we delete all user-defined tags for the specified - * resources. We do not delete AWS-generated tags (tags that have the aws: + * resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: * prefix).

                                      */ Tags?: Tag[]; @@ -8952,14 +9257,131 @@ export namespace DescribeInstanceEventNotificationAttributesResult { }); } -export interface DescribeInstancesRequest { +/** + * Describe instance event windows by InstanceEventWindow. + */ +export interface DescribeInstanceEventWindowsRequest { /** - *

                                      The filters.

                                      - *
                                        + *

                                        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; + + /** + *

                                        The IDs of the event windows.

                                        + */ + InstanceEventWindowIds?: string[]; + + /** + *

                                        One or more filters.

                                        + *
                                          *
                                        • - *

                                          - * affinity - The affinity setting for an instance running on a - * Dedicated Host (default | host).

                                          + *

                                          + * dedicated-host-id - The event windows associated with the specified + * Dedicated Host ID.

                                          + *
                                        • + *
                                        • + *

                                          + * event-window-name - The event windows associated with the specified + * names.

                                          + *
                                        • + *
                                        • + *

                                          + * instance-id - The event windows associated with the specified instance + * ID.

                                          + *
                                        • + *
                                        • + *

                                          + * instance-tag - The event windows associated with the specified tag and + * value.

                                          + *
                                        • + *
                                        • + *

                                          + * instance-tag-key - The event windows associated with the specified tag + * key, regardless of the value.

                                          + *
                                        • + *
                                        • + *

                                          + * instance-tag-value - The event windows associated with the specified tag + * value, regardless of the key.

                                          + *
                                        • + *
                                        • + *

                                          + * tag: - The key/value combination of a tag assigned to the + * event window. Use the tag key in the filter name and the tag value as the filter + * value. For example, to find all resources that have a tag with the key + * Owner and the value CMX, specify tag:Owner + * for the filter name and CMX for the filter value.

                                          + *
                                        • + *
                                        • + *

                                          + * tag-key - The key of a tag assigned to the event window. Use this filter + * to find all event windows that have a tag with a specific key, regardless of the tag + * value.

                                          + *
                                        • + *
                                        • + *

                                          + * tag-value - The value of a tag assigned to the event window. Use this + * filter to find all event windows that have a tag with a specific value, regardless of + * the tag key.

                                          + *
                                        • + *
                                        + */ + Filters?: Filter[]; + + /** + *

                                        The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value can + * be between 20 and 500. You cannot specify this parameter and the event window IDs parameter + * in the same call.

                                        + */ + MaxResults?: number; + + /** + *

                                        The token to request the next page of results.

                                        + */ + NextToken?: string; +} + +export namespace DescribeInstanceEventWindowsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeInstanceEventWindowsRequest): any => ({ + ...obj, + }); +} + +export interface DescribeInstanceEventWindowsResult { + /** + *

                                        Information about the event windows.

                                        + */ + InstanceEventWindows?: InstanceEventWindow[]; + + /** + *

                                        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 DescribeInstanceEventWindowsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeInstanceEventWindowsResult): any => ({ + ...obj, + }); +} + +export interface DescribeInstancesRequest { + /** + *

                                        The filters.

                                        + *
                                          + *
                                        • + *

                                          + * affinity - The affinity setting for an instance running on a + * Dedicated Host (default | host).

                                          *
                                        • *
                                        • *

                                          @@ -9644,887 +10066,3 @@ export enum HttpTokensState { optional = "optional", required = "required", } - -export type InstanceMetadataOptionsState = "applied" | "pending"; - -/** - *

                                          The metadata options for the instance.

                                          - */ -export interface InstanceMetadataOptionsResponse { - /** - *

                                          The state of the metadata option changes.

                                          - *

                                          - * pending - The metadata options are being updated and the instance is not - * ready to process metadata traffic with the new selection.

                                          - *

                                          - * applied - The metadata options have been successfully applied on the - * instance.

                                          - */ - State?: InstanceMetadataOptionsState | string; - - /** - *

                                          The state of token usage for your instance metadata requests. If the parameter is not - * specified in the request, the default state is optional.

                                          - *

                                          If the state is optional, you can choose to retrieve instance metadata - * with or without a signed token header on your request. If you retrieve the IAM role - * credentials without a token, the version 1.0 role credentials are returned. If you - * retrieve the IAM role credentials using a valid signed token, the version 2.0 role - * credentials are returned.

                                          - *

                                          If the state is required, you must send a signed token header with any - * instance metadata retrieval requests. In this state, retrieving the IAM role credential - * always returns the version 2.0 credentials; the version 1.0 credentials are not - * available.

                                          - */ - HttpTokens?: HttpTokensState | string; - - /** - *

                                          The desired HTTP PUT response hop limit for instance metadata requests. The larger the - * number, the further instance metadata requests can travel.

                                          - *

                                          Default: 1

                                          - *

                                          Possible values: Integers from 1 to 64

                                          - */ - HttpPutResponseHopLimit?: number; - - /** - *

                                          This parameter enables or disables the HTTP metadata endpoint on your instances. If - * the parameter is not specified, the default state is enabled.

                                          - * - *

                                          If you specify a value of disabled, you will not be able to access your - * instance metadata.

                                          - *
                                          - */ - HttpEndpoint?: InstanceMetadataEndpointState | string; -} - -export namespace InstanceMetadataOptionsResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceMetadataOptionsResponse): any => ({ - ...obj, - }); -} - -export type MonitoringState = "disabled" | "disabling" | "enabled" | "pending"; - -/** - *

                                          Describes the monitoring of an instance.

                                          - */ -export interface Monitoring { - /** - *

                                          Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is - * enabled.

                                          - */ - State?: MonitoringState | string; -} - -export namespace Monitoring { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Monitoring): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes association information for an Elastic IP address (IPv4).

                                          - */ -export interface InstanceNetworkInterfaceAssociation { - /** - *

                                          The carrier IP address associated with the network interface.

                                          - */ - CarrierIp?: string; - - /** - *

                                          The ID of the owner of the Elastic IP address.

                                          - */ - IpOwnerId?: string; - - /** - *

                                          The public DNS name.

                                          - */ - PublicDnsName?: string; - - /** - *

                                          The public IP address or Elastic IP address bound to the network interface.

                                          - */ - PublicIp?: string; -} - -export namespace InstanceNetworkInterfaceAssociation { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceNetworkInterfaceAssociation): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes a network interface attachment.

                                          - */ -export interface InstanceNetworkInterfaceAttachment { - /** - *

                                          The time stamp when the attachment initiated.

                                          - */ - AttachTime?: Date; - - /** - *

                                          The ID of the network interface attachment.

                                          - */ - AttachmentId?: string; - - /** - *

                                          Indicates whether the network interface is deleted when the instance is terminated.

                                          - */ - DeleteOnTermination?: boolean; - - /** - *

                                          The index of the device on the instance for the network interface attachment.

                                          - */ - DeviceIndex?: number; - - /** - *

                                          The attachment state.

                                          - */ - Status?: AttachmentStatus | string; - - /** - *

                                          The index of the network card.

                                          - */ - NetworkCardIndex?: number; -} - -export namespace InstanceNetworkInterfaceAttachment { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceNetworkInterfaceAttachment): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes a private IPv4 address.

                                          - */ -export interface InstancePrivateIpAddress { - /** - *

                                          The association information for an Elastic IP address for the network interface.

                                          - */ - Association?: InstanceNetworkInterfaceAssociation; - - /** - *

                                          Indicates whether this IPv4 address is the primary private IP address of the network interface.

                                          - */ - Primary?: boolean; - - /** - *

                                          The private IPv4 DNS name.

                                          - */ - PrivateDnsName?: string; - - /** - *

                                          The private IPv4 address of the network interface.

                                          - */ - PrivateIpAddress?: string; -} - -export namespace InstancePrivateIpAddress { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstancePrivateIpAddress): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes a network interface.

                                          - */ -export interface InstanceNetworkInterface { - /** - *

                                          The association information for an Elastic IPv4 associated with the network - * interface.

                                          - */ - Association?: InstanceNetworkInterfaceAssociation; - - /** - *

                                          The network interface attachment.

                                          - */ - Attachment?: InstanceNetworkInterfaceAttachment; - - /** - *

                                          The description.

                                          - */ - Description?: string; - - /** - *

                                          One or more security groups.

                                          - */ - Groups?: GroupIdentifier[]; - - /** - *

                                          One or more IPv6 addresses associated with the network interface.

                                          - */ - Ipv6Addresses?: InstanceIpv6Address[]; - - /** - *

                                          The MAC address.

                                          - */ - MacAddress?: string; - - /** - *

                                          The ID of the network interface.

                                          - */ - NetworkInterfaceId?: string; - - /** - *

                                          The ID of the account that created the network interface.

                                          - */ - OwnerId?: string; - - /** - *

                                          The private DNS name.

                                          - */ - PrivateDnsName?: string; - - /** - *

                                          The IPv4 address of the network interface within the subnet.

                                          - */ - PrivateIpAddress?: string; - - /** - *

                                          One or more private IPv4 addresses associated with the network interface.

                                          - */ - PrivateIpAddresses?: InstancePrivateIpAddress[]; - - /** - *

                                          Indicates whether source/destination checking is enabled.

                                          - */ - SourceDestCheck?: boolean; - - /** - *

                                          The status of the network interface.

                                          - */ - Status?: NetworkInterfaceStatus | string; - - /** - *

                                          The ID of the subnet.

                                          - */ - SubnetId?: string; - - /** - *

                                          The ID of the VPC.

                                          - */ - VpcId?: string; - - /** - *

                                          Describes the type of network interface.

                                          - *

                                          Valid values: interface | efa | trunk - *

                                          - */ - InterfaceType?: string; -} - -export namespace InstanceNetworkInterface { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceNetworkInterface): any => ({ - ...obj, - }); -} - -export type InstanceStateName = "pending" | "running" | "shutting-down" | "stopped" | "stopping" | "terminated"; - -/** - *

                                          Describes the current state of an instance.

                                          - */ -export interface InstanceState { - /** - *

                                          The state of the instance as a 16-bit unsigned integer.

                                          - *

                                          The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values - * between 256 and 65,535. These numerical values are used for internal purposes and should - * be ignored.

                                          - *

                                          The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values - * between 0 and 255.

                                          - *

                                          The valid values for instance-state-code will all be in the range of the low byte and - * they are:

                                          - *
                                            - *
                                          • - *

                                            - * 0 : pending - *

                                            - *
                                          • - *
                                          • - *

                                            - * 16 : running - *

                                            - *
                                          • - *
                                          • - *

                                            - * 32 : shutting-down - *

                                            - *
                                          • - *
                                          • - *

                                            - * 48 : terminated - *

                                            - *
                                          • - *
                                          • - *

                                            - * 64 : stopping - *

                                            - *
                                          • - *
                                          • - *

                                            - * 80 : stopped - *

                                            - *
                                          • - *
                                          - *

                                          You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in - * decimal.

                                          - */ - Code?: number; - - /** - *

                                          The current state of the instance.

                                          - */ - Name?: InstanceStateName | string; -} - -export namespace InstanceState { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceState): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes an instance.

                                          - */ -export interface Instance { - /** - *

                                          The AMI launch index, which can be used to find this instance in the launch - * group.

                                          - */ - AmiLaunchIndex?: number; - - /** - *

                                          The ID of the AMI used to launch the instance.

                                          - */ - ImageId?: string; - - /** - *

                                          The ID of the instance.

                                          - */ - InstanceId?: string; - - /** - *

                                          The instance type.

                                          - */ - InstanceType?: _InstanceType | string; - - /** - *

                                          The kernel associated with this instance, if applicable.

                                          - */ - KernelId?: string; - - /** - *

                                          The name of the key pair, if this instance was launched with an associated key - * pair.

                                          - */ - KeyName?: string; - - /** - *

                                          The time the instance was launched.

                                          - */ - LaunchTime?: Date; - - /** - *

                                          The monitoring for the instance.

                                          - */ - Monitoring?: Monitoring; - - /** - *

                                          The location where the instance launched, if applicable.

                                          - */ - Placement?: Placement; - - /** - *

                                          The value is Windows for Windows instances; otherwise blank.

                                          - */ - Platform?: PlatformValues | string; - - /** - *

                                          (IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname - * can only be used inside the Amazon EC2 network. This name is not available until the - * instance enters the running state.

                                          - *

                                          [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS - * hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not - * using the Amazon-provided DNS server in your VPC, your custom domain name servers must - * resolve the hostname as appropriate.

                                          - */ - PrivateDnsName?: string; - - /** - *

                                          The private IPv4 address assigned to the instance.

                                          - */ - PrivateIpAddress?: string; - - /** - *

                                          The product codes attached to this instance, if applicable.

                                          - */ - ProductCodes?: ProductCode[]; - - /** - *

                                          (IPv4 only) The public DNS name assigned to the instance. This name is not available - * until the instance enters the running state. For EC2-VPC, this name is only - * available if you've enabled DNS hostnames for your VPC.

                                          - */ - PublicDnsName?: string; - - /** - *

                                          The public IPv4 address, or the Carrier IP address assigned to the instance, if - * applicable.

                                          - *

                                          A Carrier IP address only applies to an instance launched in a subnet associated with - * a Wavelength Zone.

                                          - */ - PublicIpAddress?: string; - - /** - *

                                          The RAM disk associated with this instance, if applicable.

                                          - */ - RamdiskId?: string; - - /** - *

                                          The current state of the instance.

                                          - */ - State?: InstanceState; - - /** - *

                                          The reason for the most recent state transition. This might be an empty string.

                                          - */ - StateTransitionReason?: string; - - /** - *

                                          [EC2-VPC] The ID of the subnet in which the instance is running.

                                          - */ - SubnetId?: string; - - /** - *

                                          [EC2-VPC] The ID of the VPC in which the instance is running.

                                          - */ - VpcId?: string; - - /** - *

                                          The architecture of the image.

                                          - */ - Architecture?: ArchitectureValues | string; - - /** - *

                                          Any block device mapping entries for the instance.

                                          - */ - BlockDeviceMappings?: InstanceBlockDeviceMapping[]; - - /** - *

                                          The idempotency token you provided when you launched the instance, if - * applicable.

                                          - */ - ClientToken?: string; - - /** - *

                                          Indicates whether the instance is optimized for Amazon EBS I/O. This optimization - * provides dedicated throughput to Amazon EBS and an optimized configuration stack to - * provide optimal I/O performance. This optimization isn't available with all instance - * types. Additional usage charges apply when using an EBS Optimized instance.

                                          - */ - EbsOptimized?: boolean; - - /** - *

                                          Specifies whether enhanced networking with ENA is enabled.

                                          - */ - EnaSupport?: boolean; - - /** - *

                                          The hypervisor type of the instance. The value xen is used for both Xen and - * Nitro hypervisors.

                                          - */ - Hypervisor?: HypervisorType | string; - - /** - *

                                          The IAM instance profile associated with the instance, if applicable.

                                          - */ - IamInstanceProfile?: IamInstanceProfile; - - /** - *

                                          Indicates whether this is a Spot Instance or a Scheduled Instance.

                                          - */ - InstanceLifecycle?: InstanceLifecycleType | string; - - /** - *

                                          The Elastic GPU associated with the instance.

                                          - */ - ElasticGpuAssociations?: ElasticGpuAssociation[]; - - /** - *

                                          The elastic inference accelerator associated with the instance.

                                          - */ - ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[]; - - /** - *

                                          [EC2-VPC] The network interfaces for the instance.

                                          - */ - NetworkInterfaces?: InstanceNetworkInterface[]; - - /** - *

                                          The Amazon Resource Name (ARN) of the Outpost.

                                          - */ - OutpostArn?: string; - - /** - *

                                          The device name of the root device volume (for example, - * /dev/sda1).

                                          - */ - RootDeviceName?: string; - - /** - *

                                          The root device type used by the AMI. The AMI can use an EBS volume or an instance - * store volume.

                                          - */ - RootDeviceType?: DeviceType | string; - - /** - *

                                          The security groups for the instance.

                                          - */ - SecurityGroups?: GroupIdentifier[]; - - /** - *

                                          Indicates whether source/destination checking is enabled.

                                          - */ - SourceDestCheck?: boolean; - - /** - *

                                          If the request is a Spot Instance request, the ID of the request.

                                          - */ - SpotInstanceRequestId?: string; - - /** - *

                                          Specifies whether enhanced networking with the Intel 82599 Virtual Function interface - * is enabled.

                                          - */ - SriovNetSupport?: string; - - /** - *

                                          The reason for the most recent state transition.

                                          - */ - StateReason?: StateReason; - - /** - *

                                          Any tags assigned to the instance.

                                          - */ - Tags?: Tag[]; - - /** - *

                                          The virtualization type of the instance.

                                          - */ - VirtualizationType?: VirtualizationType | string; - - /** - *

                                          The CPU options for the instance.

                                          - */ - CpuOptions?: CpuOptions; - - /** - *

                                          The ID of the Capacity Reservation.

                                          - */ - CapacityReservationId?: string; - - /** - *

                                          Information about the Capacity Reservation targeting option.

                                          - */ - CapacityReservationSpecification?: CapacityReservationSpecificationResponse; - - /** - *

                                          Indicates whether the instance is enabled for hibernation.

                                          - */ - HibernationOptions?: HibernationOptions; - - /** - *

                                          The license configurations.

                                          - */ - Licenses?: LicenseConfiguration[]; - - /** - *

                                          The metadata options for the instance.

                                          - */ - MetadataOptions?: InstanceMetadataOptionsResponse; - - /** - *

                                          Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

                                          - */ - EnclaveOptions?: EnclaveOptions; - - /** - *

                                          The boot mode of the instance. For more information, see Boot modes in the - * Amazon EC2 User Guide.

                                          - */ - BootMode?: BootModeValues | string; -} - -export namespace Instance { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Instance): any => ({ - ...obj, - }); -} - -/** - *

                                          Describes a launch request for one or more instances, and includes - * owner, requester, and security group information that applies to all - * instances in the launch request.

                                          - */ -export interface Reservation { - /** - *

                                          [EC2-Classic only] The security groups.

                                          - */ - Groups?: GroupIdentifier[]; - - /** - *

                                          The instances.

                                          - */ - Instances?: Instance[]; - - /** - *

                                          The ID of the account that owns the reservation.

                                          - */ - OwnerId?: string; - - /** - *

                                          The ID of the requester that launched the instances on your behalf (for example, - * Management Console or Auto Scaling).

                                          - */ - RequesterId?: string; - - /** - *

                                          The ID of the reservation.

                                          - */ - ReservationId?: string; -} - -export namespace Reservation { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Reservation): any => ({ - ...obj, - }); -} - -export interface DescribeInstancesResult { - /** - *

                                          Information about the reservations.

                                          - */ - Reservations?: Reservation[]; - - /** - *

                                          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 DescribeInstancesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeInstancesResult): any => ({ - ...obj, - }); -} - -export interface DescribeInstanceStatusRequest { - /** - *

                                          The filters.

                                          - *
                                            - *
                                          • - *

                                            - * availability-zone - The Availability Zone of the instance.

                                            - *
                                          • - *
                                          • - *

                                            - * event.code - The code for the scheduled event - * (instance-reboot | system-reboot | - * system-maintenance | instance-retirement | - * instance-stop).

                                            - *
                                          • - *
                                          • - *

                                            - * event.description - A description of the event.

                                            - *
                                          • - *
                                          • - *

                                            - * event.instance-event-id - The ID of the event whose date and time - * you are modifying.

                                            - *
                                          • - *
                                          • - *

                                            - * event.not-after - The latest end time for the scheduled event - * (for example, 2014-09-15T17:15:20.000Z).

                                            - *
                                          • - *
                                          • - *

                                            - * event.not-before - The earliest start time for the scheduled - * event (for example, 2014-09-15T17:15:20.000Z).

                                            - *
                                          • - *
                                          • - *

                                            - * event.not-before-deadline - The deadline for starting the event - * (for example, 2014-09-15T17:15:20.000Z).

                                            - *
                                          • - *
                                          • - *

                                            - * instance-state-code - The code for the instance state, as a - * 16-bit unsigned integer. The high byte is used for internal purposes and should - * be ignored. The low byte is set based on the state represented. The valid values - * are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 - * (stopping), and 80 (stopped).

                                            - *
                                          • - *
                                          • - *

                                            - * instance-state-name - The state of the instance - * (pending | running | shutting-down | - * terminated | stopping | - * stopped).

                                            - *
                                          • - *
                                          • - *

                                            - * instance-status.reachability - Filters on instance status where - * the name is reachability (passed | failed - * | initializing | insufficient-data).

                                            - *
                                          • - *
                                          • - *

                                            - * instance-status.status - The status of the instance - * (ok | impaired | initializing | - * insufficient-data | not-applicable).

                                            - *
                                          • - *
                                          • - *

                                            - * system-status.reachability - Filters on system status where the - * name is reachability (passed | failed | - * initializing | insufficient-data).

                                            - *
                                          • - *
                                          • - *

                                            - * system-status.status - The system status of the instance - * (ok | impaired | initializing | - * insufficient-data | not-applicable).

                                            - *
                                          • - *
                                          - */ - Filters?: Filter[]; - - /** - *

                                          The instance IDs.

                                          - *

                                          Default: Describes all your instances.

                                          - *

                                          Constraints: Maximum 100 explicitly specified instance IDs.

                                          - */ - InstanceIds?: string[]; - - /** - *

                                          The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value - * can be between 5 and 1000. You cannot specify this parameter and the instance IDs - * parameter in the same call.

                                          - */ - MaxResults?: number; - - /** - *

                                          The token to retrieve the next page of results.

                                          - */ - NextToken?: string; - - /** - *

                                          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; - - /** - *

                                          When true, includes the health status for all instances. When - * false, includes the health status for running instances only.

                                          - *

                                          Default: false - *

                                          - */ - IncludeAllInstances?: boolean; -} - -export namespace DescribeInstanceStatusRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeInstanceStatusRequest): any => ({ - ...obj, - }); -} - -export type EventCode = - | "instance-reboot" - | "instance-retirement" - | "instance-stop" - | "system-maintenance" - | "system-reboot"; - -/** - *

                                          Describes a scheduled event for an instance.

                                          - */ -export interface InstanceStatusEvent { - /** - *

                                          The ID of the event.

                                          - */ - InstanceEventId?: string; - - /** - *

                                          The event code.

                                          - */ - Code?: EventCode | string; - - /** - *

                                          A description of the event.

                                          - *

                                          After a scheduled event is completed, it can still be described for up to a week. If - * the event has been completed, this description starts with the following text: - * [Completed].

                                          - */ - Description?: string; - - /** - *

                                          The latest scheduled end time for the event.

                                          - */ - NotAfter?: Date; - - /** - *

                                          The earliest scheduled start time for the event.

                                          - */ - NotBefore?: Date; - - /** - *

                                          The deadline for starting the event.

                                          - */ - NotBeforeDeadline?: Date; -} - -export namespace InstanceStatusEvent { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceStatusEvent): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/models/models_3.ts b/clients/client-ec2/models/models_3.ts index ff1c8290ca9e0..7de9406b83966 100644 --- a/clients/client-ec2/models/models_3.ts +++ b/clients/client-ec2/models/models_3.ts @@ -2,17 +2,20 @@ import { ActiveInstance, ActivityStatus, AllocationStrategy, - AllowedPrincipal, AlternatePathHint, + AttachmentStatus, AttributeValue, BatchState, BlockDeviceMapping, CurrencyCodeValues, FleetLaunchTemplateSpecification, FleetType, + IamInstanceProfile, IamInstanceProfileSpecification, InternetGateway, IpPermission, + Placement, + PlatformValues, ReservedInstancesListing, ResourceType, SecurityGroupRule, @@ -28,14 +31,11 @@ import { TrunkInterfaceAssociation, UserIdGroupPair, VolumeType, - Vpc, - VpcPeeringConnection, _InstanceType, } from "./models_0"; import { ConnectionNotification, DnsEntry, - DnsNameState, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, @@ -49,13 +49,12 @@ import { NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, + NetworkInterfaceStatus, PlacementGroup, PortRange, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, - ServiceConfiguration, - ServiceTypeDetail, Snapshot, SpotDatafeedSubscription, SpotInstanceStateFault, @@ -71,2508 +70,2263 @@ import { TransitGatewayRouteTable, Volume, VpcEndpoint, - VpnConnection, - VpnGateway, } from "./models_1"; import { + ArchitectureValues, AttributeBooleanValue, + BootModeValues, + CapacityReservationSpecificationResponse, + CpuOptions, + DeviceType, + ElasticGpuAssociation, + ElasticInferenceAcceleratorAssociation, + EnclaveOptions, EventInformation, Filter, + HibernationOptions, + HttpTokensState, + HypervisorType, IdFormat, - InstanceState, - InstanceStatusEvent, + InstanceBlockDeviceMapping, + InstanceLifecycleType, + InstanceMetadataEndpointState, + LicenseConfiguration, PermissionGroup, ProductCode, + StateReason, VirtualizationType, } from "./models_2"; -export type StatusName = "reachability"; - -export type StatusType = "failed" | "initializing" | "insufficient-data" | "passed"; +export type InstanceMetadataOptionsState = "applied" | "pending"; /** - *

                                          Describes the instance status.

                                          + *

                                          The metadata options for the instance.

                                          */ -export interface InstanceStatusDetails { +export interface InstanceMetadataOptionsResponse { /** - *

                                          The time when a status check failed. For an instance that was launched and impaired, - * this is the time when the instance was launched.

                                          + *

                                          The state of the metadata option changes.

                                          + *

                                          + * pending - The metadata options are being updated and the instance is not + * ready to process metadata traffic with the new selection.

                                          + *

                                          + * applied - The metadata options have been successfully applied on the + * instance.

                                          */ - ImpairedSince?: Date; + State?: InstanceMetadataOptionsState | string; /** - *

                                          The type of instance status.

                                          + *

                                          The state of token usage for your instance metadata requests. If the parameter is not + * specified in the request, the default state is optional.

                                          + *

                                          If the state is optional, you can choose to retrieve instance metadata + * with or without a signed token header on your request. If you retrieve the IAM role + * credentials without a token, the version 1.0 role credentials are returned. If you + * retrieve the IAM role credentials using a valid signed token, the version 2.0 role + * credentials are returned.

                                          + *

                                          If the state is required, you must send a signed token header with any + * instance metadata retrieval requests. In this state, retrieving the IAM role credential + * always returns the version 2.0 credentials; the version 1.0 credentials are not + * available.

                                          */ - Name?: StatusName | string; + HttpTokens?: HttpTokensState | string; /** - *

                                          The status.

                                          + *

                                          The desired HTTP PUT response hop limit for instance metadata requests. The larger the + * number, the further instance metadata requests can travel.

                                          + *

                                          Default: 1

                                          + *

                                          Possible values: Integers from 1 to 64

                                          */ - Status?: StatusType | string; + HttpPutResponseHopLimit?: number; + + /** + *

                                          This parameter enables or disables the HTTP metadata endpoint on your instances. If + * the parameter is not specified, the default state is enabled.

                                          + * + *

                                          If you specify a value of disabled, you will not be able to access your + * instance metadata.

                                          + *
                                          + */ + HttpEndpoint?: InstanceMetadataEndpointState | string; } -export namespace InstanceStatusDetails { +export namespace InstanceMetadataOptionsResponse { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceStatusDetails): any => ({ + export const filterSensitiveLog = (obj: InstanceMetadataOptionsResponse): any => ({ ...obj, }); } -export type SummaryStatus = "impaired" | "initializing" | "insufficient-data" | "not-applicable" | "ok"; +export type MonitoringState = "disabled" | "disabling" | "enabled" | "pending"; /** - *

                                          Describes the status of an instance.

                                          + *

                                          Describes the monitoring of an instance.

                                          */ -export interface InstanceStatusSummary { +export interface Monitoring { /** - *

                                          The system instance health or application instance health.

                                          - */ - Details?: InstanceStatusDetails[]; - - /** - *

                                          The status.

                                          + *

                                          Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is + * enabled.

                                          */ - Status?: SummaryStatus | string; + State?: MonitoringState | string; } -export namespace InstanceStatusSummary { +export namespace Monitoring { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceStatusSummary): any => ({ + export const filterSensitiveLog = (obj: Monitoring): any => ({ ...obj, }); } /** - *

                                          Describes the status of an instance.

                                          + *

                                          Describes association information for an Elastic IP address (IPv4).

                                          */ -export interface InstanceStatus { +export interface InstanceNetworkInterfaceAssociation { /** - *

                                          The Availability Zone of the instance.

                                          + *

                                          The carrier IP address associated with the network interface.

                                          */ - AvailabilityZone?: string; + CarrierIp?: string; /** - *

                                          The Amazon Resource Name (ARN) of the Outpost.

                                          + *

                                          The ID of the owner of the Elastic IP address.

                                          */ - OutpostArn?: string; + IpOwnerId?: string; /** - *

                                          Any scheduled events associated with the instance.

                                          + *

                                          The public DNS name.

                                          */ - Events?: InstanceStatusEvent[]; + PublicDnsName?: string; /** - *

                                          The ID of the instance.

                                          + *

                                          The public IP address or Elastic IP address bound to the network interface.

                                          */ - InstanceId?: string; + PublicIp?: string; +} +export namespace InstanceNetworkInterfaceAssociation { /** - *

                                          The intended state of the instance. DescribeInstanceStatus requires - * that an instance be in the running state.

                                          + * @internal */ - InstanceState?: InstanceState; + export const filterSensitiveLog = (obj: InstanceNetworkInterfaceAssociation): any => ({ + ...obj, + }); +} +/** + *

                                          Describes a network interface attachment.

                                          + */ +export interface InstanceNetworkInterfaceAttachment { /** - *

                                          Reports impaired functionality that stems from issues internal to the instance, such - * as impaired reachability.

                                          + *

                                          The time stamp when the attachment initiated.

                                          */ - InstanceStatus?: InstanceStatusSummary; + AttachTime?: Date; /** - *

                                          Reports impaired functionality that stems from issues related to the systems that - * support an instance, such as hardware failures and network connectivity problems.

                                          + *

                                          The ID of the network interface attachment.

                                          */ - SystemStatus?: InstanceStatusSummary; + AttachmentId?: string; + + /** + *

                                          Indicates whether the network interface is deleted when the instance is terminated.

                                          + */ + DeleteOnTermination?: boolean; + + /** + *

                                          The index of the device on the instance for the network interface attachment.

                                          + */ + DeviceIndex?: number; + + /** + *

                                          The attachment state.

                                          + */ + Status?: AttachmentStatus | string; + + /** + *

                                          The index of the network card.

                                          + */ + NetworkCardIndex?: number; } -export namespace InstanceStatus { +export namespace InstanceNetworkInterfaceAttachment { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceStatus): any => ({ + export const filterSensitiveLog = (obj: InstanceNetworkInterfaceAttachment): any => ({ ...obj, }); } -export interface DescribeInstanceStatusResult { +/** + *

                                          Describes a private IPv4 address.

                                          + */ +export interface InstancePrivateIpAddress { /** - *

                                          Information about the status of the instances.

                                          + *

                                          The association information for an Elastic IP address for the network interface.

                                          */ - InstanceStatuses?: InstanceStatus[]; + Association?: InstanceNetworkInterfaceAssociation; /** - *

                                          The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                          + *

                                          Indicates whether this IPv4 address is the primary private IP address of the network interface.

                                          */ - NextToken?: string; + Primary?: boolean; + + /** + *

                                          The private IPv4 DNS name.

                                          + */ + PrivateDnsName?: string; + + /** + *

                                          The private IPv4 address of the network interface.

                                          + */ + PrivateIpAddress?: string; } -export namespace DescribeInstanceStatusResult { +export namespace InstancePrivateIpAddress { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeInstanceStatusResult): any => ({ + export const filterSensitiveLog = (obj: InstancePrivateIpAddress): any => ({ ...obj, }); } -export type LocationType = "availability-zone" | "availability-zone-id" | "region"; +/** + *

                                          Describes a network interface.

                                          + */ +export interface InstanceNetworkInterface { + /** + *

                                          The association information for an Elastic IPv4 associated with the network + * interface.

                                          + */ + Association?: InstanceNetworkInterfaceAssociation; -export interface DescribeInstanceTypeOfferingsRequest { /** - *

                                          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.

                                          + *

                                          The network interface attachment.

                                          */ - DryRun?: boolean; + Attachment?: InstanceNetworkInterfaceAttachment; /** - *

                                          The location type.

                                          + *

                                          The description.

                                          */ - LocationType?: LocationType | string; + Description?: string; /** - *

                                          One or more filters. Filter names and values are case-sensitive.

                                          - *
                                            - *
                                          • - *

                                            - * location - This depends on the location type. For example, if the location type is - * region (default), the location is the Region code (for example, us-east-2.)

                                            - *
                                          • - *
                                          • - *

                                            - * instance-type - The instance type. For example, - * c5.2xlarge.

                                            - *
                                          • - *
                                          + *

                                          One or more security groups.

                                          */ - Filters?: Filter[]; + Groups?: GroupIdentifier[]; /** - *

                                          The maximum number of results to return for the request in a single page. The remaining results - * can be seen by sending another request with the next token value.

                                          + *

                                          One or more IPv6 addresses associated with the network interface.

                                          */ - MaxResults?: number; + Ipv6Addresses?: InstanceIpv6Address[]; /** - *

                                          The token to retrieve the next page of results.

                                          + *

                                          The MAC address.

                                          */ - NextToken?: string; -} + MacAddress?: string; -export namespace DescribeInstanceTypeOfferingsRequest { /** - * @internal + *

                                          The ID of the network interface.

                                          */ - export const filterSensitiveLog = (obj: DescribeInstanceTypeOfferingsRequest): any => ({ - ...obj, - }); -} + NetworkInterfaceId?: string; -/** - *

                                          The instance types offered.

                                          - */ -export interface InstanceTypeOffering { /** - *

                                          The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                          + *

                                          The ID of the account that created the network interface.

                                          */ - InstanceType?: _InstanceType | string; + OwnerId?: string; /** - *

                                          The location type.

                                          + *

                                          The private DNS name.

                                          */ - LocationType?: LocationType | string; + PrivateDnsName?: string; /** - *

                                          The identifier for the location. This depends on the location type. For example, if the location type is - * region, the location is the Region code (for example, us-east-2.)

                                          + *

                                          The IPv4 address of the network interface within the subnet.

                                          */ - Location?: string; -} + PrivateIpAddress?: string; -export namespace InstanceTypeOffering { /** - * @internal + *

                                          One or more private IPv4 addresses associated with the network interface.

                                          */ - export const filterSensitiveLog = (obj: InstanceTypeOffering): any => ({ - ...obj, - }); -} + PrivateIpAddresses?: InstancePrivateIpAddress[]; -export interface DescribeInstanceTypeOfferingsResult { /** - *

                                          The instance types offered.

                                          + *

                                          Indicates whether source/destination checking is enabled.

                                          */ - InstanceTypeOfferings?: InstanceTypeOffering[]; + SourceDestCheck?: boolean; /** - *

                                          The token to use to retrieve the next page of results. This value is null when there - * are no more results to return.

                                          + *

                                          The status of the network interface.

                                          */ - NextToken?: string; -} + Status?: NetworkInterfaceStatus | string; -export namespace DescribeInstanceTypeOfferingsResult { /** - * @internal + *

                                          The ID of the subnet.

                                          */ - export const filterSensitiveLog = (obj: DescribeInstanceTypeOfferingsResult): any => ({ - ...obj, - }); -} + SubnetId?: string; -export interface DescribeInstanceTypesRequest { /** - *

                                          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.

                                          + *

                                          The ID of the VPC.

                                          */ - DryRun?: boolean; + VpcId?: string; /** - *

                                          The instance types. For more information, see Instance types in the Amazon EC2 User Guide.

                                          + *

                                          Describes the type of network interface.

                                          + *

                                          Valid values: interface | efa | trunk + *

                                          */ - InstanceTypes?: (_InstanceType | string)[]; + InterfaceType?: string; +} +export namespace InstanceNetworkInterface { /** - *

                                          One or more filters. Filter names and values are case-sensitive.

                                          - *
                                            - *
                                          • - *

                                            - * auto-recovery-supported - Indicates whether auto recovery is supported - * (true | false).

                                            - *
                                          • - *
                                          • - *

                                            - * bare-metal - Indicates whether it is a bare metal instance type - * (true | false).

                                            - *
                                          • - *
                                          • - *

                                            - * burstable-performance-supported - Indicates whether it is a burstable - * performance instance type (true | false).

                                            - *
                                          • - *
                                          • - *

                                            - * current-generation - Indicates whether this instance type is the latest - * generation instance type of an instance family (true | false).

                                            - *
                                          • + * @internal + */ + export const filterSensitiveLog = (obj: InstanceNetworkInterface): any => ({ + ...obj, + }); +} + +export type InstanceStateName = "pending" | "running" | "shutting-down" | "stopped" | "stopping" | "terminated"; + +/** + *

                                            Describes the current state of an instance.

                                            + */ +export interface InstanceState { + /** + *

                                            The state of the instance as a 16-bit unsigned integer.

                                            + *

                                            The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values + * between 256 and 65,535. These numerical values are used for internal purposes and should + * be ignored.

                                            + *

                                            The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values + * between 0 and 255.

                                            + *

                                            The valid values for instance-state-code will all be in the range of the low byte and + * they are:

                                            + *
                                              *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline - * bandwidth performance for an EBS-optimized instance type, in Mbps.

                                              + *

                                              + * 0 : pending + *

                                              *
                                            • *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage - * operations per second for an EBS-optimized instance type.

                                              + *

                                              + * 16 : running + *

                                              *
                                            • *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline - * throughput performance for an EBS-optimized instance type, in MB/s.

                                              + *

                                              + * 32 : shutting-down + *

                                              *
                                            • *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth - * performance for an EBS-optimized instance type, in Mbps.

                                              + *

                                              + * 48 : terminated + *

                                              *
                                            • *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage - * operations per second for an EBS-optimized instance type.

                                              + *

                                              + * 64 : stopping + *

                                              *
                                            • *
                                            • - *

                                              - * ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum - * throughput performance for an EBS-optimized instance type, in MB/s.

                                              - *
                                            • - *
                                            • - *

                                              - * ebs-info.ebs-optimized-support - Indicates whether the instance type is - * EBS-optimized (supported | unsupported | - * default).

                                              - *
                                            • - *
                                            • - *

                                              - * ebs-info.encryption-support - Indicates whether EBS encryption is supported - * (supported | unsupported).

                                              - *
                                            • - *
                                            • - *

                                              - * ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) - * is supported for EBS volumes (required | supported | - * unsupported).

                                              - *
                                            • - *
                                            • - *

                                              - * free-tier-eligible - Indicates whether the instance type is eligible to use - * in the free tier (true | false).

                                              - *
                                            • - *
                                            • - *

                                              - * hibernation-supported - Indicates whether On-Demand hibernation is supported - * (true | false).

                                              - *
                                            • - *
                                            • - *

                                              - * hypervisor - The hypervisor (nitro | xen).

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-info.disk.count - The number of local disks.

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in - * GB.

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-info.disk.type - The storage technology for the local - * instance storage disks (hdd | ssd).

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-info.nvme-support - Indicates whether non-volatile memory - * express (NVMe) is supported for instance store (required | supported) - * | unsupported).

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-info.total-size-in-gb - The total amount of storage available from all local - * instance storage, in GB.

                                              - *
                                            • - *
                                            • - *

                                              - * instance-storage-supported - Indicates whether the instance type has local - * instance storage (true | false).

                                              - *
                                            • - *
                                            • - *

                                              - * instance-type - The instance type (for example c5.2xlarge or - * c5*).

                                              - *
                                            • - *
                                            • - *

                                              - * memory-info.size-in-mib - The memory size.

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic - * Fabric Adapters (EFAs) per instance.

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.efa-supported - Indicates whether the instance type supports - * Elastic Fabric Adapter (EFA) (true | false).

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is - * supported or required (required | supported | - * unsupported).

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per - * network interface.

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per - * network interface.

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.ipv6-supported - Indicates whether the instance type supports - * IPv6 (true | false).

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

                                              - *
                                            • - *
                                            • - *

                                              - * network-info.network-performance - The network performance (for example, "25 - * Gigabit").

                                              - *
                                            • - *
                                            • - *

                                              - * processor-info.supported-architecture - The CPU architecture - * (arm64 | i386 | x86_64).

                                              - *
                                            • - *
                                            • - *

                                              - * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

                                              - *
                                            • - *
                                            • - *

                                              - * supported-boot-mode - The boot mode (legacy-bios | - * uefi).

                                              - *
                                            • - *
                                            • - *

                                              - * supported-root-device-type - The root device type (ebs | - * instance-store).

                                              - *
                                            • - *
                                            • - *

                                              - * supported-usage-class - The usage class (on-demand | - * spot).

                                              - *
                                            • - *
                                            • - *

                                              - * supported-virtualization-type - The virtualization type (hvm | - * paravirtual).

                                              - *
                                            • - *
                                            • - *

                                              - * vcpu-info.default-cores - The default number of cores for the instance type.

                                              - *
                                            • - *
                                            • - *

                                              - * vcpu-info.default-threads-per-core - The default number of threads per core for the instance - * type.

                                              - *
                                            • - *
                                            • - *

                                              - * vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

                                              - *
                                            • - *
                                            • - *

                                              - * vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

                                              - *
                                            • - *
                                            • - *

                                              - * vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. - * For example, "1" or "1,2".

                                              + *

                                              + * 80 : stopped + *

                                              *
                                            • *
                                            + *

                                            You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in + * decimal.

                                            */ - Filters?: Filter[]; - - /** - *

                                            The maximum number of results to return for the request in a single page. The remaining results - * can be seen by sending another request with the next token value.

                                            - */ - MaxResults?: number; + Code?: number; /** - *

                                            The token to retrieve the next page of results.

                                            + *

                                            The current state of the instance.

                                            */ - NextToken?: string; + Name?: InstanceStateName | string; } -export namespace DescribeInstanceTypesRequest { +export namespace InstanceState { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeInstanceTypesRequest): any => ({ + export const filterSensitiveLog = (obj: InstanceState): any => ({ ...obj, }); } /** - *

                                            Describes the optimized EBS performance for supported instance types.

                                            + *

                                            Describes an instance.

                                            */ -export interface EbsOptimizedInfo { +export interface Instance { /** - *

                                            The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.

                                            + *

                                            The AMI launch index, which can be used to find this instance in the launch + * group.

                                            */ - BaselineBandwidthInMbps?: number; + AmiLaunchIndex?: number; /** - *

                                            The baseline throughput performance for an EBS-optimized instance type, in MB/s.

                                            + *

                                            The ID of the AMI used to launch the instance.

                                            */ - BaselineThroughputInMBps?: number; + ImageId?: string; /** - *

                                            The baseline input/output storage operations per seconds for an EBS-optimized instance type.

                                            + *

                                            The ID of the instance.

                                            */ - BaselineIops?: number; + InstanceId?: string; /** - *

                                            The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.

                                            + *

                                            The instance type.

                                            */ - MaximumBandwidthInMbps?: number; + InstanceType?: _InstanceType | string; /** - *

                                            The maximum throughput performance for an EBS-optimized instance type, in MB/s.

                                            + *

                                            The kernel associated with this instance, if applicable.

                                            */ - MaximumThroughputInMBps?: number; + KernelId?: string; /** - *

                                            The maximum input/output storage operations per second for an EBS-optimized instance type.

                                            + *

                                            The name of the key pair, if this instance was launched with an associated key + * pair.

                                            */ - MaximumIops?: number; -} + KeyName?: string; -export namespace EbsOptimizedInfo { /** - * @internal + *

                                            The time the instance was launched.

                                            */ - export const filterSensitiveLog = (obj: EbsOptimizedInfo): any => ({ - ...obj, - }); -} - -export type EbsOptimizedSupport = "default" | "supported" | "unsupported"; - -export type EbsEncryptionSupport = "supported" | "unsupported"; + LaunchTime?: Date; -export enum EbsNvmeSupport { - REQUIRED = "required", - SUPPORTED = "supported", - UNSUPPORTED = "unsupported", -} + /** + *

                                            The monitoring for the instance.

                                            + */ + Monitoring?: Monitoring; -/** - *

                                            Describes the Amazon EBS features supported by the instance type.

                                            - */ -export interface EbsInfo { /** - *

                                            Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized - * instances in Amazon EC2 User Guide.

                                            + *

                                            The location where the instance launched, if applicable.

                                            */ - EbsOptimizedSupport?: EbsOptimizedSupport | string; + Placement?: Placement; /** - *

                                            Indicates whether Amazon EBS encryption is supported.

                                            + *

                                            The value is Windows for Windows instances; otherwise blank.

                                            */ - EncryptionSupport?: EbsEncryptionSupport | string; + Platform?: PlatformValues | string; /** - *

                                            Describes the optimized EBS performance for the instance type.

                                            + *

                                            (IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname + * can only be used inside the Amazon EC2 network. This name is not available until the + * instance enters the running state.

                                            + *

                                            [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS + * hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not + * using the Amazon-provided DNS server in your VPC, your custom domain name servers must + * resolve the hostname as appropriate.

                                            */ - EbsOptimizedInfo?: EbsOptimizedInfo; + PrivateDnsName?: string; /** - *

                                            Indicates whether non-volatile memory express (NVMe) is supported.

                                            + *

                                            The private IPv4 address assigned to the instance.

                                            */ - NvmeSupport?: EbsNvmeSupport | string; -} + PrivateIpAddress?: string; -export namespace EbsInfo { /** - * @internal + *

                                            The product codes attached to this instance, if applicable.

                                            */ - export const filterSensitiveLog = (obj: EbsInfo): any => ({ - ...obj, - }); -} + ProductCodes?: ProductCode[]; -/** - *

                                            Describes the memory for the FPGA accelerator for the instance type.

                                            - */ -export interface FpgaDeviceMemoryInfo { /** - *

                                            The size of the memory available to the FPGA accelerator, in MiB.

                                            + *

                                            (IPv4 only) The public DNS name assigned to the instance. This name is not available + * until the instance enters the running state. For EC2-VPC, this name is only + * available if you've enabled DNS hostnames for your VPC.

                                            */ - SizeInMiB?: number; -} + PublicDnsName?: string; -export namespace FpgaDeviceMemoryInfo { /** - * @internal + *

                                            The public IPv4 address, or the Carrier IP address assigned to the instance, if + * applicable.

                                            + *

                                            A Carrier IP address only applies to an instance launched in a subnet associated with + * a Wavelength Zone.

                                            */ - export const filterSensitiveLog = (obj: FpgaDeviceMemoryInfo): any => ({ - ...obj, - }); -} + PublicIpAddress?: string; -/** - *

                                            Describes the FPGA accelerator for the instance type.

                                            - */ -export interface FpgaDeviceInfo { /** - *

                                            The name of the FPGA accelerator.

                                            + *

                                            The RAM disk associated with this instance, if applicable.

                                            */ - Name?: string; + RamdiskId?: string; /** - *

                                            The manufacturer of the FPGA accelerator.

                                            + *

                                            The current state of the instance.

                                            */ - Manufacturer?: string; + State?: InstanceState; /** - *

                                            The count of FPGA accelerators for the instance type.

                                            + *

                                            The reason for the most recent state transition. This might be an empty string.

                                            */ - Count?: number; + StateTransitionReason?: string; /** - *

                                            Describes the memory for the FPGA accelerator for the instance type.

                                            + *

                                            [EC2-VPC] The ID of the subnet in which the instance is running.

                                            */ - MemoryInfo?: FpgaDeviceMemoryInfo; -} + SubnetId?: string; -export namespace FpgaDeviceInfo { /** - * @internal + *

                                            [EC2-VPC] The ID of the VPC in which the instance is running.

                                            */ - export const filterSensitiveLog = (obj: FpgaDeviceInfo): any => ({ - ...obj, - }); -} + VpcId?: string; -/** - *

                                            Describes the FPGAs for the instance type.

                                            - */ -export interface FpgaInfo { /** - *

                                            Describes the FPGAs for the instance type.

                                            + *

                                            The architecture of the image.

                                            */ - Fpgas?: FpgaDeviceInfo[]; + Architecture?: ArchitectureValues | string; /** - *

                                            The total memory of all FPGA accelerators for the instance type.

                                            + *

                                            Any block device mapping entries for the instance.

                                            */ - TotalFpgaMemoryInMiB?: number; -} + BlockDeviceMappings?: InstanceBlockDeviceMapping[]; -export namespace FpgaInfo { /** - * @internal + *

                                            The idempotency token you provided when you launched the instance, if + * applicable.

                                            */ - export const filterSensitiveLog = (obj: FpgaInfo): any => ({ - ...obj, - }); -} + ClientToken?: string; -/** - *

                                            Describes the memory available to the GPU accelerator.

                                            - */ -export interface GpuDeviceMemoryInfo { /** - *

                                            The size of the memory available to the GPU accelerator, in MiB.

                                            + *

                                            Indicates whether the instance is optimized for Amazon EBS I/O. This optimization + * provides dedicated throughput to Amazon EBS and an optimized configuration stack to + * provide optimal I/O performance. This optimization isn't available with all instance + * types. Additional usage charges apply when using an EBS Optimized instance.

                                            */ - SizeInMiB?: number; -} + EbsOptimized?: boolean; -export namespace GpuDeviceMemoryInfo { /** - * @internal + *

                                            Specifies whether enhanced networking with ENA is enabled.

                                            */ - export const filterSensitiveLog = (obj: GpuDeviceMemoryInfo): any => ({ - ...obj, - }); -} + EnaSupport?: boolean; -/** - *

                                            Describes the GPU accelerators for the instance type.

                                            - */ -export interface GpuDeviceInfo { /** - *

                                            The name of the GPU accelerator.

                                            + *

                                            The hypervisor type of the instance. The value xen is used for both Xen and + * Nitro hypervisors.

                                            */ - Name?: string; + Hypervisor?: HypervisorType | string; /** - *

                                            The manufacturer of the GPU accelerator.

                                            + *

                                            The IAM instance profile associated with the instance, if applicable.

                                            */ - Manufacturer?: string; + IamInstanceProfile?: IamInstanceProfile; /** - *

                                            The number of GPUs for the instance type.

                                            + *

                                            Indicates whether this is a Spot Instance or a Scheduled Instance.

                                            */ - Count?: number; + InstanceLifecycle?: InstanceLifecycleType | string; /** - *

                                            Describes the memory available to the GPU accelerator.

                                            + *

                                            The Elastic GPU associated with the instance.

                                            */ - MemoryInfo?: GpuDeviceMemoryInfo; -} + ElasticGpuAssociations?: ElasticGpuAssociation[]; -export namespace GpuDeviceInfo { /** - * @internal + *

                                            The elastic inference accelerator associated with the instance.

                                            */ - export const filterSensitiveLog = (obj: GpuDeviceInfo): any => ({ - ...obj, - }); -} + ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[]; -/** - *

                                            Describes the GPU accelerators for the instance type.

                                            - */ -export interface GpuInfo { /** - *

                                            Describes the GPU accelerators for the instance type.

                                            + *

                                            [EC2-VPC] The network interfaces for the instance.

                                            */ - Gpus?: GpuDeviceInfo[]; + NetworkInterfaces?: InstanceNetworkInterface[]; /** - *

                                            The total size of the memory for the GPU accelerators for the instance type, in MiB.

                                            + *

                                            The Amazon Resource Name (ARN) of the Outpost.

                                            */ - TotalGpuMemoryInMiB?: number; -} + OutpostArn?: string; -export namespace GpuInfo { /** - * @internal + *

                                            The device name of the root device volume (for example, + * /dev/sda1).

                                            */ - export const filterSensitiveLog = (obj: GpuInfo): any => ({ - ...obj, - }); -} - -export enum InstanceTypeHypervisor { - NITRO = "nitro", - XEN = "xen", -} + RootDeviceName?: string; -/** - *

                                            Describes the Inference accelerators for the instance type.

                                            - */ -export interface InferenceDeviceInfo { /** - *

                                            The number of Inference accelerators for the instance type.

                                            + *

                                            The root device type used by the AMI. The AMI can use an EBS volume or an instance + * store volume.

                                            */ - Count?: number; + RootDeviceType?: DeviceType | string; /** - *

                                            The name of the Inference accelerator.

                                            + *

                                            The security groups for the instance.

                                            */ - Name?: string; + SecurityGroups?: GroupIdentifier[]; /** - *

                                            The manufacturer of the Inference accelerator.

                                            + *

                                            Indicates whether source/destination checking is enabled.

                                            */ - Manufacturer?: string; -} + SourceDestCheck?: boolean; -export namespace InferenceDeviceInfo { /** - * @internal + *

                                            If the request is a Spot Instance request, the ID of the request.

                                            */ - export const filterSensitiveLog = (obj: InferenceDeviceInfo): any => ({ - ...obj, - }); -} + SpotInstanceRequestId?: string; -/** - *

                                            Describes the Inference accelerators for the instance type.

                                            - */ -export interface InferenceAcceleratorInfo { /** - *

                                            Describes the Inference accelerators for the instance type.

                                            + *

                                            Specifies whether enhanced networking with the Intel 82599 Virtual Function interface + * is enabled.

                                            */ - Accelerators?: InferenceDeviceInfo[]; -} + SriovNetSupport?: string; -export namespace InferenceAcceleratorInfo { /** - * @internal + *

                                            The reason for the most recent state transition.

                                            */ - export const filterSensitiveLog = (obj: InferenceAcceleratorInfo): any => ({ - ...obj, - }); -} - -export type DiskType = "hdd" | "ssd"; + StateReason?: StateReason; -/** - *

                                            Describes the disk.

                                            - */ -export interface DiskInfo { /** - *

                                            The size of the disk in GB.

                                            + *

                                            Any tags assigned to the instance.

                                            */ - SizeInGB?: number; + Tags?: Tag[]; /** - *

                                            The number of disks with this configuration.

                                            + *

                                            The virtualization type of the instance.

                                            */ - Count?: number; + VirtualizationType?: VirtualizationType | string; /** - *

                                            The type of disk.

                                            + *

                                            The CPU options for the instance.

                                            */ - Type?: DiskType | string; -} + CpuOptions?: CpuOptions; -export namespace DiskInfo { /** - * @internal + *

                                            The ID of the Capacity Reservation.

                                            */ - export const filterSensitiveLog = (obj: DiskInfo): any => ({ - ...obj, - }); -} + CapacityReservationId?: string; -export enum EphemeralNvmeSupport { - REQUIRED = "required", - SUPPORTED = "supported", - UNSUPPORTED = "unsupported", -} + /** + *

                                            Information about the Capacity Reservation targeting option.

                                            + */ + CapacityReservationSpecification?: CapacityReservationSpecificationResponse; -/** - *

                                            Describes the disks that are available for the instance type.

                                            - */ -export interface InstanceStorageInfo { /** - *

                                            The total size of the disks, in GB.

                                            + *

                                            Indicates whether the instance is enabled for hibernation.

                                            */ - TotalSizeInGB?: number; + HibernationOptions?: HibernationOptions; /** - *

                                            Describes the disks that are available for the instance type.

                                            + *

                                            The license configurations.

                                            */ - Disks?: DiskInfo[]; + Licenses?: LicenseConfiguration[]; /** - *

                                            Indicates whether non-volatile memory express (NVMe) is supported for instance store.

                                            + *

                                            The metadata options for the instance.

                                            */ - NvmeSupport?: EphemeralNvmeSupport | string; -} + MetadataOptions?: InstanceMetadataOptionsResponse; -export namespace InstanceStorageInfo { /** - * @internal + *

                                            Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

                                            */ - export const filterSensitiveLog = (obj: InstanceStorageInfo): any => ({ - ...obj, - }); -} + EnclaveOptions?: EnclaveOptions; -/** - *

                                            Describes the memory for the instance type.

                                            - */ -export interface MemoryInfo { /** - *

                                            The size of the memory, in MiB.

                                            + *

                                            The boot mode of the instance. For more information, see Boot modes in the + * Amazon EC2 User Guide.

                                            */ - SizeInMiB?: number; + BootMode?: BootModeValues | string; } -export namespace MemoryInfo { +export namespace Instance { /** * @internal */ - export const filterSensitiveLog = (obj: MemoryInfo): any => ({ + export const filterSensitiveLog = (obj: Instance): any => ({ ...obj, }); } /** - *

                                            Describes the Elastic Fabric Adapters for the instance type.

                                            + *

                                            Describes a launch request for one or more instances, and includes + * owner, requester, and security group information that applies to all + * instances in the launch request.

                                            */ -export interface EfaInfo { +export interface Reservation { /** - *

                                            The maximum number of Elastic Fabric Adapters for the instance type.

                                            + *

                                            [EC2-Classic only] The security groups.

                                            */ - MaximumEfaInterfaces?: number; -} + Groups?: GroupIdentifier[]; -export namespace EfaInfo { /** - * @internal + *

                                            The instances.

                                            */ - export const filterSensitiveLog = (obj: EfaInfo): any => ({ - ...obj, - }); -} - -export type EnaSupport = "required" | "supported" | "unsupported"; + Instances?: Instance[]; -/** - *

                                            Describes the network card support of the instance type.

                                            - */ -export interface NetworkCardInfo { /** - *

                                            The index of the network card.

                                            + *

                                            The ID of the account that owns the reservation.

                                            */ - NetworkCardIndex?: number; + OwnerId?: string; /** - *

                                            The network performance of the network card.

                                            + *

                                            The ID of the requester that launched the instances on your behalf (for example, + * Management Console or Auto Scaling).

                                            */ - NetworkPerformance?: string; + RequesterId?: string; /** - *

                                            The maximum number of network interfaces for the network card.

                                            + *

                                            The ID of the reservation.

                                            */ - MaximumNetworkInterfaces?: number; + ReservationId?: string; } -export namespace NetworkCardInfo { +export namespace Reservation { /** * @internal */ - export const filterSensitiveLog = (obj: NetworkCardInfo): any => ({ + export const filterSensitiveLog = (obj: Reservation): any => ({ ...obj, }); } -/** - *

                                            Describes the networking features of the instance type.

                                            - */ -export interface NetworkInfo { - /** - *

                                            The network performance.

                                            - */ - NetworkPerformance?: string; - - /** - *

                                            The maximum number of network interfaces for the instance type.

                                            - */ - MaximumNetworkInterfaces?: number; - - /** - *

                                            The maximum number of physical network cards that can be allocated to the instance.

                                            - */ - MaximumNetworkCards?: number; - - /** - *

                                            The index of the default network card, starting at 0.

                                            - */ - DefaultNetworkCardIndex?: number; - - /** - *

                                            Describes the network cards for the instance type.

                                            - */ - NetworkCards?: NetworkCardInfo[]; - - /** - *

                                            The maximum number of IPv4 addresses per network interface.

                                            - */ - Ipv4AddressesPerInterface?: number; - - /** - *

                                            The maximum number of IPv6 addresses per network interface.

                                            - */ - Ipv6AddressesPerInterface?: number; - - /** - *

                                            Indicates whether IPv6 is supported.

                                            - */ - Ipv6Supported?: boolean; - - /** - *

                                            Indicates whether Elastic Network Adapter (ENA) is supported.

                                            - */ - EnaSupport?: EnaSupport | string; - +export interface DescribeInstancesResult { /** - *

                                            Indicates whether Elastic Fabric Adapter (EFA) is supported.

                                            + *

                                            Information about the reservations.

                                            */ - EfaSupported?: boolean; + Reservations?: Reservation[]; /** - *

                                            Describes the Elastic Fabric Adapters for the instance type.

                                            + *

                                            The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

                                            */ - EfaInfo?: EfaInfo; + NextToken?: string; } -export namespace NetworkInfo { +export namespace DescribeInstancesResult { /** * @internal */ - export const filterSensitiveLog = (obj: NetworkInfo): any => ({ + export const filterSensitiveLog = (obj: DescribeInstancesResult): any => ({ ...obj, }); } -export type PlacementGroupStrategy = "cluster" | "partition" | "spread"; - -/** - *

                                            Describes the placement group support of the instance type.

                                            - */ -export interface PlacementGroupInfo { +export interface DescribeInstanceStatusRequest { /** - *

                                            The supported placement group types.

                                            + *

                                            The filters.

                                            + *
                                              + *
                                            • + *

                                              + * availability-zone - The Availability Zone of the instance.

                                              + *
                                            • + *
                                            • + *

                                              + * event.code - The code for the scheduled event + * (instance-reboot | system-reboot | + * system-maintenance | instance-retirement | + * instance-stop).

                                              + *
                                            • + *
                                            • + *

                                              + * event.description - A description of the event.

                                              + *
                                            • + *
                                            • + *

                                              + * event.instance-event-id - The ID of the event whose date and time + * you are modifying.

                                              + *
                                            • + *
                                            • + *

                                              + * event.not-after - The latest end time for the scheduled event + * (for example, 2014-09-15T17:15:20.000Z).

                                              + *
                                            • + *
                                            • + *

                                              + * event.not-before - The earliest start time for the scheduled + * event (for example, 2014-09-15T17:15:20.000Z).

                                              + *
                                            • + *
                                            • + *

                                              + * event.not-before-deadline - The deadline for starting the event + * (for example, 2014-09-15T17:15:20.000Z).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-state-code - The code for the instance state, as a + * 16-bit unsigned integer. The high byte is used for internal purposes and should + * be ignored. The low byte is set based on the state represented. The valid values + * are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 + * (stopping), and 80 (stopped).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-state-name - The state of the instance + * (pending | running | shutting-down | + * terminated | stopping | + * stopped).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-status.reachability - Filters on instance status where + * the name is reachability (passed | failed + * | initializing | insufficient-data).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-status.status - The status of the instance + * (ok | impaired | initializing | + * insufficient-data | not-applicable).

                                              + *
                                            • + *
                                            • + *

                                              + * system-status.reachability - Filters on system status where the + * name is reachability (passed | failed | + * initializing | insufficient-data).

                                              + *
                                            • + *
                                            • + *

                                              + * system-status.status - The system status of the instance + * (ok | impaired | initializing | + * insufficient-data | not-applicable).

                                              + *
                                            • + *
                                            */ - SupportedStrategies?: (PlacementGroupStrategy | string)[]; -} + Filters?: Filter[]; -export namespace PlacementGroupInfo { /** - * @internal + *

                                            The instance IDs.

                                            + *

                                            Default: Describes all your instances.

                                            + *

                                            Constraints: Maximum 100 explicitly specified instance IDs.

                                            */ - export const filterSensitiveLog = (obj: PlacementGroupInfo): any => ({ - ...obj, - }); -} + InstanceIds?: string[]; -export type ArchitectureType = "arm64" | "i386" | "x86_64"; + /** + *

                                            The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value + * can be between 5 and 1000. You cannot specify this parameter and the instance IDs + * parameter in the same call.

                                            + */ + MaxResults?: number; -/** - *

                                            Describes the processor used by the instance type.

                                            - */ -export interface ProcessorInfo { /** - *

                                            The architectures supported by the instance type.

                                            + *

                                            The token to retrieve the next page of results.

                                            */ - SupportedArchitectures?: (ArchitectureType | string)[]; + NextToken?: string; /** - *

                                            The speed of the processor, in GHz.

                                            + *

                                            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.

                                            */ - SustainedClockSpeedInGhz?: number; + DryRun?: boolean; + + /** + *

                                            When true, includes the health status for all instances. When + * false, includes the health status for running instances only.

                                            + *

                                            Default: false + *

                                            + */ + IncludeAllInstances?: boolean; } -export namespace ProcessorInfo { +export namespace DescribeInstanceStatusRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ProcessorInfo): any => ({ + export const filterSensitiveLog = (obj: DescribeInstanceStatusRequest): any => ({ ...obj, }); } -export type BootModeType = "legacy-bios" | "uefi"; - -export type RootDeviceType = "ebs" | "instance-store"; - -export type UsageClassType = "on-demand" | "spot"; +export type EventCode = + | "instance-reboot" + | "instance-retirement" + | "instance-stop" + | "system-maintenance" + | "system-reboot"; /** - *

                                            Describes the vCPU configurations for the instance type.

                                            + *

                                            Describes a scheduled event for an instance.

                                            */ -export interface VCpuInfo { +export interface InstanceStatusEvent { /** - *

                                            The default number of vCPUs for the instance type.

                                            + *

                                            The ID of the event.

                                            */ - DefaultVCpus?: number; + InstanceEventId?: string; /** - *

                                            The default number of cores for the instance type.

                                            + *

                                            The event code.

                                            */ - DefaultCores?: number; + Code?: EventCode | string; /** - *

                                            The default number of threads per core for the instance type.

                                            + *

                                            A description of the event.

                                            + *

                                            After a scheduled event is completed, it can still be described for up to a week. If + * the event has been completed, this description starts with the following text: + * [Completed].

                                            */ - DefaultThreadsPerCore?: number; + Description?: string; /** - *

                                            The valid number of cores that can be configured for the instance type.

                                            + *

                                            The latest scheduled end time for the event.

                                            */ - ValidCores?: number[]; + NotAfter?: Date; /** - *

                                            The valid number of threads per core that can be configured for the instance type.

                                            + *

                                            The earliest scheduled start time for the event.

                                            */ - ValidThreadsPerCore?: number[]; + NotBefore?: Date; + + /** + *

                                            The deadline for starting the event.

                                            + */ + NotBeforeDeadline?: Date; } -export namespace VCpuInfo { +export namespace InstanceStatusEvent { /** * @internal */ - export const filterSensitiveLog = (obj: VCpuInfo): any => ({ + export const filterSensitiveLog = (obj: InstanceStatusEvent): any => ({ ...obj, }); } +export type StatusName = "reachability"; + +export type StatusType = "failed" | "initializing" | "insufficient-data" | "passed"; + /** - *

                                            Describes the instance type.

                                            + *

                                            Describes the instance status.

                                            */ -export interface InstanceTypeInfo { +export interface InstanceStatusDetails { /** - *

                                            The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                            + *

                                            The time when a status check failed. For an instance that was launched and impaired, + * this is the time when the instance was launched.

                                            */ - InstanceType?: _InstanceType | string; + ImpairedSince?: Date; /** - *

                                            Indicates whether the instance type is current generation.

                                            + *

                                            The type of instance status.

                                            */ - CurrentGeneration?: boolean; + Name?: StatusName | string; /** - *

                                            Indicates whether the instance type is eligible for the free tier.

                                            + *

                                            The status.

                                            */ - FreeTierEligible?: boolean; + Status?: StatusType | string; +} +export namespace InstanceStatusDetails { /** - *

                                            Indicates whether the instance type is offered for spot or On-Demand.

                                            + * @internal */ - SupportedUsageClasses?: (UsageClassType | string)[]; + export const filterSensitiveLog = (obj: InstanceStatusDetails): any => ({ + ...obj, + }); +} +export type SummaryStatus = "impaired" | "initializing" | "insufficient-data" | "not-applicable" | "ok"; + +/** + *

                                            Describes the status of an instance.

                                            + */ +export interface InstanceStatusSummary { /** - *

                                            The supported root device types.

                                            + *

                                            The system instance health or application instance health.

                                            */ - SupportedRootDeviceTypes?: (RootDeviceType | string)[]; + Details?: InstanceStatusDetails[]; /** - *

                                            The supported virtualization types.

                                            + *

                                            The status.

                                            */ - SupportedVirtualizationTypes?: (VirtualizationType | string)[]; + Status?: SummaryStatus | string; +} +export namespace InstanceStatusSummary { /** - *

                                            Indicates whether the instance is a bare metal instance type.

                                            + * @internal */ - BareMetal?: boolean; + export const filterSensitiveLog = (obj: InstanceStatusSummary): any => ({ + ...obj, + }); +} +/** + *

                                            Describes the status of an instance.

                                            + */ +export interface InstanceStatus { /** - *

                                            The hypervisor for the instance type.

                                            + *

                                            The Availability Zone of the instance.

                                            */ - Hypervisor?: InstanceTypeHypervisor | string; + AvailabilityZone?: string; /** - *

                                            Describes the processor.

                                            + *

                                            The Amazon Resource Name (ARN) of the Outpost.

                                            */ - ProcessorInfo?: ProcessorInfo; + OutpostArn?: string; /** - *

                                            Describes the vCPU configurations for the instance type.

                                            + *

                                            Any scheduled events associated with the instance.

                                            */ - VCpuInfo?: VCpuInfo; + Events?: InstanceStatusEvent[]; /** - *

                                            Describes the memory for the instance type.

                                            + *

                                            The ID of the instance.

                                            */ - MemoryInfo?: MemoryInfo; + InstanceId?: string; /** - *

                                            Indicates whether instance storage is supported.

                                            + *

                                            The intended state of the instance. DescribeInstanceStatus requires + * that an instance be in the running state.

                                            */ - InstanceStorageSupported?: boolean; + InstanceState?: InstanceState; /** - *

                                            Describes the instance storage for the instance type.

                                            + *

                                            Reports impaired functionality that stems from issues internal to the instance, such + * as impaired reachability.

                                            */ - InstanceStorageInfo?: InstanceStorageInfo; + InstanceStatus?: InstanceStatusSummary; /** - *

                                            Describes the Amazon EBS settings for the instance type.

                                            + *

                                            Reports impaired functionality that stems from issues related to the systems that + * support an instance, such as hardware failures and network connectivity problems.

                                            */ - EbsInfo?: EbsInfo; + SystemStatus?: InstanceStatusSummary; +} +export namespace InstanceStatus { /** - *

                                            Describes the network settings for the instance type.

                                            + * @internal */ - NetworkInfo?: NetworkInfo; + export const filterSensitiveLog = (obj: InstanceStatus): any => ({ + ...obj, + }); +} +export interface DescribeInstanceStatusResult { /** - *

                                            Describes the GPU accelerator settings for the instance type.

                                            + *

                                            Information about the status of the instances.

                                            */ - GpuInfo?: GpuInfo; + InstanceStatuses?: InstanceStatus[]; /** - *

                                            Describes the FPGA accelerator settings for the instance type.

                                            + *

                                            The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

                                            */ - FpgaInfo?: FpgaInfo; + NextToken?: string; +} +export namespace DescribeInstanceStatusResult { /** - *

                                            Describes the placement group settings for the instance type.

                                            + * @internal */ - PlacementGroupInfo?: PlacementGroupInfo; + export const filterSensitiveLog = (obj: DescribeInstanceStatusResult): any => ({ + ...obj, + }); +} + +export type LocationType = "availability-zone" | "availability-zone-id" | "region"; +export interface DescribeInstanceTypeOfferingsRequest { /** - *

                                            Describes the Inference accelerator settings for the instance type.

                                            + *

                                            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.

                                            */ - InferenceAcceleratorInfo?: InferenceAcceleratorInfo; + DryRun?: boolean; /** - *

                                            Indicates whether On-Demand hibernation is supported.

                                            + *

                                            The location type.

                                            */ - HibernationSupported?: boolean; + LocationType?: LocationType | string; /** - *

                                            Indicates whether the instance type is a burstable performance instance type.

                                            + *

                                            One or more filters. Filter names and values are case-sensitive.

                                            + *
                                              + *
                                            • + *

                                              + * location - This depends on the location type. For example, if the location type is + * region (default), the location is the Region code (for example, us-east-2.)

                                              + *
                                            • + *
                                            • + *

                                              + * instance-type - The instance type. For example, + * c5.2xlarge.

                                              + *
                                            • + *
                                            */ - BurstablePerformanceSupported?: boolean; + Filters?: Filter[]; /** - *

                                            Indicates whether Dedicated Hosts are supported on the instance type.

                                            + *

                                            The maximum number of results to return for the request in a single page. The remaining results + * can be seen by sending another request with the next token value.

                                            */ - DedicatedHostsSupported?: boolean; + MaxResults?: number; /** - *

                                            Indicates whether auto recovery is supported.

                                            - */ - AutoRecoverySupported?: boolean; - - /** - *

                                            The supported boot modes. For more information, see Boot modes in the - * Amazon EC2 User Guide.

                                            - */ - SupportedBootModes?: (BootModeType | string)[]; -} - -export namespace InstanceTypeInfo { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceTypeInfo): any => ({ - ...obj, - }); -} - -export interface DescribeInstanceTypesResult { - /** - *

                                            The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                            - */ - InstanceTypes?: InstanceTypeInfo[]; - - /** - *

                                            The token to use to retrieve the next page of results. This value is null when there - * are no more results to return.

                                            + *

                                            The token to retrieve the next page of results.

                                            */ NextToken?: string; } -export namespace DescribeInstanceTypesResult { +export namespace DescribeInstanceTypeOfferingsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeInstanceTypesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeInstanceTypeOfferingsRequest): any => ({ ...obj, }); } -export interface DescribeInternetGatewaysRequest { - /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * attachment.state - The current state of the attachment between the gateway - * and the VPC (available). Present only if a VPC is attached.

                                              - *
                                            • - *
                                            • - *

                                              - * attachment.vpc-id - The ID of an attached VPC.

                                              - *
                                            • - *
                                            • - *

                                              - * internet-gateway-id - The ID of the Internet gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * owner-id - The ID of the AWS account that owns the internet gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • - *
                                            • - *

                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • - *
                                            - */ - Filters?: Filter[]; - - /** - *

                                            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; - +/** + *

                                            The instance types offered.

                                            + */ +export interface InstanceTypeOffering { /** - *

                                            One or more internet gateway IDs.

                                            - *

                                            Default: Describes all your internet gateways.

                                            + *

                                            The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                            */ - InternetGatewayIds?: string[]; + InstanceType?: _InstanceType | string; /** - *

                                            The token for the next page of results.

                                            + *

                                            The location type.

                                            */ - NextToken?: string; + LocationType?: LocationType | string; /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            The identifier for the location. This depends on the location type. For example, if the location type is + * region, the location is the Region code (for example, us-east-2.)

                                            */ - MaxResults?: number; + Location?: string; } -export namespace DescribeInternetGatewaysRequest { +export namespace InstanceTypeOffering { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeInternetGatewaysRequest): any => ({ + export const filterSensitiveLog = (obj: InstanceTypeOffering): any => ({ ...obj, }); } -export interface DescribeInternetGatewaysResult { +export interface DescribeInstanceTypeOfferingsResult { /** - *

                                            Information about one or more internet gateways.

                                            + *

                                            The instance types offered.

                                            */ - InternetGateways?: InternetGateway[]; + InstanceTypeOfferings?: InstanceTypeOffering[]; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            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 DescribeInternetGatewaysResult { +export namespace DescribeInstanceTypeOfferingsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeInternetGatewaysResult): any => ({ + export const filterSensitiveLog = (obj: DescribeInstanceTypeOfferingsResult): any => ({ ...obj, }); } -export interface DescribeIpv6PoolsRequest { - /** - *

                                            The IDs of the IPv6 address pools.

                                            - */ - PoolIds?: string[]; - - /** - *

                                            The token for the next page of results.

                                            - */ - NextToken?: string; - - /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            - */ - MaxResults?: number; - +export interface DescribeInstanceTypesRequest { /** *

                                            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.

                                            + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                            */ DryRun?: boolean; /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • - *
                                            • - *

                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • - *
                                            - */ - Filters?: Filter[]; -} - -export namespace DescribeIpv6PoolsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeIpv6PoolsRequest): any => ({ - ...obj, - }); -} - -/** - *

                                            Describes a CIDR block for an address pool.

                                            - */ -export interface PoolCidrBlock { - /** - *

                                            The CIDR block.

                                            - */ - Cidr?: string; -} - -export namespace PoolCidrBlock { - /** - * @internal - */ - export const filterSensitiveLog = (obj: PoolCidrBlock): any => ({ - ...obj, - }); -} - -/** - *

                                            Describes an IPv6 address pool.

                                            - */ -export interface Ipv6Pool { - /** - *

                                            The ID of the address pool.

                                            - */ - PoolId?: string; - - /** - *

                                            The description for the address pool.

                                            - */ - Description?: string; - - /** - *

                                            The CIDR blocks for the address pool.

                                            - */ - PoolCidrBlocks?: PoolCidrBlock[]; - - /** - *

                                            Any tags for the address pool.

                                            - */ - Tags?: Tag[]; -} - -export namespace Ipv6Pool { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Ipv6Pool): any => ({ - ...obj, - }); -} - -export interface DescribeIpv6PoolsResult { - /** - *

                                            Information about the IPv6 address pools.

                                            - */ - Ipv6Pools?: Ipv6Pool[]; - - /** - *

                                            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 DescribeIpv6PoolsResult { - /** - * @internal + *

                                            The instance types. For more information, see Instance types in the Amazon EC2 User Guide.

                                            */ - export const filterSensitiveLog = (obj: DescribeIpv6PoolsResult): any => ({ - ...obj, - }); -} + InstanceTypes?: (_InstanceType | string)[]; -export interface DescribeKeyPairsRequest { /** - *

                                            The filters.

                                            + *

                                            One or more filters. Filter names and values are case-sensitive.

                                            *
                                              *
                                            • - *

                                              - * key-pair-id - The ID of the key pair.

                                              - *
                                            • + *

                                              + * auto-recovery-supported - Indicates whether auto recovery is supported + * (true | false).

                                              + * *
                                            • *

                                              - * fingerprint - The fingerprint of the key pair.

                                              + * bare-metal - Indicates whether it is a bare metal instance type + * (true | false).

                                              *
                                            • *
                                            • *

                                              - * key-name - The name of the key pair.

                                              + * burstable-performance-supported - Indicates whether it is a burstable + * performance instance type (true | false).

                                              *
                                            • *
                                            • - *

                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • + *

                                              + * current-generation - Indicates whether this instance type is the latest + * generation instance type of an instance family (true | false).

                                              + * *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline + * bandwidth performance for an EBS-optimized instance type, in Mbps.

                                              + * + *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage + * operations per second for an EBS-optimized instance type.

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline + * throughput performance for an EBS-optimized instance type, in MB/s.

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth + * performance for an EBS-optimized instance type, in Mbps.

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage + * operations per second for an EBS-optimized instance type.

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum + * throughput performance for an EBS-optimized instance type, in MB/s.

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.ebs-optimized-support - Indicates whether the instance type is + * EBS-optimized (supported | unsupported | + * default).

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.encryption-support - Indicates whether EBS encryption is supported + * (supported | unsupported).

                                              + *
                                            • + *
                                            • + *

                                              + * ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) + * is supported for EBS volumes (required | supported | + * unsupported).

                                              + *
                                            • + *
                                            • + *

                                              + * free-tier-eligible - Indicates whether the instance type is eligible to use + * in the free tier (true | false).

                                              + *
                                            • + *
                                            • + *

                                              + * hibernation-supported - Indicates whether On-Demand hibernation is supported + * (true | false).

                                              + *
                                            • + *
                                            • + *

                                              + * hypervisor - The hypervisor (nitro | xen).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-info.disk.count - The number of local disks.

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in + * GB.

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-info.disk.type - The storage technology for the local + * instance storage disks (hdd | ssd).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-info.nvme-support - Indicates whether non-volatile memory + * express (NVMe) is supported for instance store (required | supported) + * | unsupported).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-info.total-size-in-gb - The total amount of storage available from all local + * instance storage, in GB.

                                              + *
                                            • + *
                                            • + *

                                              + * instance-storage-supported - Indicates whether the instance type has local + * instance storage (true | false).

                                              + *
                                            • + *
                                            • + *

                                              + * instance-type - The instance type (for example c5.2xlarge or + * c5*).

                                              + *
                                            • + *
                                            • + *

                                              + * memory-info.size-in-mib - The memory size.

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic + * Fabric Adapters (EFAs) per instance.

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.efa-supported - Indicates whether the instance type supports + * Elastic Fabric Adapter (EFA) (true | false).

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is + * supported or required (required | supported | + * unsupported).

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per + * network interface.

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per + * network interface.

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.ipv6-supported - Indicates whether the instance type supports + * IPv6 (true | false).

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

                                              + *
                                            • + *
                                            • + *

                                              + * network-info.network-performance - The network performance (for example, "25 + * Gigabit").

                                              + *
                                            • + *
                                            • + *

                                              + * processor-info.supported-architecture - The CPU architecture + * (arm64 | i386 | x86_64).

                                              + *
                                            • + *
                                            • + *

                                              + * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

                                              + *
                                            • + *
                                            • + *

                                              + * supported-boot-mode - The boot mode (legacy-bios | + * uefi).

                                              + *
                                            • + *
                                            • + *

                                              + * supported-root-device-type - The root device type (ebs | + * instance-store).

                                              + *
                                            • + *
                                            • + *

                                              + * supported-usage-class - The usage class (on-demand | + * spot).

                                              + *
                                            • + *
                                            • + *

                                              + * supported-virtualization-type - The virtualization type (hvm | + * paravirtual).

                                              + *
                                            • + *
                                            • + *

                                              + * vcpu-info.default-cores - The default number of cores for the instance type.

                                              + *
                                            • + *
                                            • + *

                                              + * vcpu-info.default-threads-per-core - The default number of threads per core for the instance + * type.

                                              + *
                                            • + *
                                            • + *

                                              + * vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

                                              + *
                                            • + *
                                            • + *

                                              + * vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

                                              + *
                                            • + *
                                            • + *

                                              + * vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. + * For example, "1" or "1,2".

                                              + *
                                            • *
                                            */ Filters?: Filter[]; /** - *

                                            The key pair names.

                                            - *

                                            Default: Describes all of your key pairs.

                                            - */ - KeyNames?: string[]; - - /** - *

                                            The IDs of the key pairs.

                                            + *

                                            The maximum number of results to return for the request in a single page. The remaining results + * can be seen by sending another request with the next token value.

                                            */ - KeyPairIds?: string[]; + MaxResults?: number; /** - *

                                            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.

                                            + *

                                            The token to retrieve the next page of results.

                                            */ - DryRun?: boolean; + NextToken?: string; } -export namespace DescribeKeyPairsRequest { +export namespace DescribeInstanceTypesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeKeyPairsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeInstanceTypesRequest): any => ({ ...obj, }); } /** - *

                                            Describes a key pair.

                                            + *

                                            Describes the optimized EBS performance for supported instance types.

                                            */ -export interface KeyPairInfo { +export interface EbsOptimizedInfo { /** - *

                                            The ID of the key pair.

                                            + *

                                            The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.

                                            */ - KeyPairId?: string; + BaselineBandwidthInMbps?: number; /** - *

                                            If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. - * If you used ImportKeyPair to provide Amazon Web Services the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716.

                                            + *

                                            The baseline throughput performance for an EBS-optimized instance type, in MB/s.

                                            */ - KeyFingerprint?: string; + BaselineThroughputInMBps?: number; /** - *

                                            The name of the key pair.

                                            + *

                                            The baseline input/output storage operations per seconds for an EBS-optimized instance type.

                                            */ - KeyName?: string; + BaselineIops?: number; /** - *

                                            Any tags applied to the key pair.

                                            + *

                                            The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.

                                            */ - Tags?: Tag[]; -} + MaximumBandwidthInMbps?: number; -export namespace KeyPairInfo { /** - * @internal + *

                                            The maximum throughput performance for an EBS-optimized instance type, in MB/s.

                                            */ - export const filterSensitiveLog = (obj: KeyPairInfo): any => ({ - ...obj, - }); -} + MaximumThroughputInMBps?: number; -export interface DescribeKeyPairsResult { /** - *

                                            Information about the key pairs.

                                            + *

                                            The maximum input/output storage operations per second for an EBS-optimized instance type.

                                            */ - KeyPairs?: KeyPairInfo[]; + MaximumIops?: number; } -export namespace DescribeKeyPairsResult { +export namespace EbsOptimizedInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeKeyPairsResult): any => ({ + export const filterSensitiveLog = (obj: EbsOptimizedInfo): any => ({ ...obj, }); } -export interface DescribeLaunchTemplatesRequest { - /** - *

                                            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.

                                            +export type EbsOptimizedSupport = "default" | "supported" | "unsupported"; + +export type EbsEncryptionSupport = "supported" | "unsupported"; + +export enum EbsNvmeSupport { + REQUIRED = "required", + SUPPORTED = "supported", + UNSUPPORTED = "unsupported", +} + +/** + *

                                            Describes the Amazon EBS features supported by the instance type.

                                            + */ +export interface EbsInfo { + /** + *

                                            Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized + * instances in Amazon EC2 User Guide.

                                            */ - DryRun?: boolean; + EbsOptimizedSupport?: EbsOptimizedSupport | string; /** - *

                                            One or more launch template IDs.

                                            + *

                                            Indicates whether Amazon EBS encryption is supported.

                                            */ - LaunchTemplateIds?: string[]; + EncryptionSupport?: EbsEncryptionSupport | string; /** - *

                                            One or more launch template names.

                                            + *

                                            Describes the optimized EBS performance for the instance type.

                                            */ - LaunchTemplateNames?: string[]; + EbsOptimizedInfo?: EbsOptimizedInfo; /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * create-time - The time the launch template was created.

                                              - *
                                            • - *
                                            • - *

                                              - * launch-template-name - The name of the launch template.

                                              - *
                                            • - *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • - *
                                            • - *

                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • - *
                                            + *

                                            Indicates whether non-volatile memory express (NVMe) is supported.

                                            */ - Filters?: Filter[]; + NvmeSupport?: EbsNvmeSupport | string; +} +export namespace EbsInfo { /** - *

                                            The token to request the next page of results.

                                            + * @internal */ - NextToken?: string; + export const filterSensitiveLog = (obj: EbsInfo): any => ({ + ...obj, + }); +} +/** + *

                                            Describes the memory for the FPGA accelerator for the instance type.

                                            + */ +export interface FpgaDeviceMemoryInfo { /** - *

                                            The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value - * can be between 1 and 200.

                                            + *

                                            The size of the memory available to the FPGA accelerator, in MiB.

                                            */ - MaxResults?: number; + SizeInMiB?: number; } -export namespace DescribeLaunchTemplatesRequest { +export namespace FpgaDeviceMemoryInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLaunchTemplatesRequest): any => ({ + export const filterSensitiveLog = (obj: FpgaDeviceMemoryInfo): any => ({ ...obj, }); } -export interface DescribeLaunchTemplatesResult { +/** + *

                                            Describes the FPGA accelerator for the instance type.

                                            + */ +export interface FpgaDeviceInfo { /** - *

                                            Information about the launch templates.

                                            + *

                                            The name of the FPGA accelerator.

                                            */ - LaunchTemplates?: LaunchTemplate[]; + Name?: string; /** - *

                                            The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

                                            + *

                                            The manufacturer of the FPGA accelerator.

                                            */ - NextToken?: string; + Manufacturer?: string; + + /** + *

                                            The count of FPGA accelerators for the instance type.

                                            + */ + Count?: number; + + /** + *

                                            Describes the memory for the FPGA accelerator for the instance type.

                                            + */ + MemoryInfo?: FpgaDeviceMemoryInfo; } -export namespace DescribeLaunchTemplatesResult { +export namespace FpgaDeviceInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLaunchTemplatesResult): any => ({ + export const filterSensitiveLog = (obj: FpgaDeviceInfo): any => ({ ...obj, }); } -export interface DescribeLaunchTemplateVersionsRequest { +/** + *

                                            Describes the FPGAs for the instance type.

                                            + */ +export interface FpgaInfo { /** - *

                                            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.

                                            + *

                                            Describes the FPGAs for the instance type.

                                            */ - DryRun?: boolean; + Fpgas?: FpgaDeviceInfo[]; /** - *

                                            The ID of the launch template. To describe one or more versions of a specified launch - * template, you must specify either the launch template ID or the launch template name in - * the request. To describe all the latest or default launch template versions in your - * account, you must omit this parameter.

                                            + *

                                            The total memory of all FPGA accelerators for the instance type.

                                            */ - LaunchTemplateId?: string; + TotalFpgaMemoryInMiB?: number; +} +export namespace FpgaInfo { /** - *

                                            The name of the launch template. To describe one or more versions of a specified - * launch template, you must specify either the launch template ID or the launch template - * name in the request. To describe all the latest or default launch template versions in - * your account, you must omit this parameter.

                                            + * @internal */ - LaunchTemplateName?: string; + export const filterSensitiveLog = (obj: FpgaInfo): any => ({ + ...obj, + }); +} +/** + *

                                            Describes the memory available to the GPU accelerator.

                                            + */ +export interface GpuDeviceMemoryInfo { /** - *

                                            One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.

                                            - *

                                            To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers.

                                            - *

                                            To describe all launch templates in your account that are defined as the latest - * version, the valid value is $Latest. To describe all launch templates in - * your account that are defined as the default version, the valid value is - * $Default. You can specify $Latest and - * $Default in the same call. You cannot specify numbers.

                                            + *

                                            The size of the memory available to the GPU accelerator, in MiB.

                                            */ - Versions?: string[]; + SizeInMiB?: number; +} +export namespace GpuDeviceMemoryInfo { /** - *

                                            The version number after which to describe launch template versions.

                                            + * @internal */ - MinVersion?: string; + export const filterSensitiveLog = (obj: GpuDeviceMemoryInfo): any => ({ + ...obj, + }); +} +/** + *

                                            Describes the GPU accelerators for the instance type.

                                            + */ +export interface GpuDeviceInfo { /** - *

                                            The version number up to which to describe launch template versions.

                                            + *

                                            The name of the GPU accelerator.

                                            */ - MaxVersion?: string; + Name?: string; /** - *

                                            The token to request the next page of results.

                                            + *

                                            The manufacturer of the GPU accelerator.

                                            */ - NextToken?: string; + Manufacturer?: string; /** - *

                                            The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value - * can be between 1 and 200.

                                            + *

                                            The number of GPUs for the instance type.

                                            */ - MaxResults?: number; + Count?: number; /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * create-time - The time the launch template version was created.

                                              - *
                                            • - *
                                            • - *

                                              - * ebs-optimized - A boolean that indicates whether the instance - * is optimized for Amazon EBS I/O.

                                              - *
                                            • - *
                                            • - *

                                              - * iam-instance-profile - The ARN of the IAM instance - * profile.

                                              - *
                                            • - *
                                            • - *

                                              - * image-id - The ID of the AMI.

                                              - *
                                            • - *
                                            • - *

                                              - * instance-type - The instance type.

                                              - *
                                            • - *
                                            • - *

                                              - * is-default-version - A boolean that indicates whether the - * launch template version is the default version.

                                              - *
                                            • - *
                                            • - *

                                              - * kernel-id - The kernel ID.

                                              - *
                                            • - *
                                            • - *

                                              - * ram-disk-id - The RAM disk ID.

                                              - *
                                            • - *
                                            + *

                                            Describes the memory available to the GPU accelerator.

                                            */ - Filters?: Filter[]; + MemoryInfo?: GpuDeviceMemoryInfo; } -export namespace DescribeLaunchTemplateVersionsRequest { +export namespace GpuDeviceInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLaunchTemplateVersionsRequest): any => ({ + export const filterSensitiveLog = (obj: GpuDeviceInfo): any => ({ ...obj, }); } -export interface DescribeLaunchTemplateVersionsResult { +/** + *

                                            Describes the GPU accelerators for the instance type.

                                            + */ +export interface GpuInfo { /** - *

                                            Information about the launch template versions.

                                            + *

                                            Describes the GPU accelerators for the instance type.

                                            */ - LaunchTemplateVersions?: LaunchTemplateVersion[]; + Gpus?: GpuDeviceInfo[]; /** - *

                                            The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

                                            + *

                                            The total size of the memory for the GPU accelerators for the instance type, in MiB.

                                            */ - NextToken?: string; + TotalGpuMemoryInMiB?: number; } -export namespace DescribeLaunchTemplateVersionsResult { +export namespace GpuInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLaunchTemplateVersionsResult): any => ({ + export const filterSensitiveLog = (obj: GpuInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayRouteTablesRequest { +export enum InstanceTypeHypervisor { + NITRO = "nitro", + XEN = "xen", +} + +/** + *

                                            Describes the Inference accelerators for the instance type.

                                            + */ +export interface InferenceDeviceInfo { /** - *

                                            The IDs of the local gateway route tables.

                                            + *

                                            The number of Inference accelerators for the instance type.

                                            */ - LocalGatewayRouteTableIds?: string[]; + Count?: number; /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * local-gateway-id - The ID of a local gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-id - The ID of a local gateway route table.

                                              - *
                                            • - *
                                            • - *

                                              - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                              - *
                                            • - *
                                            • - *

                                              - * state - The state of the local gateway route table.

                                              - *
                                            • - *
                                            + *

                                            The name of the Inference accelerator.

                                            */ - Filters?: Filter[]; + Name?: string; /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            The manufacturer of the Inference accelerator.

                                            */ - MaxResults?: number; + Manufacturer?: string; +} +export namespace InferenceDeviceInfo { /** - *

                                            The token for the next page of results.

                                            + * @internal */ - NextToken?: string; + export const filterSensitiveLog = (obj: InferenceDeviceInfo): any => ({ + ...obj, + }); +} +/** + *

                                            Describes the Inference accelerators for the instance type.

                                            + */ +export interface InferenceAcceleratorInfo { /** - *

                                            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.

                                            + *

                                            Describes the Inference accelerators for the instance type.

                                            */ - DryRun?: boolean; + Accelerators?: InferenceDeviceInfo[]; } -export namespace DescribeLocalGatewayRouteTablesRequest { +export namespace InferenceAcceleratorInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTablesRequest): any => ({ + export const filterSensitiveLog = (obj: InferenceAcceleratorInfo): any => ({ ...obj, }); } +export type DiskType = "hdd" | "ssd"; + /** - *

                                            Describes a local gateway route table.

                                            + *

                                            Describes the disk.

                                            */ -export interface LocalGatewayRouteTable { +export interface DiskInfo { /** - *

                                            The ID of the local gateway route table.

                                            + *

                                            The size of the disk in GB.

                                            */ - LocalGatewayRouteTableId?: string; + SizeInGB?: number; /** - *

                                            The Amazon Resource Name (ARN) of the local gateway route table.

                                            + *

                                            The number of disks with this configuration.

                                            */ - LocalGatewayRouteTableArn?: string; + Count?: number; /** - *

                                            The ID of the local gateway.

                                            + *

                                            The type of disk.

                                            */ - LocalGatewayId?: string; + Type?: DiskType | string; +} +export namespace DiskInfo { /** - *

                                            The Amazon Resource Name (ARN) of the Outpost.

                                            + * @internal */ - OutpostArn?: string; + export const filterSensitiveLog = (obj: DiskInfo): any => ({ + ...obj, + }); +} + +export enum EphemeralNvmeSupport { + REQUIRED = "required", + SUPPORTED = "supported", + UNSUPPORTED = "unsupported", +} +/** + *

                                            Describes the disks that are available for the instance type.

                                            + */ +export interface InstanceStorageInfo { /** - *

                                            The AWS account ID that owns the local gateway route table.

                                            + *

                                            The total size of the disks, in GB.

                                            */ - OwnerId?: string; + TotalSizeInGB?: number; /** - *

                                            The state of the local gateway route table.

                                            + *

                                            Describes the disks that are available for the instance type.

                                            */ - State?: string; + Disks?: DiskInfo[]; /** - *

                                            The tags assigned to the local gateway route table.

                                            + *

                                            Indicates whether non-volatile memory express (NVMe) is supported for instance store.

                                            */ - Tags?: Tag[]; + NvmeSupport?: EphemeralNvmeSupport | string; } -export namespace LocalGatewayRouteTable { +export namespace InstanceStorageInfo { /** * @internal */ - export const filterSensitiveLog = (obj: LocalGatewayRouteTable): any => ({ + export const filterSensitiveLog = (obj: InstanceStorageInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayRouteTablesResult { - /** - *

                                            Information about the local gateway route tables.

                                            - */ - LocalGatewayRouteTables?: LocalGatewayRouteTable[]; - +/** + *

                                            Describes the memory for the instance type.

                                            + */ +export interface MemoryInfo { /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            The size of the memory, in MiB.

                                            */ - NextToken?: string; + SizeInMiB?: number; } -export namespace DescribeLocalGatewayRouteTablesResult { +export namespace MemoryInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTablesResult): any => ({ + export const filterSensitiveLog = (obj: MemoryInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { +/** + *

                                            Describes the Elastic Fabric Adapters for the instance type.

                                            + */ +export interface EfaInfo { /** - *

                                            The IDs of the associations.

                                            + *

                                            The maximum number of Elastic Fabric Adapters for the instance type.

                                            */ - LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds?: string[]; + MaximumEfaInterfaces?: number; +} +export namespace EfaInfo { /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * local-gateway-id - The ID of a local gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-id - The ID of the local gateway route table.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

                                              - *
                                            • - *
                                            • - *

                                              - * state - The state of the association.

                                              - *
                                            • - *
                                            + * @internal */ - Filters?: Filter[]; + export const filterSensitiveLog = (obj: EfaInfo): any => ({ + ...obj, + }); +} + +export type EnaSupport = "required" | "supported" | "unsupported"; +/** + *

                                            Describes the network card support of the instance type.

                                            + */ +export interface NetworkCardInfo { /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            The index of the network card.

                                            */ - MaxResults?: number; + NetworkCardIndex?: number; /** - *

                                            The token for the next page of results.

                                            + *

                                            The network performance of the network card.

                                            */ - NextToken?: string; + NetworkPerformance?: string; /** - *

                                            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.

                                            + *

                                            The maximum number of network interfaces for the network card.

                                            */ - DryRun?: boolean; + MaximumNetworkInterfaces?: number; } -export namespace DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { +export namespace NetworkCardInfo { /** * @internal */ - export const filterSensitiveLog = ( - obj: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest - ): any => ({ + export const filterSensitiveLog = (obj: NetworkCardInfo): any => ({ ...obj, }); } /** - *

                                            Describes an association between a local gateway route table and a virtual interface group.

                                            + *

                                            Describes the networking features of the instance type.

                                            */ -export interface LocalGatewayRouteTableVirtualInterfaceGroupAssociation { +export interface NetworkInfo { /** - *

                                            The ID of the association.

                                            + *

                                            The network performance.

                                            */ - LocalGatewayRouteTableVirtualInterfaceGroupAssociationId?: string; + NetworkPerformance?: string; /** - *

                                            The ID of the virtual interface group.

                                            + *

                                            The maximum number of network interfaces for the instance type.

                                            */ - LocalGatewayVirtualInterfaceGroupId?: string; + MaximumNetworkInterfaces?: number; /** - *

                                            The ID of the local gateway.

                                            + *

                                            The maximum number of physical network cards that can be allocated to the instance.

                                            */ - LocalGatewayId?: string; + MaximumNetworkCards?: number; /** - *

                                            The ID of the local gateway route table.

                                            + *

                                            The index of the default network card, starting at 0.

                                            */ - LocalGatewayRouteTableId?: string; + DefaultNetworkCardIndex?: number; /** - *

                                            The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group.

                                            + *

                                            Describes the network cards for the instance type.

                                            */ - LocalGatewayRouteTableArn?: string; + NetworkCards?: NetworkCardInfo[]; /** - *

                                            The AWS account ID that owns the local gateway virtual interface group association.

                                            + *

                                            The maximum number of IPv4 addresses per network interface.

                                            */ - OwnerId?: string; + Ipv4AddressesPerInterface?: number; /** - *

                                            The state of the association.

                                            + *

                                            The maximum number of IPv6 addresses per network interface.

                                            */ - State?: string; + Ipv6AddressesPerInterface?: number; /** - *

                                            The tags assigned to the association.

                                            + *

                                            Indicates whether IPv6 is supported.

                                            */ - Tags?: Tag[]; -} + Ipv6Supported?: boolean; -export namespace LocalGatewayRouteTableVirtualInterfaceGroupAssociation { /** - * @internal + *

                                            Indicates whether Elastic Network Adapter (ENA) is supported.

                                            */ - export const filterSensitiveLog = (obj: LocalGatewayRouteTableVirtualInterfaceGroupAssociation): any => ({ - ...obj, - }); -} + EnaSupport?: EnaSupport | string; -export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { /** - *

                                            Information about the associations.

                                            + *

                                            Indicates whether Elastic Fabric Adapter (EFA) is supported.

                                            */ - LocalGatewayRouteTableVirtualInterfaceGroupAssociations?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation[]; + EfaSupported?: boolean; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            Describes the Elastic Fabric Adapters for the instance type.

                                            */ - NextToken?: string; + EfaInfo?: EfaInfo; } -export namespace DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { +export namespace NetworkInfo { /** * @internal */ - export const filterSensitiveLog = ( - obj: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult - ): any => ({ + export const filterSensitiveLog = (obj: NetworkInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest { - /** - *

                                            The IDs of the associations.

                                            - */ - LocalGatewayRouteTableVpcAssociationIds?: string[]; +export type PlacementGroupStrategy = "cluster" | "partition" | "spread"; +/** + *

                                            Describes the placement group support of the instance type.

                                            + */ +export interface PlacementGroupInfo { /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * local-gateway-id - The ID of a local gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-id - The ID of the local gateway route table.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-vpc-association-id - The ID of the association.

                                              - *
                                            • - *
                                            • - *

                                              - * state - The state of the association.

                                              - *
                                            • - *
                                            • - *

                                              - * vpc-id - The ID of the VPC.

                                              - *
                                            • - *
                                            - */ - Filters?: Filter[]; - - /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            - */ - MaxResults?: number; - - /** - *

                                            The token for the next page of results.

                                            - */ - NextToken?: string; - - /** - *

                                            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.

                                            + *

                                            The supported placement group types.

                                            */ - DryRun?: boolean; + SupportedStrategies?: (PlacementGroupStrategy | string)[]; } -export namespace DescribeLocalGatewayRouteTableVpcAssociationsRequest { +export namespace PlacementGroupInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTableVpcAssociationsRequest): any => ({ + export const filterSensitiveLog = (obj: PlacementGroupInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayRouteTableVpcAssociationsResult { +export type ArchitectureType = "arm64" | "i386" | "x86_64"; + +/** + *

                                            Describes the processor used by the instance type.

                                            + */ +export interface ProcessorInfo { /** - *

                                            Information about the associations.

                                            + *

                                            The architectures supported by the instance type.

                                            */ - LocalGatewayRouteTableVpcAssociations?: LocalGatewayRouteTableVpcAssociation[]; + SupportedArchitectures?: (ArchitectureType | string)[]; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            The speed of the processor, in GHz.

                                            */ - NextToken?: string; + SustainedClockSpeedInGhz?: number; } -export namespace DescribeLocalGatewayRouteTableVpcAssociationsResult { +export namespace ProcessorInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTableVpcAssociationsResult): any => ({ + export const filterSensitiveLog = (obj: ProcessorInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewaysRequest { +export type BootModeType = "legacy-bios" | "uefi"; + +export type RootDeviceType = "ebs" | "instance-store"; + +export type UsageClassType = "on-demand" | "spot"; + +/** + *

                                            Describes the vCPU configurations for the instance type.

                                            + */ +export interface VCpuInfo { /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * local-gateway-id - The ID of a local gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-id - The ID of the local gateway route table.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

                                              - *
                                            • - *
                                            • - *

                                              - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                              - *
                                            • - *
                                            • - *

                                              - * state - The state of the association.

                                              - *
                                            • - *
                                            + *

                                            The default number of vCPUs for the instance type.

                                            */ - LocalGatewayIds?: string[]; + DefaultVCpus?: number; /** - *

                                            One or more filters.

                                            + *

                                            The default number of cores for the instance type.

                                            */ - Filters?: Filter[]; + DefaultCores?: number; /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            The default number of threads per core for the instance type.

                                            */ - MaxResults?: number; + DefaultThreadsPerCore?: number; /** - *

                                            The token for the next page of results.

                                            + *

                                            The valid number of cores that can be configured for the instance type.

                                            */ - NextToken?: string; + ValidCores?: number[]; /** - *

                                            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.

                                            + *

                                            The valid number of threads per core that can be configured for the instance type.

                                            */ - DryRun?: boolean; + ValidThreadsPerCore?: number[]; } -export namespace DescribeLocalGatewaysRequest { +export namespace VCpuInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewaysRequest): any => ({ + export const filterSensitiveLog = (obj: VCpuInfo): any => ({ ...obj, }); } /** - *

                                            Describes a local gateway.

                                            + *

                                            Describes the instance type.

                                            */ -export interface LocalGateway { +export interface InstanceTypeInfo { /** - *

                                            The ID of the local gateway.

                                            + *

                                            The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                            */ - LocalGatewayId?: string; + InstanceType?: _InstanceType | string; /** - *

                                            The Amazon Resource Name (ARN) of the Outpost.

                                            + *

                                            Indicates whether the instance type is current generation.

                                            */ - OutpostArn?: string; + CurrentGeneration?: boolean; /** - *

                                            The AWS account ID that owns the local gateway.

                                            + *

                                            Indicates whether the instance type is eligible for the free tier.

                                            */ - OwnerId?: string; + FreeTierEligible?: boolean; /** - *

                                            The state of the local gateway.

                                            + *

                                            Indicates whether the instance type is offered for spot or On-Demand.

                                            */ - State?: string; + SupportedUsageClasses?: (UsageClassType | string)[]; /** - *

                                            The tags assigned to the local gateway.

                                            + *

                                            The supported root device types.

                                            */ - Tags?: Tag[]; -} + SupportedRootDeviceTypes?: (RootDeviceType | string)[]; -export namespace LocalGateway { /** - * @internal + *

                                            The supported virtualization types.

                                            */ - export const filterSensitiveLog = (obj: LocalGateway): any => ({ - ...obj, - }); -} + SupportedVirtualizationTypes?: (VirtualizationType | string)[]; -export interface DescribeLocalGatewaysResult { /** - *

                                            Information about the local gateways.

                                            + *

                                            Indicates whether the instance is a bare metal instance type.

                                            */ - LocalGateways?: LocalGateway[]; + BareMetal?: boolean; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            The hypervisor for the instance type.

                                            */ - NextToken?: string; -} + Hypervisor?: InstanceTypeHypervisor | string; -export namespace DescribeLocalGatewaysResult { /** - * @internal + *

                                            Describes the processor.

                                            */ - export const filterSensitiveLog = (obj: DescribeLocalGatewaysResult): any => ({ - ...obj, - }); -} + ProcessorInfo?: ProcessorInfo; -export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** - *

                                            The IDs of the virtual interface groups.

                                            + *

                                            Describes the vCPU configurations for the instance type.

                                            */ - LocalGatewayVirtualInterfaceGroupIds?: string[]; + VCpuInfo?: VCpuInfo; /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * local-gateway-id - The ID of a local gateway.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-virtual-interface-id - The ID of the virtual interface.

                                              - *
                                            • - *
                                            • - *

                                              - * local-gateway-virtual-interface-group-id - The ID of the virtual interface group.

                                              - *
                                            • - *
                                            + *

                                            Describes the memory for the instance type.

                                            */ - Filters?: Filter[]; + MemoryInfo?: MemoryInfo; /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            Indicates whether instance storage is supported.

                                            */ - MaxResults?: number; + InstanceStorageSupported?: boolean; /** - *

                                            The token for the next page of results.

                                            + *

                                            Describes the instance storage for the instance type.

                                            */ - NextToken?: string; + InstanceStorageInfo?: InstanceStorageInfo; /** - *

                                            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.

                                            + *

                                            Describes the Amazon EBS settings for the instance type.

                                            */ - DryRun?: boolean; -} + EbsInfo?: EbsInfo; -export namespace DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** - * @internal + *

                                            Describes the network settings for the instance type.

                                            */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest): any => ({ - ...obj, - }); -} + NetworkInfo?: NetworkInfo; -/** - *

                                            Describes a local gateway virtual interface group.

                                            - */ -export interface LocalGatewayVirtualInterfaceGroup { /** - *

                                            The ID of the virtual interface group.

                                            + *

                                            Describes the GPU accelerator settings for the instance type.

                                            */ - LocalGatewayVirtualInterfaceGroupId?: string; + GpuInfo?: GpuInfo; /** - *

                                            The IDs of the virtual interfaces.

                                            + *

                                            Describes the FPGA accelerator settings for the instance type.

                                            */ - LocalGatewayVirtualInterfaceIds?: string[]; + FpgaInfo?: FpgaInfo; /** - *

                                            The ID of the local gateway.

                                            + *

                                            Describes the placement group settings for the instance type.

                                            */ - LocalGatewayId?: string; + PlacementGroupInfo?: PlacementGroupInfo; /** - *

                                            The AWS account ID that owns the local gateway virtual interface group.

                                            + *

                                            Describes the Inference accelerator settings for the instance type.

                                            */ - OwnerId?: string; + InferenceAcceleratorInfo?: InferenceAcceleratorInfo; /** - *

                                            The tags assigned to the virtual interface group.

                                            + *

                                            Indicates whether On-Demand hibernation is supported.

                                            */ - Tags?: Tag[]; -} + HibernationSupported?: boolean; -export namespace LocalGatewayVirtualInterfaceGroup { /** - * @internal + *

                                            Indicates whether the instance type is a burstable performance instance type.

                                            */ - export const filterSensitiveLog = (obj: LocalGatewayVirtualInterfaceGroup): any => ({ - ...obj, - }); -} + BurstablePerformanceSupported?: boolean; -export interface DescribeLocalGatewayVirtualInterfaceGroupsResult { /** - *

                                            The virtual interface groups.

                                            + *

                                            Indicates whether Dedicated Hosts are supported on the instance type.

                                            */ - LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[]; + DedicatedHostsSupported?: boolean; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            Indicates whether auto recovery is supported.

                                            */ - NextToken?: string; + AutoRecoverySupported?: boolean; + + /** + *

                                            The supported boot modes. For more information, see Boot modes in the + * Amazon EC2 User Guide.

                                            + */ + SupportedBootModes?: (BootModeType | string)[]; } -export namespace DescribeLocalGatewayVirtualInterfaceGroupsResult { +export namespace InstanceTypeInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult): any => ({ + export const filterSensitiveLog = (obj: InstanceTypeInfo): any => ({ ...obj, }); } -export interface DescribeLocalGatewayVirtualInterfacesRequest { - /** - *

                                            The IDs of the virtual interfaces.

                                            - */ - LocalGatewayVirtualInterfaceIds?: string[]; - - /** - *

                                            One or more filters.

                                            - */ - Filters?: Filter[]; - +export interface DescribeInstanceTypesResult { /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

                                            */ - MaxResults?: number; + InstanceTypes?: InstanceTypeInfo[]; /** - *

                                            The token for the next page of results.

                                            + *

                                            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; - - /** - *

                                            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; } -export namespace DescribeLocalGatewayVirtualInterfacesRequest { +export namespace DescribeInstanceTypesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfacesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeInstanceTypesResult): any => ({ ...obj, }); } -/** - *

                                            Describes a local gateway virtual interface.

                                            - */ -export interface LocalGatewayVirtualInterface { - /** - *

                                            The ID of the virtual interface.

                                            - */ - LocalGatewayVirtualInterfaceId?: string; - +export interface DescribeInternetGatewaysRequest { /** - *

                                            The ID of the local gateway.

                                            + *

                                            One or more filters.

                                            + *
                                              + *
                                            • + *

                                              + * attachment.state - The current state of the attachment between the gateway + * and the VPC (available). Present only if a VPC is attached.

                                              + *
                                            • + *
                                            • + *

                                              + * attachment.vpc-id - The ID of an attached VPC.

                                              + *
                                            • + *
                                            • + *

                                              + * internet-gateway-id - The ID of the Internet gateway.

                                              + *
                                            • + *
                                            • + *

                                              + * owner-id - The ID of the AWS account that owns the internet gateway.

                                              + *
                                            • + *
                                            • + *

                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              + *
                                            • + *
                                            • + *

                                              + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              + *
                                            • + *
                                            */ - LocalGatewayId?: string; + Filters?: Filter[]; /** - *

                                            The ID of the VLAN.

                                            + *

                                            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.

                                            */ - Vlan?: number; + DryRun?: boolean; /** - *

                                            The local address.

                                            + *

                                            One or more internet gateway IDs.

                                            + *

                                            Default: Describes all your internet gateways.

                                            */ - LocalAddress?: string; + InternetGatewayIds?: string[]; /** - *

                                            The peer address.

                                            + *

                                            The token for the next page of results.

                                            */ - PeerAddress?: string; + NextToken?: string; /** - *

                                            The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

                                            + *

                                            The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                            */ - LocalBgpAsn?: number; + MaxResults?: number; +} +export namespace DescribeInternetGatewaysRequest { /** - *

                                            The peer BGP ASN.

                                            + * @internal */ - PeerBgpAsn?: number; + export const filterSensitiveLog = (obj: DescribeInternetGatewaysRequest): any => ({ + ...obj, + }); +} +export interface DescribeInternetGatewaysResult { /** - *

                                            The AWS account ID that owns the local gateway virtual interface.

                                            + *

                                            Information about one or more internet gateways.

                                            */ - OwnerId?: string; + InternetGateways?: InternetGateway[]; /** - *

                                            The tags assigned to the virtual interface.

                                            + *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            */ - Tags?: Tag[]; + NextToken?: string; } -export namespace LocalGatewayVirtualInterface { +export namespace DescribeInternetGatewaysResult { /** * @internal */ - export const filterSensitiveLog = (obj: LocalGatewayVirtualInterface): any => ({ + export const filterSensitiveLog = (obj: DescribeInternetGatewaysResult): any => ({ ...obj, }); } -export interface DescribeLocalGatewayVirtualInterfacesResult { +export interface DescribeIpv6PoolsRequest { /** - *

                                            Information about the virtual interfaces.

                                            + *

                                            The IDs of the IPv6 address pools.

                                            */ - LocalGatewayVirtualInterfaces?: LocalGatewayVirtualInterface[]; + PoolIds?: string[]; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            The token for the next page of results.

                                            */ NextToken?: string; -} -export namespace DescribeLocalGatewayVirtualInterfacesResult { /** - * @internal + *

                                            The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                            */ - export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfacesResult): any => ({ - ...obj, - }); -} + MaxResults?: number; -export interface DescribeManagedPrefixListsRequest { /** *

                                            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. @@ -2584,148 +2338,86 @@ export interface DescribeManagedPrefixListsRequest { *

                                            One or more filters.

                                            *
                                              *
                                            • - *

                                              - * owner-id - The ID of the prefix list owner.

                                              - *
                                            • - *
                                            • - *

                                              - * prefix-list-id - The ID of the prefix list.

                                              + *

                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              *
                                            • *
                                            • - *

                                              - * prefix-list-name - The name of the prefix list.

                                              + *

                                              + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              *
                                            • *
                                            */ Filters?: Filter[]; - - /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            - */ - MaxResults?: number; - - /** - *

                                            The token for the next page of results.

                                            - */ - NextToken?: string; - - /** - *

                                            One or more prefix list IDs.

                                            - */ - PrefixListIds?: string[]; } -export namespace DescribeManagedPrefixListsRequest { +export namespace DescribeIpv6PoolsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeManagedPrefixListsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeIpv6PoolsRequest): any => ({ ...obj, }); } -export interface DescribeManagedPrefixListsResult { - /** - *

                                            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; - +/** + *

                                            Describes a CIDR block for an address pool.

                                            + */ +export interface PoolCidrBlock { /** - *

                                            Information about the prefix lists.

                                            + *

                                            The CIDR block.

                                            */ - PrefixLists?: ManagedPrefixList[]; + Cidr?: string; } -export namespace DescribeManagedPrefixListsResult { +export namespace PoolCidrBlock { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeManagedPrefixListsResult): any => ({ + export const filterSensitiveLog = (obj: PoolCidrBlock): any => ({ ...obj, }); } -export interface DescribeMovingAddressesRequest { - /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * moving-status - The status of the Elastic IP address - * (MovingToVpc | RestoringToClassic).

                                              - *
                                            • - *
                                            - */ - Filters?: Filter[]; - +/** + *

                                            Describes an IPv6 address pool.

                                            + */ +export interface Ipv6Pool { /** - *

                                            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.

                                            + *

                                            The ID of the address pool.

                                            */ - DryRun?: boolean; + PoolId?: string; /** - *

                                            The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1000; if - * MaxResults is given a value outside of this range, an error is returned.

                                            - *

                                            Default: If no value is provided, the default is 1000.

                                            + *

                                            The description for the address pool.

                                            */ - MaxResults?: number; + Description?: string; /** - *

                                            The token for the next page of results.

                                            + *

                                            The CIDR blocks for the address pool.

                                            */ - NextToken?: string; + PoolCidrBlocks?: PoolCidrBlock[]; /** - *

                                            One or more Elastic IP addresses.

                                            + *

                                            Any tags for the address pool.

                                            */ - PublicIps?: string[]; + Tags?: Tag[]; } -export namespace DescribeMovingAddressesRequest { +export namespace Ipv6Pool { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeMovingAddressesRequest): any => ({ + export const filterSensitiveLog = (obj: Ipv6Pool): any => ({ ...obj, }); } -export type MoveStatus = "movingToVpc" | "restoringToClassic"; - -/** - *

                                            Describes the status of a moving Elastic IP address.

                                            - */ -export interface MovingAddressStatus { - /** - *

                                            The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

                                            - */ - MoveStatus?: MoveStatus | string; - - /** - *

                                            The Elastic IP address.

                                            - */ - PublicIp?: string; -} - -export namespace MovingAddressStatus { - /** - * @internal - */ - export const filterSensitiveLog = (obj: MovingAddressStatus): any => ({ - ...obj, - }); -} - -export interface DescribeMovingAddressesResult { +export interface DescribeIpv6PoolsResult { /** - *

                                            The status for each Elastic IP address.

                                            + *

                                            Information about the IPv6 address pools.

                                            */ - MovingAddressStatuses?: MovingAddressStatus[]; + Ipv6Pools?: Ipv6Pool[]; /** *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            @@ -2733,1000 +2425,1032 @@ export interface DescribeMovingAddressesResult { NextToken?: string; } -export namespace DescribeMovingAddressesResult { +export namespace DescribeIpv6PoolsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeMovingAddressesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeIpv6PoolsResult): any => ({ ...obj, }); } -export interface DescribeNatGatewaysRequest { - /** - *

                                            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; - +export interface DescribeKeyPairsRequest { /** - *

                                            One or more filters.

                                            + *

                                            The filters.

                                            *
                                              *
                                            • - *

                                              - * nat-gateway-id - The ID of the NAT gateway.

                                              - *
                                            • + *

                                              + * key-pair-id - The ID of the key pair.

                                              + * *
                                            • *

                                              - * state - The state of the NAT gateway (pending | - * failed | available | deleting | deleted).

                                              + * fingerprint - The fingerprint of the key pair.

                                              *
                                            • *
                                            • *

                                              - * subnet-id - The ID of the subnet in which the NAT gateway resides.

                                              + * key-name - The name of the key pair.

                                              *
                                            • *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • - *
                                            • - *

                                              + *

                                              * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • + * *
                                            • - *

                                              - * vpc-id - The ID of the VPC in which the NAT gateway resides.

                                              - *
                                            • + *

                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              + * *
                                            */ - Filter?: Filter[]; - - /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            - */ - MaxResults?: number; - - /** - *

                                            One or more NAT gateway IDs.

                                            - */ - NatGatewayIds?: string[]; - - /** - *

                                            The token for the next page of results.

                                            - */ - NextToken?: string; -} + Filters?: Filter[]; -export namespace DescribeNatGatewaysRequest { /** - * @internal + *

                                            The key pair names.

                                            + *

                                            Default: Describes all of your key pairs.

                                            */ - export const filterSensitiveLog = (obj: DescribeNatGatewaysRequest): any => ({ - ...obj, - }); -} + KeyNames?: string[]; -export interface DescribeNatGatewaysResult { /** - *

                                            Information about the NAT gateways.

                                            + *

                                            The IDs of the key pairs.

                                            */ - NatGateways?: NatGateway[]; + KeyPairIds?: string[]; /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            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.

                                            */ - NextToken?: string; + DryRun?: boolean; } -export namespace DescribeNatGatewaysResult { +export namespace DescribeKeyPairsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNatGatewaysResult): any => ({ + export const filterSensitiveLog = (obj: DescribeKeyPairsRequest): any => ({ ...obj, }); } -export interface DescribeNetworkAclsRequest { - /** - *

                                            One or more filters.

                                            - *
                                              - *
                                            • - *

                                              - * association.association-id - The ID of an association ID for the ACL.

                                              - *
                                            • - *
                                            • - *

                                              - * association.network-acl-id - The ID of the network ACL involved in the association.

                                              - *
                                            • - *
                                            • - *

                                              - * association.subnet-id - The ID of the subnet involved in the association.

                                              - *
                                            • - *
                                            • - *

                                              - * default - Indicates whether the ACL is the default network ACL for the VPC.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.cidr - The IPv4 CIDR range specified in the entry.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.icmp.code - The ICMP code specified in the entry, if any.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.icmp.type - The ICMP type specified in the entry, if any.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.port-range.from - The start of the port range specified in the entry.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.port-range.to - The end of the port range specified in the entry.

                                              - *
                                            • - *
                                            • - *

                                              - * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number).

                                              - *
                                            • - *
                                            • - *

                                              - * entry.rule-action - Allows or denies the matching traffic (allow | deny).

                                              - *
                                            • - *
                                            • - *

                                              - * entry.rule-number - The number of an entry (in other words, rule) in - * the set of ACL entries.

                                              - *
                                            • - *
                                            • - *

                                              - * network-acl-id - The ID of the network ACL.

                                              - *
                                            • - *
                                            • - *

                                              - * owner-id - The ID of the AWS account that owns the network ACL.

                                              - *
                                            • - *
                                            • - *

                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                              - *
                                            • - *
                                            • - *

                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                              - *
                                            • - *
                                            • - *

                                              - * vpc-id - The ID of the VPC for the network ACL.

                                              - *
                                            • - *
                                            - */ - Filters?: Filter[]; - +/** + *

                                            Describes a key pair.

                                            + */ +export interface KeyPairInfo { /** - *

                                            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.

                                            + *

                                            The ID of the key pair.

                                            */ - DryRun?: boolean; + KeyPairId?: string; /** - *

                                            One or more network ACL IDs.

                                            - *

                                            Default: Describes all your network ACLs.

                                            + *

                                            If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. + * If you used ImportKeyPair to provide Amazon Web Services the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716.

                                            */ - NetworkAclIds?: string[]; + KeyFingerprint?: string; /** - *

                                            The token for the next page of results.

                                            + *

                                            The name of the key pair.

                                            */ - NextToken?: string; + KeyName?: string; /** - *

                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                            + *

                                            Any tags applied to the key pair.

                                            */ - MaxResults?: number; + Tags?: Tag[]; } -export namespace DescribeNetworkAclsRequest { +export namespace KeyPairInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkAclsRequest): any => ({ + export const filterSensitiveLog = (obj: KeyPairInfo): any => ({ ...obj, }); } -export interface DescribeNetworkAclsResult { - /** - *

                                            Information about one or more network ACLs.

                                            - */ - NetworkAcls?: NetworkAcl[]; - +export interface DescribeKeyPairsResult { /** - *

                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                            + *

                                            Information about the key pairs.

                                            */ - NextToken?: string; + KeyPairs?: KeyPairInfo[]; } -export namespace DescribeNetworkAclsResult { +export namespace DescribeKeyPairsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkAclsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeKeyPairsResult): any => ({ ...obj, }); } -export interface DescribeNetworkInsightsAnalysesRequest { +export interface DescribeLaunchTemplatesRequest { /** - *

                                            The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

                                            + *

                                            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.

                                            */ - NetworkInsightsAnalysisIds?: string[]; + DryRun?: boolean; /** - *

                                            The ID of the path. You must specify either a path ID or analysis IDs.

                                            + *

                                            One or more launch template IDs.

                                            */ - NetworkInsightsPathId?: string; + LaunchTemplateIds?: string[]; /** - *

                                            The time when the network insights analyses started.

                                            + *

                                            One or more launch template names.

                                            */ - AnalysisStartTime?: Date; + LaunchTemplateNames?: string[]; /** - *

                                            The time when the network insights analyses ended.

                                            - */ - AnalysisEndTime?: Date; - - /** - *

                                            The filters. The following are possible values:

                                            - *
                                              + *

                                              One or more filters.

                                              + *
                                                *
                                              • - *

                                                PathFound - A Boolean value that indicates whether a feasible path is found.

                                                + *

                                                + * create-time - The time the launch template was created.

                                                *
                                              • *
                                              • - *

                                                Status - The status of the analysis (running | succeeded | failed).

                                                + *

                                                + * launch-template-name - The name of the launch template.

                                                + *
                                              • + *
                                              • + *

                                                + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                + *
                                              • + *
                                              • + *

                                                + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                *
                                              • *
                                              */ Filters?: Filter[]; /** - *

                                              The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                              - */ - MaxResults?: number; - - /** - *

                                              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.

                                              + *

                                              The token to request the next page of results.

                                              */ - DryRun?: boolean; + NextToken?: string; /** - *

                                              The token for the next page of results.

                                              + *

                                              The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value + * can be between 1 and 200.

                                              */ - NextToken?: string; + MaxResults?: number; } -export namespace DescribeNetworkInsightsAnalysesRequest { +export namespace DescribeLaunchTemplatesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInsightsAnalysesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeLaunchTemplatesRequest): any => ({ ...obj, }); } -/** - *

                                              Describes a path component.

                                              - */ -export interface AnalysisComponent { +export interface DescribeLaunchTemplatesResult { /** - *

                                              The ID of the component.

                                              + *

                                              Information about the launch templates.

                                              */ - Id?: string; + LaunchTemplates?: LaunchTemplate[]; /** - *

                                              The Amazon Resource Name (ARN) of the component.

                                              + *

                                              The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

                                              */ - Arn?: string; + NextToken?: string; } -export namespace AnalysisComponent { +export namespace DescribeLaunchTemplatesResult { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisComponent): any => ({ + export const filterSensitiveLog = (obj: DescribeLaunchTemplatesResult): any => ({ ...obj, }); } -/** - *

                                              Describes a network access control (ACL) rule.

                                              - */ -export interface AnalysisAclRule { +export interface DescribeLaunchTemplateVersionsRequest { /** - *

                                              The IPv4 address range, in CIDR notation.

                                              + *

                                              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.

                                              */ - Cidr?: string; + DryRun?: boolean; /** - *

                                              Indicates whether the rule is an outbound rule.

                                              + *

                                              The ID of the launch template. To describe one or more versions of a specified launch + * template, you must specify either the launch template ID or the launch template name in + * the request. To describe all the latest or default launch template versions in your + * account, you must omit this parameter.

                                              */ - Egress?: boolean; + LaunchTemplateId?: string; /** - *

                                              The range of ports.

                                              + *

                                              The name of the launch template. To describe one or more versions of a specified + * launch template, you must specify either the launch template ID or the launch template + * name in the request. To describe all the latest or default launch template versions in + * your account, you must omit this parameter.

                                              */ - PortRange?: PortRange; + LaunchTemplateName?: string; /** - *

                                              The protocol.

                                              + *

                                              One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.

                                              + *

                                              To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers.

                                              + *

                                              To describe all launch templates in your account that are defined as the latest + * version, the valid value is $Latest. To describe all launch templates in + * your account that are defined as the default version, the valid value is + * $Default. You can specify $Latest and + * $Default in the same call. You cannot specify numbers.

                                              */ - Protocol?: string; + Versions?: string[]; /** - *

                                              Indicates whether to allow or deny traffic that matches the rule.

                                              + *

                                              The version number after which to describe launch template versions.

                                              */ - RuleAction?: string; + MinVersion?: string; /** - *

                                              The rule number.

                                              + *

                                              The version number up to which to describe launch template versions.

                                              */ - RuleNumber?: number; + MaxVersion?: string; + + /** + *

                                              The token to request the next page of results.

                                              + */ + NextToken?: string; + + /** + *

                                              The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value + * can be between 1 and 200.

                                              + */ + MaxResults?: number; + + /** + *

                                              One or more filters.

                                              + *
                                                + *
                                              • + *

                                                + * create-time - The time the launch template version was created.

                                                + *
                                              • + *
                                              • + *

                                                + * ebs-optimized - A boolean that indicates whether the instance + * is optimized for Amazon EBS I/O.

                                                + *
                                              • + *
                                              • + *

                                                + * iam-instance-profile - The ARN of the IAM instance + * profile.

                                                + *
                                              • + *
                                              • + *

                                                + * image-id - The ID of the AMI.

                                                + *
                                              • + *
                                              • + *

                                                + * instance-type - The instance type.

                                                + *
                                              • + *
                                              • + *

                                                + * is-default-version - A boolean that indicates whether the + * launch template version is the default version.

                                                + *
                                              • + *
                                              • + *

                                                + * kernel-id - The kernel ID.

                                                + *
                                              • + *
                                              • + *

                                                + * ram-disk-id - The RAM disk ID.

                                                + *
                                              • + *
                                              + */ + Filters?: Filter[]; } -export namespace AnalysisAclRule { +export namespace DescribeLaunchTemplateVersionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisAclRule): any => ({ + export const filterSensitiveLog = (obj: DescribeLaunchTemplateVersionsRequest): any => ({ ...obj, }); } -/** - *

                                              Describes a load balancer listener.

                                              - */ -export interface AnalysisLoadBalancerListener { +export interface DescribeLaunchTemplateVersionsResult { /** - *

                                              The port on which the load balancer is listening.

                                              + *

                                              Information about the launch template versions.

                                              */ - LoadBalancerPort?: number; + LaunchTemplateVersions?: LaunchTemplateVersion[]; /** - *

                                              [Classic Load Balancers] The back-end port for the listener.

                                              + *

                                              The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

                                              */ - InstancePort?: number; + NextToken?: string; } -export namespace AnalysisLoadBalancerListener { +export namespace DescribeLaunchTemplateVersionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisLoadBalancerListener): any => ({ + export const filterSensitiveLog = (obj: DescribeLaunchTemplateVersionsResult): any => ({ ...obj, }); } -/** - *

                                              Describes a load balancer target.

                                              - */ -export interface AnalysisLoadBalancerTarget { +export interface DescribeLocalGatewayRouteTablesRequest { /** - *

                                              The IP address.

                                              + *

                                              The IDs of the local gateway route tables.

                                              */ - Address?: string; + LocalGatewayRouteTableIds?: string[]; /** - *

                                              The Availability Zone.

                                              + *

                                              One or more filters.

                                              + *
                                                + *
                                              • + *

                                                + * local-gateway-id - The ID of a local gateway.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-id - The ID of a local gateway route table.

                                                + *
                                              • + *
                                              • + *

                                                + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                                + *
                                              • + *
                                              • + *

                                                + * state - The state of the local gateway route table.

                                                + *
                                              • + *
                                              */ - AvailabilityZone?: string; + Filters?: Filter[]; /** - *

                                              Information about the instance.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - Instance?: AnalysisComponent; + MaxResults?: number; /** - *

                                              The port on which the target is listening.

                                              + *

                                              The token for the next page of results.

                                              */ - Port?: number; + NextToken?: string; + + /** + *

                                              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; } -export namespace AnalysisLoadBalancerTarget { +export namespace DescribeLocalGatewayRouteTablesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisLoadBalancerTarget): any => ({ + export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTablesRequest): any => ({ ...obj, }); } /** - *

                                              Describes a route table route.

                                              + *

                                              Describes a local gateway route table.

                                              */ -export interface AnalysisRouteTableRoute { +export interface LocalGatewayRouteTable { /** - *

                                              The destination IPv4 address, in CIDR notation.

                                              + *

                                              The ID of the local gateway route table.

                                              */ - DestinationCidr?: string; + LocalGatewayRouteTableId?: string; /** - *

                                              The prefix of the AWS service.

                                              + *

                                              The Amazon Resource Name (ARN) of the local gateway route table.

                                              */ - DestinationPrefixListId?: string; + LocalGatewayRouteTableArn?: string; /** - *

                                              The ID of an egress-only internet gateway.

                                              + *

                                              The ID of the local gateway.

                                              */ - EgressOnlyInternetGatewayId?: string; + LocalGatewayId?: string; /** - *

                                              The ID of the gateway, such as an internet gateway or virtual private gateway.

                                              + *

                                              The Amazon Resource Name (ARN) of the Outpost.

                                              */ - GatewayId?: string; + OutpostArn?: string; /** - *

                                              The ID of the instance, such as a NAT instance.

                                              + *

                                              The AWS account ID that owns the local gateway route table.

                                              */ - InstanceId?: string; + OwnerId?: string; /** - *

                                              The ID of a NAT gateway.

                                              + *

                                              The state of the local gateway route table.

                                              */ - NatGatewayId?: string; + State?: string; /** - *

                                              The ID of a network interface.

                                              + *

                                              The tags assigned to the local gateway route table.

                                              */ - NetworkInterfaceId?: string; + Tags?: Tag[]; +} +export namespace LocalGatewayRouteTable { /** - *

                                              Describes how the route was created. The following are possible values:

                                              - *
                                                - *
                                              • - *

                                                - * CreateRouteTable - The route was automatically created when the route table was created.

                                                - *
                                              • - *
                                              • - *

                                                - * CreateRoute - The route was manually added to the route table.

                                                - *
                                              • - *
                                              • - *

                                                - * EnableVgwRoutePropagation - The route was propagated by route propagation.

                                                - *
                                              • - *
                                              + * @internal */ - Origin?: string; + export const filterSensitiveLog = (obj: LocalGatewayRouteTable): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayRouteTablesResult { /** - *

                                              The ID of a transit gateway.

                                              + *

                                              Information about the local gateway route tables.

                                              */ - TransitGatewayId?: string; + LocalGatewayRouteTables?: LocalGatewayRouteTable[]; /** - *

                                              The ID of a VPC peering connection.

                                              + *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              */ - VpcPeeringConnectionId?: string; + NextToken?: string; } -export namespace AnalysisRouteTableRoute { +export namespace DescribeLocalGatewayRouteTablesResult { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisRouteTableRoute): any => ({ + export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTablesResult): any => ({ ...obj, }); } -/** - *

                                              Describes a security group rule.

                                              - */ -export interface AnalysisSecurityGroupRule { +export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { /** - *

                                              The IPv4 address range, in CIDR notation.

                                              + *

                                              The IDs of the associations.

                                              */ - Cidr?: string; + LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds?: string[]; /** - *

                                              The direction. The following are possible values:

                                              + *

                                              One or more filters.

                                              *
                                                *
                                              • - *

                                                egress

                                                + *

                                                + * local-gateway-id - The ID of a local gateway.

                                                *
                                              • *
                                              • - *

                                                ingress

                                                + *

                                                + * local-gateway-route-table-id - The ID of the local gateway route table.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

                                                + *
                                              • + *
                                              • + *

                                                + * state - The state of the association.

                                                *
                                              • *
                                              */ - Direction?: string; - - /** - *

                                              The security group ID.

                                              - */ - SecurityGroupId?: string; + Filters?: Filter[]; /** - *

                                              The port range.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - PortRange?: PortRange; + MaxResults?: number; /** - *

                                              The prefix list ID.

                                              + *

                                              The token for the next page of results.

                                              */ - PrefixListId?: string; + NextToken?: string; /** - *

                                              The protocol name.

                                              + *

                                              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.

                                              */ - Protocol?: string; + DryRun?: boolean; } -export namespace AnalysisSecurityGroupRule { +export namespace DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisSecurityGroupRule): any => ({ + export const filterSensitiveLog = ( + obj: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest + ): any => ({ ...obj, }); } /** - *

                                              Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

                                              + *

                                              Describes an association between a local gateway route table and a virtual interface group.

                                              */ -export interface Explanation { - /** - *

                                              The network ACL.

                                              - */ - Acl?: AnalysisComponent; - +export interface LocalGatewayRouteTableVirtualInterfaceGroupAssociation { /** - *

                                              The network ACL rule.

                                              + *

                                              The ID of the association.

                                              */ - AclRule?: AnalysisAclRule; + LocalGatewayRouteTableVirtualInterfaceGroupAssociationId?: string; /** - *

                                              The IPv4 address, in CIDR notation.

                                              + *

                                              The ID of the virtual interface group.

                                              */ - Address?: string; + LocalGatewayVirtualInterfaceGroupId?: string; /** - *

                                              The IPv4 addresses, in CIDR notation.

                                              + *

                                              The ID of the local gateway.

                                              */ - Addresses?: string[]; + LocalGatewayId?: string; /** - *

                                              The resource to which the component is attached.

                                              + *

                                              The ID of the local gateway route table.

                                              */ - AttachedTo?: AnalysisComponent; + LocalGatewayRouteTableId?: string; /** - *

                                              The Availability Zones.

                                              + *

                                              The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group.

                                              */ - AvailabilityZones?: string[]; + LocalGatewayRouteTableArn?: string; /** - *

                                              The CIDR ranges.

                                              + *

                                              The AWS account ID that owns the local gateway virtual interface group association.

                                              */ - Cidrs?: string[]; + OwnerId?: string; /** - *

                                              The component.

                                              + *

                                              The state of the association.

                                              */ - Component?: AnalysisComponent; + State?: string; /** - *

                                              The customer gateway.

                                              + *

                                              The tags assigned to the association.

                                              */ - CustomerGateway?: AnalysisComponent; + Tags?: Tag[]; +} +export namespace LocalGatewayRouteTableVirtualInterfaceGroupAssociation { /** - *

                                              The destination.

                                              + * @internal */ - Destination?: AnalysisComponent; + export const filterSensitiveLog = (obj: LocalGatewayRouteTableVirtualInterfaceGroupAssociation): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { /** - *

                                              The destination VPC.

                                              + *

                                              Information about the associations.

                                              */ - DestinationVpc?: AnalysisComponent; + LocalGatewayRouteTableVirtualInterfaceGroupAssociations?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation[]; /** - *

                                              The direction. The following are possible values:

                                              - *
                                                - *
                                              • - *

                                                egress

                                                - *
                                              • - *
                                              • - *

                                                ingress

                                                - *
                                              • - *
                                              + *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              */ - Direction?: string; + NextToken?: string; +} +export namespace DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { /** - *

                                              The explanation code.

                                              + * @internal */ - ExplanationCode?: string; + export const filterSensitiveLog = ( + obj: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult + ): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest { /** - *

                                              The route table.

                                              + *

                                              The IDs of the associations.

                                              */ - IngressRouteTable?: AnalysisComponent; + LocalGatewayRouteTableVpcAssociationIds?: string[]; /** - *

                                              The internet gateway.

                                              + *

                                              One or more filters.

                                              + *
                                                + *
                                              • + *

                                                + * local-gateway-id - The ID of a local gateway.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-id - The ID of the local gateway route table.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-vpc-association-id - The ID of the association.

                                                + *
                                              • + *
                                              • + *

                                                + * state - The state of the association.

                                                + *
                                              • + *
                                              • + *

                                                + * vpc-id - The ID of the VPC.

                                                + *
                                              • + *
                                              */ - InternetGateway?: AnalysisComponent; + Filters?: Filter[]; /** - *

                                              The Amazon Resource Name (ARN) of the load balancer.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - LoadBalancerArn?: string; + MaxResults?: number; /** - *

                                              The listener for a Classic Load Balancer.

                                              + *

                                              The token for the next page of results.

                                              */ - ClassicLoadBalancerListener?: AnalysisLoadBalancerListener; + NextToken?: string; /** - *

                                              The listener port of the load balancer.

                                              + *

                                              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.

                                              */ - LoadBalancerListenerPort?: number; + DryRun?: boolean; +} +export namespace DescribeLocalGatewayRouteTableVpcAssociationsRequest { /** - *

                                              The target.

                                              + * @internal */ - LoadBalancerTarget?: AnalysisLoadBalancerTarget; + export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTableVpcAssociationsRequest): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayRouteTableVpcAssociationsResult { /** - *

                                              The target group.

                                              + *

                                              Information about the associations.

                                              */ - LoadBalancerTargetGroup?: AnalysisComponent; + LocalGatewayRouteTableVpcAssociations?: LocalGatewayRouteTableVpcAssociation[]; /** - *

                                              The target groups.

                                              + *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              */ - LoadBalancerTargetGroups?: AnalysisComponent[]; + NextToken?: string; +} +export namespace DescribeLocalGatewayRouteTableVpcAssociationsResult { /** - *

                                              The target port.

                                              + * @internal */ - LoadBalancerTargetPort?: number; + export const filterSensitiveLog = (obj: DescribeLocalGatewayRouteTableVpcAssociationsResult): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewaysRequest { /** - *

                                              The load balancer listener.

                                              - */ - ElasticLoadBalancerListener?: AnalysisComponent; - - /** - *

                                              The missing component.

                                              - */ - MissingComponent?: string; - - /** - *

                                              The NAT gateway.

                                              - */ - NatGateway?: AnalysisComponent; - - /** - *

                                              The network interface.

                                              + *

                                              One or more filters.

                                              + *
                                                + *
                                              • + *

                                                + * local-gateway-id - The ID of a local gateway.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-id - The ID of the local gateway route table.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

                                                + *
                                              • + *
                                              • + *

                                                + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                                + *
                                              • + *
                                              • + *

                                                + * state - The state of the association.

                                                + *
                                              • + *
                                              */ - NetworkInterface?: AnalysisComponent; + LocalGatewayIds?: string[]; /** - *

                                              The packet field.

                                              + *

                                              One or more filters.

                                              */ - PacketField?: string; + Filters?: Filter[]; /** - *

                                              The VPC peering connection.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - VpcPeeringConnection?: AnalysisComponent; + MaxResults?: number; /** - *

                                              The port.

                                              + *

                                              The token for the next page of results.

                                              */ - Port?: number; + NextToken?: string; /** - *

                                              The port ranges.

                                              + *

                                              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.

                                              */ - PortRanges?: PortRange[]; + DryRun?: boolean; +} +export namespace DescribeLocalGatewaysRequest { /** - *

                                              The prefix list.

                                              + * @internal */ - PrefixList?: AnalysisComponent; + export const filterSensitiveLog = (obj: DescribeLocalGatewaysRequest): any => ({ + ...obj, + }); +} +/** + *

                                              Describes a local gateway.

                                              + */ +export interface LocalGateway { /** - *

                                              The protocols.

                                              + *

                                              The ID of the local gateway.

                                              */ - Protocols?: string[]; + LocalGatewayId?: string; /** - *

                                              The route table route.

                                              + *

                                              The Amazon Resource Name (ARN) of the Outpost.

                                              */ - RouteTableRoute?: AnalysisRouteTableRoute; + OutpostArn?: string; /** - *

                                              The route table.

                                              + *

                                              The AWS account ID that owns the local gateway.

                                              */ - RouteTable?: AnalysisComponent; + OwnerId?: string; /** - *

                                              The security group.

                                              + *

                                              The state of the local gateway.

                                              */ - SecurityGroup?: AnalysisComponent; + State?: string; /** - *

                                              The security group rule.

                                              + *

                                              The tags assigned to the local gateway.

                                              */ - SecurityGroupRule?: AnalysisSecurityGroupRule; + Tags?: Tag[]; +} +export namespace LocalGateway { /** - *

                                              The security groups.

                                              + * @internal */ - SecurityGroups?: AnalysisComponent[]; + export const filterSensitiveLog = (obj: LocalGateway): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewaysResult { /** - *

                                              The source VPC.

                                              + *

                                              Information about the local gateways.

                                              */ - SourceVpc?: AnalysisComponent; + LocalGateways?: LocalGateway[]; /** - *

                                              The state.

                                              + *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              */ - State?: string; + NextToken?: string; +} +export namespace DescribeLocalGatewaysResult { /** - *

                                              The subnet.

                                              + * @internal */ - Subnet?: AnalysisComponent; + export const filterSensitiveLog = (obj: DescribeLocalGatewaysResult): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** - *

                                              The route table for the subnet.

                                              + *

                                              The IDs of the virtual interface groups.

                                              */ - SubnetRouteTable?: AnalysisComponent; + LocalGatewayVirtualInterfaceGroupIds?: string[]; /** - *

                                              The component VPC.

                                              + *

                                              One or more filters.

                                              + *
                                                + *
                                              • + *

                                                + * local-gateway-id - The ID of a local gateway.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-virtual-interface-id - The ID of the virtual interface.

                                                + *
                                              • + *
                                              • + *

                                                + * local-gateway-virtual-interface-group-id - The ID of the virtual interface group.

                                                + *
                                              • + *
                                              */ - Vpc?: AnalysisComponent; + Filters?: Filter[]; /** - *

                                              The VPC endpoint.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - VpcEndpoint?: AnalysisComponent; + MaxResults?: number; /** - *

                                              The VPN connection.

                                              + *

                                              The token for the next page of results.

                                              */ - VpnConnection?: AnalysisComponent; + NextToken?: string; /** - *

                                              The VPN gateway.

                                              + *

                                              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.

                                              */ - VpnGateway?: AnalysisComponent; + DryRun?: boolean; } -export namespace Explanation { +export namespace DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: Explanation): any => ({ + export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest): any => ({ ...obj, }); } /** - *

                                              Describes a header. Reflects any changes made by a component as traffic passes through. - * The fields of an inbound header are null except for the first component of a path.

                                              + *

                                              Describes a local gateway virtual interface group.

                                              */ -export interface AnalysisPacketHeader { +export interface LocalGatewayVirtualInterfaceGroup { /** - *

                                              The destination addresses.

                                              + *

                                              The ID of the virtual interface group.

                                              */ - DestinationAddresses?: string[]; + LocalGatewayVirtualInterfaceGroupId?: string; /** - *

                                              The destination port ranges.

                                              + *

                                              The IDs of the virtual interfaces.

                                              */ - DestinationPortRanges?: PortRange[]; + LocalGatewayVirtualInterfaceIds?: string[]; /** - *

                                              The protocol.

                                              + *

                                              The ID of the local gateway.

                                              */ - Protocol?: string; + LocalGatewayId?: string; /** - *

                                              The source addresses.

                                              + *

                                              The AWS account ID that owns the local gateway virtual interface group.

                                              */ - SourceAddresses?: string[]; + OwnerId?: string; /** - *

                                              The source port ranges.

                                              + *

                                              The tags assigned to the virtual interface group.

                                              */ - SourcePortRanges?: PortRange[]; + Tags?: Tag[]; } -export namespace AnalysisPacketHeader { +export namespace LocalGatewayVirtualInterfaceGroup { /** * @internal */ - export const filterSensitiveLog = (obj: AnalysisPacketHeader): any => ({ + export const filterSensitiveLog = (obj: LocalGatewayVirtualInterfaceGroup): any => ({ ...obj, }); } -/** - *

                                              Describes a path component.

                                              - */ -export interface PathComponent { +export interface DescribeLocalGatewayVirtualInterfaceGroupsResult { /** - *

                                              The sequence number.

                                              + *

                                              The virtual interface groups.

                                              */ - SequenceNumber?: number; + LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[]; /** - *

                                              The network ACL rule.

                                              + *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              */ - AclRule?: AnalysisAclRule; + NextToken?: string; +} +export namespace DescribeLocalGatewayVirtualInterfaceGroupsResult { /** - *

                                              The component.

                                              + * @internal */ - Component?: AnalysisComponent; + export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult): any => ({ + ...obj, + }); +} +export interface DescribeLocalGatewayVirtualInterfacesRequest { /** - *

                                              The destination VPC.

                                              + *

                                              The IDs of the virtual interfaces.

                                              */ - DestinationVpc?: AnalysisComponent; + LocalGatewayVirtualInterfaceIds?: string[]; /** - *

                                              The outbound header.

                                              + *

                                              One or more filters.

                                              */ - OutboundHeader?: AnalysisPacketHeader; + Filters?: Filter[]; /** - *

                                              The inbound header.

                                              + *

                                              The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                              */ - InboundHeader?: AnalysisPacketHeader; + MaxResults?: number; /** - *

                                              The route table route.

                                              + *

                                              The token for the next page of results.

                                              */ - RouteTableRoute?: AnalysisRouteTableRoute; + NextToken?: string; /** - *

                                              The security group rule.

                                              + *

                                              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.

                                              */ - SecurityGroupRule?: AnalysisSecurityGroupRule; + DryRun?: boolean; +} +export namespace DescribeLocalGatewayVirtualInterfacesRequest { /** - *

                                              The source VPC.

                                              + * @internal */ - SourceVpc?: AnalysisComponent; + export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfacesRequest): any => ({ + ...obj, + }); +} +/** + *

                                              Describes a local gateway virtual interface.

                                              + */ +export interface LocalGatewayVirtualInterface { /** - *

                                              The subnet.

                                              + *

                                              The ID of the virtual interface.

                                              */ - Subnet?: AnalysisComponent; - - /** - *

                                              The component VPC.

                                              - */ - Vpc?: AnalysisComponent; -} - -export namespace PathComponent { - /** - * @internal - */ - export const filterSensitiveLog = (obj: PathComponent): any => ({ - ...obj, - }); -} - -export type AnalysisStatus = "failed" | "running" | "succeeded"; - -/** - *

                                              Describes a network insights analysis.

                                              - */ -export interface NetworkInsightsAnalysis { - /** - *

                                              The ID of the network insights analysis.

                                              - */ - NetworkInsightsAnalysisId?: string; - - /** - *

                                              The Amazon Resource Name (ARN) of the network insights analysis.

                                              - */ - NetworkInsightsAnalysisArn?: string; - - /** - *

                                              The ID of the path.

                                              - */ - NetworkInsightsPathId?: string; - - /** - *

                                              The Amazon Resource Names (ARN) of the AWS resources that the path must traverse.

                                              - */ - FilterInArns?: string[]; - - /** - *

                                              The time the analysis started.

                                              - */ - StartDate?: Date; + LocalGatewayVirtualInterfaceId?: string; /** - *

                                              The status of the network insights analysis.

                                              + *

                                              The ID of the local gateway.

                                              */ - Status?: AnalysisStatus | string; + LocalGatewayId?: string; /** - *

                                              The status message, if the status is failed.

                                              + *

                                              The ID of the VLAN.

                                              */ - StatusMessage?: string; + Vlan?: number; /** - *

                                              Indicates whether the destination is reachable from the source.

                                              + *

                                              The local address.

                                              */ - NetworkPathFound?: boolean; + LocalAddress?: string; /** - *

                                              The components in the path from source to destination.

                                              + *

                                              The peer address.

                                              */ - ForwardPathComponents?: PathComponent[]; + PeerAddress?: string; /** - *

                                              The components in the path from destination to source.

                                              + *

                                              The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

                                              */ - ReturnPathComponents?: PathComponent[]; + LocalBgpAsn?: number; /** - *

                                              The explanations. For more information, see Reachability Analyzer explanation codes.

                                              + *

                                              The peer BGP ASN.

                                              */ - Explanations?: Explanation[]; + PeerBgpAsn?: number; /** - *

                                              Potential intermediate components.

                                              + *

                                              The AWS account ID that owns the local gateway virtual interface.

                                              */ - AlternatePathHints?: AlternatePathHint[]; + OwnerId?: string; /** - *

                                              The tags.

                                              + *

                                              The tags assigned to the virtual interface.

                                              */ Tags?: Tag[]; } -export namespace NetworkInsightsAnalysis { +export namespace LocalGatewayVirtualInterface { /** * @internal */ - export const filterSensitiveLog = (obj: NetworkInsightsAnalysis): any => ({ + export const filterSensitiveLog = (obj: LocalGatewayVirtualInterface): any => ({ ...obj, }); } -export interface DescribeNetworkInsightsAnalysesResult { +export interface DescribeLocalGatewayVirtualInterfacesResult { /** - *

                                              Information about the network insights analyses.

                                              + *

                                              Information about the virtual interfaces.

                                              */ - NetworkInsightsAnalyses?: NetworkInsightsAnalysis[]; + LocalGatewayVirtualInterfaces?: LocalGatewayVirtualInterface[]; /** *

                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                              @@ -3734,38 +3458,37 @@ export interface DescribeNetworkInsightsAnalysesResult { NextToken?: string; } -export namespace DescribeNetworkInsightsAnalysesResult { +export namespace DescribeLocalGatewayVirtualInterfacesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInsightsAnalysesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeLocalGatewayVirtualInterfacesResult): any => ({ ...obj, }); } -export interface DescribeNetworkInsightsPathsRequest { +export interface DescribeManagedPrefixListsRequest { /** - *

                                              The IDs of the paths.

                                              + *

                                              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.

                                              */ - NetworkInsightsPathIds?: string[]; + DryRun?: boolean; /** - *

                                              The filters. The following are possible values:

                                              - *
                                                - *
                                              • - *

                                                Destination - The ID of the resource.

                                                - *
                                              • - *
                                              • - *

                                                DestinationPort - The destination port.

                                                - *
                                              • + *

                                                One or more filters.

                                                + *
                                                  *
                                                • - *

                                                  Name - The path name.

                                                  + *

                                                  + * owner-id - The ID of the prefix list owner.

                                                  *
                                                • *
                                                • - *

                                                  Protocol - The protocol.

                                                  + *

                                                  + * prefix-list-id - The ID of the prefix list.

                                                  *
                                                • *
                                                • - *

                                                  Source - The ID of the resource.

                                                  + *

                                                  + * prefix-list-name - The name of the prefix list.

                                                  *
                                                • *
                                                */ @@ -3773,355 +3496,299 @@ export interface DescribeNetworkInsightsPathsRequest { /** *

                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                */ MaxResults?: number; /** - *

                                                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.

                                                + *

                                                The token for the next page of results.

                                                */ - DryRun?: boolean; + NextToken?: string; /** - *

                                                The token for the next page of results.

                                                + *

                                                One or more prefix list IDs.

                                                */ - NextToken?: string; + PrefixListIds?: string[]; } -export namespace DescribeNetworkInsightsPathsRequest { +export namespace DescribeManagedPrefixListsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInsightsPathsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeManagedPrefixListsRequest): any => ({ ...obj, }); } -export interface DescribeNetworkInsightsPathsResult { +export interface DescribeManagedPrefixListsResult { /** - *

                                                Information about the paths.

                                                + *

                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                */ - NetworkInsightsPaths?: NetworkInsightsPath[]; + NextToken?: string; /** - *

                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                + *

                                                Information about the prefix lists.

                                                */ - NextToken?: string; + PrefixLists?: ManagedPrefixList[]; } -export namespace DescribeNetworkInsightsPathsResult { +export namespace DescribeManagedPrefixListsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInsightsPathsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeManagedPrefixListsResult): any => ({ ...obj, }); } -export type NetworkInterfaceAttribute = "attachment" | "description" | "groupSet" | "sourceDestCheck"; - -/** - *

                                                Contains the parameters for DescribeNetworkInterfaceAttribute.

                                                - */ -export interface DescribeNetworkInterfaceAttributeRequest { +export interface DescribeMovingAddressesRequest { /** - *

                                                The attribute of the network interface. This parameter is required.

                                                + *

                                                One or more filters.

                                                + *
                                                  + *
                                                • + *

                                                  + * moving-status - The status of the Elastic IP address + * (MovingToVpc | RestoringToClassic).

                                                  + *
                                                • + *
                                                */ - Attribute?: NetworkInterfaceAttribute | string; + Filters?: Filter[]; /** *

                                                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.

                                                + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                */ DryRun?: boolean; /** - *

                                                The ID of the network interface.

                                                + *

                                                The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1000; if + * MaxResults is given a value outside of this range, an error is returned.

                                                + *

                                                Default: If no value is provided, the default is 1000.

                                                */ - NetworkInterfaceId: string | undefined; + MaxResults?: number; + + /** + *

                                                The token for the next page of results.

                                                + */ + NextToken?: string; + + /** + *

                                                One or more Elastic IP addresses.

                                                + */ + PublicIps?: string[]; } -export namespace DescribeNetworkInterfaceAttributeRequest { +export namespace DescribeMovingAddressesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfaceAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeMovingAddressesRequest): any => ({ ...obj, }); } +export type MoveStatus = "movingToVpc" | "restoringToClassic"; + /** - *

                                                Contains the output of DescribeNetworkInterfaceAttribute.

                                                + *

                                                Describes the status of a moving Elastic IP address.

                                                */ -export interface DescribeNetworkInterfaceAttributeResult { +export interface MovingAddressStatus { /** - *

                                                The attachment (if any) of the network interface.

                                                + *

                                                The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

                                                */ - Attachment?: NetworkInterfaceAttachment; + MoveStatus?: MoveStatus | string; /** - *

                                                The description of the network interface.

                                                + *

                                                The Elastic IP address.

                                                */ - Description?: AttributeValue; + PublicIp?: string; +} +export namespace MovingAddressStatus { /** - *

                                                The security groups associated with the network interface.

                                                + * @internal */ - Groups?: GroupIdentifier[]; + export const filterSensitiveLog = (obj: MovingAddressStatus): any => ({ + ...obj, + }); +} +export interface DescribeMovingAddressesResult { /** - *

                                                The ID of the network interface.

                                                + *

                                                The status for each Elastic IP address.

                                                */ - NetworkInterfaceId?: string; + MovingAddressStatuses?: MovingAddressStatus[]; /** - *

                                                Indicates whether source/destination checking is enabled.

                                                + *

                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                */ - SourceDestCheck?: AttributeBooleanValue; + NextToken?: string; } -export namespace DescribeNetworkInterfaceAttributeResult { +export namespace DescribeMovingAddressesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfaceAttributeResult): any => ({ + export const filterSensitiveLog = (obj: DescribeMovingAddressesResult): any => ({ ...obj, }); } -/** - *

                                                Contains the parameters for DescribeNetworkInterfacePermissions.

                                                - */ -export interface DescribeNetworkInterfacePermissionsRequest { +export interface DescribeNatGatewaysRequest { /** - *

                                                One or more network interface permission IDs.

                                                + *

                                                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.

                                                */ - NetworkInterfacePermissionIds?: string[]; + DryRun?: boolean; /** *

                                                One or more filters.

                                                - *
                                                  + *
                                                    *
                                                  • *

                                                    - * network-interface-permission.network-interface-permission-id - The ID of the - * permission.

                                                    + * nat-gateway-id - The ID of the NAT gateway.

                                                    *
                                                  • *
                                                  • - *

                                                    - * network-interface-permission.network-interface-id - The ID of - * the network interface.

                                                    - *
                                                  • + *

                                                    + * state - The state of the NAT gateway (pending | + * failed | available | deleting | deleted).

                                                    + * *
                                                  • - *

                                                    - * network-interface-permission.aws-account-id - The account ID.

                                                    - *
                                                  • + *

                                                    + * subnet-id - The ID of the subnet in which the NAT gateway resides.

                                                    + * + *
                                                  • + *

                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                    + *
                                                  • *
                                                  • *

                                                    - * network-interface-permission.aws-service - The Amazon Web Service.

                                                    - *
                                                  • + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                    + * *
                                                  • - *

                                                    - * network-interface-permission.permission - The type of - * permission (INSTANCE-ATTACH | - * EIP-ASSOCIATE).

                                                    - *
                                                  • + *

                                                    + * vpc-id - The ID of the VPC in which the NAT gateway resides.

                                                    + * *
                                                  */ - Filters?: Filter[]; + Filter?: Filter[]; /** - *

                                                  The token to request the next page of results.

                                                  + *

                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                  */ - NextToken?: string; + MaxResults?: number; /** - *

                                                  The maximum number of results to return in a single call. To retrieve the remaining results, - * make another call with the returned NextToken value. If this parameter is not specified, up to 50 results are returned by default.

                                                  + *

                                                  One or more NAT gateway IDs.

                                                  */ - MaxResults?: number; + NatGatewayIds?: string[]; + + /** + *

                                                  The token for the next page of results.

                                                  + */ + NextToken?: string; } -export namespace DescribeNetworkInterfacePermissionsRequest { +export namespace DescribeNatGatewaysRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfacePermissionsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeNatGatewaysRequest): any => ({ ...obj, }); } -/** - *

                                                  Contains the output for DescribeNetworkInterfacePermissions.

                                                  - */ -export interface DescribeNetworkInterfacePermissionsResult { +export interface DescribeNatGatewaysResult { /** - *

                                                  The network interface permissions.

                                                  + *

                                                  Information about the NAT gateways.

                                                  */ - NetworkInterfacePermissions?: NetworkInterfacePermission[]; + NatGateways?: NatGateway[]; /** - *

                                                  The token to use to retrieve the next page of results.

                                                  + *

                                                  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 DescribeNetworkInterfacePermissionsResult { +export namespace DescribeNatGatewaysResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfacePermissionsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeNatGatewaysResult): any => ({ ...obj, }); } -/** - *

                                                  Contains the parameters for DescribeNetworkInterfaces.

                                                  - */ -export interface DescribeNetworkInterfacesRequest { +export interface DescribeNetworkAclsRequest { /** *

                                                  One or more filters.

                                                  *
                                                    *
                                                  • *

                                                    - * addresses.private-ip-address - The private IPv4 addresses - * associated with the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * addresses.primary - Whether the private IPv4 address is the primary - * IP address associated with the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * addresses.association.public-ip - The association ID returned when - * the network interface was associated with the Elastic IP address - * (IPv4).

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * association.association-id - The association ID returned when the - * network interface was associated with an IPv4 address.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * association.allocation-id - The allocation ID returned when you - * allocated the Elastic IP address (IPv4) for your network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * association.ip-owner-id - The owner of the Elastic IP address - * (IPv4) associated with the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * association.public-ip - The address of the Elastic IP address - * (IPv4) bound to the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * association.public-dns-name - The public DNS name for the network - * interface (IPv4).

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * attachment.attachment-id - The ID of the interface attachment.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * attachment.attach-time - The time that the network interface was attached to an instance.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * attachment.device-index - The device index to which the network interface is attached.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * attachment.instance-id - The ID of the instance to which the network interface is attached.

                                                    + * association.association-id - The ID of an association ID for the ACL.

                                                    *
                                                  • *
                                                  • *

                                                    - * attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

                                                    + * association.network-acl-id - The ID of the network ACL involved in the association.

                                                    *
                                                  • *
                                                  • *

                                                    - * attachment.status - The status of the attachment (attaching | attached | detaching | detached).

                                                    + * association.subnet-id - The ID of the subnet involved in the association.

                                                    *
                                                  • *
                                                  • *

                                                    - * availability-zone - The Availability Zone of the network interface.

                                                    + * default - Indicates whether the ACL is the default network ACL for the VPC.

                                                    *
                                                  • *
                                                  • *

                                                    - * description - The description of the network interface.

                                                    + * entry.cidr - The IPv4 CIDR range specified in the entry.

                                                    *
                                                  • *
                                                  • *

                                                    - * group-id - The ID of a security group associated with the network interface.

                                                    + * entry.icmp.code - The ICMP code specified in the entry, if any.

                                                    *
                                                  • *
                                                  • *

                                                    - * group-name - The name of a security group associated with the network interface.

                                                    + * entry.icmp.type - The ICMP type specified in the entry, if any.

                                                    *
                                                  • *
                                                  • *

                                                    - * ipv6-addresses.ipv6-address - An IPv6 address associated with - * the network interface.

                                                    + * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry.

                                                    *
                                                  • *
                                                  • *

                                                    - * mac-address - The MAC address of the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * network-interface-id - The ID of the network interface.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * owner-id - The account ID of the network interface owner.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * private-ip-address - The private IPv4 address or addresses of the - * network interface.

                                                    + * entry.port-range.from - The start of the port range specified in the entry.

                                                    *
                                                  • *
                                                  • *

                                                    - * private-dns-name - The private DNS name of the network interface (IPv4).

                                                    + * entry.port-range.to - The end of the port range specified in the entry.

                                                    *
                                                  • *
                                                  • *

                                                    - * requester-id - The alias or account ID of the principal or service that created the network interface.

                                                    + * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number).

                                                    *
                                                  • *
                                                  • *

                                                    - * requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service - * (for example, Management Console, Auto Scaling, and so on).

                                                    + * entry.rule-action - Allows or denies the matching traffic (allow | deny).

                                                    *
                                                  • *
                                                  • *

                                                    - * source-dest-check - Indicates whether the network interface performs source/destination checking. - * A value of true means checking is enabled, and false means checking is disabled. - * The value must be false for the network interface to perform network address translation (NAT) in your VPC.

                                                    + * entry.rule-number - The number of an entry (in other words, rule) in + * the set of ACL entries.

                                                    *
                                                  • *
                                                  • *

                                                    - * status - The status of the network interface. If the network interface is not attached to an instance, the status is available; - * if a network interface is attached to an instance the status is in-use.

                                                    + * network-acl-id - The ID of the network ACL.

                                                    *
                                                  • *
                                                  • *

                                                    - * subnet-id - The ID of the subnet for the network interface.

                                                    + * owner-id - The ID of the AWS account that owns the network ACL.

                                                    *
                                                  • *
                                                  • *

                                                    @@ -4134,7 +3801,7 @@ export interface DescribeNetworkInterfacesRequest { *

                                                  • *
                                                  • *

                                                    - * vpc-id - The ID of the VPC for the network interface.

                                                    + * vpc-id - The ID of the VPC for the network ACL.

                                                    *
                                                  • *
                                                  */ @@ -4142,47 +3809,43 @@ export interface DescribeNetworkInterfacesRequest { /** *

                                                  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.

                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                  */ DryRun?: boolean; /** - *

                                                  One or more network interface IDs.

                                                  - *

                                                  Default: Describes all your network interfaces.

                                                  + *

                                                  One or more network ACL IDs.

                                                  + *

                                                  Default: Describes all your network ACLs.

                                                  */ - NetworkInterfaceIds?: string[]; + NetworkAclIds?: string[]; /** - *

                                                  The token to retrieve the next page of results.

                                                  + *

                                                  The token for the next page of results.

                                                  */ NextToken?: string; /** - *

                                                  The maximum number of items to return for this request. The request returns a token that you - * can specify in a subsequent call to get the next set of results. You cannot specify this - * parameter and the network interface IDs parameter in the same request.

                                                  + *

                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                  */ MaxResults?: number; } -export namespace DescribeNetworkInterfacesRequest { +export namespace DescribeNetworkAclsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfacesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkAclsRequest): any => ({ ...obj, }); } -/** - *

                                                  Contains the output of DescribeNetworkInterfaces.

                                                  - */ -export interface DescribeNetworkInterfacesResult { +export interface DescribeNetworkAclsResult { /** - *

                                                  Information about one or more network interfaces.

                                                  + *

                                                  Information about one or more network ACLs.

                                                  */ - NetworkInterfaces?: NetworkInterface[]; + NetworkAcls?: NetworkAcl[]; /** *

                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                  @@ -4190,111 +3853,44 @@ export interface DescribeNetworkInterfacesResult { NextToken?: string; } -export namespace DescribeNetworkInterfacesResult { +export namespace DescribeNetworkAclsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeNetworkInterfacesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkAclsResult): any => ({ ...obj, }); } -export interface DescribePlacementGroupsRequest { +export interface DescribeNetworkInsightsAnalysesRequest { /** - *

                                                  The filters.

                                                  - *
                                                    - *
                                                  • - *

                                                    - * group-name - The name of the placement group.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * state - The state of the placement group (pending | - * available | deleting | - * deleted).

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * strategy - The strategy of the placement group - * (cluster | spread | - * partition).

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                    - *
                                                  • - *
                                                  • - *

                                                    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

                                                    - *
                                                  • - *
                                                  + *

                                                  The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

                                                  */ - Filters?: Filter[]; + NetworkInsightsAnalysisIds?: string[]; /** - *

                                                  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.

                                                  + *

                                                  The ID of the path. You must specify either a path ID or analysis IDs.

                                                  */ - DryRun?: boolean; + NetworkInsightsPathId?: string; /** - *

                                                  The names of the placement groups.

                                                  - *

                                                  Default: Describes all your placement groups, or only those otherwise - * specified.

                                                  + *

                                                  The time when the network insights analyses started.

                                                  */ - GroupNames?: string[]; + AnalysisStartTime?: Date; /** - *

                                                  The IDs of the placement groups.

                                                  + *

                                                  The time when the network insights analyses ended.

                                                  */ - GroupIds?: string[]; -} - -export namespace DescribePlacementGroupsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribePlacementGroupsRequest): any => ({ - ...obj, - }); -} - -export interface DescribePlacementGroupsResult { - /** - *

                                                  Information about the placement groups.

                                                  - */ - PlacementGroups?: PlacementGroup[]; -} - -export namespace DescribePlacementGroupsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribePlacementGroupsResult): any => ({ - ...obj, - }); -} - -export interface DescribePrefixListsRequest { - /** - *

                                                  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; + AnalysisEndTime?: Date; /** - *

                                                  One or more filters.

                                                  - *
                                                    + *

                                                    The filters. The following are possible values:

                                                    + *
                                                      *
                                                    • - *

                                                      - * prefix-list-id: The ID of a prefix list.

                                                      + *

                                                      PathFound - A Boolean value that indicates whether a feasible path is found.

                                                      *
                                                    • *
                                                    • - *

                                                      - * prefix-list-name: The name of a prefix list.

                                                      + *

                                                      Status - The status of the analysis (running | succeeded | failed).

                                                      *
                                                    • *
                                                    */ @@ -4302,1208 +3898,833 @@ export interface DescribePrefixListsRequest { /** *

                                                    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                    + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                    */ MaxResults?: number; /** - *

                                                    The token for the next page of results.

                                                    + *

                                                    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.

                                                    */ - NextToken?: string; + DryRun?: boolean; /** - *

                                                    One or more prefix list IDs.

                                                    + *

                                                    The token for the next page of results.

                                                    */ - PrefixListIds?: string[]; + NextToken?: string; } -export namespace DescribePrefixListsRequest { +export namespace DescribeNetworkInsightsAnalysesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribePrefixListsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInsightsAnalysesRequest): any => ({ ...obj, }); } /** - *

                                                    Describes prefixes for Amazon Web Services services.

                                                    + *

                                                    Describes a path component.

                                                    */ -export interface PrefixList { - /** - *

                                                    The IP address range of the Amazon Web Service.

                                                    - */ - Cidrs?: string[]; - +export interface AnalysisComponent { /** - *

                                                    The ID of the prefix.

                                                    + *

                                                    The ID of the component.

                                                    */ - PrefixListId?: string; + Id?: string; /** - *

                                                    The name of the prefix.

                                                    + *

                                                    The Amazon Resource Name (ARN) of the component.

                                                    */ - PrefixListName?: string; + Arn?: string; } -export namespace PrefixList { +export namespace AnalysisComponent { /** * @internal */ - export const filterSensitiveLog = (obj: PrefixList): any => ({ + export const filterSensitiveLog = (obj: AnalysisComponent): any => ({ ...obj, }); } -export interface DescribePrefixListsResult { - /** - *

                                                    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; - +/** + *

                                                    Describes a network access control (ACL) rule.

                                                    + */ +export interface AnalysisAclRule { /** - *

                                                    All available prefix lists.

                                                    + *

                                                    The IPv4 address range, in CIDR notation.

                                                    */ - PrefixLists?: PrefixList[]; -} + Cidr?: string; -export namespace DescribePrefixListsResult { /** - * @internal + *

                                                    Indicates whether the rule is an outbound rule.

                                                    */ - export const filterSensitiveLog = (obj: DescribePrefixListsResult): any => ({ - ...obj, - }); -} + Egress?: boolean; -export interface DescribePrincipalIdFormatRequest { /** - *

                                                    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.

                                                    + *

                                                    The range of ports.

                                                    */ - DryRun?: boolean; + PortRange?: PortRange; /** - *

                                                    The type of resource: bundle | - * conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | instance | internet-gateway | - * network-acl | network-acl-association | - * network-interface | network-interface-attachment | - * prefix-list | reservation | route-table | - * route-table-association | security-group | - * snapshot | subnet | - * subnet-cidr-block-association | volume | vpc - * | vpc-cidr-block-association | vpc-endpoint | - * vpc-peering-connection | vpn-connection | vpn-gateway - *

                                                    + *

                                                    The protocol.

                                                    */ - Resources?: string[]; + Protocol?: string; /** - *

                                                    The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value.

                                                    + *

                                                    Indicates whether to allow or deny traffic that matches the rule.

                                                    */ - MaxResults?: number; + RuleAction?: string; /** - *

                                                    The token to request the next page of results.

                                                    + *

                                                    The rule number.

                                                    */ - NextToken?: string; + RuleNumber?: number; } -export namespace DescribePrincipalIdFormatRequest { +export namespace AnalysisAclRule { /** * @internal */ - export const filterSensitiveLog = (obj: DescribePrincipalIdFormatRequest): any => ({ + export const filterSensitiveLog = (obj: AnalysisAclRule): any => ({ ...obj, }); } /** - *

                                                    PrincipalIdFormat description

                                                    + *

                                                    Describes a load balancer listener.

                                                    */ -export interface PrincipalIdFormat { - /** - *

                                                    PrincipalIdFormatARN description

                                                    - */ - Arn?: string; - - /** - *

                                                    PrincipalIdFormatStatuses description

                                                    - */ - Statuses?: IdFormat[]; -} - -export namespace PrincipalIdFormat { - /** - * @internal - */ - export const filterSensitiveLog = (obj: PrincipalIdFormat): any => ({ - ...obj, - }); -} - -export interface DescribePrincipalIdFormatResult { +export interface AnalysisLoadBalancerListener { /** - *

                                                    Information about the ID format settings for the ARN.

                                                    + *

                                                    The port on which the load balancer is listening.

                                                    */ - Principals?: PrincipalIdFormat[]; + LoadBalancerPort?: number; /** - *

                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                    + *

                                                    [Classic Load Balancers] The back-end port for the listener.

                                                    */ - NextToken?: string; + InstancePort?: number; } -export namespace DescribePrincipalIdFormatResult { +export namespace AnalysisLoadBalancerListener { /** * @internal */ - export const filterSensitiveLog = (obj: DescribePrincipalIdFormatResult): any => ({ + export const filterSensitiveLog = (obj: AnalysisLoadBalancerListener): any => ({ ...obj, }); } -export interface DescribePublicIpv4PoolsRequest { +/** + *

                                                    Describes a load balancer target.

                                                    + */ +export interface AnalysisLoadBalancerTarget { /** - *

                                                    The IDs of the address pools.

                                                    + *

                                                    The IP address.

                                                    */ - PoolIds?: string[]; + Address?: string; /** - *

                                                    The token for the next page of results.

                                                    + *

                                                    The Availability Zone.

                                                    */ - NextToken?: string; + AvailabilityZone?: string; /** - *

                                                    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                    + *

                                                    Information about the instance.

                                                    */ - MaxResults?: number; + Instance?: AnalysisComponent; /** - *

                                                    One or more filters.

                                                    - *
                                                      - *
                                                    • - *

                                                      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                      - *
                                                    • - *
                                                    + *

                                                    The port on which the target is listening.

                                                    */ - Filters?: Filter[]; + Port?: number; } -export namespace DescribePublicIpv4PoolsRequest { +export namespace AnalysisLoadBalancerTarget { /** * @internal */ - export const filterSensitiveLog = (obj: DescribePublicIpv4PoolsRequest): any => ({ + export const filterSensitiveLog = (obj: AnalysisLoadBalancerTarget): any => ({ ...obj, }); } /** - *

                                                    Describes an address range of an IPv4 address pool.

                                                    + *

                                                    Describes a route table route.

                                                    */ -export interface PublicIpv4PoolRange { +export interface AnalysisRouteTableRoute { /** - *

                                                    The first IP address in the range.

                                                    + *

                                                    The destination IPv4 address, in CIDR notation.

                                                    */ - FirstAddress?: string; + DestinationCidr?: string; /** - *

                                                    The last IP address in the range.

                                                    + *

                                                    The prefix of the AWS service.

                                                    */ - LastAddress?: string; + DestinationPrefixListId?: string; /** - *

                                                    The number of addresses in the range.

                                                    + *

                                                    The ID of an egress-only internet gateway.

                                                    */ - AddressCount?: number; + EgressOnlyInternetGatewayId?: string; /** - *

                                                    The number of available addresses in the range.

                                                    + *

                                                    The ID of the gateway, such as an internet gateway or virtual private gateway.

                                                    */ - AvailableAddressCount?: number; -} + GatewayId?: string; -export namespace PublicIpv4PoolRange { /** - * @internal + *

                                                    The ID of the instance, such as a NAT instance.

                                                    */ - export const filterSensitiveLog = (obj: PublicIpv4PoolRange): any => ({ - ...obj, - }); -} + InstanceId?: string; -/** - *

                                                    Describes an IPv4 address pool.

                                                    - */ -export interface PublicIpv4Pool { /** - *

                                                    The ID of the address pool.

                                                    + *

                                                    The ID of a NAT gateway.

                                                    */ - PoolId?: string; + NatGatewayId?: string; /** - *

                                                    A description of the address pool.

                                                    + *

                                                    The ID of a network interface.

                                                    */ - Description?: string; + NetworkInterfaceId?: string; /** - *

                                                    The address ranges.

                                                    - */ - PoolAddressRanges?: PublicIpv4PoolRange[]; - - /** - *

                                                    The total number of addresses.

                                                    - */ - TotalAddressCount?: number; - - /** - *

                                                    The total number of available addresses.

                                                    + *

                                                    Describes how the route was created. The following are possible values:

                                                    + *
                                                      + *
                                                    • + *

                                                      + * CreateRouteTable - The route was automatically created when the route table was created.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * CreateRoute - The route was manually added to the route table.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * EnableVgwRoutePropagation - The route was propagated by route propagation.

                                                      + *
                                                    • + *
                                                    */ - TotalAvailableAddressCount?: number; + Origin?: string; /** - *

                                                    The name of the location from which the address pool is advertised. - * A network border group is a unique set of Availability Zones or Local Zones - * from where Amazon Web Services advertises public IP addresses.

                                                    + *

                                                    The ID of a transit gateway.

                                                    */ - NetworkBorderGroup?: string; + TransitGatewayId?: string; /** - *

                                                    Any tags for the address pool.

                                                    + *

                                                    The ID of a VPC peering connection.

                                                    */ - Tags?: Tag[]; + VpcPeeringConnectionId?: string; } -export namespace PublicIpv4Pool { +export namespace AnalysisRouteTableRoute { /** * @internal */ - export const filterSensitiveLog = (obj: PublicIpv4Pool): any => ({ + export const filterSensitiveLog = (obj: AnalysisRouteTableRoute): any => ({ ...obj, }); } -export interface DescribePublicIpv4PoolsResult { - /** - *

                                                    Information about the address pools.

                                                    - */ - PublicIpv4Pools?: PublicIpv4Pool[]; - - /** - *

                                                    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 DescribePublicIpv4PoolsResult { +/** + *

                                                    Describes a security group rule.

                                                    + */ +export interface AnalysisSecurityGroupRule { /** - * @internal + *

                                                    The IPv4 address range, in CIDR notation.

                                                    */ - export const filterSensitiveLog = (obj: DescribePublicIpv4PoolsResult): any => ({ - ...obj, - }); -} + Cidr?: string; -export interface DescribeRegionsRequest { /** - *

                                                    The filters.

                                                    + *

                                                    The direction. The following are possible values:

                                                    *
                                                      *
                                                    • - *

                                                      - * endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | - * not-opted-in).

                                                      + *

                                                      egress

                                                      *
                                                    • *
                                                    • - *

                                                      - * region-name - The name of the Region (for example, us-east-1).

                                                      + *

                                                      ingress

                                                      *
                                                    • *
                                                    */ - Filters?: Filter[]; + Direction?: string; /** - *

                                                    The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

                                                    + *

                                                    The security group ID.

                                                    */ - RegionNames?: string[]; + SecurityGroupId?: string; /** - *

                                                    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.

                                                    + *

                                                    The port range.

                                                    */ - DryRun?: boolean; + PortRange?: PortRange; /** - *

                                                    Indicates whether to display all Regions, including Regions that are disabled for your account.

                                                    + *

                                                    The prefix list ID.

                                                    */ - AllRegions?: boolean; + PrefixListId?: string; + + /** + *

                                                    The protocol name.

                                                    + */ + Protocol?: string; } -export namespace DescribeRegionsRequest { +export namespace AnalysisSecurityGroupRule { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeRegionsRequest): any => ({ + export const filterSensitiveLog = (obj: AnalysisSecurityGroupRule): any => ({ ...obj, }); } /** - *

                                                    Describes a Region.

                                                    + *

                                                    Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

                                                    */ -export interface Region { +export interface Explanation { /** - *

                                                    The Region service endpoint.

                                                    + *

                                                    The network ACL.

                                                    */ - Endpoint?: string; + Acl?: AnalysisComponent; /** - *

                                                    The name of the Region.

                                                    + *

                                                    The network ACL rule.

                                                    */ - RegionName?: string; + AclRule?: AnalysisAclRule; /** - *

                                                    The Region opt-in status. The possible values are opt-in-not-required, opted-in, and - * not-opted-in.

                                                    + *

                                                    The IPv4 address, in CIDR notation.

                                                    */ - OptInStatus?: string; -} + Address?: string; -export namespace Region { /** - * @internal + *

                                                    The IPv4 addresses, in CIDR notation.

                                                    */ - export const filterSensitiveLog = (obj: Region): any => ({ - ...obj, - }); -} + Addresses?: string[]; -export interface DescribeRegionsResult { /** - *

                                                    Information about the Regions.

                                                    + *

                                                    The resource to which the component is attached.

                                                    */ - Regions?: Region[]; -} + AttachedTo?: AnalysisComponent; -export namespace DescribeRegionsResult { /** - * @internal + *

                                                    The Availability Zones.

                                                    */ - export const filterSensitiveLog = (obj: DescribeRegionsResult): any => ({ - ...obj, - }); -} + AvailabilityZones?: string[]; -export interface DescribeReplaceRootVolumeTasksRequest { /** - *

                                                    The ID of the root volume replacement task to view.

                                                    + *

                                                    The CIDR ranges.

                                                    */ - ReplaceRootVolumeTaskIds?: string[]; + Cidrs?: string[]; /** - *

                                                    Filter to use:

                                                    + *

                                                    The component.

                                                    + */ + Component?: AnalysisComponent; + + /** + *

                                                    The customer gateway.

                                                    + */ + CustomerGateway?: AnalysisComponent; + + /** + *

                                                    The destination.

                                                    + */ + Destination?: AnalysisComponent; + + /** + *

                                                    The destination VPC.

                                                    + */ + DestinationVpc?: AnalysisComponent; + + /** + *

                                                    The direction. The following are possible values:

                                                    *
                                                      *
                                                    • - *

                                                      - * instance-id - The ID of the instance for which the root volume replacement task was created.

                                                      + *

                                                      egress

                                                      + *
                                                    • + *
                                                    • + *

                                                      ingress

                                                      *
                                                    • *
                                                    */ - Filters?: Filter[]; + Direction?: string; /** - *

                                                    The maximum number of results to return with a single call. To retrieve the remaining results, - * make another call with the returned nextToken value.

                                                    + *

                                                    The explanation code.

                                                    */ - MaxResults?: number; + ExplanationCode?: string; /** - *

                                                    The token for the next page of results.

                                                    + *

                                                    The route table.

                                                    */ - NextToken?: string; + IngressRouteTable?: AnalysisComponent; /** - *

                                                    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.

                                                    + *

                                                    The internet gateway.

                                                    */ - DryRun?: boolean; -} + InternetGateway?: AnalysisComponent; -export namespace DescribeReplaceRootVolumeTasksRequest { /** - * @internal + *

                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReplaceRootVolumeTasksRequest): any => ({ - ...obj, - }); -} + LoadBalancerArn?: string; -export interface DescribeReplaceRootVolumeTasksResult { /** - *

                                                    Information about the root volume replacement task.

                                                    + *

                                                    The listener for a Classic Load Balancer.

                                                    */ - ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[]; + ClassicLoadBalancerListener?: AnalysisLoadBalancerListener; /** - *

                                                    The token to use to retrieve the next page of results. This value is null when there are no - * more results to return.

                                                    + *

                                                    The listener port of the load balancer.

                                                    */ - NextToken?: string; -} + LoadBalancerListenerPort?: number; -export namespace DescribeReplaceRootVolumeTasksResult { /** - * @internal + *

                                                    The target.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReplaceRootVolumeTasksResult): any => ({ - ...obj, - }); -} + LoadBalancerTarget?: AnalysisLoadBalancerTarget; -export enum OfferingClassType { - CONVERTIBLE = "convertible", - STANDARD = "standard", -} + /** + *

                                                    The target group.

                                                    + */ + LoadBalancerTargetGroup?: AnalysisComponent; -export type OfferingTypeValues = - | "All Upfront" - | "Heavy Utilization" - | "Light Utilization" - | "Medium Utilization" - | "No Upfront" - | "Partial Upfront"; + /** + *

                                                    The target groups.

                                                    + */ + LoadBalancerTargetGroups?: AnalysisComponent[]; -/** - *

                                                    Contains the parameters for DescribeReservedInstances.

                                                    - */ -export interface DescribeReservedInstancesRequest { /** - *

                                                    One or more filters.

                                                    - *
                                                      - *
                                                    • - *

                                                      - * availability-zone - The Availability Zone where the Reserved Instance can be used.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * instance-type - The instance type that is covered by the reservation.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * scope - The scope of the Reserved Instance (Region or Availability Zone).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * product-description - The Reserved Instance product platform - * description. Instances that include (Amazon VPC) in the product platform - * description will only be displayed to EC2-Classic account holders and are for use with - * Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE - * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise - * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat - * Enterprise Linux with HA (Amazon VPC) | Windows | Windows - * (Amazon VPC) | Windows with SQL Server Standard | Windows with - * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | - * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server - * Enterprise | Windows with SQL Server Enterprise (Amazon - * VPC)).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * reserved-instances-id - The ID of the Reserved Instance.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

                                                      - *
                                                    • - *
                                                    + *

                                                    The target port.

                                                    */ - Filters?: Filter[]; + LoadBalancerTargetPort?: number; /** - *

                                                    Describes whether the Reserved Instance is Standard or Convertible.

                                                    + *

                                                    The load balancer listener.

                                                    */ - OfferingClass?: OfferingClassType | string; + ElasticLoadBalancerListener?: AnalysisComponent; /** - *

                                                    One or more Reserved Instance IDs.

                                                    - *

                                                    Default: Describes all your Reserved Instances, or only those otherwise specified.

                                                    + *

                                                    The missing component.

                                                    */ - ReservedInstancesIds?: string[]; + MissingComponent?: string; /** - *

                                                    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.

                                                    + *

                                                    The NAT gateway.

                                                    */ - DryRun?: boolean; + NatGateway?: AnalysisComponent; /** - *

                                                    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API - * version, you only have access to the Medium Utilization Reserved Instance - * offering type.

                                                    + *

                                                    The network interface.

                                                    */ - OfferingType?: OfferingTypeValues | string; -} + NetworkInterface?: AnalysisComponent; -export namespace DescribeReservedInstancesRequest { /** - * @internal + *

                                                    The packet field.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesRequest): any => ({ - ...obj, - }); -} - -export type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)"; + PacketField?: string; -export type RecurringChargeFrequency = "Hourly"; + /** + *

                                                    The VPC peering connection.

                                                    + */ + VpcPeeringConnection?: AnalysisComponent; -/** - *

                                                    Describes a recurring charge.

                                                    - */ -export interface RecurringCharge { /** - *

                                                    The amount of the recurring charge.

                                                    + *

                                                    The port.

                                                    */ - Amount?: number; + Port?: number; /** - *

                                                    The frequency of the recurring charge.

                                                    + *

                                                    The port ranges.

                                                    */ - Frequency?: RecurringChargeFrequency | string; -} + PortRanges?: PortRange[]; -export namespace RecurringCharge { /** - * @internal + *

                                                    The prefix list.

                                                    */ - export const filterSensitiveLog = (obj: RecurringCharge): any => ({ - ...obj, - }); -} + PrefixList?: AnalysisComponent; -export enum Scope { - AVAILABILITY_ZONE = "Availability Zone", - REGIONAL = "Region", -} + /** + *

                                                    The protocols.

                                                    + */ + Protocols?: string[]; -export type ReservedInstanceState = - | "active" - | "payment-failed" - | "payment-pending" - | "queued" - | "queued-deleted" - | "retired"; + /** + *

                                                    The route table route.

                                                    + */ + RouteTableRoute?: AnalysisRouteTableRoute; -/** - *

                                                    Describes a Reserved Instance.

                                                    - */ -export interface ReservedInstances { /** - *

                                                    The Availability Zone in which the Reserved Instance can be used.

                                                    + *

                                                    The route table.

                                                    */ - AvailabilityZone?: string; + RouteTable?: AnalysisComponent; /** - *

                                                    The duration of the Reserved Instance, in seconds.

                                                    + *

                                                    The security group.

                                                    */ - Duration?: number; + SecurityGroup?: AnalysisComponent; /** - *

                                                    The time when the Reserved Instance expires.

                                                    + *

                                                    The security group rule.

                                                    */ - End?: Date; + SecurityGroupRule?: AnalysisSecurityGroupRule; /** - *

                                                    The purchase price of the Reserved Instance.

                                                    + *

                                                    The security groups.

                                                    */ - FixedPrice?: number; + SecurityGroups?: AnalysisComponent[]; /** - *

                                                    The number of reservations purchased.

                                                    + *

                                                    The source VPC.

                                                    */ - InstanceCount?: number; + SourceVpc?: AnalysisComponent; /** - *

                                                    The instance type on which the Reserved Instance can be used.

                                                    + *

                                                    The state.

                                                    */ - InstanceType?: _InstanceType | string; + State?: string; /** - *

                                                    The Reserved Instance product platform description.

                                                    + *

                                                    The subnet.

                                                    */ - ProductDescription?: RIProductDescription | string; + Subnet?: AnalysisComponent; /** - *

                                                    The ID of the Reserved Instance.

                                                    + *

                                                    The route table for the subnet.

                                                    */ - ReservedInstancesId?: string; + SubnetRouteTable?: AnalysisComponent; /** - *

                                                    The date and time the Reserved Instance started.

                                                    + *

                                                    The component VPC.

                                                    */ - Start?: Date; + Vpc?: AnalysisComponent; /** - *

                                                    The state of the Reserved Instance purchase.

                                                    + *

                                                    The VPC endpoint.

                                                    */ - State?: ReservedInstanceState | string; + VpcEndpoint?: AnalysisComponent; /** - *

                                                    The usage price of the Reserved Instance, per hour.

                                                    + *

                                                    The VPN connection.

                                                    */ - UsagePrice?: number; + VpnConnection?: AnalysisComponent; /** - *

                                                    The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. - * At this time, the only supported currency is USD.

                                                    + *

                                                    The VPN gateway.

                                                    */ - CurrencyCode?: CurrencyCodeValues | string; + VpnGateway?: AnalysisComponent; +} +export namespace Explanation { /** - *

                                                    The tenancy of the instance.

                                                    + * @internal */ - InstanceTenancy?: Tenancy | string; + export const filterSensitiveLog = (obj: Explanation): any => ({ + ...obj, + }); +} +/** + *

                                                    Describes a header. Reflects any changes made by a component as traffic passes through. + * The fields of an inbound header are null except for the first component of a path.

                                                    + */ +export interface AnalysisPacketHeader { /** - *

                                                    The offering class of the Reserved Instance.

                                                    + *

                                                    The destination addresses.

                                                    */ - OfferingClass?: OfferingClassType | string; + DestinationAddresses?: string[]; /** - *

                                                    The Reserved Instance offering type.

                                                    + *

                                                    The destination port ranges.

                                                    */ - OfferingType?: OfferingTypeValues | string; + DestinationPortRanges?: PortRange[]; /** - *

                                                    The recurring charge tag assigned to the resource.

                                                    + *

                                                    The protocol.

                                                    */ - RecurringCharges?: RecurringCharge[]; + Protocol?: string; /** - *

                                                    The scope of the Reserved Instance.

                                                    + *

                                                    The source addresses.

                                                    */ - Scope?: Scope | string; + SourceAddresses?: string[]; /** - *

                                                    Any tags assigned to the resource.

                                                    + *

                                                    The source port ranges.

                                                    */ - Tags?: Tag[]; + SourcePortRanges?: PortRange[]; } -export namespace ReservedInstances { +export namespace AnalysisPacketHeader { /** * @internal */ - export const filterSensitiveLog = (obj: ReservedInstances): any => ({ + export const filterSensitiveLog = (obj: AnalysisPacketHeader): any => ({ ...obj, }); } /** - *

                                                    Contains the output for DescribeReservedInstances.

                                                    + *

                                                    Describes a path component.

                                                    */ -export interface DescribeReservedInstancesResult { +export interface PathComponent { /** - *

                                                    A list of Reserved Instances.

                                                    + *

                                                    The sequence number.

                                                    */ - ReservedInstances?: ReservedInstances[]; -} + SequenceNumber?: number; -export namespace DescribeReservedInstancesResult { /** - * @internal + *

                                                    The network ACL rule.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesResult): any => ({ - ...obj, - }); -} + AclRule?: AnalysisAclRule; -/** - *

                                                    Contains the parameters for DescribeReservedInstancesListings.

                                                    - */ -export interface DescribeReservedInstancesListingsRequest { /** - *

                                                    One or more filters.

                                                    - *
                                                      - *
                                                    • - *

                                                      - * reserved-instances-id - The ID of the Reserved Instances.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * reserved-instances-listing-id - The ID of the Reserved Instances listing.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * status - The status of the Reserved Instance listing (pending | active | - * cancelled | closed).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * status-message - The reason for the status.

                                                      - *
                                                    • - *
                                                    + *

                                                    The component.

                                                    */ - Filters?: Filter[]; + Component?: AnalysisComponent; /** - *

                                                    One or more Reserved Instance IDs.

                                                    + *

                                                    The destination VPC.

                                                    */ - ReservedInstancesId?: string; + DestinationVpc?: AnalysisComponent; /** - *

                                                    One or more Reserved Instance listing IDs.

                                                    + *

                                                    The outbound header.

                                                    */ - ReservedInstancesListingId?: string; -} + OutboundHeader?: AnalysisPacketHeader; -export namespace DescribeReservedInstancesListingsRequest { /** - * @internal + *

                                                    The inbound header.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesListingsRequest): any => ({ - ...obj, - }); -} + InboundHeader?: AnalysisPacketHeader; -/** - *

                                                    Contains the output of DescribeReservedInstancesListings.

                                                    - */ -export interface DescribeReservedInstancesListingsResult { /** - *

                                                    Information about the Reserved Instance listing.

                                                    + *

                                                    The route table route.

                                                    */ - ReservedInstancesListings?: ReservedInstancesListing[]; -} + RouteTableRoute?: AnalysisRouteTableRoute; -export namespace DescribeReservedInstancesListingsResult { /** - * @internal + *

                                                    The security group rule.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesListingsResult): any => ({ - ...obj, - }); -} + SecurityGroupRule?: AnalysisSecurityGroupRule; -/** - *

                                                    Contains the parameters for DescribeReservedInstancesModifications.

                                                    - */ -export interface DescribeReservedInstancesModificationsRequest { /** - *

                                                    One or more filters.

                                                    - *
                                                      - *
                                                    • - *

                                                      - * client-token - The idempotency token for the modification request.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * create-date - The time when the modification request was created.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * effective-date - The time when the modification becomes effective.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * modification-result.target-configuration.instance-count - The number of new Reserved Instances.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * reserved-instances-id - The ID of the Reserved Instances modified.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * reserved-instances-modification-id - The ID of the modification request.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * status - The status of the Reserved Instances modification request - * (processing | fulfilled | failed).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * status-message - The reason for the status.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * update-date - The time when the modification request was last updated.

                                                      - *
                                                    • - *
                                                    + *

                                                    The source VPC.

                                                    */ - Filters?: Filter[]; + SourceVpc?: AnalysisComponent; /** - *

                                                    IDs for the submitted modification request.

                                                    + *

                                                    The subnet.

                                                    */ - ReservedInstancesModificationIds?: string[]; + Subnet?: AnalysisComponent; /** - *

                                                    The token to retrieve the next page of results.

                                                    + *

                                                    The component VPC.

                                                    */ - NextToken?: string; + Vpc?: AnalysisComponent; } -export namespace DescribeReservedInstancesModificationsRequest { +export namespace PathComponent { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesModificationsRequest): any => ({ + export const filterSensitiveLog = (obj: PathComponent): any => ({ ...obj, }); } +export type AnalysisStatus = "failed" | "running" | "succeeded"; + /** - *

                                                    Describes the configuration settings for the modified Reserved Instances.

                                                    + *

                                                    Describes a network insights analysis.

                                                    */ -export interface ReservedInstancesConfiguration { - /** - *

                                                    The Availability Zone for the modified Reserved Instances.

                                                    - */ - AvailabilityZone?: string; - +export interface NetworkInsightsAnalysis { /** - *

                                                    The number of modified Reserved Instances.

                                                    - * - *

                                                    This is a required field for a request.

                                                    - *
                                                    + *

                                                    The ID of the network insights analysis.

                                                    */ - InstanceCount?: number; + NetworkInsightsAnalysisId?: string; /** - *

                                                    The instance type for the modified Reserved Instances.

                                                    + *

                                                    The Amazon Resource Name (ARN) of the network insights analysis.

                                                    */ - InstanceType?: _InstanceType | string; + NetworkInsightsAnalysisArn?: string; /** - *

                                                    The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

                                                    + *

                                                    The ID of the path.

                                                    */ - Platform?: string; + NetworkInsightsPathId?: string; /** - *

                                                    Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

                                                    + *

                                                    The Amazon Resource Names (ARN) of the AWS resources that the path must traverse.

                                                    */ - Scope?: Scope | string; -} + FilterInArns?: string[]; -export namespace ReservedInstancesConfiguration { /** - * @internal + *

                                                    The time the analysis started.

                                                    */ - export const filterSensitiveLog = (obj: ReservedInstancesConfiguration): any => ({ - ...obj, - }); -} + StartDate?: Date; -/** - *

                                                    Describes the modification request/s.

                                                    - */ -export interface ReservedInstancesModificationResult { /** - *

                                                    The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.

                                                    + *

                                                    The status of the network insights analysis.

                                                    */ - ReservedInstancesId?: string; + Status?: AnalysisStatus | string; /** - *

                                                    The target Reserved Instances configurations supplied as part of the modification request.

                                                    + *

                                                    The status message, if the status is failed.

                                                    */ - TargetConfiguration?: ReservedInstancesConfiguration; -} + StatusMessage?: string; -export namespace ReservedInstancesModificationResult { /** - * @internal + *

                                                    Indicates whether the destination is reachable from the source.

                                                    */ - export const filterSensitiveLog = (obj: ReservedInstancesModificationResult): any => ({ - ...obj, - }); -} + NetworkPathFound?: boolean; -/** - *

                                                    Describes the ID of a Reserved Instance.

                                                    - */ -export interface ReservedInstancesId { /** - *

                                                    The ID of the Reserved Instance.

                                                    + *

                                                    The components in the path from source to destination.

                                                    */ - ReservedInstancesId?: string; -} + ForwardPathComponents?: PathComponent[]; -export namespace ReservedInstancesId { /** - * @internal + *

                                                    The components in the path from destination to source.

                                                    */ - export const filterSensitiveLog = (obj: ReservedInstancesId): any => ({ - ...obj, - }); -} + ReturnPathComponents?: PathComponent[]; -/** - *

                                                    Describes a Reserved Instance modification.

                                                    - */ -export interface ReservedInstancesModification { /** - *

                                                    A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. - * For more information, see Ensuring - * Idempotency.

                                                    + *

                                                    The explanations. For more information, see Reachability Analyzer explanation codes.

                                                    */ - ClientToken?: string; + Explanations?: Explanation[]; /** - *

                                                    The time when the modification request was created.

                                                    + *

                                                    Potential intermediate components.

                                                    */ - CreateDate?: Date; + AlternatePathHints?: AlternatePathHint[]; /** - *

                                                    The time for the modification to become effective.

                                                    + *

                                                    The tags.

                                                    */ - EffectiveDate?: Date; + Tags?: Tag[]; +} +export namespace NetworkInsightsAnalysis { /** - *

                                                    Contains target configurations along with their corresponding new Reserved Instance IDs.

                                                    + * @internal */ - ModificationResults?: ReservedInstancesModificationResult[]; + export const filterSensitiveLog = (obj: NetworkInsightsAnalysis): any => ({ + ...obj, + }); +} +export interface DescribeNetworkInsightsAnalysesResult { /** - *

                                                    The IDs of one or more Reserved Instances.

                                                    + *

                                                    Information about the network insights analyses.

                                                    */ - ReservedInstancesIds?: ReservedInstancesId[]; + NetworkInsightsAnalyses?: NetworkInsightsAnalysis[]; /** - *

                                                    A unique ID for the Reserved Instance modification.

                                                    + *

                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                    */ - ReservedInstancesModificationId?: string; + NextToken?: string; +} +export namespace DescribeNetworkInsightsAnalysesResult { /** - *

                                                    The status of the Reserved Instances modification request.

                                                    + * @internal */ - Status?: string; + export const filterSensitiveLog = (obj: DescribeNetworkInsightsAnalysesResult): any => ({ + ...obj, + }); +} +export interface DescribeNetworkInsightsPathsRequest { /** - *

                                                    The reason for the status.

                                                    + *

                                                    The IDs of the paths.

                                                    */ - StatusMessage?: string; + NetworkInsightsPathIds?: string[]; /** - *

                                                    The time when the modification request was last updated.

                                                    - */ - UpdateDate?: Date; -} - -export namespace ReservedInstancesModification { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ReservedInstancesModification): any => ({ - ...obj, - }); -} - -/** - *

                                                    Contains the output of DescribeReservedInstancesModifications.

                                                    - */ -export interface DescribeReservedInstancesModificationsResult { - /** - *

                                                    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; - - /** - *

                                                    The Reserved Instance modification information.

                                                    - */ - ReservedInstancesModifications?: ReservedInstancesModification[]; -} - -export namespace DescribeReservedInstancesModificationsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesModificationsResult): any => ({ - ...obj, - }); -} - -/** - *

                                                    Contains the parameters for DescribeReservedInstancesOfferings.

                                                    - */ -export interface DescribeReservedInstancesOfferingsRequest { - /** - *

                                                    The Availability Zone in which the Reserved Instance can be used.

                                                    - */ - AvailabilityZone?: string; - - /** - *

                                                    One or more filters.

                                                    + *

                                                    The filters. The following are possible values:

                                                    *
                                                      *
                                                    • - *

                                                      - * availability-zone - The Availability Zone where the Reserved Instance can be - * used.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * duration - The duration of the Reserved Instance (for example, one year or - * three years), in seconds (31536000 | 94608000).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * fixed-price - The purchase price of the Reserved Instance (for example, - * 9800.0).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * instance-type - The instance type that is covered by the - * reservation.

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * marketplace - Set to true to show only Reserved Instance - * Marketplace offerings. When this filter is not used, which is the default behavior, all - * offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

                                                      + *

                                                      Destination - The ID of the resource.

                                                      *
                                                    • *
                                                    • - *

                                                      - * product-description - The Reserved Instance product platform description. - * Instances that include (Amazon VPC) in the product platform description will - * only be displayed to EC2-Classic account holders and are for use with Amazon VPC. - * (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE - * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise - * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat - * Enterprise Linux with HA (Amazon VPC) | Windows | Windows - * (Amazon VPC) | Windows with SQL Server Standard | Windows with - * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | - * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server - * Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

                                                      + *

                                                      DestinationPort - The destination port.

                                                      *
                                                    • *
                                                    • - *

                                                      - * reserved-instances-offering-id - The Reserved Instances offering - * ID.

                                                      + *

                                                      Name - The path name.

                                                      *
                                                    • *
                                                    • - *

                                                      - * scope - The scope of the Reserved Instance (Availability Zone or - * Region).

                                                      + *

                                                      Protocol - The protocol.

                                                      *
                                                    • *
                                                    • - *

                                                      - * usage-price - The usage price of the Reserved Instance, per hour (for - * example, 0.84).

                                                      + *

                                                      Source - The ID of the resource.

                                                      *
                                                    • *
                                                    */ Filters?: Filter[]; /** - *

                                                    Include Reserved Instance Marketplace offerings in the response.

                                                    + *

                                                    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                    */ - IncludeMarketplace?: boolean; + MaxResults?: number; /** - *

                                                    The instance type that the reservation will cover (for example, m1.small). For more information, see - * Instance types in the - * Amazon EC2 User Guide.

                                                    + *

                                                    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.

                                                    */ - InstanceType?: _InstanceType | string; + DryRun?: boolean; /** - *

                                                    The maximum duration (in seconds) to filter when searching for offerings.

                                                    - *

                                                    Default: 94608000 (3 years)

                                                    + *

                                                    The token for the next page of results.

                                                    */ - MaxDuration?: number; + NextToken?: string; +} +export namespace DescribeNetworkInsightsPathsRequest { /** - *

                                                    The maximum number of instances to filter when searching for offerings.

                                                    - *

                                                    Default: 20

                                                    + * @internal */ - MaxInstanceCount?: number; + export const filterSensitiveLog = (obj: DescribeNetworkInsightsPathsRequest): any => ({ + ...obj, + }); +} +export interface DescribeNetworkInsightsPathsResult { /** - *

                                                    The minimum duration (in seconds) to filter when searching for offerings.

                                                    - *

                                                    Default: 2592000 (1 month)

                                                    + *

                                                    Information about the paths.

                                                    */ - MinDuration?: number; + NetworkInsightsPaths?: NetworkInsightsPath[]; /** - *

                                                    The offering class of the Reserved Instance. Can be standard or convertible.

                                                    + *

                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                    */ - OfferingClass?: OfferingClassType | string; + NextToken?: string; +} +export namespace DescribeNetworkInsightsPathsResult { /** - *

                                                    The Reserved Instance product platform description. Instances that include (Amazon - * VPC) in the description are for use with Amazon VPC.

                                                    + * @internal */ - ProductDescription?: RIProductDescription | string; + export const filterSensitiveLog = (obj: DescribeNetworkInsightsPathsResult): any => ({ + ...obj, + }); +} + +export type NetworkInterfaceAttribute = "attachment" | "description" | "groupSet" | "sourceDestCheck"; +/** + *

                                                    Contains the parameters for DescribeNetworkInterfaceAttribute.

                                                    + */ +export interface DescribeNetworkInterfaceAttributeRequest { /** - *

                                                    One or more Reserved Instances offering IDs.

                                                    + *

                                                    The attribute of the network interface. This parameter is required.

                                                    */ - ReservedInstancesOfferingIds?: string[]; + Attribute?: NetworkInterfaceAttribute | string; /** *

                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -5513,292 +4734,302 @@ export interface DescribeReservedInstancesOfferingsRequest { DryRun?: boolean; /** - *

                                                    The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy - * of dedicated is applied to instances that run in a VPC on single-tenant hardware - * (i.e., Dedicated Instances).

                                                    - *

                                                    - * Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

                                                    - *

                                                    Default: default - *

                                                    + *

                                                    The ID of the network interface.

                                                    */ - InstanceTenancy?: Tenancy | string; + NetworkInterfaceId: string | undefined; +} +export namespace DescribeNetworkInterfaceAttributeRequest { /** - *

                                                    The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. The maximum is 100.

                                                    - *

                                                    Default: 100

                                                    + * @internal */ - MaxResults?: number; + export const filterSensitiveLog = (obj: DescribeNetworkInterfaceAttributeRequest): any => ({ + ...obj, + }); +} +/** + *

                                                    Contains the output of DescribeNetworkInterfaceAttribute.

                                                    + */ +export interface DescribeNetworkInterfaceAttributeResult { /** - *

                                                    The token to retrieve the next page of results.

                                                    + *

                                                    The attachment (if any) of the network interface.

                                                    */ - NextToken?: string; + Attachment?: NetworkInterfaceAttachment; /** - *

                                                    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API - * version, you only have access to the Medium Utilization Reserved Instance - * offering type.

                                                    + *

                                                    The description of the network interface.

                                                    */ - OfferingType?: OfferingTypeValues | string; -} + Description?: AttributeValue; -export namespace DescribeReservedInstancesOfferingsRequest { /** - * @internal + *

                                                    The security groups associated with the network interface.

                                                    */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesOfferingsRequest): any => ({ - ...obj, - }); -} + Groups?: GroupIdentifier[]; -/** - *

                                                    Describes a Reserved Instance offering.

                                                    - */ -export interface PricingDetail { /** - *

                                                    The number of reservations available for the price.

                                                    + *

                                                    The ID of the network interface.

                                                    */ - Count?: number; + NetworkInterfaceId?: string; /** - *

                                                    The price per instance.

                                                    + *

                                                    Indicates whether source/destination checking is enabled.

                                                    */ - Price?: number; + SourceDestCheck?: AttributeBooleanValue; } -export namespace PricingDetail { +export namespace DescribeNetworkInterfaceAttributeResult { /** * @internal */ - export const filterSensitiveLog = (obj: PricingDetail): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInterfaceAttributeResult): any => ({ ...obj, }); } /** - *

                                                    Describes a Reserved Instance offering.

                                                    + *

                                                    Contains the parameters for DescribeNetworkInterfacePermissions.

                                                    */ -export interface ReservedInstancesOffering { +export interface DescribeNetworkInterfacePermissionsRequest { /** - *

                                                    The Availability Zone in which the Reserved Instance can be used.

                                                    + *

                                                    One or more network interface permission IDs.

                                                    */ - AvailabilityZone?: string; + NetworkInterfacePermissionIds?: string[]; /** - *

                                                    The duration of the Reserved Instance, in seconds.

                                                    + *

                                                    One or more filters.

                                                    + *
                                                      + *
                                                    • + *

                                                      + * network-interface-permission.network-interface-permission-id - The ID of the + * permission.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * network-interface-permission.network-interface-id - The ID of + * the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * network-interface-permission.aws-account-id - The account ID.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * network-interface-permission.aws-service - The Amazon Web Service.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * network-interface-permission.permission - The type of + * permission (INSTANCE-ATTACH | + * EIP-ASSOCIATE).

                                                      + *
                                                    • + *
                                                    */ - Duration?: number; + Filters?: Filter[]; /** - *

                                                    The purchase price of the Reserved Instance.

                                                    + *

                                                    The token to request the next page of results.

                                                    */ - FixedPrice?: number; - - /** - *

                                                    The instance type on which the Reserved Instance can be used.

                                                    - */ - InstanceType?: _InstanceType | string; - - /** - *

                                                    The Reserved Instance product platform description.

                                                    - */ - ProductDescription?: RIProductDescription | string; - - /** - *

                                                    The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote - * to confirm that an exchange can be made.

                                                    - */ - ReservedInstancesOfferingId?: string; - - /** - *

                                                    The usage price of the Reserved Instance, per hour.

                                                    - */ - UsagePrice?: number; - - /** - *

                                                    The currency of the Reserved Instance offering you are purchasing. It's - * specified using ISO 4217 standard currency codes. At this time, - * the only supported currency is USD.

                                                    - */ - CurrencyCode?: CurrencyCodeValues | string; - - /** - *

                                                    The tenancy of the instance.

                                                    - */ - InstanceTenancy?: Tenancy | string; - - /** - *

                                                    Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. - * If it's a Reserved Instance Marketplace offering, this is true.

                                                    - */ - Marketplace?: boolean; - - /** - *

                                                    If convertible it can be exchanged for Reserved Instances of - * the same or higher monetary value, with different configurations. If standard, it is not - * possible to perform an exchange.

                                                    - */ - OfferingClass?: OfferingClassType | string; - - /** - *

                                                    The Reserved Instance offering type.

                                                    - */ - OfferingType?: OfferingTypeValues | string; - - /** - *

                                                    The pricing details of the Reserved Instance offering.

                                                    - */ - PricingDetails?: PricingDetail[]; - - /** - *

                                                    The recurring charge tag assigned to the resource.

                                                    - */ - RecurringCharges?: RecurringCharge[]; + NextToken?: string; /** - *

                                                    Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

                                                    + *

                                                    The maximum number of results to return in a single call. To retrieve the remaining results, + * make another call with the returned NextToken value. If this parameter is not specified, up to 50 results are returned by default.

                                                    */ - Scope?: Scope | string; + MaxResults?: number; } -export namespace ReservedInstancesOffering { +export namespace DescribeNetworkInterfacePermissionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ReservedInstancesOffering): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInterfacePermissionsRequest): any => ({ ...obj, }); } /** - *

                                                    Contains the output of DescribeReservedInstancesOfferings.

                                                    + *

                                                    Contains the output for DescribeNetworkInterfacePermissions.

                                                    */ -export interface DescribeReservedInstancesOfferingsResult { +export interface DescribeNetworkInterfacePermissionsResult { /** - *

                                                    A list of Reserved Instances offerings.

                                                    + *

                                                    The network interface permissions.

                                                    */ - ReservedInstancesOfferings?: ReservedInstancesOffering[]; + NetworkInterfacePermissions?: NetworkInterfacePermission[]; /** - *

                                                    The token to use to retrieve the next page of results. This value is null when - * there are no more results to return.

                                                    + *

                                                    The token to use to retrieve the next page of results.

                                                    */ NextToken?: string; } -export namespace DescribeReservedInstancesOfferingsResult { +export namespace DescribeNetworkInterfacePermissionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeReservedInstancesOfferingsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInterfacePermissionsResult): any => ({ ...obj, }); } -export interface DescribeRouteTablesRequest { +/** + *

                                                    Contains the parameters for DescribeNetworkInterfaces.

                                                    + */ +export interface DescribeNetworkInterfacesRequest { /** *

                                                    One or more filters.

                                                    *
                                                      *
                                                    • *

                                                      - * association.route-table-association-id - The ID of an association - * ID for the route table.

                                                      + * addresses.private-ip-address - The private IPv4 addresses + * associated with the network interface.

                                                      *
                                                    • *
                                                    • *

                                                      - * association.route-table-id - The ID of the route table involved in - * the association.

                                                      + * addresses.primary - Whether the private IPv4 address is the primary + * IP address associated with the network interface.

                                                      *
                                                    • *
                                                    • *

                                                      - * association.subnet-id - The ID of the subnet involved in the - * association.

                                                      + * addresses.association.public-ip - The association ID returned when + * the network interface was associated with the Elastic IP address + * (IPv4).

                                                      *
                                                    • *
                                                    • *

                                                      - * association.main - Indicates whether the route table is the main - * route table for the VPC (true | false). Route tables - * that do not have an association ID are not returned in the response.

                                                      + * addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

                                                      *
                                                    • *
                                                    • *

                                                      - * owner-id - The ID of the AWS account that owns the route table.

                                                      + * association.association-id - The association ID returned when the + * network interface was associated with an IPv4 address.

                                                      *
                                                    • *
                                                    • *

                                                      - * route-table-id - The ID of the route table.

                                                      + * association.allocation-id - The allocation ID returned when you + * allocated the Elastic IP address (IPv4) for your network interface.

                                                      *
                                                    • *
                                                    • - *

                                                      - * route.destination-cidr-block - The IPv4 CIDR range specified in a - * route in the table.

                                                      - *
                                                    • + *

                                                      + * association.ip-owner-id - The owner of the Elastic IP address + * (IPv4) associated with the network interface.

                                                      + * *
                                                    • - *

                                                      - * route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

                                                      - *
                                                    • + *

                                                      + * association.public-ip - The address of the Elastic IP address + * (IPv4) bound to the network interface.

                                                      + * *
                                                    • - *

                                                      - * route.destination-prefix-list-id - The ID (prefix) of the AWS - * service specified in a route in the table.

                                                      - *
                                                    • + *

                                                      + * association.public-dns-name - The public DNS name for the network + * interface (IPv4).

                                                      + * *
                                                    • - *

                                                      - * route.egress-only-internet-gateway-id - The ID of an - * egress-only Internet gateway specified in a route in the route table.

                                                      - *
                                                    • + *

                                                      + * attachment.attachment-id - The ID of the interface attachment.

                                                      + * *
                                                    • *

                                                      - * route.gateway-id - The ID of a gateway specified in a route in the table.

                                                      + * attachment.attach-time - The time that the network interface was attached to an instance.

                                                      *
                                                    • *
                                                    • - *

                                                      - * route.instance-id - The ID of an instance specified in a route in the table.

                                                      - *
                                                    • + *

                                                      + * attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

                                                      + * *
                                                    • - *

                                                      - * route.nat-gateway-id - The ID of a NAT gateway.

                                                      - *
                                                    • + *

                                                      + * attachment.device-index - The device index to which the network interface is attached.

                                                      + * *
                                                    • *

                                                      - * route.transit-gateway-id - The ID of a transit gateway.

                                                      + * attachment.instance-id - The ID of the instance to which the network interface is attached.

                                                      *
                                                    • *
                                                    • *

                                                      - * route.origin - Describes how the route was created. - * CreateRouteTable indicates that the route was automatically - * created when the route table was created; CreateRoute indicates - * that the route was manually added to the route table; - * EnableVgwRoutePropagation indicates that the route was - * propagated by route propagation.

                                                      + * attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * attachment.status - The status of the attachment (attaching | attached | detaching | detached).

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * availability-zone - The Availability Zone of the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * description - The description of the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * group-id - The ID of a security group associated with the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * group-name - The name of a security group associated with the network interface.

                                                      *
                                                    • *
                                                    • *

                                                      - * route.state - The state of a route in the route table - * (active | blackhole). The blackhole state - * indicates that the route's target isn't available (for example, the specified - * gateway isn't attached to the VPC, the specified NAT instance has been - * terminated, and so on).

                                                      + * ipv6-addresses.ipv6-address - An IPv6 address associated with + * the network interface.

                                                      *
                                                    • *
                                                    • - *

                                                      - * route.vpc-peering-connection-id - The ID of a VPC peering - * connection specified in a route in the table.

                                                      + *

                                                      + * mac-address - The MAC address of the network interface.

                                                      *
                                                    • *
                                                    • - *

                                                      + *

                                                      + * network-interface-id - The ID of the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * owner-id - The account ID of the network interface owner.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * private-ip-address - The private IPv4 address or addresses of the + * network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * private-dns-name - The private DNS name of the network interface (IPv4).

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * requester-id - The alias or account ID of the principal or service that created the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service + * (for example, Management Console, Auto Scaling, and so on).

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * source-dest-check - Indicates whether the network interface performs source/destination checking. + * A value of true means checking is enabled, and false means checking is disabled. + * The value must be false for the network interface to perform network address translation (NAT) in your VPC.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * status - The status of the network interface. If the network interface is not attached to an instance, the status is available; + * if a network interface is attached to an instance the status is in-use.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * subnet-id - The ID of the subnet for the network interface.

                                                      + *
                                                    • + *
                                                    • + *

                                                      * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                      *
                                                    • *
                                                    • - *

                                                      + *

                                                      * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                      *
                                                    • *
                                                    • - *

                                                      - * vpc-id - The ID of the VPC for the route table.

                                                      + *

                                                      + * vpc-id - The ID of the VPC for the network interface.

                                                      *
                                                    • *
                                                    */ @@ -5806,46 +5037,47 @@ export interface DescribeRouteTablesRequest { /** *

                                                    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.

                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                    */ DryRun?: boolean; /** - *

                                                    One or more route table IDs.

                                                    - *

                                                    Default: Describes all your route tables.

                                                    - */ - RouteTableIds?: string[]; + *

                                                    One or more network interface IDs.

                                                    + *

                                                    Default: Describes all your network interfaces.

                                                    + */ + NetworkInterfaceIds?: string[]; /** - *

                                                    The token for the next page of results.

                                                    + *

                                                    The token to retrieve the next page of results.

                                                    */ NextToken?: string; /** - *

                                                    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                    + *

                                                    The maximum number of items to return for this request. The request returns a token that you + * can specify in a subsequent call to get the next set of results. You cannot specify this + * parameter and the network interface IDs parameter in the same request.

                                                    */ MaxResults?: number; } -export namespace DescribeRouteTablesRequest { +export namespace DescribeNetworkInterfacesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeRouteTablesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInterfacesRequest): any => ({ ...obj, }); } /** - *

                                                    Contains the output of DescribeRouteTables.

                                                    + *

                                                    Contains the output of DescribeNetworkInterfaces.

                                                    */ -export interface DescribeRouteTablesResult { +export interface DescribeNetworkInterfacesResult { /** - *

                                                    Information about one or more route tables.

                                                    + *

                                                    Information about one or more network interfaces.

                                                    */ - RouteTables?: RouteTable[]; + NetworkInterfaces?: NetworkInterface[]; /** *

                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                    @@ -5853,86 +5085,94 @@ export interface DescribeRouteTablesResult { NextToken?: string; } -export namespace DescribeRouteTablesResult { +export namespace DescribeNetworkInterfacesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeRouteTablesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeNetworkInterfacesResult): any => ({ ...obj, }); } -/** - *

                                                    Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

                                                    - */ -export interface SlotDateTimeRangeRequest { - /** - *

                                                    The earliest date and time, in UTC, for the Scheduled Instance to start.

                                                    - */ - EarliestTime: Date | undefined; - - /** - *

                                                    The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

                                                    - */ - LatestTime: Date | undefined; -} - -export namespace SlotDateTimeRangeRequest { +export interface DescribePlacementGroupsRequest { /** - * @internal + *

                                                    The filters.

                                                    + *
                                                      + *
                                                    • + *

                                                      + * group-name - The name of the placement group.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * state - The state of the placement group (pending | + * available | deleting | + * deleted).

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * strategy - The strategy of the placement group + * (cluster | spread | + * partition).

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

                                                      + *
                                                    • + *
                                                    */ - export const filterSensitiveLog = (obj: SlotDateTimeRangeRequest): any => ({ - ...obj, - }); -} + Filters?: Filter[]; -/** - *

                                                    Describes the recurring schedule for a Scheduled Instance.

                                                    - */ -export interface ScheduledInstanceRecurrenceRequest { /** - *

                                                    The frequency (Daily, Weekly, or Monthly).

                                                    + *

                                                    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.

                                                    */ - Frequency?: string; + DryRun?: boolean; /** - *

                                                    The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 - * weeks or every 2 months.

                                                    + *

                                                    The names of the placement groups.

                                                    + *

                                                    Default: Describes all your placement groups, or only those otherwise + * specified.

                                                    */ - Interval?: number; + GroupNames?: string[]; /** - *

                                                    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

                                                    + *

                                                    The IDs of the placement groups.

                                                    */ - OccurrenceDays?: number[]; + GroupIds?: string[]; +} +export namespace DescribePlacementGroupsRequest { /** - *

                                                    Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

                                                    + * @internal */ - OccurrenceRelativeToEnd?: boolean; + export const filterSensitiveLog = (obj: DescribePlacementGroupsRequest): any => ({ + ...obj, + }); +} +export interface DescribePlacementGroupsResult { /** - *

                                                    The unit for OccurrenceDays (DayOfWeek or DayOfMonth). - * This value is required for a monthly schedule. - * You can't specify DayOfWeek with a weekly schedule. - * You can't specify this value with a daily schedule.

                                                    + *

                                                    Information about the placement groups.

                                                    */ - OccurrenceUnit?: string; + PlacementGroups?: PlacementGroup[]; } -export namespace ScheduledInstanceRecurrenceRequest { +export namespace DescribePlacementGroupsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ScheduledInstanceRecurrenceRequest): any => ({ + export const filterSensitiveLog = (obj: DescribePlacementGroupsResult): any => ({ ...obj, }); } -/** - *

                                                    Contains the parameters for DescribeScheduledInstanceAvailability.

                                                    - */ -export interface DescribeScheduledInstanceAvailabilityRequest { +export interface DescribePrefixListsRequest { /** *

                                                    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. @@ -5941,2423 +5181,2958 @@ export interface DescribeScheduledInstanceAvailabilityRequest { DryRun?: boolean; /** - *

                                                    The filters.

                                                    - *
                                                      - *
                                                    • - *

                                                      - * availability-zone - The Availability Zone (for example, us-west-2a).

                                                      - *
                                                    • - *
                                                    • - *

                                                      - * instance-type - The instance type (for example, c4.large).

                                                      - *
                                                    • + *

                                                      One or more filters.

                                                      + *
                                                        *
                                                      • - *

                                                        - * network-platform - The network platform (EC2-Classic or EC2-VPC).

                                                        + *

                                                        + * prefix-list-id: The ID of a prefix list.

                                                        *
                                                      • *
                                                      • - *

                                                        - * platform - The platform (Linux/UNIX or Windows).

                                                        + *

                                                        + * prefix-list-name: The name of a prefix list.

                                                        *
                                                      • *
                                                      */ Filters?: Filter[]; /** - *

                                                      The time period for the first schedule to start.

                                                      - */ - FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined; - - /** - *

                                                      The maximum number of results to return in a single call. - * This value can be between 5 and 300. The default value is 300. - * To retrieve the remaining results, make another call with the returned - * NextToken value.

                                                      + *

                                                      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                      */ MaxResults?: number; /** - *

                                                      The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours - * and less than 1,720.

                                                      - */ - MaxSlotDurationInHours?: number; - - /** - *

                                                      The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

                                                      - */ - MinSlotDurationInHours?: number; - - /** - *

                                                      The token for the next set of results.

                                                      + *

                                                      The token for the next page of results.

                                                      */ NextToken?: string; /** - *

                                                      The schedule recurrence.

                                                      + *

                                                      One or more prefix list IDs.

                                                      */ - Recurrence: ScheduledInstanceRecurrenceRequest | undefined; + PrefixListIds?: string[]; } -export namespace DescribeScheduledInstanceAvailabilityRequest { +export namespace DescribePrefixListsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeScheduledInstanceAvailabilityRequest): any => ({ + export const filterSensitiveLog = (obj: DescribePrefixListsRequest): any => ({ ...obj, }); } /** - *

                                                      Describes the recurring schedule for a Scheduled Instance.

                                                      + *

                                                      Describes prefixes for Amazon Web Services services.

                                                      */ -export interface ScheduledInstanceRecurrence { +export interface PrefixList { /** - *

                                                      The frequency (Daily, Weekly, or Monthly).

                                                      + *

                                                      The IP address range of the Amazon Web Service.

                                                      */ - Frequency?: string; + Cidrs?: string[]; /** - *

                                                      The interval quantity. The interval unit depends on the value of frequency. For example, every 2 - * weeks or every 2 months.

                                                      + *

                                                      The ID of the prefix.

                                                      */ - Interval?: number; + PrefixListId?: string; /** - *

                                                      The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

                                                      + *

                                                      The name of the prefix.

                                                      */ - OccurrenceDaySet?: number[]; + PrefixListName?: string; +} +export namespace PrefixList { /** - *

                                                      Indicates whether the occurrence is relative to the end of the specified week or month.

                                                      + * @internal */ - OccurrenceRelativeToEnd?: boolean; + export const filterSensitiveLog = (obj: PrefixList): any => ({ + ...obj, + }); +} +export interface DescribePrefixListsResult { /** - *

                                                      The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

                                                      + *

                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                      */ - OccurrenceUnit?: string; + NextToken?: string; + + /** + *

                                                      All available prefix lists.

                                                      + */ + PrefixLists?: PrefixList[]; } -export namespace ScheduledInstanceRecurrence { +export namespace DescribePrefixListsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ScheduledInstanceRecurrence): any => ({ + export const filterSensitiveLog = (obj: DescribePrefixListsResult): any => ({ ...obj, }); } -/** - *

                                                      Describes a schedule that is available for your Scheduled Instances.

                                                      - */ -export interface ScheduledInstanceAvailability { +export interface DescribePrincipalIdFormatRequest { /** - *

                                                      The Availability Zone.

                                                      + *

                                                      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.

                                                      */ - AvailabilityZone?: string; + DryRun?: boolean; /** - *

                                                      The number of available instances.

                                                      + *

                                                      The type of resource: bundle | + * conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | instance | internet-gateway | + * network-acl | network-acl-association | + * network-interface | network-interface-attachment | + * prefix-list | reservation | route-table | + * route-table-association | security-group | + * snapshot | subnet | + * subnet-cidr-block-association | volume | vpc + * | vpc-cidr-block-association | vpc-endpoint | + * vpc-peering-connection | vpn-connection | vpn-gateway + *

                                                      */ - AvailableInstanceCount?: number; + Resources?: string[]; /** - *

                                                      The time period for the first schedule to start.

                                                      + *

                                                      The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value.

                                                      */ - FirstSlotStartTime?: Date; + MaxResults?: number; /** - *

                                                      The hourly price for a single instance.

                                                      + *

                                                      The token to request the next page of results.

                                                      */ - HourlyPrice?: string; + NextToken?: string; +} +export namespace DescribePrincipalIdFormatRequest { /** - *

                                                      The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

                                                      + * @internal */ - InstanceType?: string; + export const filterSensitiveLog = (obj: DescribePrincipalIdFormatRequest): any => ({ + ...obj, + }); +} +/** + *

                                                      PrincipalIdFormat description

                                                      + */ +export interface PrincipalIdFormat { /** - *

                                                      The maximum term. The only possible value is 365 days.

                                                      + *

                                                      PrincipalIdFormatARN description

                                                      */ - MaxTermDurationInDays?: number; + Arn?: string; /** - *

                                                      The minimum term. The only possible value is 365 days.

                                                      + *

                                                      PrincipalIdFormatStatuses description

                                                      */ - MinTermDurationInDays?: number; + Statuses?: IdFormat[]; +} +export namespace PrincipalIdFormat { /** - *

                                                      The network platform (EC2-Classic or EC2-VPC).

                                                      + * @internal */ - NetworkPlatform?: string; + export const filterSensitiveLog = (obj: PrincipalIdFormat): any => ({ + ...obj, + }); +} +export interface DescribePrincipalIdFormatResult { /** - *

                                                      The platform (Linux/UNIX or Windows).

                                                      + *

                                                      Information about the ID format settings for the ARN.

                                                      */ - Platform?: string; + Principals?: PrincipalIdFormat[]; /** - *

                                                      The purchase token. This token expires in two hours.

                                                      + *

                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                      */ - PurchaseToken?: string; + NextToken?: string; +} +export namespace DescribePrincipalIdFormatResult { /** - *

                                                      The schedule recurrence.

                                                      + * @internal */ - Recurrence?: ScheduledInstanceRecurrence; + export const filterSensitiveLog = (obj: DescribePrincipalIdFormatResult): any => ({ + ...obj, + }); +} + +export interface DescribePublicIpv4PoolsRequest { + /** + *

                                                      The IDs of the address pools.

                                                      + */ + PoolIds?: string[]; /** - *

                                                      The number of hours in the schedule.

                                                      + *

                                                      The token for the next page of results.

                                                      */ - SlotDurationInHours?: number; + NextToken?: string; /** - *

                                                      The total number of hours for a single instance for the entire term.

                                                      + *

                                                      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                      */ - TotalScheduledInstanceHours?: number; + MaxResults?: number; + + /** + *

                                                      One or more filters.

                                                      + *
                                                        + *
                                                      • + *

                                                        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                        + *
                                                      • + *
                                                      • + *

                                                        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                        + *
                                                      • + *
                                                      + */ + Filters?: Filter[]; } -export namespace ScheduledInstanceAvailability { +export namespace DescribePublicIpv4PoolsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ScheduledInstanceAvailability): any => ({ + export const filterSensitiveLog = (obj: DescribePublicIpv4PoolsRequest): any => ({ ...obj, }); } /** - *

                                                      Contains the output of DescribeScheduledInstanceAvailability.

                                                      + *

                                                      Describes an address range of an IPv4 address pool.

                                                      */ -export interface DescribeScheduledInstanceAvailabilityResult { +export interface PublicIpv4PoolRange { /** - *

                                                      The token required to retrieve the next set of results. This value is null when there are no more results to return.

                                                      + *

                                                      The first IP address in the range.

                                                      */ - NextToken?: string; + FirstAddress?: string; /** - *

                                                      Information about the available Scheduled Instances.

                                                      + *

                                                      The last IP address in the range.

                                                      */ - ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[]; + LastAddress?: string; + + /** + *

                                                      The number of addresses in the range.

                                                      + */ + AddressCount?: number; + + /** + *

                                                      The number of available addresses in the range.

                                                      + */ + AvailableAddressCount?: number; } -export namespace DescribeScheduledInstanceAvailabilityResult { +export namespace PublicIpv4PoolRange { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeScheduledInstanceAvailabilityResult): any => ({ + export const filterSensitiveLog = (obj: PublicIpv4PoolRange): any => ({ ...obj, }); } /** - *

                                                      Describes the time period for a Scheduled Instance to start its first schedule.

                                                      + *

                                                      Describes an IPv4 address pool.

                                                      */ -export interface SlotStartTimeRangeRequest { +export interface PublicIpv4Pool { /** - *

                                                      The earliest date and time, in UTC, for the Scheduled Instance to start.

                                                      + *

                                                      The ID of the address pool.

                                                      */ - EarliestTime?: Date; + PoolId?: string; /** - *

                                                      The latest date and time, in UTC, for the Scheduled Instance to start.

                                                      + *

                                                      A description of the address pool.

                                                      */ - LatestTime?: Date; + Description?: string; + + /** + *

                                                      The address ranges.

                                                      + */ + PoolAddressRanges?: PublicIpv4PoolRange[]; + + /** + *

                                                      The total number of addresses.

                                                      + */ + TotalAddressCount?: number; + + /** + *

                                                      The total number of available addresses.

                                                      + */ + TotalAvailableAddressCount?: number; + + /** + *

                                                      The name of the location from which the address pool is advertised. + * A network border group is a unique set of Availability Zones or Local Zones + * from where Amazon Web Services advertises public IP addresses.

                                                      + */ + NetworkBorderGroup?: string; + + /** + *

                                                      Any tags for the address pool.

                                                      + */ + Tags?: Tag[]; } -export namespace SlotStartTimeRangeRequest { +export namespace PublicIpv4Pool { /** * @internal */ - export const filterSensitiveLog = (obj: SlotStartTimeRangeRequest): any => ({ + export const filterSensitiveLog = (obj: PublicIpv4Pool): any => ({ ...obj, }); } -/** - *

                                                      Contains the parameters for DescribeScheduledInstances.

                                                      - */ -export interface DescribeScheduledInstancesRequest { +export interface DescribePublicIpv4PoolsResult { /** - *

                                                      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.

                                                      + *

                                                      Information about the address pools.

                                                      */ - DryRun?: boolean; + PublicIpv4Pools?: PublicIpv4Pool[]; + + /** + *

                                                      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 DescribePublicIpv4PoolsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribePublicIpv4PoolsResult): any => ({ + ...obj, + }); +} +export interface DescribeRegionsRequest { /** *

                                                      The filters.

                                                      *
                                                        *
                                                      • *

                                                        - * availability-zone - The Availability Zone (for example, us-west-2a).

                                                        - *
                                                      • - *
                                                      • - *

                                                        - * instance-type - The instance type (for example, c4.large).

                                                        + * endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

                                                        *
                                                      • *
                                                      • *

                                                        - * network-platform - The network platform (EC2-Classic or EC2-VPC).

                                                        + * opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | + * not-opted-in).

                                                        *
                                                      • *
                                                      • *

                                                        - * platform - The platform (Linux/UNIX or Windows).

                                                        + * region-name - The name of the Region (for example, us-east-1).

                                                        *
                                                      • *
                                                      */ Filters?: Filter[]; /** - *

                                                      The maximum number of results to return in a single call. - * This value can be between 5 and 300. The default value is 100. - * To retrieve the remaining results, make another call with the returned - * NextToken value.

                                                      - */ - MaxResults?: number; - - /** - *

                                                      The token for the next set of results.

                                                      + *

                                                      The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

                                                      */ - NextToken?: string; + RegionNames?: string[]; /** - *

                                                      The Scheduled Instance IDs.

                                                      + *

                                                      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.

                                                      */ - ScheduledInstanceIds?: string[]; + DryRun?: boolean; /** - *

                                                      The time period for the first schedule to start.

                                                      + *

                                                      Indicates whether to display all Regions, including Regions that are disabled for your account.

                                                      */ - SlotStartTimeRange?: SlotStartTimeRangeRequest; + AllRegions?: boolean; } -export namespace DescribeScheduledInstancesRequest { +export namespace DescribeRegionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeScheduledInstancesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeRegionsRequest): any => ({ ...obj, }); } /** - *

                                                      Describes a Scheduled Instance.

                                                      + *

                                                      Describes a Region.

                                                      */ -export interface ScheduledInstance { +export interface Region { /** - *

                                                      The Availability Zone.

                                                      + *

                                                      The Region service endpoint.

                                                      */ - AvailabilityZone?: string; + Endpoint?: string; /** - *

                                                      The date when the Scheduled Instance was purchased.

                                                      + *

                                                      The name of the Region.

                                                      */ - CreateDate?: Date; + RegionName?: string; /** - *

                                                      The hourly price for a single instance.

                                                      + *

                                                      The Region opt-in status. The possible values are opt-in-not-required, opted-in, and + * not-opted-in.

                                                      */ - HourlyPrice?: string; + OptInStatus?: string; +} +export namespace Region { /** - *

                                                      The number of instances.

                                                      + * @internal */ - InstanceCount?: number; + export const filterSensitiveLog = (obj: Region): any => ({ + ...obj, + }); +} +export interface DescribeRegionsResult { /** - *

                                                      The instance type.

                                                      + *

                                                      Information about the Regions.

                                                      */ - InstanceType?: string; + Regions?: Region[]; +} +export namespace DescribeRegionsResult { /** - *

                                                      The network platform (EC2-Classic or EC2-VPC).

                                                      + * @internal */ - NetworkPlatform?: string; + export const filterSensitiveLog = (obj: DescribeRegionsResult): any => ({ + ...obj, + }); +} +export interface DescribeReplaceRootVolumeTasksRequest { /** - *

                                                      The time for the next schedule to start.

                                                      - */ - NextSlotStartTime?: Date; - - /** - *

                                                      The platform (Linux/UNIX or Windows).

                                                      - */ - Platform?: string; - - /** - *

                                                      The time that the previous schedule ended or will end.

                                                      - */ - PreviousSlotEndTime?: Date; - - /** - *

                                                      The schedule recurrence.

                                                      - */ - Recurrence?: ScheduledInstanceRecurrence; - - /** - *

                                                      The Scheduled Instance ID.

                                                      - */ - ScheduledInstanceId?: string; - - /** - *

                                                      The number of hours in the schedule.

                                                      - */ - SlotDurationInHours?: number; - - /** - *

                                                      The end date for the Scheduled Instance.

                                                      - */ - TermEndDate?: Date; - - /** - *

                                                      The start date for the Scheduled Instance.

                                                      + *

                                                      The ID of the root volume replacement task to view.

                                                      */ - TermStartDate?: Date; + ReplaceRootVolumeTaskIds?: string[]; /** - *

                                                      The total number of hours for a single instance for the entire term.

                                                      + *

                                                      Filter to use:

                                                      + *
                                                        + *
                                                      • + *

                                                        + * instance-id - The ID of the instance for which the root volume replacement task was created.

                                                        + *
                                                      • + *
                                                      */ - TotalScheduledInstanceHours?: number; -} + Filters?: Filter[]; -export namespace ScheduledInstance { /** - * @internal + *

                                                      The maximum number of results to return with a single call. To retrieve the remaining results, + * make another call with the returned nextToken value.

                                                      */ - export const filterSensitiveLog = (obj: ScheduledInstance): any => ({ - ...obj, - }); -} + MaxResults?: number; -/** - *

                                                      Contains the output of DescribeScheduledInstances.

                                                      - */ -export interface DescribeScheduledInstancesResult { /** - *

                                                      The token required to retrieve the next set of results. This value is null when there are no more results to return.

                                                      + *

                                                      The token for the next page of results.

                                                      */ NextToken?: string; - /** - *

                                                      Information about the Scheduled Instances.

                                                      - */ - ScheduledInstanceSet?: ScheduledInstance[]; -} - -export namespace DescribeScheduledInstancesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeScheduledInstancesResult): any => ({ - ...obj, - }); -} - -export interface DescribeSecurityGroupReferencesRequest { /** *

                                                      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; - - /** - *

                                                      The IDs of the security groups in your account.

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

                                                      Describes a VPC with a security group that references your security group.

                                                      - */ -export interface SecurityGroupReference { - /** - *

                                                      The ID of your security group.

                                                      - */ - GroupId?: string; - +export interface DescribeReplaceRootVolumeTasksResult { /** - *

                                                      The ID of the VPC with the referencing security group.

                                                      + *

                                                      Information about the root volume replacement task.

                                                      */ - ReferencingVpcId?: string; + ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[]; /** - *

                                                      The ID of the VPC peering connection.

                                                      + *

                                                      The token to use to retrieve the next page of results. This value is null when there are no + * more results to return.

                                                      */ - VpcPeeringConnectionId?: string; + NextToken?: string; } -export namespace SecurityGroupReference { +export namespace DescribeReplaceRootVolumeTasksResult { /** * @internal */ - export const filterSensitiveLog = (obj: SecurityGroupReference): any => ({ + export const filterSensitiveLog = (obj: DescribeReplaceRootVolumeTasksResult): any => ({ ...obj, }); } -export interface DescribeSecurityGroupReferencesResult { - /** - *

                                                      Information about the VPCs with the referencing security groups.

                                                      - */ - SecurityGroupReferenceSet?: SecurityGroupReference[]; +export enum OfferingClassType { + CONVERTIBLE = "convertible", + STANDARD = "standard", } -export namespace DescribeSecurityGroupReferencesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeSecurityGroupReferencesResult): any => ({ - ...obj, - }); -} +export type OfferingTypeValues = + | "All Upfront" + | "Heavy Utilization" + | "Light Utilization" + | "Medium Utilization" + | "No Upfront" + | "Partial Upfront"; -export interface DescribeSecurityGroupRulesRequest { +/** + *

                                                      Contains the parameters for DescribeReservedInstances.

                                                      + */ +export interface DescribeReservedInstancesRequest { /** *

                                                      One or more filters.

                                                      - *
                                                        + *
                                                          *
                                                        • - *

                                                          - * group-id - The ID of the security group.

                                                          + *

                                                          + * availability-zone - The Availability Zone where the Reserved Instance can be used.

                                                          *
                                                        • *
                                                        • - *

                                                          - * security-group-rule-id - The ID of the security group rule.

                                                          + *

                                                          + * duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * instance-type - The instance type that is covered by the reservation.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * scope - The scope of the Reserved Instance (Region or Availability Zone).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * product-description - The Reserved Instance product platform + * description. Instances that include (Amazon VPC) in the product platform + * description will only be displayed to EC2-Classic account holders and are for use with + * Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE + * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise + * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat + * Enterprise Linux with HA (Amazon VPC) | Windows | Windows + * (Amazon VPC) | Windows with SQL Server Standard | Windows with + * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | + * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server + * Enterprise | Windows with SQL Server Enterprise (Amazon + * VPC)).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * reserved-instances-id - The ID of the Reserved Instance.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired).

                                                          *
                                                        • *
                                                        • *

                                                          * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                          *
                                                        • + *
                                                        • + *

                                                          + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

                                                          + *
                                                        • *
                                                        */ Filters?: Filter[]; /** - *

                                                        The IDs of the security group rules.

                                                        + *

                                                        Describes whether the Reserved Instance is Standard or Convertible.

                                                        */ - SecurityGroupRuleIds?: string[]; + OfferingClass?: OfferingClassType | string; /** - *

                                                        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.

                                                        + *

                                                        One or more Reserved Instance IDs.

                                                        + *

                                                        Default: Describes all your Reserved Instances, or only those otherwise specified.

                                                        */ - DryRun?: boolean; + ReservedInstancesIds?: string[]; /** - *

                                                        The token for the next page of results.

                                                        + *

                                                        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.

                                                        */ - NextToken?: string; + DryRun?: boolean; /** - *

                                                        The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value. This value - * can be between 5 and 1000. If this parameter is not specified, then all results are - * returned.

                                                        + *

                                                        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API + * version, you only have access to the Medium Utilization Reserved Instance + * offering type.

                                                        */ - MaxResults?: number; + OfferingType?: OfferingTypeValues | string; } -export namespace DescribeSecurityGroupRulesRequest { +export namespace DescribeReservedInstancesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSecurityGroupRulesRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesRequest): any => ({ ...obj, }); } -export interface DescribeSecurityGroupRulesResult { +export type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)"; + +export type RecurringChargeFrequency = "Hourly"; + +/** + *

                                                        Describes a recurring charge.

                                                        + */ +export interface RecurringCharge { /** - *

                                                        Information about security group rules.

                                                        + *

                                                        The amount of the recurring charge.

                                                        */ - SecurityGroupRules?: SecurityGroupRule[]; + Amount?: number; /** - *

                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                        + *

                                                        The frequency of the recurring charge.

                                                        */ - NextToken?: string; + Frequency?: RecurringChargeFrequency | string; } -export namespace DescribeSecurityGroupRulesResult { +export namespace RecurringCharge { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSecurityGroupRulesResult): any => ({ + export const filterSensitiveLog = (obj: RecurringCharge): any => ({ ...obj, }); } -export interface DescribeSecurityGroupsRequest { - /** - *

                                                        The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.

                                                        - *
                                                          - *
                                                        • - *

                                                          - * description - The description of the security group.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.cidr - An IPv4 CIDR block for an outbound - * security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.from-port - For an outbound rule, the - * start of port range for the TCP and UDP protocols, or an ICMP type - * number.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.group-id - The ID of a security group - * that has been referenced in an outbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.group-name - The name of a security group - * that is referenced in an outbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an - * outbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.prefix-list-id - The ID of a prefix list to which a security group rule allows outbound access.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.protocol - The IP protocol for an - * outbound security group rule (tcp | udp | - * icmp, a protocol number, or -1 for all protocols).

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.to-port - For an outbound rule, the end - * of port range for the TCP and UDP protocols, or an ICMP code.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * egress.ip-permission.user-id - The ID of an Amazon Web Services account that - * has been referenced in an outbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * group-id - The ID of the security group.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * group-name - The name of the security group.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.cidr - An IPv4 CIDR block for an inbound security - * group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.from-port - For an inbound rule, the start of port - * range for the TCP and UDP protocols, or an ICMP type number.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.group-id - The ID of a security group that has been - * referenced in an inbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.group-name - The name of a security group that is - * referenced in an inbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security - * group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.prefix-list-id - The ID of a prefix list from which a security group rule allows inbound access.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.protocol - The IP protocol for an inbound security - * group rule (tcp | udp | icmp, a - * protocol number, or -1 for all protocols).

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.to-port - For an inbound rule, the end of port range - * for the TCP and UDP protocols, or an ICMP code.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * ip-permission.user-id - The ID of an Amazon Web Services account that has been - * referenced in an inbound security group rule.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * owner-id - The Amazon Web Services account ID of the owner of the security group.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                          - *
                                                        • - *
                                                        • - *

                                                          - * vpc-id - The ID of the VPC specified when the security group was created.

                                                          - *
                                                        • - *
                                                        +export enum Scope { + AVAILABILITY_ZONE = "Availability Zone", + REGIONAL = "Region", +} + +export type ReservedInstanceState = + | "active" + | "payment-failed" + | "payment-pending" + | "queued" + | "queued-deleted" + | "retired"; + +/** + *

                                                        Describes a Reserved Instance.

                                                        + */ +export interface ReservedInstances { + /** + *

                                                        The Availability Zone in which the Reserved Instance can be used.

                                                        */ - Filters?: Filter[]; + AvailabilityZone?: string; /** - *

                                                        The IDs of the security groups. Required for security groups in a nondefault VPC.

                                                        - *

                                                        Default: Describes all of your security groups.

                                                        + *

                                                        The duration of the Reserved Instance, in seconds.

                                                        */ - GroupIds?: string[]; + Duration?: number; /** - *

                                                        [EC2-Classic and default VPC only] The names of the security groups. You can specify either - * the security group name or the security group ID. For security groups in a nondefault VPC, use - * the group-name filter to describe security groups by name.

                                                        - *

                                                        Default: Describes all of your security groups.

                                                        + *

                                                        The time when the Reserved Instance expires.

                                                        */ - GroupNames?: string[]; + End?: Date; /** - *

                                                        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.

                                                        + *

                                                        The purchase price of the Reserved Instance.

                                                        */ - DryRun?: boolean; + FixedPrice?: number; /** - *

                                                        The token to request the next page of results.

                                                        + *

                                                        The number of reservations purchased.

                                                        */ - NextToken?: string; + InstanceCount?: number; /** - *

                                                        The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value. This value - * can be between 5 and 1000. If this parameter is not specified, then all results are - * returned.

                                                        + *

                                                        The instance type on which the Reserved Instance can be used.

                                                        */ - MaxResults?: number; -} + InstanceType?: _InstanceType | string; -export namespace DescribeSecurityGroupsRequest { /** - * @internal + *

                                                        The Reserved Instance product platform description.

                                                        */ - export const filterSensitiveLog = (obj: DescribeSecurityGroupsRequest): any => ({ - ...obj, - }); -} + ProductDescription?: RIProductDescription | string; -/** - *

                                                        Describes a security group.

                                                        - */ -export interface SecurityGroup { /** - *

                                                        A description of the security group.

                                                        + *

                                                        The ID of the Reserved Instance.

                                                        */ - Description?: string; + ReservedInstancesId?: string; /** - *

                                                        The name of the security group.

                                                        + *

                                                        The date and time the Reserved Instance started.

                                                        */ - GroupName?: string; + Start?: Date; /** - *

                                                        The inbound rules associated with the security group.

                                                        + *

                                                        The state of the Reserved Instance purchase.

                                                        */ - IpPermissions?: IpPermission[]; + State?: ReservedInstanceState | string; /** - *

                                                        The Amazon Web Services account ID of the owner of the security group.

                                                        + *

                                                        The usage price of the Reserved Instance, per hour.

                                                        */ - OwnerId?: string; + UsagePrice?: number; /** - *

                                                        The ID of the security group.

                                                        + *

                                                        The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. + * At this time, the only supported currency is USD.

                                                        */ - GroupId?: string; + CurrencyCode?: CurrencyCodeValues | string; /** - *

                                                        [VPC only] The outbound rules associated with the security group.

                                                        + *

                                                        The tenancy of the instance.

                                                        */ - IpPermissionsEgress?: IpPermission[]; + InstanceTenancy?: Tenancy | string; /** - *

                                                        Any tags assigned to the security group.

                                                        + *

                                                        The offering class of the Reserved Instance.

                                                        */ - Tags?: Tag[]; + OfferingClass?: OfferingClassType | string; /** - *

                                                        [VPC only] The ID of the VPC for the security group.

                                                        + *

                                                        The Reserved Instance offering type.

                                                        */ - VpcId?: string; -} + OfferingType?: OfferingTypeValues | string; -export namespace SecurityGroup { /** - * @internal + *

                                                        The recurring charge tag assigned to the resource.

                                                        */ - export const filterSensitiveLog = (obj: SecurityGroup): any => ({ - ...obj, - }); -} + RecurringCharges?: RecurringCharge[]; -export interface DescribeSecurityGroupsResult { /** - *

                                                        Information about the security groups.

                                                        + *

                                                        The scope of the Reserved Instance.

                                                        */ - SecurityGroups?: SecurityGroup[]; + Scope?: Scope | string; /** - *

                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                        + *

                                                        Any tags assigned to the resource.

                                                        */ - NextToken?: string; + Tags?: Tag[]; } -export namespace DescribeSecurityGroupsResult { +export namespace ReservedInstances { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSecurityGroupsResult): any => ({ + export const filterSensitiveLog = (obj: ReservedInstances): any => ({ ...obj, }); } -export type SnapshotAttributeName = "createVolumePermission" | "productCodes"; - -export interface DescribeSnapshotAttributeRequest { +/** + *

                                                        Contains the output for DescribeReservedInstances.

                                                        + */ +export interface DescribeReservedInstancesResult { /** - *

                                                        The snapshot attribute you would like to view.

                                                        + *

                                                        A list of Reserved Instances.

                                                        */ - Attribute: SnapshotAttributeName | string | undefined; + ReservedInstances?: ReservedInstances[]; +} +export namespace DescribeReservedInstancesResult { /** - *

                                                        The ID of the EBS snapshot.

                                                        + * @internal */ - SnapshotId: string | undefined; - - /** - *

                                                        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; -} - -export namespace DescribeSnapshotAttributeRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeSnapshotAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesResult): any => ({ ...obj, }); } /** - *

                                                        Describes the user or group to be added or removed from the list of create volume - * permissions for a volume.

                                                        + *

                                                        Contains the parameters for DescribeReservedInstancesListings.

                                                        */ -export interface CreateVolumePermission { +export interface DescribeReservedInstancesListingsRequest { /** - *

                                                        The group to be added or removed. The possible value is all.

                                                        + *

                                                        One or more filters.

                                                        + *
                                                          + *
                                                        • + *

                                                          + * reserved-instances-id - The ID of the Reserved Instances.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * reserved-instances-listing-id - The ID of the Reserved Instances listing.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * status - The status of the Reserved Instance listing (pending | active | + * cancelled | closed).

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * status-message - The reason for the status.

                                                          + *
                                                        • + *
                                                        */ - Group?: PermissionGroup | string; + Filters?: Filter[]; /** - *

                                                        The AWS account ID to be added or removed.

                                                        + *

                                                        One or more Reserved Instance IDs.

                                                        */ - UserId?: string; + ReservedInstancesId?: string; + + /** + *

                                                        One or more Reserved Instance listing IDs.

                                                        + */ + ReservedInstancesListingId?: string; } -export namespace CreateVolumePermission { +export namespace DescribeReservedInstancesListingsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CreateVolumePermission): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesListingsRequest): any => ({ ...obj, }); } -export interface DescribeSnapshotAttributeResult { - /** - *

                                                        The users and groups that have the permissions for creating volumes from the - * snapshot.

                                                        - */ - CreateVolumePermissions?: CreateVolumePermission[]; - - /** - *

                                                        The product codes.

                                                        - */ - ProductCodes?: ProductCode[]; - +/** + *

                                                        Contains the output of DescribeReservedInstancesListings.

                                                        + */ +export interface DescribeReservedInstancesListingsResult { /** - *

                                                        The ID of the EBS snapshot.

                                                        + *

                                                        Information about the Reserved Instance listing.

                                                        */ - SnapshotId?: string; + ReservedInstancesListings?: ReservedInstancesListing[]; } -export namespace DescribeSnapshotAttributeResult { +export namespace DescribeReservedInstancesListingsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSnapshotAttributeResult): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesListingsResult): any => ({ ...obj, }); } -export interface DescribeSnapshotsRequest { +/** + *

                                                        Contains the parameters for DescribeReservedInstancesModifications.

                                                        + */ +export interface DescribeReservedInstancesModificationsRequest { /** - *

                                                        The filters.

                                                        + *

                                                        One or more filters.

                                                        *
                                                          *
                                                        • *

                                                          - * description - A description of the snapshot.

                                                          + * client-token - The idempotency token for the modification request.

                                                          *
                                                        • *
                                                        • *

                                                          - * encrypted - Indicates whether the snapshot is encrypted - * (true | false)

                                                          + * create-date - The time when the modification request was created.

                                                          *
                                                        • *
                                                        • *

                                                          - * owner-alias - The owner alias, from an Amazon-maintained list - * (amazon). - * This is not the user-configured AWS account alias set using the IAM console. - * We recommend that you use the related parameter instead of this filter.

                                                          + * effective-date - The time when the modification becomes effective.

                                                          *
                                                        • *
                                                        • *

                                                          - * owner-id - The AWS account ID of the owner. We recommend that - * you use the related parameter instead of this filter.

                                                          + * modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.

                                                          *
                                                        • *
                                                        • *

                                                          - * progress - The progress of the snapshot, as a percentage (for example, - * 80%).

                                                          + * modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances.

                                                          *
                                                        • *
                                                        • *

                                                          - * snapshot-id - The snapshot ID.

                                                          + * modification-result.target-configuration.instance-count - The number of new Reserved Instances.

                                                          *
                                                        • *
                                                        • *

                                                          - * start-time - The time stamp when the snapshot was initiated.

                                                          + * modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances.

                                                          *
                                                        • *
                                                        • *

                                                          - * status - The status of the snapshot (pending | - * completed | error).

                                                          + * modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC).

                                                          *
                                                        • *
                                                        • *

                                                          - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                          + * reserved-instances-id - The ID of the Reserved Instances modified.

                                                          *
                                                        • *
                                                        • *

                                                          - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                          + * reserved-instances-modification-id - The ID of the modification request.

                                                          *
                                                        • *
                                                        • *

                                                          - * volume-id - The ID of the volume the snapshot is for.

                                                          + * status - The status of the Reserved Instances modification request + * (processing | fulfilled | failed).

                                                          *
                                                        • *
                                                        • *

                                                          - * volume-size - The size of the volume, in GiB.

                                                          + * status-message - The reason for the status.

                                                          + *
                                                        • + *
                                                        • + *

                                                          + * update-date - The time when the modification request was last updated.

                                                          *
                                                        • *
                                                        */ Filters?: Filter[]; /** - *

                                                        The maximum number of snapshot results returned by DescribeSnapshots in - * paginated output. When this parameter is used, DescribeSnapshots 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 - * DescribeSnapshots request with the returned NextToken value. This - * value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, - * only 1,000 results are returned. If this parameter is not used, then - * DescribeSnapshots returns all results. You cannot specify this parameter and - * the snapshot IDs parameter in the same request.

                                                        + *

                                                        IDs for the submitted modification request.

                                                        */ - MaxResults?: number; + ReservedInstancesModificationIds?: string[]; /** - *

                                                        The NextToken value returned from a previous paginated - * DescribeSnapshots 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.

                                                        + *

                                                        The token to retrieve the next page of results.

                                                        */ NextToken?: string; +} +export namespace DescribeReservedInstancesModificationsRequest { /** - *

                                                        Scopes the results to snapshots with the specified owners. You can specify a combination of - * AWS account IDs, self, and amazon.

                                                        - */ - OwnerIds?: string[]; - - /** - *

                                                        The IDs of the AWS accounts that can create volumes from the snapshot.

                                                        + * @internal */ - RestorableByUserIds?: string[]; + export const filterSensitiveLog = (obj: DescribeReservedInstancesModificationsRequest): any => ({ + ...obj, + }); +} +/** + *

                                                        Describes the configuration settings for the modified Reserved Instances.

                                                        + */ +export interface ReservedInstancesConfiguration { /** - *

                                                        The snapshot IDs.

                                                        - *

                                                        Default: Describes the snapshots for which you have create volume permissions.

                                                        + *

                                                        The Availability Zone for the modified Reserved Instances.

                                                        */ - SnapshotIds?: string[]; + AvailabilityZone?: string; /** - *

                                                        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.

                                                        + *

                                                        The number of modified Reserved Instances.

                                                        + * + *

                                                        This is a required field for a request.

                                                        + *
                                                        */ - DryRun?: boolean; -} + InstanceCount?: number; -export namespace DescribeSnapshotsRequest { /** - * @internal + *

                                                        The instance type for the modified Reserved Instances.

                                                        */ - export const filterSensitiveLog = (obj: DescribeSnapshotsRequest): any => ({ - ...obj, - }); -} + InstanceType?: _InstanceType | string; -export interface DescribeSnapshotsResult { /** - *

                                                        Information about the snapshots.

                                                        + *

                                                        The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

                                                        */ - Snapshots?: Snapshot[]; + Platform?: string; /** - *

                                                        The NextToken value to include in a future DescribeSnapshots - * request. When the results of a DescribeSnapshots 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.

                                                        + *

                                                        Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

                                                        */ - NextToken?: string; + Scope?: Scope | string; } -export namespace DescribeSnapshotsResult { +export namespace ReservedInstancesConfiguration { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSnapshotsResult): any => ({ + export const filterSensitiveLog = (obj: ReservedInstancesConfiguration): any => ({ ...obj, }); } /** - *

                                                        Contains the parameters for DescribeSpotDatafeedSubscription.

                                                        + *

                                                        Describes the modification request/s.

                                                        */ -export interface DescribeSpotDatafeedSubscriptionRequest { +export interface ReservedInstancesModificationResult { /** - *

                                                        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.

                                                        + *

                                                        The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.

                                                        */ - DryRun?: boolean; + ReservedInstancesId?: string; + + /** + *

                                                        The target Reserved Instances configurations supplied as part of the modification request.

                                                        + */ + TargetConfiguration?: ReservedInstancesConfiguration; } -export namespace DescribeSpotDatafeedSubscriptionRequest { +export namespace ReservedInstancesModificationResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotDatafeedSubscriptionRequest): any => ({ + export const filterSensitiveLog = (obj: ReservedInstancesModificationResult): any => ({ ...obj, }); } /** - *

                                                        Contains the output of DescribeSpotDatafeedSubscription.

                                                        + *

                                                        Describes the ID of a Reserved Instance.

                                                        */ -export interface DescribeSpotDatafeedSubscriptionResult { +export interface ReservedInstancesId { /** - *

                                                        The Spot Instance data feed subscription.

                                                        + *

                                                        The ID of the Reserved Instance.

                                                        */ - SpotDatafeedSubscription?: SpotDatafeedSubscription; + ReservedInstancesId?: string; } -export namespace DescribeSpotDatafeedSubscriptionResult { +export namespace ReservedInstancesId { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotDatafeedSubscriptionResult): any => ({ + export const filterSensitiveLog = (obj: ReservedInstancesId): any => ({ ...obj, }); } /** - *

                                                        Contains the parameters for DescribeSpotFleetInstances.

                                                        + *

                                                        Describes a Reserved Instance modification.

                                                        */ -export interface DescribeSpotFleetInstancesRequest { +export interface ReservedInstancesModification { /** - *

                                                        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.

                                                        + *

                                                        A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. + * For more information, see Ensuring + * Idempotency.

                                                        */ - DryRun?: boolean; + ClientToken?: string; /** - *

                                                        The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

                                                        + *

                                                        The time when the modification request was created.

                                                        */ - MaxResults?: number; + CreateDate?: Date; /** - *

                                                        The token for the next set of results.

                                                        + *

                                                        The time for the modification to become effective.

                                                        */ - NextToken?: string; + EffectiveDate?: Date; /** - *

                                                        The ID of the Spot Fleet request.

                                                        + *

                                                        Contains target configurations along with their corresponding new Reserved Instance IDs.

                                                        */ - SpotFleetRequestId: string | undefined; -} + ModificationResults?: ReservedInstancesModificationResult[]; -export namespace DescribeSpotFleetInstancesRequest { /** - * @internal + *

                                                        The IDs of one or more Reserved Instances.

                                                        */ - export const filterSensitiveLog = (obj: DescribeSpotFleetInstancesRequest): any => ({ - ...obj, - }); -} + ReservedInstancesIds?: ReservedInstancesId[]; -/** - *

                                                        Contains the output of DescribeSpotFleetInstances.

                                                        - */ -export interface DescribeSpotFleetInstancesResponse { /** - *

                                                        The running instances. This list is refreshed periodically and might be out of - * date.

                                                        + *

                                                        A unique ID for the Reserved Instance modification.

                                                        */ - ActiveInstances?: ActiveInstance[]; + ReservedInstancesModificationId?: string; /** - *

                                                        The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

                                                        + *

                                                        The status of the Reserved Instances modification request.

                                                        */ - NextToken?: string; + Status?: string; /** - *

                                                        The ID of the Spot Fleet request.

                                                        + *

                                                        The reason for the status.

                                                        */ - SpotFleetRequestId?: string; + StatusMessage?: string; + + /** + *

                                                        The time when the modification request was last updated.

                                                        + */ + UpdateDate?: Date; } -export namespace DescribeSpotFleetInstancesResponse { +export namespace ReservedInstancesModification { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotFleetInstancesResponse): any => ({ + export const filterSensitiveLog = (obj: ReservedInstancesModification): any => ({ ...obj, }); } -export enum EventType { - BATCH_CHANGE = "fleetRequestChange", - ERROR = "error", - INFORMATION = "information", - INSTANCE_CHANGE = "instanceChange", -} - /** - *

                                                        Contains the parameters for DescribeSpotFleetRequestHistory.

                                                        + *

                                                        Contains the output of DescribeReservedInstancesModifications.

                                                        */ -export interface DescribeSpotFleetRequestHistoryRequest { - /** - *

                                                        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; - - /** - *

                                                        The type of events to describe. By default, all events are described.

                                                        - */ - EventType?: EventType | string; - - /** - *

                                                        The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

                                                        - */ - MaxResults?: number; - +export interface DescribeReservedInstancesModificationsResult { /** - *

                                                        The token for the next set of results.

                                                        + *

                                                        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; /** - *

                                                        The ID of the Spot Fleet request.

                                                        - */ - SpotFleetRequestId: string | undefined; - - /** - *

                                                        The starting date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                        + *

                                                        The Reserved Instance modification information.

                                                        */ - StartTime: Date | undefined; + ReservedInstancesModifications?: ReservedInstancesModification[]; } -export namespace DescribeSpotFleetRequestHistoryRequest { +export namespace DescribeReservedInstancesModificationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotFleetRequestHistoryRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesModificationsResult): any => ({ ...obj, }); } /** - *

                                                        Describes an event in the history of the Spot Fleet request.

                                                        + *

                                                        Contains the parameters for DescribeReservedInstancesOfferings.

                                                        */ -export interface HistoryRecord { +export interface DescribeReservedInstancesOfferingsRequest { /** - *

                                                        Information about the event.

                                                        + *

                                                        The Availability Zone in which the Reserved Instance can be used.

                                                        */ - EventInformation?: EventInformation; + AvailabilityZone?: string; /** - *

                                                        The event type.

                                                        - *
                                                          + *

                                                          One or more filters.

                                                          + *
                                                            *
                                                          • - *

                                                            - * error - An error with the Spot Fleet request.

                                                            + *

                                                            + * availability-zone - The Availability Zone where the Reserved Instance can be + * used.

                                                            *
                                                          • *
                                                          • - *

                                                            - * fleetRequestChange - A change in the status or configuration of - * the Spot Fleet request.

                                                            + *

                                                            + * duration - The duration of the Reserved Instance (for example, one year or + * three years), in seconds (31536000 | 94608000).

                                                            *
                                                          • *
                                                          • - *

                                                            - * instanceChange - An instance was launched or terminated.

                                                            + *

                                                            + * fixed-price - The purchase price of the Reserved Instance (for example, + * 9800.0).

                                                            *
                                                          • *
                                                          • - *

                                                            - * Information - An informational event.

                                                            + *

                                                            + * instance-type - The instance type that is covered by the + * reservation.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * marketplace - Set to true to show only Reserved Instance + * Marketplace offerings. When this filter is not used, which is the default behavior, all + * offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * product-description - The Reserved Instance product platform description. + * Instances that include (Amazon VPC) in the product platform description will + * only be displayed to EC2-Classic account holders and are for use with Amazon VPC. + * (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE + * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise + * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat + * Enterprise Linux with HA (Amazon VPC) | Windows | Windows + * (Amazon VPC) | Windows with SQL Server Standard | Windows with + * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | + * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server + * Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * reserved-instances-offering-id - The Reserved Instances offering + * ID.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * scope - The scope of the Reserved Instance (Availability Zone or + * Region).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * usage-price - The usage price of the Reserved Instance, per hour (for + * example, 0.84).

                                                            *
                                                          • *
                                                          */ - EventType?: EventType | string; + Filters?: Filter[]; /** - *

                                                          The date and time of the event, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                          + *

                                                          Include Reserved Instance Marketplace offerings in the response.

                                                          */ - Timestamp?: Date; -} + IncludeMarketplace?: boolean; -export namespace HistoryRecord { /** - * @internal + *

                                                          The instance type that the reservation will cover (for example, m1.small). For more information, see + * Instance types in the + * Amazon EC2 User Guide.

                                                          */ - export const filterSensitiveLog = (obj: HistoryRecord): any => ({ - ...obj, - }); -} + InstanceType?: _InstanceType | string; -/** - *

                                                          Contains the output of DescribeSpotFleetRequestHistory.

                                                          - */ -export interface DescribeSpotFleetRequestHistoryResponse { /** - *

                                                          Information about the events in the history of the Spot Fleet request.

                                                          + *

                                                          The maximum duration (in seconds) to filter when searching for offerings.

                                                          + *

                                                          Default: 94608000 (3 years)

                                                          */ - HistoryRecords?: HistoryRecord[]; + MaxDuration?: number; /** - *

                                                          The last date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * All records up to this time were retrieved.

                                                          - *

                                                          If nextToken indicates that there are more results, this value is not - * present.

                                                          + *

                                                          The maximum number of instances to filter when searching for offerings.

                                                          + *

                                                          Default: 20

                                                          */ - LastEvaluatedTime?: Date; + MaxInstanceCount?: number; /** - *

                                                          The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

                                                          + *

                                                          The minimum duration (in seconds) to filter when searching for offerings.

                                                          + *

                                                          Default: 2592000 (1 month)

                                                          */ - NextToken?: string; + MinDuration?: number; /** - *

                                                          The ID of the Spot Fleet request.

                                                          + *

                                                          The offering class of the Reserved Instance. Can be standard or convertible.

                                                          */ - SpotFleetRequestId?: string; + OfferingClass?: OfferingClassType | string; /** - *

                                                          The starting date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                          + *

                                                          The Reserved Instance product platform description. Instances that include (Amazon + * VPC) in the description are for use with Amazon VPC.

                                                          */ - StartTime?: Date; -} + ProductDescription?: RIProductDescription | string; -export namespace DescribeSpotFleetRequestHistoryResponse { /** - * @internal + *

                                                          One or more Reserved Instances offering IDs.

                                                          */ - export const filterSensitiveLog = (obj: DescribeSpotFleetRequestHistoryResponse): any => ({ - ...obj, - }); -} + ReservedInstancesOfferingIds?: string[]; -/** - *

                                                          Contains the parameters for DescribeSpotFleetRequests.

                                                          - */ -export interface DescribeSpotFleetRequestsRequest { /** - *

                                                          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.

                                                          + *

                                                          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; /** - *

                                                          The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

                                                          + *

                                                          The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy + * of dedicated is applied to instances that run in a VPC on single-tenant hardware + * (i.e., Dedicated Instances).

                                                          + *

                                                          + * Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

                                                          + *

                                                          Default: default + *

                                                          + */ + InstanceTenancy?: Tenancy | string; + + /** + *

                                                          The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. The maximum is 100.

                                                          + *

                                                          Default: 100

                                                          */ MaxResults?: number; /** - *

                                                          The token for the next set of results.

                                                          + *

                                                          The token to retrieve the next page of results.

                                                          */ NextToken?: string; /** - *

                                                          The IDs of the Spot Fleet requests.

                                                          + *

                                                          The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API + * version, you only have access to the Medium Utilization Reserved Instance + * offering type.

                                                          */ - SpotFleetRequestIds?: string[]; + OfferingType?: OfferingTypeValues | string; } -export namespace DescribeSpotFleetRequestsRequest { +export namespace DescribeReservedInstancesOfferingsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotFleetRequestsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesOfferingsRequest): any => ({ ...obj, }); } -export enum ExcessCapacityTerminationPolicy { - DEFAULT = "default", - NO_TERMINATION = "noTermination", -} - /** - *

                                                          Describes whether monitoring is enabled.

                                                          + *

                                                          Describes a Reserved Instance offering.

                                                          */ -export interface SpotFleetMonitoring { +export interface PricingDetail { /** - *

                                                          Enables monitoring for the instance.

                                                          - *

                                                          Default: false - *

                                                          + *

                                                          The number of reservations available for the price.

                                                          */ - Enabled?: boolean; + Count?: number; + + /** + *

                                                          The price per instance.

                                                          + */ + Price?: number; } -export namespace SpotFleetMonitoring { +export namespace PricingDetail { /** * @internal */ - export const filterSensitiveLog = (obj: SpotFleetMonitoring): any => ({ + export const filterSensitiveLog = (obj: PricingDetail): any => ({ ...obj, }); } /** - *

                                                          Describes a network interface.

                                                          + *

                                                          Describes a Reserved Instance offering.

                                                          */ -export interface InstanceNetworkInterfaceSpecification { - /** - *

                                                          Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The - * public IP address can only be assigned to a network interface for eth0, and can only be - * assigned to a new network interface, not an existing one. You cannot specify more than one - * network interface in the request. If launching into a default subnet, the default value is - * true.

                                                          - */ - AssociatePublicIpAddress?: boolean; - - /** - *

                                                          If set to true, the interface is deleted when the instance is terminated. You can - * specify true only if creating a new network interface when launching an - * instance.

                                                          - */ - DeleteOnTermination?: boolean; - - /** - *

                                                          The description of the network interface. Applies only if creating a network interface when launching an instance.

                                                          - */ - Description?: string; - - /** - *

                                                          The position of the network interface in the attachment order. - * A primary network interface has a device index of 0.

                                                          - *

                                                          If you specify a network interface when launching an instance, - * you must specify the device index.

                                                          - */ - DeviceIndex?: number; - +export interface ReservedInstancesOffering { /** - *

                                                          The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

                                                          + *

                                                          The Availability Zone in which the Reserved Instance can be used.

                                                          */ - Groups?: string[]; + AvailabilityZone?: string; /** - *

                                                          A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses - * the IPv6 addresses from the range of the subnet. You cannot specify this option and the - * option to assign specific IPv6 addresses in the same request. You can specify this - * option if you've specified a minimum number of instances to launch.

                                                          + *

                                                          The duration of the Reserved Instance, in seconds.

                                                          */ - Ipv6AddressCount?: number; + Duration?: number; /** - *

                                                          One or more IPv6 addresses to assign to the network interface. You cannot specify - * this option and the option to assign a number of IPv6 addresses in the same request. You - * cannot specify this option if you've specified a minimum number of instances to - * launch.

                                                          + *

                                                          The purchase price of the Reserved Instance.

                                                          */ - Ipv6Addresses?: InstanceIpv6Address[]; + FixedPrice?: number; /** - *

                                                          The ID of the network interface.

                                                          - *

                                                          If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

                                                          + *

                                                          The instance type on which the Reserved Instance can be used.

                                                          */ - NetworkInterfaceId?: string; + InstanceType?: _InstanceType | string; /** - *

                                                          The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching - * more than one instance in a RunInstances request.

                                                          + *

                                                          The Reserved Instance product platform description.

                                                          */ - PrivateIpAddress?: string; + ProductDescription?: RIProductDescription | string; /** - *

                                                          One or more private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're - * launching more than one instance in a RunInstances request.

                                                          + *

                                                          The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote + * to confirm that an exchange can be made.

                                                          */ - PrivateIpAddresses?: PrivateIpAddressSpecification[]; + ReservedInstancesOfferingId?: string; /** - *

                                                          The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're - * launching more than one instance in a RunInstances request.

                                                          + *

                                                          The usage price of the Reserved Instance, per hour.

                                                          */ - SecondaryPrivateIpAddressCount?: number; + UsagePrice?: number; /** - *

                                                          The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.

                                                          + *

                                                          The currency of the Reserved Instance offering you are purchasing. It's + * specified using ISO 4217 standard currency codes. At this time, + * the only supported currency is USD.

                                                          */ - SubnetId?: string; + CurrencyCode?: CurrencyCodeValues | string; /** - *

                                                          Indicates whether to assign a carrier IP address to the network interface.

                                                          - *

                                                          You can only assign a carrier IP address to a network interface that is in a subnet in a Wavelength Zone. - * For more information about carrier IP addresses, see Carrier IP addresses in the Amazon Web Services Wavelength Developer Guide.

                                                          + *

                                                          The tenancy of the instance.

                                                          */ - AssociateCarrierIpAddress?: boolean; + InstanceTenancy?: Tenancy | string; /** - *

                                                          The type of network interface.

                                                          - *

                                                          To create an Elastic Fabric Adapter (EFA), specify - * efa. For more information, see Elastic Fabric Adapter in the - * Amazon Elastic Compute Cloud User Guide.

                                                          - * - *

                                                          Valid values: interface | efa - *

                                                          + *

                                                          Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. + * If it's a Reserved Instance Marketplace offering, this is true.

                                                          */ - InterfaceType?: string; + Marketplace?: boolean; /** - *

                                                          The index of the network card. Some instance types support multiple network cards. - * The primary network interface must be assigned to network card index 0. - * The default is network card index 0.

                                                          + *

                                                          If convertible it can be exchanged for Reserved Instances of + * the same or higher monetary value, with different configurations. If standard, it is not + * possible to perform an exchange.

                                                          */ - NetworkCardIndex?: number; -} + OfferingClass?: OfferingClassType | string; -export namespace InstanceNetworkInterfaceSpecification { /** - * @internal + *

                                                          The Reserved Instance offering type.

                                                          */ - export const filterSensitiveLog = (obj: InstanceNetworkInterfaceSpecification): any => ({ - ...obj, - }); -} + OfferingType?: OfferingTypeValues | string; -/** - *

                                                          Describes Spot Instance placement.

                                                          - */ -export interface SpotPlacement { /** - *

                                                          The Availability Zone.

                                                          - *

                                                          [Spot Fleet only] To specify multiple Availability Zones, separate them using commas; - * for example, "us-west-2a, us-west-2b".

                                                          + *

                                                          The pricing details of the Reserved Instance offering.

                                                          */ - AvailabilityZone?: string; + PricingDetails?: PricingDetail[]; /** - *

                                                          The name of the placement group.

                                                          + *

                                                          The recurring charge tag assigned to the resource.

                                                          */ - GroupName?: string; + RecurringCharges?: RecurringCharge[]; /** - *

                                                          The tenancy of the instance (if the instance is running in a VPC). An instance with a - * tenancy of dedicated runs on single-tenant hardware. The host - * tenancy is not supported for Spot Instances.

                                                          + *

                                                          Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

                                                          */ - Tenancy?: Tenancy | string; + Scope?: Scope | string; } -export namespace SpotPlacement { +export namespace ReservedInstancesOffering { /** * @internal */ - export const filterSensitiveLog = (obj: SpotPlacement): any => ({ + export const filterSensitiveLog = (obj: ReservedInstancesOffering): any => ({ ...obj, }); } /** - *

                                                          The tags for a Spot Fleet resource.

                                                          + *

                                                          Contains the output of DescribeReservedInstancesOfferings.

                                                          */ -export interface SpotFleetTagSpecification { +export interface DescribeReservedInstancesOfferingsResult { /** - *

                                                          The type of resource. Currently, the only resource type that is supported is - * instance. To tag the Spot Fleet request on creation, use the - * TagSpecifications parameter in - * SpotFleetRequestConfigData - * .

                                                          + *

                                                          A list of Reserved Instances offerings.

                                                          */ - ResourceType?: ResourceType | string; + ReservedInstancesOfferings?: ReservedInstancesOffering[]; /** - *

                                                          The tags.

                                                          + *

                                                          The token to use to retrieve the next page of results. This value is null when + * there are no more results to return.

                                                          */ - Tags?: Tag[]; + NextToken?: string; } -export namespace SpotFleetTagSpecification { +export namespace DescribeReservedInstancesOfferingsResult { /** * @internal */ - export const filterSensitiveLog = (obj: SpotFleetTagSpecification): any => ({ + export const filterSensitiveLog = (obj: DescribeReservedInstancesOfferingsResult): any => ({ ...obj, }); } -/** - *

                                                          Describes the launch specification for one or more Spot Instances. If you include - * On-Demand capacity in your fleet request or want to specify an EFA network device, you - * can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.

                                                          - */ -export interface SpotFleetLaunchSpecification { - /** - *

                                                          One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

                                                          - */ - SecurityGroups?: GroupIdentifier[]; - - /** - *

                                                          Deprecated.

                                                          - */ - AddressingType?: string; - - /** - *

                                                          One or more block devices that are mapped to the Spot Instances. You can't specify both - * a snapshot ID and an encryption value. This is because only blank volumes can be - * encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its - * encryption status is used for the volume encryption status.

                                                          - */ - BlockDeviceMappings?: BlockDeviceMapping[]; - - /** - *

                                                          Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

                                                          - *

                                                          Default: false - *

                                                          - */ - EbsOptimized?: boolean; - - /** - *

                                                          The IAM instance profile.

                                                          - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - - /** - *

                                                          The ID of the AMI.

                                                          - */ - ImageId?: string; - - /** - *

                                                          The instance type.

                                                          - */ - InstanceType?: _InstanceType | string; - - /** - *

                                                          The ID of the kernel.

                                                          - */ - KernelId?: string; - - /** - *

                                                          The name of the key pair.

                                                          - */ - KeyName?: string; - - /** - *

                                                          Enable or disable monitoring for the instances.

                                                          - */ - Monitoring?: SpotFleetMonitoring; - - /** - *

                                                          One or more network interfaces. If you specify a network interface, you must specify - * subnet IDs and security group IDs using the network interface.

                                                          - * - *

                                                          - * SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

                                                          - *
                                                          - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; - +export interface DescribeRouteTablesRequest { /** - *

                                                          The placement information.

                                                          - */ - Placement?: SpotPlacement; - - /** - *

                                                          The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel - * requirements for information about whether you need to specify a RAM disk. To find kernel - * requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.

                                                          - */ - RamdiskId?: string; - - /** - *

                                                          The maximum price per unit hour that you are willing to pay for a Spot Instance. - * If this value is not specified, the default is the Spot price specified for the fleet. - * To determine the Spot price per unit hour, divide the Spot price by the - * value of WeightedCapacity.

                                                          + *

                                                          One or more filters.

                                                          + *
                                                            + *
                                                          • + *

                                                            + * association.route-table-association-id - The ID of an association + * ID for the route table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * association.route-table-id - The ID of the route table involved in + * the association.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * association.subnet-id - The ID of the subnet involved in the + * association.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * association.main - Indicates whether the route table is the main + * route table for the VPC (true | false). Route tables + * that do not have an association ID are not returned in the response.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * owner-id - The ID of the AWS account that owns the route table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route-table-id - The ID of the route table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.destination-cidr-block - The IPv4 CIDR range specified in a + * route in the table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.destination-prefix-list-id - The ID (prefix) of the AWS + * service specified in a route in the table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.egress-only-internet-gateway-id - The ID of an + * egress-only Internet gateway specified in a route in the route table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.gateway-id - The ID of a gateway specified in a route in the table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.instance-id - The ID of an instance specified in a route in the table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.nat-gateway-id - The ID of a NAT gateway.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.transit-gateway-id - The ID of a transit gateway.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.origin - Describes how the route was created. + * CreateRouteTable indicates that the route was automatically + * created when the route table was created; CreateRoute indicates + * that the route was manually added to the route table; + * EnableVgwRoutePropagation indicates that the route was + * propagated by route propagation.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.state - The state of a route in the route table + * (active | blackhole). The blackhole state + * indicates that the route's target isn't available (for example, the specified + * gateway isn't attached to the VPC, the specified NAT instance has been + * terminated, and so on).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * route.vpc-peering-connection-id - The ID of a VPC peering + * connection specified in a route in the table.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * vpc-id - The ID of the VPC for the route table.

                                                            + *
                                                          • + *
                                                          */ - SpotPrice?: string; + Filters?: Filter[]; /** - *

                                                          The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate - * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".

                                                          + *

                                                          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.

                                                          */ - SubnetId?: string; + DryRun?: boolean; /** - *

                                                          The Base64-encoded user data that instances use when starting up.

                                                          + *

                                                          One or more route table IDs.

                                                          + *

                                                          Default: Describes all your route tables.

                                                          */ - UserData?: string; + RouteTableIds?: string[]; /** - *

                                                          The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

                                                          - *

                                                          If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

                                                          + *

                                                          The token for the next page of results.

                                                          */ - WeightedCapacity?: number; + NextToken?: string; /** - *

                                                          The tags to apply during creation.

                                                          + *

                                                          The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                          */ - TagSpecifications?: SpotFleetTagSpecification[]; + MaxResults?: number; } -export namespace SpotFleetLaunchSpecification { +export namespace DescribeRouteTablesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: SpotFleetLaunchSpecification): any => ({ + export const filterSensitiveLog = (obj: DescribeRouteTablesRequest): any => ({ ...obj, }); } /** - *

                                                          Describes overrides for a launch template.

                                                          + *

                                                          Contains the output of DescribeRouteTables.

                                                          */ -export interface LaunchTemplateOverrides { - /** - *

                                                          The instance type.

                                                          - */ - InstanceType?: _InstanceType | string; - - /** - *

                                                          The maximum price per unit hour that you are willing to pay for a Spot - * Instance.

                                                          - */ - SpotPrice?: string; - - /** - *

                                                          The ID of the subnet in which to launch the instances.

                                                          - */ - SubnetId?: string; - - /** - *

                                                          The Availability Zone in which to launch the instances.

                                                          - */ - AvailabilityZone?: string; - +export interface DescribeRouteTablesResult { /** - *

                                                          The number of units provided by the specified instance type.

                                                          + *

                                                          Information about one or more route tables.

                                                          */ - WeightedCapacity?: number; + RouteTables?: RouteTable[]; /** - *

                                                          The priority for the launch template override. The highest priority is launched - * first.

                                                          - *

                                                          If OnDemandAllocationStrategy is set to prioritized, Spot Fleet - * uses priority to determine which launch template override to use first in fulfilling - * On-Demand capacity.

                                                          - *

                                                          If the Spot AllocationStrategy is set to - * capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis - * to determine which launch template override to use in fulfilling Spot capacity, but - * optimizes for capacity first.

                                                          - *

                                                          Valid values are whole numbers starting at 0. The lower the number, the - * higher the priority. If no number is set, the launch template override has the lowest - * priority. You can set the same priority for different launch template overrides.

                                                          + *

                                                          The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                          */ - Priority?: number; + NextToken?: string; } -export namespace LaunchTemplateOverrides { +export namespace DescribeRouteTablesResult { /** * @internal */ - export const filterSensitiveLog = (obj: LaunchTemplateOverrides): any => ({ + export const filterSensitiveLog = (obj: DescribeRouteTablesResult): any => ({ ...obj, }); } /** - *

                                                          Describes a launch template and overrides.

                                                          + *

                                                          Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

                                                          */ -export interface LaunchTemplateConfig { +export interface SlotDateTimeRangeRequest { /** - *

                                                          The launch template.

                                                          + *

                                                          The earliest date and time, in UTC, for the Scheduled Instance to start.

                                                          */ - LaunchTemplateSpecification?: FleetLaunchTemplateSpecification; + EarliestTime: Date | undefined; /** - *

                                                          Any parameters that you specify override the same parameters in the launch - * template.

                                                          + *

                                                          The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

                                                          */ - Overrides?: LaunchTemplateOverrides[]; + LatestTime: Date | undefined; } -export namespace LaunchTemplateConfig { +export namespace SlotDateTimeRangeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: LaunchTemplateConfig): any => ({ + export const filterSensitiveLog = (obj: SlotDateTimeRangeRequest): any => ({ ...obj, }); } /** - *

                                                          Describes a Classic Load Balancer.

                                                          + *

                                                          Describes the recurring schedule for a Scheduled Instance.

                                                          */ -export interface ClassicLoadBalancer { +export interface ScheduledInstanceRecurrenceRequest { /** - *

                                                          The name of the load balancer.

                                                          + *

                                                          The frequency (Daily, Weekly, or Monthly).

                                                          */ - Name?: string; -} + Frequency?: string; -export namespace ClassicLoadBalancer { /** - * @internal + *

                                                          The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 + * weeks or every 2 months.

                                                          */ - export const filterSensitiveLog = (obj: ClassicLoadBalancer): any => ({ - ...obj, - }); -} + Interval?: number; -/** - *

                                                          Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers - * the running Spot Instances with these Classic Load Balancers.

                                                          - */ -export interface ClassicLoadBalancersConfig { /** - *

                                                          One or more Classic Load Balancers.

                                                          + *

                                                          The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

                                                          */ - ClassicLoadBalancers?: ClassicLoadBalancer[]; + OccurrenceDays?: number[]; + + /** + *

                                                          Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

                                                          + */ + OccurrenceRelativeToEnd?: boolean; + + /** + *

                                                          The unit for OccurrenceDays (DayOfWeek or DayOfMonth). + * This value is required for a monthly schedule. + * You can't specify DayOfWeek with a weekly schedule. + * You can't specify this value with a daily schedule.

                                                          + */ + OccurrenceUnit?: string; } -export namespace ClassicLoadBalancersConfig { +export namespace ScheduledInstanceRecurrenceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ClassicLoadBalancersConfig): any => ({ + export const filterSensitiveLog = (obj: ScheduledInstanceRecurrenceRequest): any => ({ ...obj, }); } /** - *

                                                          Describes a load balancer target group.

                                                          + *

                                                          Contains the parameters for DescribeScheduledInstanceAvailability.

                                                          */ -export interface TargetGroup { +export interface DescribeScheduledInstanceAvailabilityRequest { /** - *

                                                          The Amazon Resource Name (ARN) of the target group.

                                                          + *

                                                          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.

                                                          */ - Arn?: string; -} + DryRun?: boolean; -export namespace TargetGroup { /** - * @internal + *

                                                          The filters.

                                                          + *
                                                            + *
                                                          • + *

                                                            + * availability-zone - The Availability Zone (for example, us-west-2a).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * instance-type - The instance type (for example, c4.large).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * network-platform - The network platform (EC2-Classic or EC2-VPC).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * platform - The platform (Linux/UNIX or Windows).

                                                            + *
                                                          • + *
                                                          */ - export const filterSensitiveLog = (obj: TargetGroup): any => ({ - ...obj, - }); -} + Filters?: Filter[]; -/** - *

                                                          Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the - * running Spot Instances with these target groups.

                                                          - */ -export interface TargetGroupsConfig { /** - *

                                                          One or more target groups.

                                                          + *

                                                          The time period for the first schedule to start.

                                                          */ - TargetGroups?: TargetGroup[]; -} + FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined; -export namespace TargetGroupsConfig { /** - * @internal + *

                                                          The maximum number of results to return in a single call. + * This value can be between 5 and 300. The default value is 300. + * To retrieve the remaining results, make another call with the returned + * NextToken value.

                                                          */ - export const filterSensitiveLog = (obj: TargetGroupsConfig): any => ({ - ...obj, - }); -} + MaxResults?: number; -/** - *

                                                          Describes the Classic Load Balancers and target groups to attach to a Spot Fleet - * request.

                                                          - */ -export interface LoadBalancersConfig { /** - *

                                                          The Classic Load Balancers.

                                                          + *

                                                          The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours + * and less than 1,720.

                                                          */ - ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig; + MaxSlotDurationInHours?: number; /** - *

                                                          The target groups.

                                                          + *

                                                          The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

                                                          */ - TargetGroupsConfig?: TargetGroupsConfig; -} + MinSlotDurationInHours?: number; -export namespace LoadBalancersConfig { /** - * @internal + *

                                                          The token for the next set of results.

                                                          */ - export const filterSensitiveLog = (obj: LoadBalancersConfig): any => ({ - ...obj, - }); -} - -export enum OnDemandAllocationStrategy { - LOWEST_PRICE = "lowestPrice", - PRIORITIZED = "prioritized", -} - -export enum ReplacementStrategy { - LAUNCH = "launch", -} + NextToken?: string; -/** - *

                                                          The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your - * Spot Instance is at an elevated risk of being interrupted. For more information, see - * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

                                                          - */ -export interface SpotCapacityRebalance { /** - *

                                                          The replacement strategy to use. Only available for fleets of type - * maintain. You must specify a value, otherwise you get an error.

                                                          - *

                                                          To allow Spot Fleet to launch a replacement Spot Instance when an instance rebalance - * notification is emitted for a Spot Instance in the fleet, specify - * launch.

                                                          - * - *

                                                          When a replacement instance is launched, the instance marked for rebalance is not - * automatically terminated. You can terminate it, or you can leave it running. You are - * charged for all instances while they are running.

                                                          - *
                                                          + *

                                                          The schedule recurrence.

                                                          */ - ReplacementStrategy?: ReplacementStrategy | string; + Recurrence: ScheduledInstanceRecurrenceRequest | undefined; } -export namespace SpotCapacityRebalance { +export namespace DescribeScheduledInstanceAvailabilityRequest { /** * @internal */ - export const filterSensitiveLog = (obj: SpotCapacityRebalance): any => ({ + export const filterSensitiveLog = (obj: DescribeScheduledInstanceAvailabilityRequest): any => ({ ...obj, }); } /** - *

                                                          The strategies for managing your Spot Instances that are at an elevated risk of being - * interrupted.

                                                          + *

                                                          Describes the recurring schedule for a Scheduled Instance.

                                                          */ -export interface SpotMaintenanceStrategies { +export interface ScheduledInstanceRecurrence { /** - *

                                                          The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an - * elevated risk of being interrupted.

                                                          + *

                                                          The frequency (Daily, Weekly, or Monthly).

                                                          */ - CapacityRebalance?: SpotCapacityRebalance; + Frequency?: string; + + /** + *

                                                          The interval quantity. The interval unit depends on the value of frequency. For example, every 2 + * weeks or every 2 months.

                                                          + */ + Interval?: number; + + /** + *

                                                          The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

                                                          + */ + OccurrenceDaySet?: number[]; + + /** + *

                                                          Indicates whether the occurrence is relative to the end of the specified week or month.

                                                          + */ + OccurrenceRelativeToEnd?: boolean; + + /** + *

                                                          The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

                                                          + */ + OccurrenceUnit?: string; } -export namespace SpotMaintenanceStrategies { +export namespace ScheduledInstanceRecurrence { /** * @internal */ - export const filterSensitiveLog = (obj: SpotMaintenanceStrategies): any => ({ + export const filterSensitiveLog = (obj: ScheduledInstanceRecurrence): any => ({ ...obj, }); } /** - *

                                                          Describes the configuration of a Spot Fleet request.

                                                          + *

                                                          Describes a schedule that is available for your Scheduled Instances.

                                                          */ -export interface SpotFleetRequestConfigData { +export interface ScheduledInstanceAvailability { /** - *

                                                          Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by - * the Spot Fleet request.

                                                          - *

                                                          If the allocation strategy is lowestPrice, Spot Fleet launches instances from - * the Spot Instance pools with the lowest price. This is the default allocation strategy.

                                                          - *

                                                          If the allocation strategy is diversified, Spot Fleet launches instances from - * all the Spot Instance pools that you specify.

                                                          - *

                                                          If the allocation strategy is capacityOptimized (recommended), Spot Fleet - * launches instances from Spot Instance pools with optimal capacity for the number of instances - * that are launching. To give certain instance types a higher chance of launching first, - * use capacityOptimizedPrioritized. Set a priority for each instance type by - * using the Priority parameter for LaunchTemplateOverrides. You - * can assign the same priority to different LaunchTemplateOverrides. EC2 - * implements the priorities on a best-effort basis, but optimizes for capacity first. - * capacityOptimizedPrioritized is supported only if your Spot Fleet uses a - * launch template. Note that if the OnDemandAllocationStrategy is set to - * prioritized, the same priority is applied when fulfilling On-Demand - * capacity.

                                                          + *

                                                          The Availability Zone.

                                                          */ - AllocationStrategy?: AllocationStrategy | string; + AvailabilityZone?: string; /** - *

                                                          The order of the launch template overrides to use in fulfilling On-Demand capacity. If - * you specify lowestPrice, Spot Fleet uses price to determine the order, launching - * the lowest price first. If you specify prioritized, Spot Fleet uses the priority - * that you assign to each Spot Fleet launch template override, launching the highest priority - * first. If you do not specify a value, Spot Fleet defaults to lowestPrice.

                                                          + *

                                                          The number of available instances.

                                                          */ - OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string; + AvailableInstanceCount?: number; /** - *

                                                          The strategies for managing your Spot Instances that are at an elevated risk of being - * interrupted.

                                                          + *

                                                          The time period for the first schedule to start.

                                                          */ - SpotMaintenanceStrategies?: SpotMaintenanceStrategies; + FirstSlotStartTime?: Date; /** - *

                                                          A unique, case-sensitive identifier that you provide to ensure the idempotency of your - * listings. This helps to avoid duplicate listings. For more information, see Ensuring Idempotency.

                                                          + *

                                                          The hourly price for a single instance.

                                                          */ - ClientToken?: string; + HourlyPrice?: string; /** - *

                                                          Indicates whether running Spot Instances should be terminated if you decrease the - * target capacity of the Spot Fleet request below the current size of the Spot - * Fleet.

                                                          + *

                                                          The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

                                                          */ - ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; + InstanceType?: string; /** - *

                                                          The number of units fulfilled by this request compared to the set target capacity. You - * cannot set this value.

                                                          + *

                                                          The maximum term. The only possible value is 365 days.

                                                          */ - FulfilledCapacity?: number; + MaxTermDurationInDays?: number; /** - *

                                                          The number of On-Demand units fulfilled by this request compared to the set target - * On-Demand capacity.

                                                          + *

                                                          The minimum term. The only possible value is 365 days.

                                                          */ - OnDemandFulfilledCapacity?: number; + MinTermDurationInDays?: number; /** - *

                                                          The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that - * grants the Spot Fleet the permission to request, launch, terminate, and tag instances on - * your behalf. For more information, see Spot - * Fleet prerequisites in the Amazon EC2 User Guide for Linux Instances. Spot Fleet - * can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using - * CancelSpotFleetRequests or when the Spot Fleet request expires, if you set - * TerminateInstancesWithExpiration.

                                                          + *

                                                          The network platform (EC2-Classic or EC2-VPC).

                                                          */ - IamFleetRole: string | undefined; + NetworkPlatform?: string; /** - *

                                                          The launch specifications for the Spot Fleet request. If you specify - * LaunchSpecifications, you can't specify - * LaunchTemplateConfigs. If you include On-Demand capacity in your - * request, you must use LaunchTemplateConfigs.

                                                          + *

                                                          The platform (Linux/UNIX or Windows).

                                                          */ - LaunchSpecifications?: SpotFleetLaunchSpecification[]; + Platform?: string; /** - *

                                                          The launch template and overrides. If you specify LaunchTemplateConfigs, - * you can't specify LaunchSpecifications. If you include On-Demand capacity - * in your request, you must use LaunchTemplateConfigs.

                                                          + *

                                                          The purchase token. This token expires in two hours.

                                                          */ - LaunchTemplateConfigs?: LaunchTemplateConfig[]; + PurchaseToken?: string; /** - *

                                                          The maximum price per unit hour that you are willing to pay for a Spot Instance. The - * default is the On-Demand price.

                                                          + *

                                                          The schedule recurrence.

                                                          */ - SpotPrice?: string; + Recurrence?: ScheduledInstanceRecurrence; /** - *

                                                          The number of units to request for the Spot Fleet. You can choose to set the target - * capacity in terms of instances or a performance characteristic that is important to your - * application workload, such as vCPUs, memory, or I/O. If the request type is - * maintain, you can specify a target capacity of 0 and add capacity - * later.

                                                          + *

                                                          The number of hours in the schedule.

                                                          */ - TargetCapacity: number | undefined; + SlotDurationInHours?: number; /** - *

                                                          The number of On-Demand units to request. You can choose to set the target capacity in - * terms of instances or a performance characteristic that is important to your application - * workload, such as vCPUs, memory, or I/O. If the request type is maintain, - * you can specify a target capacity of 0 and add capacity later.

                                                          + *

                                                          The total number of hours for a single instance for the entire term.

                                                          */ - OnDemandTargetCapacity?: number; + TotalScheduledInstanceHours?: number; +} +export namespace ScheduledInstanceAvailability { /** - *

                                                          The maximum amount per hour for On-Demand Instances that you're willing to pay. You - * can use the onDemandMaxTotalPrice parameter, the - * spotMaxTotalPrice parameter, or both parameters to ensure that your - * fleet cost does not exceed your budget. If you set a maximum price per hour for the - * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the - * maximum amount you're willing to pay. When the maximum amount you're willing to pay is - * reached, the fleet stops launching instances even if it hasn’t met the target - * capacity.

                                                          + * @internal */ - OnDemandMaxTotalPrice?: string; + export const filterSensitiveLog = (obj: ScheduledInstanceAvailability): any => ({ + ...obj, + }); +} +/** + *

                                                          Contains the output of DescribeScheduledInstanceAvailability.

                                                          + */ +export interface DescribeScheduledInstanceAvailabilityResult { /** - *

                                                          The maximum amount per hour for Spot Instances that you're willing to pay. You can use - * the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice - * parameter, or both parameters to ensure that your fleet cost does not exceed your - * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, - * Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. - * When the maximum amount you're willing to pay is reached, the fleet stops launching - * instances even if it hasn’t met the target capacity.

                                                          + *

                                                          The token required to retrieve the next set of results. This value is null when there are no more results to return.

                                                          */ - SpotMaxTotalPrice?: string; + NextToken?: string; /** - *

                                                          Indicates whether running Spot Instances are terminated when the Spot Fleet request - * expires.

                                                          + *

                                                          Information about the available Scheduled Instances.

                                                          */ - TerminateInstancesWithExpiration?: boolean; + ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[]; +} +export namespace DescribeScheduledInstanceAvailabilityResult { /** - *

                                                          The type of request. Indicates whether the Spot Fleet only requests the target - * capacity or also attempts to maintain it. When this value is request, the - * Spot Fleet only places the required requests. It does not attempt to replenish Spot - * Instances if capacity is diminished, nor does it submit requests in alternative Spot - * pools if capacity is not available. When this value is maintain, the Spot - * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet - * capacity and automatically replenishes any interrupted instances. Default: - * maintain. instant is listed but is not used by Spot - * Fleet.

                                                          + * @internal */ - Type?: FleetType | string; + export const filterSensitiveLog = (obj: DescribeScheduledInstanceAvailabilityResult): any => ({ + ...obj, + }); +} +/** + *

                                                          Describes the time period for a Scheduled Instance to start its first schedule.

                                                          + */ +export interface SlotStartTimeRangeRequest { /** - *

                                                          The start date and time of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ). - * By default, Amazon EC2 starts fulfilling the request immediately.

                                                          + *

                                                          The earliest date and time, in UTC, for the Scheduled Instance to start.

                                                          */ - ValidFrom?: Date; + EarliestTime?: Date; /** - *

                                                          The end date and time of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ). - * After the end date and time, no new Spot Instance requests are placed or able to fulfill - * the request. If no value is specified, the Spot Fleet request remains until you cancel - * it.

                                                          + *

                                                          The latest date and time, in UTC, for the Scheduled Instance to start.

                                                          */ - ValidUntil?: Date; + LatestTime?: Date; +} +export namespace SlotStartTimeRangeRequest { /** - *

                                                          Indicates whether Spot Fleet should replace unhealthy instances.

                                                          + * @internal */ - ReplaceUnhealthyInstances?: boolean; + export const filterSensitiveLog = (obj: SlotStartTimeRangeRequest): any => ({ + ...obj, + }); +} +/** + *

                                                          Contains the parameters for DescribeScheduledInstances.

                                                          + */ +export interface DescribeScheduledInstancesRequest { /** - *

                                                          The behavior when a Spot Instance is interrupted. The default is - * terminate.

                                                          + *

                                                          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.

                                                          */ - InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; + DryRun?: boolean; /** - *

                                                          One or more Classic Load Balancers and target groups to attach to the Spot Fleet - * request. Spot Fleet registers the running Spot Instances with the specified Classic Load - * Balancers and target groups.

                                                          - *

                                                          With Network Load Balancers, Spot Fleet cannot register instances that have the - * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, - * M3, and T1.

                                                          + *

                                                          The filters.

                                                          + *
                                                            + *
                                                          • + *

                                                            + * availability-zone - The Availability Zone (for example, us-west-2a).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * instance-type - The instance type (for example, c4.large).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * network-platform - The network platform (EC2-Classic or EC2-VPC).

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * platform - The platform (Linux/UNIX or Windows).

                                                            + *
                                                          • + *
                                                          */ - LoadBalancersConfig?: LoadBalancersConfig; + Filters?: Filter[]; /** - *

                                                          The number of Spot pools across which to allocate your target Spot capacity. Valid - * only when Spot AllocationStrategy is set to - * lowest-price. Spot Fleet selects the cheapest Spot pools and evenly - * allocates your target Spot capacity across the number of Spot pools that you - * specify.

                                                          - *

                                                          Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a - * best effort basis. If a pool runs out of Spot capacity before fulfilling your target - * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest - * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than - * the number of pools that you specified. Similarly, if most of the pools have no Spot - * capacity, you might receive your full target capacity from fewer than the number of - * pools that you specified.

                                                          + *

                                                          The maximum number of results to return in a single call. + * This value can be between 5 and 300. The default value is 100. + * To retrieve the remaining results, make another call with the returned + * NextToken value.

                                                          */ - InstancePoolsToUseCount?: number; + MaxResults?: number; /** - *

                                                          Reserved.

                                                          + *

                                                          The token for the next set of results.

                                                          */ - Context?: string; + NextToken?: string; /** - *

                                                          The key-value pair for tagging the Spot Fleet request on creation. The value for - * ResourceType must be spot-fleet-request, otherwise the - * Spot Fleet request fails. To tag instances at launch, specify the tags in the launch - * template (valid only if you use LaunchTemplateConfigs) or in - * the - * SpotFleetTagSpecification - * (valid only if you use - * LaunchSpecifications). For information about tagging after launch, see - * Tagging Your Resources.

                                                          + *

                                                          The Scheduled Instance IDs.

                                                          */ - TagSpecifications?: TagSpecification[]; + ScheduledInstanceIds?: string[]; + + /** + *

                                                          The time period for the first schedule to start.

                                                          + */ + SlotStartTimeRange?: SlotStartTimeRangeRequest; } -export namespace SpotFleetRequestConfigData { +export namespace DescribeScheduledInstancesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: SpotFleetRequestConfigData): any => ({ + export const filterSensitiveLog = (obj: DescribeScheduledInstancesRequest): any => ({ ...obj, }); } /** - *

                                                          Describes a Spot Fleet request.

                                                          + *

                                                          Describes a Scheduled Instance.

                                                          */ -export interface SpotFleetRequestConfig { +export interface ScheduledInstance { /** - *

                                                          The progress of the Spot Fleet request. - * If there is an error, the status is error. - * After all requests are placed, the status is pending_fulfillment. - * If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. - * If the size of the fleet is decreased, the status is pending_termination - * while Spot Instances are terminating.

                                                          + *

                                                          The Availability Zone.

                                                          */ - ActivityStatus?: ActivityStatus | string; + AvailabilityZone?: string; /** - *

                                                          The creation date and time of the request.

                                                          + *

                                                          The date when the Scheduled Instance was purchased.

                                                          */ - CreateTime?: Date; + CreateDate?: Date; /** - *

                                                          The configuration of the Spot Fleet request.

                                                          + *

                                                          The hourly price for a single instance.

                                                          */ - SpotFleetRequestConfig?: SpotFleetRequestConfigData; + HourlyPrice?: string; /** - *

                                                          The ID of the Spot Fleet request.

                                                          + *

                                                          The number of instances.

                                                          */ - SpotFleetRequestId?: string; + InstanceCount?: number; /** - *

                                                          The state of the Spot Fleet request.

                                                          + *

                                                          The instance type.

                                                          */ - SpotFleetRequestState?: BatchState | string; + InstanceType?: string; /** - *

                                                          The tags for a Spot Fleet resource.

                                                          + *

                                                          The network platform (EC2-Classic or EC2-VPC).

                                                          */ - Tags?: Tag[]; + NetworkPlatform?: string; + + /** + *

                                                          The time for the next schedule to start.

                                                          + */ + NextSlotStartTime?: Date; + + /** + *

                                                          The platform (Linux/UNIX or Windows).

                                                          + */ + Platform?: string; + + /** + *

                                                          The time that the previous schedule ended or will end.

                                                          + */ + PreviousSlotEndTime?: Date; + + /** + *

                                                          The schedule recurrence.

                                                          + */ + Recurrence?: ScheduledInstanceRecurrence; + + /** + *

                                                          The Scheduled Instance ID.

                                                          + */ + ScheduledInstanceId?: string; + + /** + *

                                                          The number of hours in the schedule.

                                                          + */ + SlotDurationInHours?: number; + + /** + *

                                                          The end date for the Scheduled Instance.

                                                          + */ + TermEndDate?: Date; + + /** + *

                                                          The start date for the Scheduled Instance.

                                                          + */ + TermStartDate?: Date; + + /** + *

                                                          The total number of hours for a single instance for the entire term.

                                                          + */ + TotalScheduledInstanceHours?: number; } -export namespace SpotFleetRequestConfig { +export namespace ScheduledInstance { /** * @internal */ - export const filterSensitiveLog = (obj: SpotFleetRequestConfig): any => ({ + export const filterSensitiveLog = (obj: ScheduledInstance): any => ({ ...obj, }); } /** - *

                                                          Contains the output of DescribeSpotFleetRequests.

                                                          + *

                                                          Contains the output of DescribeScheduledInstances.

                                                          */ -export interface DescribeSpotFleetRequestsResponse { +export interface DescribeScheduledInstancesResult { /** - *

                                                          The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

                                                          + *

                                                          The token required to retrieve the next set of results. This value is null when there are no more results to return.

                                                          */ NextToken?: string; /** - *

                                                          Information about the configuration of your Spot Fleet.

                                                          + *

                                                          Information about the Scheduled Instances.

                                                          */ - SpotFleetRequestConfigs?: SpotFleetRequestConfig[]; + ScheduledInstanceSet?: ScheduledInstance[]; } -export namespace DescribeSpotFleetRequestsResponse { +export namespace DescribeScheduledInstancesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotFleetRequestsResponse): any => ({ + export const filterSensitiveLog = (obj: DescribeScheduledInstancesResult): any => ({ ...obj, }); } -/** - *

                                                          Contains the parameters for DescribeSpotInstanceRequests.

                                                          - */ -export interface DescribeSpotInstanceRequestsRequest { +export interface DescribeSecurityGroupReferencesRequest { /** - *

                                                          One or more filters.

                                                          - *
                                                            - *
                                                          • - *

                                                            - * availability-zone-group - The Availability Zone group.

                                                            - *
                                                          • + *

                                                            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; + + /** + *

                                                            The IDs of the security groups in your account.

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

                                                            Describes a VPC with a security group that references your security group.

                                                            + */ +export interface SecurityGroupReference { + /** + *

                                                            The ID of your security group.

                                                            + */ + GroupId?: string; + + /** + *

                                                            The ID of the VPC with the referencing security group.

                                                            + */ + ReferencingVpcId?: string; + + /** + *

                                                            The ID of the VPC peering connection.

                                                            + */ + VpcPeeringConnectionId?: string; +} + +export namespace SecurityGroupReference { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SecurityGroupReference): any => ({ + ...obj, + }); +} + +export interface DescribeSecurityGroupReferencesResult { + /** + *

                                                            Information about the VPCs with the referencing security groups.

                                                            + */ + SecurityGroupReferenceSet?: SecurityGroupReference[]; +} + +export namespace DescribeSecurityGroupReferencesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSecurityGroupReferencesResult): any => ({ + ...obj, + }); +} + +export interface DescribeSecurityGroupRulesRequest { + /** + *

                                                            One or more filters.

                                                            + *
                                                              *
                                                            • *

                                                              - * create-time - The time stamp when the Spot Instance request was - * created.

                                                              + * group-id - The ID of the security group.

                                                              *
                                                            • *
                                                            • *

                                                              - * fault-code - The fault code related to the request.

                                                              + * security-group-rule-id - The ID of the security group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * fault-message - The fault message related to the request.

                                                              + *

                                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                              *
                                                            • + *
                                                            + */ + Filters?: Filter[]; + + /** + *

                                                            The IDs of the security group rules.

                                                            + */ + SecurityGroupRuleIds?: string[]; + + /** + *

                                                            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; + + /** + *

                                                            The token for the next page of results.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value. This value + * can be between 5 and 1000. If this parameter is not specified, then all results are + * returned.

                                                            + */ + MaxResults?: number; +} + +export namespace DescribeSecurityGroupRulesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSecurityGroupRulesRequest): any => ({ + ...obj, + }); +} + +export interface DescribeSecurityGroupRulesResult { + /** + *

                                                            Information about security group rules.

                                                            + */ + SecurityGroupRules?: SecurityGroupRule[]; + + /** + *

                                                            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 DescribeSecurityGroupRulesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSecurityGroupRulesResult): any => ({ + ...obj, + }); +} + +export interface DescribeSecurityGroupsRequest { + /** + *

                                                            The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.

                                                            + *
                                                              *
                                                            • - *

                                                              - * instance-id - The ID of the instance that fulfilled the - * request.

                                                              + *

                                                              + * description - The description of the security group.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch-group - The Spot Instance launch group.

                                                              + * egress.ip-permission.cidr - An IPv4 CIDR block for an outbound + * security group rule.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.block-device-mapping.delete-on-termination - Indicates - * whether the EBS volume is deleted on instance termination.

                                                              + * egress.ip-permission.from-port - For an outbound rule, the + * start of port range for the TCP and UDP protocols, or an ICMP type + * number.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.block-device-mapping.device-name - The device name for the - * volume in the block device mapping (for example, /dev/sdh or - * xvdh).

                                                              + * egress.ip-permission.group-id - The ID of a security group + * that has been referenced in an outbound security group rule.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.block-device-mapping.snapshot-id - The ID of the snapshot - * for the EBS volume.

                                                              + * egress.ip-permission.group-name - The name of a security group + * that is referenced in an outbound security group rule.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.block-device-mapping.volume-size - The size of the EBS - * volume, in GiB.

                                                              + * egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an + * outbound security group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.block-device-mapping.volume-type - The type of EBS volume: - * gp2 for General Purpose SSD, io1 or - * io2 for Provisioned IOPS SSD, st1 for Throughput - * Optimized HDD, sc1for Cold HDD, or standard for - * Magnetic.

                                                              - *
                                                            • + *

                                                              + * egress.ip-permission.prefix-list-id - The ID of a prefix list to which a security group rule allows outbound access.

                                                              + * *
                                                            • *

                                                              - * launch.group-id - The ID of the security group for the - * instance.

                                                              + * egress.ip-permission.protocol - The IP protocol for an + * outbound security group rule (tcp | udp | + * icmp, a protocol number, or -1 for all protocols).

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.group-name - The name of the security group for the - * instance.

                                                              + * egress.ip-permission.to-port - For an outbound rule, the end + * of port range for the TCP and UDP protocols, or an ICMP code.

                                                              *
                                                            • *
                                                            • *

                                                              - * launch.image-id - The ID of the AMI.

                                                              + * egress.ip-permission.user-id - The ID of an Amazon Web Services account that + * has been referenced in an outbound security group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.instance-type - The type of instance (for example, - * m3.medium).

                                                              + *

                                                              + * group-id - The ID of the security group.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.kernel-id - The kernel ID.

                                                              + *

                                                              + * group-name - The name of the security group.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.key-name - The name of the key pair the instance launched - * with.

                                                              + *

                                                              + * ip-permission.cidr - An IPv4 CIDR block for an inbound security + * group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.monitoring-enabled - Whether detailed monitoring is - * enabled for the Spot Instance.

                                                              + *

                                                              + * ip-permission.from-port - For an inbound rule, the start of port + * range for the TCP and UDP protocols, or an ICMP type number.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launch.ramdisk-id - The RAM disk ID.

                                                              + *

                                                              + * ip-permission.group-id - The ID of a security group that has been + * referenced in an inbound security group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * launched-availability-zone - The Availability Zone in which the - * request is launched.

                                                              - *
                                                            • + *

                                                              + * ip-permission.group-name - The name of a security group that is + * referenced in an inbound security group rule.

                                                              + * *
                                                            • - *

                                                              - * network-interface.addresses.primary - Indicates whether the IP - * address is the primary private IP address.

                                                              + *

                                                              + * ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security + * group rule.

                                                              *
                                                            • *
                                                            • *

                                                              - * network-interface.delete-on-termination - Indicates whether the - * network interface is deleted when the instance is terminated.

                                                              + * ip-permission.prefix-list-id - The ID of a prefix list from which a security group rule allows inbound access.

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.description - A description of the network - * interface.

                                                              + *

                                                              + * ip-permission.protocol - The IP protocol for an inbound security + * group rule (tcp | udp | icmp, a + * protocol number, or -1 for all protocols).

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.device-index - The index of the device for the - * network interface attachment on the instance.

                                                              + *

                                                              + * ip-permission.to-port - For an inbound rule, the end of port range + * for the TCP and UDP protocols, or an ICMP code.

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.group-id - The ID of the security group - * associated with the network interface.

                                                              + *

                                                              + * ip-permission.user-id - The ID of an Amazon Web Services account that has been + * referenced in an inbound security group rule.

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.network-interface-id - The ID of the network - * interface.

                                                              + *

                                                              + * owner-id - The Amazon Web Services account ID of the owner of the security group.

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.private-ip-address - The primary private IP - * address of the network interface.

                                                              + *

                                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                              *
                                                            • *
                                                            • - *

                                                              - * network-interface.subnet-id - The ID of the subnet for the - * instance.

                                                              + *

                                                              + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                              *
                                                            • *
                                                            • - *

                                                              - * product-description - The product description associated with the - * instance (Linux/UNIX | Windows).

                                                              + *

                                                              + * vpc-id - The ID of the VPC specified when the security group was created.

                                                              *
                                                            • + *
                                                            + */ + Filters?: Filter[]; + + /** + *

                                                            The IDs of the security groups. Required for security groups in a nondefault VPC.

                                                            + *

                                                            Default: Describes all of your security groups.

                                                            + */ + GroupIds?: string[]; + + /** + *

                                                            [EC2-Classic and default VPC only] The names of the security groups. You can specify either + * the security group name or the security group ID. For security groups in a nondefault VPC, use + * the group-name filter to describe security groups by name.

                                                            + *

                                                            Default: Describes all of your security groups.

                                                            + */ + GroupNames?: string[]; + + /** + *

                                                            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; + + /** + *

                                                            The token to request the next page of results.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value. This value + * can be between 5 and 1000. If this parameter is not specified, then all results are + * returned.

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

                                                            Describes a security group.

                                                            + */ +export interface SecurityGroup { + /** + *

                                                            A description of the security group.

                                                            + */ + Description?: string; + + /** + *

                                                            The name of the security group.

                                                            + */ + GroupName?: string; + + /** + *

                                                            The inbound rules associated with the security group.

                                                            + */ + IpPermissions?: IpPermission[]; + + /** + *

                                                            The Amazon Web Services account ID of the owner of the security group.

                                                            + */ + OwnerId?: string; + + /** + *

                                                            The ID of the security group.

                                                            + */ + GroupId?: string; + + /** + *

                                                            [VPC only] The outbound rules associated with the security group.

                                                            + */ + IpPermissionsEgress?: IpPermission[]; + + /** + *

                                                            Any tags assigned to the security group.

                                                            + */ + Tags?: Tag[]; + + /** + *

                                                            [VPC only] The ID of the VPC for the security group.

                                                            + */ + VpcId?: string; +} + +export namespace SecurityGroup { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SecurityGroup): any => ({ + ...obj, + }); +} + +export interface DescribeSecurityGroupsResult { + /** + *

                                                            Information about the security groups.

                                                            + */ + SecurityGroups?: SecurityGroup[]; + + /** + *

                                                            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 DescribeSecurityGroupsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSecurityGroupsResult): any => ({ + ...obj, + }); +} + +export type SnapshotAttributeName = "createVolumePermission" | "productCodes"; + +export interface DescribeSnapshotAttributeRequest { + /** + *

                                                            The snapshot attribute you would like to view.

                                                            + */ + Attribute: SnapshotAttributeName | string | undefined; + + /** + *

                                                            The ID of the EBS snapshot.

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

                                                            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; +} + +export namespace DescribeSnapshotAttributeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSnapshotAttributeRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                            Describes the user or group to be added or removed from the list of create volume + * permissions for a volume.

                                                            + */ +export interface CreateVolumePermission { + /** + *

                                                            The group to be added or removed. The possible value is all.

                                                            + */ + Group?: PermissionGroup | string; + + /** + *

                                                            The AWS account ID to be added or removed.

                                                            + */ + UserId?: string; +} + +export namespace CreateVolumePermission { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateVolumePermission): any => ({ + ...obj, + }); +} + +export interface DescribeSnapshotAttributeResult { + /** + *

                                                            The users and groups that have the permissions for creating volumes from the + * snapshot.

                                                            + */ + CreateVolumePermissions?: CreateVolumePermission[]; + + /** + *

                                                            The product codes.

                                                            + */ + ProductCodes?: ProductCode[]; + + /** + *

                                                            The ID of the EBS snapshot.

                                                            + */ + SnapshotId?: string; +} + +export namespace DescribeSnapshotAttributeResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSnapshotAttributeResult): any => ({ + ...obj, + }); +} + +export interface DescribeSnapshotsRequest { + /** + *

                                                            The filters.

                                                            + *
                                                              *
                                                            • - *

                                                              - * spot-instance-request-id - The Spot Instance request ID.

                                                              + *

                                                              + * description - A description of the snapshot.

                                                              *
                                                            • *
                                                            • - *

                                                              - * spot-price - The maximum hourly price for any Spot Instance - * launched to fulfill the request.

                                                              + *

                                                              + * encrypted - Indicates whether the snapshot is encrypted + * (true | false)

                                                              *
                                                            • *
                                                            • - *

                                                              - * state - The state of the Spot Instance request (open - * | active | closed | cancelled | - * failed). Spot request status information can help you track - * your Amazon EC2 Spot Instance requests. For more information, see Spot - * request status in the Amazon EC2 User Guide for Linux Instances.

                                                              + *

                                                              + * owner-alias - The owner alias, from an Amazon-maintained list + * (amazon). + * This is not the user-configured AWS account alias set using the IAM console. + * We recommend that you use the related parameter instead of this filter.

                                                              *
                                                            • *
                                                            • - *

                                                              - * status-code - The short code describing the most recent - * evaluation of your Spot Instance request.

                                                              - *
                                                            • + *

                                                              + * owner-id - The AWS account ID of the owner. We recommend that + * you use the related parameter instead of this filter.

                                                              + * + *
                                                            • + *

                                                              + * progress - The progress of the snapshot, as a percentage (for example, + * 80%).

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * snapshot-id - The snapshot ID.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * start-time - The time stamp when the snapshot was initiated.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * status - The status of the snapshot (pending | + * completed | error).

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * volume-id - The ID of the volume the snapshot is for.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * volume-size - The size of the volume, in GiB.

                                                              + *
                                                            • + *
                                                            + */ + Filters?: Filter[]; + + /** + *

                                                            The maximum number of snapshot results returned by DescribeSnapshots in + * paginated output. When this parameter is used, DescribeSnapshots 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 + * DescribeSnapshots request with the returned NextToken value. This + * value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, + * only 1,000 results are returned. If this parameter is not used, then + * DescribeSnapshots returns all results. You cannot specify this parameter and + * the snapshot IDs parameter in the same request.

                                                            + */ + MaxResults?: number; + + /** + *

                                                            The NextToken value returned from a previous paginated + * DescribeSnapshots 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.

                                                            + */ + NextToken?: string; + + /** + *

                                                            Scopes the results to snapshots with the specified owners. You can specify a combination of + * AWS account IDs, self, and amazon.

                                                            + */ + OwnerIds?: string[]; + + /** + *

                                                            The IDs of the AWS accounts that can create volumes from the snapshot.

                                                            + */ + RestorableByUserIds?: string[]; + + /** + *

                                                            The snapshot IDs.

                                                            + *

                                                            Default: Describes the snapshots for which you have create volume permissions.

                                                            + */ + SnapshotIds?: string[]; + + /** + *

                                                            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; +} + +export namespace DescribeSnapshotsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSnapshotsRequest): any => ({ + ...obj, + }); +} + +export interface DescribeSnapshotsResult { + /** + *

                                                            Information about the snapshots.

                                                            + */ + Snapshots?: Snapshot[]; + + /** + *

                                                            The NextToken value to include in a future DescribeSnapshots + * request. When the results of a DescribeSnapshots 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 DescribeSnapshotsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSnapshotsResult): any => ({ + ...obj, + }); +} + +/** + *

                                                            Contains the parameters for DescribeSpotDatafeedSubscription.

                                                            + */ +export interface DescribeSpotDatafeedSubscriptionRequest { + /** + *

                                                            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; +} + +export namespace DescribeSpotDatafeedSubscriptionRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSpotDatafeedSubscriptionRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                            Contains the output of DescribeSpotDatafeedSubscription.

                                                            + */ +export interface DescribeSpotDatafeedSubscriptionResult { + /** + *

                                                            The Spot Instance data feed subscription.

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

                                                            Contains the parameters for DescribeSpotFleetInstances.

                                                            + */ +export interface DescribeSpotFleetInstancesRequest { + /** + *

                                                            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; + + /** + *

                                                            The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

                                                            + */ + MaxResults?: number; + + /** + *

                                                            The token for the next set of results.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The ID of the Spot Fleet request.

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

                                                            Contains the output of DescribeSpotFleetInstances.

                                                            + */ +export interface DescribeSpotFleetInstancesResponse { + /** + *

                                                            The running instances. This list is refreshed periodically and might be out of + * date.

                                                            + */ + ActiveInstances?: ActiveInstance[]; + + /** + *

                                                            The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The ID of the Spot Fleet request.

                                                            + */ + SpotFleetRequestId?: string; +} + +export namespace DescribeSpotFleetInstancesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSpotFleetInstancesResponse): any => ({ + ...obj, + }); +} + +export enum EventType { + BATCH_CHANGE = "fleetRequestChange", + ERROR = "error", + INFORMATION = "information", + INSTANCE_CHANGE = "instanceChange", +} + +/** + *

                                                            Contains the parameters for DescribeSpotFleetRequestHistory.

                                                            + */ +export interface DescribeSpotFleetRequestHistoryRequest { + /** + *

                                                            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; + + /** + *

                                                            The type of events to describe. By default, all events are described.

                                                            + */ + EventType?: EventType | string; + + /** + *

                                                            The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

                                                            + */ + MaxResults?: number; + + /** + *

                                                            The token for the next set of results.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The ID of the Spot Fleet request.

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

                                                            The starting date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                            + */ + StartTime: Date | undefined; +} + +export namespace DescribeSpotFleetRequestHistoryRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSpotFleetRequestHistoryRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                            Describes an event in the history of the Spot Fleet request.

                                                            + */ +export interface HistoryRecord { + /** + *

                                                            Information about the event.

                                                            + */ + EventInformation?: EventInformation; + + /** + *

                                                            The event type.

                                                            + *
                                                              *
                                                            • *

                                                              - * status-message - The message explaining the status of the Spot - * Instance request.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                              + * error - An error with the Spot Fleet request.

                                                              *
                                                            • *
                                                            • *

                                                              - * type - The type of Spot Instance request (one-time | - * persistent).

                                                              + * fleetRequestChange - A change in the status or configuration of + * the Spot Fleet request.

                                                              *
                                                            • *
                                                            • *

                                                              - * valid-from - The start date of the request.

                                                              + * instanceChange - An instance was launched or terminated.

                                                              *
                                                            • *
                                                            • *

                                                              - * valid-until - The end date of the request.

                                                              + * Information - An informational event.

                                                              *
                                                            • *
                                                            */ - Filters?: Filter[]; + EventType?: EventType | string; + + /** + *

                                                            The date and time of the event, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                            + */ + Timestamp?: Date; +} + +export namespace HistoryRecord { + /** + * @internal + */ + export const filterSensitiveLog = (obj: HistoryRecord): any => ({ + ...obj, + }); +} + +/** + *

                                                            Contains the output of DescribeSpotFleetRequestHistory.

                                                            + */ +export interface DescribeSpotFleetRequestHistoryResponse { + /** + *

                                                            Information about the events in the history of the Spot Fleet request.

                                                            + */ + HistoryRecords?: HistoryRecord[]; + + /** + *

                                                            The last date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * All records up to this time were retrieved.

                                                            + *

                                                            If nextToken indicates that there are more results, this value is not + * present.

                                                            + */ + LastEvaluatedTime?: Date; + + /** + *

                                                            The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

                                                            + */ + NextToken?: string; + + /** + *

                                                            The ID of the Spot Fleet request.

                                                            + */ + SpotFleetRequestId?: string; + + /** + *

                                                            The starting date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                            + */ + StartTime?: Date; +} + +export namespace DescribeSpotFleetRequestHistoryResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSpotFleetRequestHistoryResponse): any => ({ + ...obj, + }); +} +/** + *

                                                            Contains the parameters for DescribeSpotFleetRequests.

                                                            + */ +export interface DescribeSpotFleetRequestsRequest { /** *

                                                            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 @@ -8367,1743 +8142,1981 @@ export interface DescribeSpotInstanceRequestsRequest { DryRun?: boolean; /** - *

                                                            One or more Spot Instance request IDs.

                                                            + *

                                                            The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

                                                            */ - SpotInstanceRequestIds?: string[]; + MaxResults?: number; /** - *

                                                            The token to request the next set of results. This value is null when - * there are no more results to return.

                                                            + *

                                                            The token for the next set of results.

                                                            */ NextToken?: string; /** - *

                                                            The maximum number of results to return in a single call. Specify a value between 5 - * and 1000. To retrieve the remaining results, make another call with the returned - * NextToken value.

                                                            + *

                                                            The IDs of the Spot Fleet requests.

                                                            */ - MaxResults?: number; + SpotFleetRequestIds?: string[]; } -export namespace DescribeSpotInstanceRequestsRequest { +export namespace DescribeSpotFleetRequestsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotInstanceRequestsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeSpotFleetRequestsRequest): any => ({ ...obj, }); } +export enum ExcessCapacityTerminationPolicy { + DEFAULT = "default", + NO_TERMINATION = "noTermination", +} + /** - *

                                                            Describes the monitoring of an instance.

                                                            + *

                                                            Describes whether monitoring is enabled.

                                                            */ -export interface RunInstancesMonitoringEnabled { +export interface SpotFleetMonitoring { /** - *

                                                            Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is - * enabled.

                                                            + *

                                                            Enables monitoring for the instance.

                                                            + *

                                                            Default: false + *

                                                            */ - Enabled: boolean | undefined; + Enabled?: boolean; } -export namespace RunInstancesMonitoringEnabled { +export namespace SpotFleetMonitoring { /** * @internal */ - export const filterSensitiveLog = (obj: RunInstancesMonitoringEnabled): any => ({ + export const filterSensitiveLog = (obj: SpotFleetMonitoring): any => ({ ...obj, }); } /** - *

                                                            Describes the launch specification for an instance.

                                                            + *

                                                            Describes a network interface.

                                                            */ -export interface LaunchSpecification { +export interface InstanceNetworkInterfaceSpecification { /** - *

                                                            The Base64-encoded user data for the instance.

                                                            + *

                                                            Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The + * public IP address can only be assigned to a network interface for eth0, and can only be + * assigned to a new network interface, not an existing one. You cannot specify more than one + * network interface in the request. If launching into a default subnet, the default value is + * true.

                                                            */ - UserData?: string; + AssociatePublicIpAddress?: boolean; /** - *

                                                            One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

                                                            + *

                                                            If set to true, the interface is deleted when the instance is terminated. You can + * specify true only if creating a new network interface when launching an + * instance.

                                                            */ - SecurityGroups?: GroupIdentifier[]; + DeleteOnTermination?: boolean; /** - *

                                                            Deprecated.

                                                            + *

                                                            The description of the network interface. Applies only if creating a network interface when launching an instance.

                                                            */ - AddressingType?: string; + Description?: string; /** - *

                                                            One or more block device mapping entries.

                                                            + *

                                                            The position of the network interface in the attachment order. + * A primary network interface has a device index of 0.

                                                            + *

                                                            If you specify a network interface when launching an instance, + * you must specify the device index.

                                                            */ - BlockDeviceMappings?: BlockDeviceMapping[]; + DeviceIndex?: number; /** - *

                                                            Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

                                                            - *

                                                            Default: false - *

                                                            + *

                                                            The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

                                                            */ - EbsOptimized?: boolean; + Groups?: string[]; /** - *

                                                            The IAM instance profile.

                                                            + *

                                                            A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses + * the IPv6 addresses from the range of the subnet. You cannot specify this option and the + * option to assign specific IPv6 addresses in the same request. You can specify this + * option if you've specified a minimum number of instances to launch.

                                                            */ - IamInstanceProfile?: IamInstanceProfileSpecification; + Ipv6AddressCount?: number; /** - *

                                                            The ID of the AMI.

                                                            + *

                                                            One or more IPv6 addresses to assign to the network interface. You cannot specify + * this option and the option to assign a number of IPv6 addresses in the same request. You + * cannot specify this option if you've specified a minimum number of instances to + * launch.

                                                            */ - ImageId?: string; + Ipv6Addresses?: InstanceIpv6Address[]; /** - *

                                                            The instance type.

                                                            + *

                                                            The ID of the network interface.

                                                            + *

                                                            If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

                                                            */ - InstanceType?: _InstanceType | string; + NetworkInterfaceId?: string; /** - *

                                                            The ID of the kernel.

                                                            + *

                                                            The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching + * more than one instance in a RunInstances request.

                                                            */ - KernelId?: string; + PrivateIpAddress?: string; /** - *

                                                            The name of the key pair.

                                                            + *

                                                            One or more private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're + * launching more than one instance in a RunInstances request.

                                                            */ - KeyName?: string; + PrivateIpAddresses?: PrivateIpAddressSpecification[]; /** - *

                                                            One or more network interfaces. If you specify a network interface, you must specify - * subnet IDs and security group IDs using the network interface.

                                                            + *

                                                            The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're + * launching more than one instance in a RunInstances request.

                                                            */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; + SecondaryPrivateIpAddressCount?: number; /** - *

                                                            The placement information for the instance.

                                                            + *

                                                            The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.

                                                            */ - Placement?: SpotPlacement; + SubnetId?: string; /** - *

                                                            The ID of the RAM disk.

                                                            + *

                                                            Indicates whether to assign a carrier IP address to the network interface.

                                                            + *

                                                            You can only assign a carrier IP address to a network interface that is in a subnet in a Wavelength Zone. + * For more information about carrier IP addresses, see Carrier IP addresses in the Amazon Web Services Wavelength Developer Guide.

                                                            */ - RamdiskId?: string; + AssociateCarrierIpAddress?: boolean; /** - *

                                                            The ID of the subnet in which to launch the instance.

                                                            + *

                                                            The type of network interface.

                                                            + *

                                                            To create an Elastic Fabric Adapter (EFA), specify + * efa. For more information, see Elastic Fabric Adapter in the + * Amazon Elastic Compute Cloud User Guide.

                                                            + * + *

                                                            Valid values: interface | efa + *

                                                            + */ + InterfaceType?: string; + + /** + *

                                                            The index of the network card. Some instance types support multiple network cards. + * The primary network interface must be assigned to network card index 0. + * The default is network card index 0.

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

                                                            Describes Spot Instance placement.

                                                            + */ +export interface SpotPlacement { + /** + *

                                                            The Availability Zone.

                                                            + *

                                                            [Spot Fleet only] To specify multiple Availability Zones, separate them using commas; + * for example, "us-west-2a, us-west-2b".

                                                            + */ + AvailabilityZone?: string; + + /** + *

                                                            The name of the placement group.

                                                            */ - SubnetId?: string; + GroupName?: string; /** - *

                                                            Describes the monitoring of an instance.

                                                            + *

                                                            The tenancy of the instance (if the instance is running in a VPC). An instance with a + * tenancy of dedicated runs on single-tenant hardware. The host + * tenancy is not supported for Spot Instances.

                                                            */ - Monitoring?: RunInstancesMonitoringEnabled; + Tenancy?: Tenancy | string; } -export namespace LaunchSpecification { +export namespace SpotPlacement { /** * @internal */ - export const filterSensitiveLog = (obj: LaunchSpecification): any => ({ + export const filterSensitiveLog = (obj: SpotPlacement): any => ({ ...obj, }); } -export type SpotInstanceState = "active" | "cancelled" | "closed" | "failed" | "open"; - /** - *

                                                            Describes the status of a Spot Instance request.

                                                            + *

                                                            The tags for a Spot Fleet resource.

                                                            */ -export interface SpotInstanceStatus { - /** - *

                                                            The status code. For a list of status codes, see Spot status codes in the Amazon EC2 User Guide for Linux Instances.

                                                            - */ - Code?: string; - +export interface SpotFleetTagSpecification { /** - *

                                                            The description for the status code.

                                                            + *

                                                            The type of resource. Currently, the only resource type that is supported is + * instance. To tag the Spot Fleet request on creation, use the + * TagSpecifications parameter in + * SpotFleetRequestConfigData + * .

                                                            */ - Message?: string; + ResourceType?: ResourceType | string; /** - *

                                                            The date and time of the most recent status update, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                            + *

                                                            The tags.

                                                            */ - UpdateTime?: Date; + Tags?: Tag[]; } -export namespace SpotInstanceStatus { +export namespace SpotFleetTagSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: SpotInstanceStatus): any => ({ + export const filterSensitiveLog = (obj: SpotFleetTagSpecification): any => ({ ...obj, }); } /** - *

                                                            Describes a Spot Instance request.

                                                            + *

                                                            Describes the launch specification for one or more Spot Instances. If you include + * On-Demand capacity in your fleet request or want to specify an EFA network device, you + * can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.

                                                            */ -export interface SpotInstanceRequest { - /** - *

                                                            Deprecated.

                                                            - */ - ActualBlockHourlyPrice?: string; - +export interface SpotFleetLaunchSpecification { /** - *

                                                            The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

                                                            + *

                                                            One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

                                                            */ - AvailabilityZoneGroup?: string; + SecurityGroups?: GroupIdentifier[]; /** *

                                                            Deprecated.

                                                            */ - BlockDurationMinutes?: number; + AddressingType?: string; /** - *

                                                            The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

                                                            + *

                                                            One or more block devices that are mapped to the Spot Instances. You can't specify both + * a snapshot ID and an encryption value. This is because only blank volumes can be + * encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its + * encryption status is used for the volume encryption status.

                                                            */ - CreateTime?: Date; + BlockDeviceMappings?: BlockDeviceMapping[]; /** - *

                                                            The fault codes for the Spot Instance request, if any.

                                                            + *

                                                            Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

                                                            + *

                                                            Default: false + *

                                                            */ - Fault?: SpotInstanceStateFault; + EbsOptimized?: boolean; /** - *

                                                            The instance ID, if an instance has been launched to fulfill the Spot Instance request.

                                                            + *

                                                            The IAM instance profile.

                                                            */ - InstanceId?: string; + IamInstanceProfile?: IamInstanceProfileSpecification; /** - *

                                                            The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

                                                            + *

                                                            The ID of the AMI.

                                                            */ - LaunchGroup?: string; + ImageId?: string; /** - *

                                                            Additional information for launching instances.

                                                            + *

                                                            The instance type.

                                                            */ - LaunchSpecification?: LaunchSpecification; + InstanceType?: _InstanceType | string; /** - *

                                                            The Availability Zone in which the request is launched.

                                                            + *

                                                            The ID of the kernel.

                                                            */ - LaunchedAvailabilityZone?: string; + KernelId?: string; /** - *

                                                            The product description associated with the Spot Instance.

                                                            + *

                                                            The name of the key pair.

                                                            */ - ProductDescription?: RIProductDescription | string; + KeyName?: string; /** - *

                                                            The ID of the Spot Instance request.

                                                            + *

                                                            Enable or disable monitoring for the instances.

                                                            */ - SpotInstanceRequestId?: string; + Monitoring?: SpotFleetMonitoring; /** - *

                                                            The maximum price per hour that you are willing to pay for a Spot Instance.

                                                            + *

                                                            One or more network interfaces. If you specify a network interface, you must specify + * subnet IDs and security group IDs using the network interface.

                                                            + * + *

                                                            + * SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

                                                            + *
                                                            */ - SpotPrice?: string; + NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; /** - *

                                                            The state of the Spot Instance request. Spot status information helps track your Spot - * Instance requests. For more information, see Spot status in the - * Amazon EC2 User Guide for Linux Instances.

                                                            + *

                                                            The placement information.

                                                            */ - State?: SpotInstanceState | string; + Placement?: SpotPlacement; /** - *

                                                            The status code and status message describing the Spot Instance request.

                                                            + *

                                                            The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel + * requirements for information about whether you need to specify a RAM disk. To find kernel + * requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.

                                                            */ - Status?: SpotInstanceStatus; + RamdiskId?: string; /** - *

                                                            Any tags assigned to the resource.

                                                            + *

                                                            The maximum price per unit hour that you are willing to pay for a Spot Instance. + * If this value is not specified, the default is the Spot price specified for the fleet. + * To determine the Spot price per unit hour, divide the Spot price by the + * value of WeightedCapacity.

                                                            */ - Tags?: Tag[]; + SpotPrice?: string; /** - *

                                                            The Spot Instance request type.

                                                            + *

                                                            The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate + * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".

                                                            */ - Type?: SpotInstanceType | string; + SubnetId?: string; /** - *

                                                            The start date of the request, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * The request becomes active at this date and time.

                                                            + *

                                                            The Base64-encoded user data that instances use when starting up.

                                                            */ - ValidFrom?: Date; + UserData?: string; /** - *

                                                            The end date of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ).

                                                            - *
                                                              - *
                                                            • - *

                                                              For a persistent request, the request remains active until the validUntil date - * and time is reached. Otherwise, the request remains active until you cancel it. - *

                                                              - *
                                                            • - *
                                                            • - *

                                                              For a one-time request, the request remains active until all instances launch, - * the request is canceled, or the validUntil date and time is reached. By default, the - * request is valid for 7 days from the date the request was created.

                                                              - *
                                                            • - *
                                                            + *

                                                            The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

                                                            + *

                                                            If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

                                                            */ - ValidUntil?: Date; + WeightedCapacity?: number; /** - *

                                                            The behavior when a Spot Instance is interrupted.

                                                            + *

                                                            The tags to apply during creation.

                                                            */ - InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; + TagSpecifications?: SpotFleetTagSpecification[]; } -export namespace SpotInstanceRequest { +export namespace SpotFleetLaunchSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: SpotInstanceRequest): any => ({ + export const filterSensitiveLog = (obj: SpotFleetLaunchSpecification): any => ({ ...obj, }); } /** - *

                                                            Contains the output of DescribeSpotInstanceRequests.

                                                            + *

                                                            Describes overrides for a launch template.

                                                            */ -export interface DescribeSpotInstanceRequestsResult { - /** - *

                                                            One or more Spot Instance requests.

                                                            - */ - SpotInstanceRequests?: SpotInstanceRequest[]; - +export interface LaunchTemplateOverrides { /** - *

                                                            The token to use to retrieve the next set of results. This value is null - * when there are no more results to return.

                                                            + *

                                                            The instance type.

                                                            */ - NextToken?: string; -} + InstanceType?: _InstanceType | string; -export namespace DescribeSpotInstanceRequestsResult { /** - * @internal + *

                                                            The maximum price per unit hour that you are willing to pay for a Spot + * Instance.

                                                            */ - export const filterSensitiveLog = (obj: DescribeSpotInstanceRequestsResult): any => ({ - ...obj, - }); -} + SpotPrice?: string; -/** - *

                                                            Contains the parameters for DescribeSpotPriceHistory.

                                                            - */ -export interface DescribeSpotPriceHistoryRequest { /** - *

                                                            One or more filters.

                                                            - *
                                                              - *
                                                            • - *

                                                              - * availability-zone - The Availability Zone for which prices should - * be returned.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * instance-type - The type of instance (for example, - * m3.medium).

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * product-description - The product description for the Spot price - * (Linux/UNIX | Red Hat Enterprise Linux | - * SUSE Linux | Windows | Linux/UNIX (Amazon - * VPC) | Red Hat Enterprise Linux (Amazon VPC) | - * SUSE Linux (Amazon VPC) | Windows (Amazon - * VPC)).

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * spot-price - The Spot price. The value must match exactly (or use - * wildcards; greater than or less than comparison is not supported).

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * timestamp - The time stamp of the Spot price history, in UTC format - * (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * You can use wildcards (* and ?). Greater than or less than comparison is not - * supported.

                                                              - *
                                                            • - *
                                                            + *

                                                            The ID of the subnet in which to launch the instances.

                                                            */ - Filters?: Filter[]; + SubnetId?: string; /** - *

                                                            Filters the results by the specified Availability Zone.

                                                            + *

                                                            The Availability Zone in which to launch the instances.

                                                            */ AvailabilityZone?: string; /** - *

                                                            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.

                                                            + *

                                                            The number of units provided by the specified instance type.

                                                            */ - DryRun?: boolean; + WeightedCapacity?: number; /** - *

                                                            The date and time, up to the current date, from which to stop retrieving the price - * history data, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                            + *

                                                            The priority for the launch template override. The highest priority is launched + * first.

                                                            + *

                                                            If OnDemandAllocationStrategy is set to prioritized, Spot Fleet + * uses priority to determine which launch template override to use first in fulfilling + * On-Demand capacity.

                                                            + *

                                                            If the Spot AllocationStrategy is set to + * capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis + * to determine which launch template override to use in fulfilling Spot capacity, but + * optimizes for capacity first.

                                                            + *

                                                            Valid values are whole numbers starting at 0. The lower the number, the + * higher the priority. If no number is set, the launch template override has the lowest + * priority. You can set the same priority for different launch template overrides.

                                                            */ - EndTime?: Date; + Priority?: number; +} +export namespace LaunchTemplateOverrides { /** - *

                                                            Filters the results by the specified instance types.

                                                            + * @internal */ - InstanceTypes?: (_InstanceType | string)[]; + export const filterSensitiveLog = (obj: LaunchTemplateOverrides): any => ({ + ...obj, + }); +} +/** + *

                                                            Describes a launch template and overrides.

                                                            + */ +export interface LaunchTemplateConfig { /** - *

                                                            The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

                                                            + *

                                                            The launch template.

                                                            */ - MaxResults?: number; + LaunchTemplateSpecification?: FleetLaunchTemplateSpecification; /** - *

                                                            The token for the next set of results.

                                                            + *

                                                            Any parameters that you specify override the same parameters in the launch + * template.

                                                            */ - NextToken?: string; + Overrides?: LaunchTemplateOverrides[]; +} +export namespace LaunchTemplateConfig { /** - *

                                                            Filters the results by the specified basic product descriptions.

                                                            + * @internal */ - ProductDescriptions?: string[]; + export const filterSensitiveLog = (obj: LaunchTemplateConfig): any => ({ + ...obj, + }); +} +/** + *

                                                            Describes a Classic Load Balancer.

                                                            + */ +export interface ClassicLoadBalancer { /** - *

                                                            The date and time, up to the past 90 days, from which to start retrieving the price - * history data, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                            + *

                                                            The name of the load balancer.

                                                            */ - StartTime?: Date; + Name?: string; } -export namespace DescribeSpotPriceHistoryRequest { +export namespace ClassicLoadBalancer { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotPriceHistoryRequest): any => ({ + export const filterSensitiveLog = (obj: ClassicLoadBalancer): any => ({ ...obj, }); } /** - *

                                                            Describes the maximum price per hour that you are willing to pay for a Spot - * Instance.

                                                            + *

                                                            Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers + * the running Spot Instances with these Classic Load Balancers.

                                                            */ -export interface SpotPrice { +export interface ClassicLoadBalancersConfig { /** - *

                                                            The Availability Zone.

                                                            + *

                                                            One or more Classic Load Balancers.

                                                            */ - AvailabilityZone?: string; + ClassicLoadBalancers?: ClassicLoadBalancer[]; +} +export namespace ClassicLoadBalancersConfig { /** - *

                                                            The instance type.

                                                            + * @internal */ - InstanceType?: _InstanceType | string; + export const filterSensitiveLog = (obj: ClassicLoadBalancersConfig): any => ({ + ...obj, + }); +} +/** + *

                                                            Describes a load balancer target group.

                                                            + */ +export interface TargetGroup { /** - *

                                                            A general description of the AMI.

                                                            + *

                                                            The Amazon Resource Name (ARN) of the target group.

                                                            */ - ProductDescription?: RIProductDescription | string; + Arn?: string; +} +export namespace TargetGroup { /** - *

                                                            The maximum price per hour that you are willing to pay for a Spot Instance.

                                                            + * @internal */ - SpotPrice?: string; + export const filterSensitiveLog = (obj: TargetGroup): any => ({ + ...obj, + }); +} +/** + *

                                                            Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the + * running Spot Instances with these target groups.

                                                            + */ +export interface TargetGroupsConfig { /** - *

                                                            The date and time the request was created, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

                                                            + *

                                                            One or more target groups.

                                                            */ - Timestamp?: Date; + TargetGroups?: TargetGroup[]; } -export namespace SpotPrice { +export namespace TargetGroupsConfig { /** * @internal */ - export const filterSensitiveLog = (obj: SpotPrice): any => ({ + export const filterSensitiveLog = (obj: TargetGroupsConfig): any => ({ ...obj, }); } /** - *

                                                            Contains the output of DescribeSpotPriceHistory.

                                                            + *

                                                            Describes the Classic Load Balancers and target groups to attach to a Spot Fleet + * request.

                                                            */ -export interface DescribeSpotPriceHistoryResult { +export interface LoadBalancersConfig { /** - *

                                                            The token required to retrieve the next set of results. This value is null or an empty - * string when there are no more results to return.

                                                            + *

                                                            The Classic Load Balancers.

                                                            */ - NextToken?: string; + ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig; /** - *

                                                            The historical Spot prices.

                                                            + *

                                                            The target groups.

                                                            */ - SpotPriceHistory?: SpotPrice[]; + TargetGroupsConfig?: TargetGroupsConfig; } -export namespace DescribeSpotPriceHistoryResult { +export namespace LoadBalancersConfig { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSpotPriceHistoryResult): any => ({ + export const filterSensitiveLog = (obj: LoadBalancersConfig): any => ({ ...obj, }); } -export interface DescribeStaleSecurityGroupsRequest { - /** - *

                                                            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; +export enum OnDemandAllocationStrategy { + LOWEST_PRICE = "lowestPrice", + PRIORITIZED = "prioritized", +} + +export enum ReplacementStrategy { + LAUNCH = "launch", +} +/** + *

                                                            The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your + * Spot Instance is at an elevated risk of being interrupted. For more information, see + * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

                                                            + */ +export interface SpotCapacityRebalance { /** - *

                                                            The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                            + *

                                                            The replacement strategy to use. Only available for fleets of type + * maintain. You must specify a value, otherwise you get an error.

                                                            + *

                                                            To allow Spot Fleet to launch a replacement Spot Instance when an instance rebalance + * notification is emitted for a Spot Instance in the fleet, specify + * launch.

                                                            + * + *

                                                            When a replacement instance is launched, the instance marked for rebalance is not + * automatically terminated. You can terminate it, or you can leave it running. You are + * charged for all instances while they are running.

                                                            + *
                                                            */ - MaxResults?: number; + ReplacementStrategy?: ReplacementStrategy | string; +} +export namespace SpotCapacityRebalance { /** - *

                                                            The token for the next set of items to return. (You received this token from a prior call.)

                                                            + * @internal */ - NextToken?: string; + export const filterSensitiveLog = (obj: SpotCapacityRebalance): any => ({ + ...obj, + }); +} +/** + *

                                                            The strategies for managing your Spot Instances that are at an elevated risk of being + * interrupted.

                                                            + */ +export interface SpotMaintenanceStrategies { /** - *

                                                            The ID of the VPC.

                                                            + *

                                                            The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an + * elevated risk of being interrupted.

                                                            */ - VpcId: string | undefined; + CapacityRebalance?: SpotCapacityRebalance; } -export namespace DescribeStaleSecurityGroupsRequest { +export namespace SpotMaintenanceStrategies { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeStaleSecurityGroupsRequest): any => ({ + export const filterSensitiveLog = (obj: SpotMaintenanceStrategies): any => ({ ...obj, }); } /** - *

                                                            Describes a stale rule in a security group.

                                                            + *

                                                            Describes the configuration of a Spot Fleet request.

                                                            */ -export interface StaleIpPermission { +export interface SpotFleetRequestConfigData { /** - *

                                                            The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of - * -1 indicates all ICMP types.

                                                            + *

                                                            Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by + * the Spot Fleet request.

                                                            + *

                                                            If the allocation strategy is lowestPrice, Spot Fleet launches instances from + * the Spot Instance pools with the lowest price. This is the default allocation strategy.

                                                            + *

                                                            If the allocation strategy is diversified, Spot Fleet launches instances from + * all the Spot Instance pools that you specify.

                                                            + *

                                                            If the allocation strategy is capacityOptimized (recommended), Spot Fleet + * launches instances from Spot Instance pools with optimal capacity for the number of instances + * that are launching. To give certain instance types a higher chance of launching first, + * use capacityOptimizedPrioritized. Set a priority for each instance type by + * using the Priority parameter for LaunchTemplateOverrides. You + * can assign the same priority to different LaunchTemplateOverrides. EC2 + * implements the priorities on a best-effort basis, but optimizes for capacity first. + * capacityOptimizedPrioritized is supported only if your Spot Fleet uses a + * launch template. Note that if the OnDemandAllocationStrategy is set to + * prioritized, the same priority is applied when fulfilling On-Demand + * capacity.

                                                            */ - FromPort?: number; + AllocationStrategy?: AllocationStrategy | string; /** - *

                                                            The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

                                                            + *

                                                            The order of the launch template overrides to use in fulfilling On-Demand capacity. If + * you specify lowestPrice, Spot Fleet uses price to determine the order, launching + * the lowest price first. If you specify prioritized, Spot Fleet uses the priority + * that you assign to each Spot Fleet launch template override, launching the highest priority + * first. If you do not specify a value, Spot Fleet defaults to lowestPrice.

                                                            */ - IpProtocol?: string; + OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string; /** - *

                                                            The IP ranges. Not applicable for stale security group rules.

                                                            + *

                                                            The strategies for managing your Spot Instances that are at an elevated risk of being + * interrupted.

                                                            */ - IpRanges?: string[]; + SpotMaintenanceStrategies?: SpotMaintenanceStrategies; /** - *

                                                            The prefix list IDs. Not applicable for stale security group rules.

                                                            + *

                                                            A unique, case-sensitive identifier that you provide to ensure the idempotency of your + * listings. This helps to avoid duplicate listings. For more information, see Ensuring Idempotency.

                                                            */ - PrefixListIds?: string[]; + ClientToken?: string; /** - *

                                                            The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of - * -1 indicates all ICMP types.

                                                            + *

                                                            Indicates whether running Spot Instances should be terminated if you decrease the + * target capacity of the Spot Fleet request below the current size of the Spot + * Fleet.

                                                            */ - ToPort?: number; + ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; /** - *

                                                            The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

                                                            + *

                                                            The number of units fulfilled by this request compared to the set target capacity. You + * cannot set this value.

                                                            */ - UserIdGroupPairs?: UserIdGroupPair[]; -} + FulfilledCapacity?: number; -export namespace StaleIpPermission { /** - * @internal + *

                                                            The number of On-Demand units fulfilled by this request compared to the set target + * On-Demand capacity.

                                                            */ - export const filterSensitiveLog = (obj: StaleIpPermission): any => ({ - ...obj, - }); -} + OnDemandFulfilledCapacity?: number; + + /** + *

                                                            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that + * grants the Spot Fleet the permission to request, launch, terminate, and tag instances on + * your behalf. For more information, see Spot + * Fleet prerequisites in the Amazon EC2 User Guide for Linux Instances. Spot Fleet + * can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using + * CancelSpotFleetRequests or when the Spot Fleet request expires, if you set + * TerminateInstancesWithExpiration.

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

                                                            The launch specifications for the Spot Fleet request. If you specify + * LaunchSpecifications, you can't specify + * LaunchTemplateConfigs. If you include On-Demand capacity in your + * request, you must use LaunchTemplateConfigs.

                                                            + */ + LaunchSpecifications?: SpotFleetLaunchSpecification[]; + + /** + *

                                                            The launch template and overrides. If you specify LaunchTemplateConfigs, + * you can't specify LaunchSpecifications. If you include On-Demand capacity + * in your request, you must use LaunchTemplateConfigs.

                                                            + */ + LaunchTemplateConfigs?: LaunchTemplateConfig[]; -/** - *

                                                            Describes a stale security group (a security group that contains stale rules).

                                                            - */ -export interface StaleSecurityGroup { /** - *

                                                            The description of the security group.

                                                            + *

                                                            The maximum price per unit hour that you are willing to pay for a Spot Instance. The + * default is the On-Demand price.

                                                            */ - Description?: string; + SpotPrice?: string; /** - *

                                                            The ID of the security group.

                                                            + *

                                                            The number of units to request for the Spot Fleet. You can choose to set the target + * capacity in terms of instances or a performance characteristic that is important to your + * application workload, such as vCPUs, memory, or I/O. If the request type is + * maintain, you can specify a target capacity of 0 and add capacity + * later.

                                                            */ - GroupId?: string; + TargetCapacity: number | undefined; /** - *

                                                            The name of the security group.

                                                            + *

                                                            The number of On-Demand units to request. You can choose to set the target capacity in + * terms of instances or a performance characteristic that is important to your application + * workload, such as vCPUs, memory, or I/O. If the request type is maintain, + * you can specify a target capacity of 0 and add capacity later.

                                                            */ - GroupName?: string; + OnDemandTargetCapacity?: number; /** - *

                                                            Information about the stale inbound rules in the security group.

                                                            + *

                                                            The maximum amount per hour for On-Demand Instances that you're willing to pay. You + * can use the onDemandMaxTotalPrice parameter, the + * spotMaxTotalPrice parameter, or both parameters to ensure that your + * fleet cost does not exceed your budget. If you set a maximum price per hour for the + * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the + * maximum amount you're willing to pay. When the maximum amount you're willing to pay is + * reached, the fleet stops launching instances even if it hasn’t met the target + * capacity.

                                                            */ - StaleIpPermissions?: StaleIpPermission[]; + OnDemandMaxTotalPrice?: string; /** - *

                                                            Information about the stale outbound rules in the security group.

                                                            + *

                                                            The maximum amount per hour for Spot Instances that you're willing to pay. You can use + * the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice + * parameter, or both parameters to ensure that your fleet cost does not exceed your + * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, + * Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. + * When the maximum amount you're willing to pay is reached, the fleet stops launching + * instances even if it hasn’t met the target capacity.

                                                            */ - StaleIpPermissionsEgress?: StaleIpPermission[]; + SpotMaxTotalPrice?: string; /** - *

                                                            The ID of the VPC for the security group.

                                                            + *

                                                            Indicates whether running Spot Instances are terminated when the Spot Fleet request + * expires.

                                                            */ - VpcId?: string; -} + TerminateInstancesWithExpiration?: boolean; -export namespace StaleSecurityGroup { /** - * @internal + *

                                                            The type of request. Indicates whether the Spot Fleet only requests the target + * capacity or also attempts to maintain it. When this value is request, the + * Spot Fleet only places the required requests. It does not attempt to replenish Spot + * Instances if capacity is diminished, nor does it submit requests in alternative Spot + * pools if capacity is not available. When this value is maintain, the Spot + * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet + * capacity and automatically replenishes any interrupted instances. Default: + * maintain. instant is listed but is not used by Spot + * Fleet.

                                                            */ - export const filterSensitiveLog = (obj: StaleSecurityGroup): any => ({ - ...obj, - }); -} + Type?: FleetType | string; -export interface DescribeStaleSecurityGroupsResult { /** - *

                                                            The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                            + *

                                                            The start date and time of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ). + * By default, Amazon EC2 starts fulfilling the request immediately.

                                                            */ - NextToken?: string; + ValidFrom?: Date; /** - *

                                                            Information about the stale security groups.

                                                            + *

                                                            The end date and time of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ). + * After the end date and time, no new Spot Instance requests are placed or able to fulfill + * the request. If no value is specified, the Spot Fleet request remains until you cancel + * it.

                                                            */ - StaleSecurityGroupSet?: StaleSecurityGroup[]; -} + ValidUntil?: Date; -export namespace DescribeStaleSecurityGroupsResult { /** - * @internal + *

                                                            Indicates whether Spot Fleet should replace unhealthy instances.

                                                            */ - export const filterSensitiveLog = (obj: DescribeStaleSecurityGroupsResult): any => ({ - ...obj, - }); -} + ReplaceUnhealthyInstances?: boolean; -export interface DescribeStoreImageTasksRequest { /** - *

                                                            The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

                                                            + *

                                                            The behavior when a Spot Instance is interrupted. The default is + * terminate.

                                                            */ - ImageIds?: string[]; + InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; /** - *

                                                            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.

                                                            + *

                                                            One or more Classic Load Balancers and target groups to attach to the Spot Fleet + * request. Spot Fleet registers the running Spot Instances with the specified Classic Load + * Balancers and target groups.

                                                            + *

                                                            With Network Load Balancers, Spot Fleet cannot register instances that have the + * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, + * M3, and T1.

                                                            */ - DryRun?: boolean; + LoadBalancersConfig?: LoadBalancersConfig; /** - *

                                                            The filters.

                                                            - *
                                                              - *
                                                            • - *

                                                              - * task-state - Returns tasks in a certain state (InProgress | - * Completed | Failed)

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * bucket - Returns task information for tasks that targeted a specific - * bucket. For the filter value, specify the bucket name.

                                                              - *
                                                            • - *
                                                            + *

                                                            The number of Spot pools across which to allocate your target Spot capacity. Valid + * only when Spot AllocationStrategy is set to + * lowest-price. Spot Fleet selects the cheapest Spot pools and evenly + * allocates your target Spot capacity across the number of Spot pools that you + * specify.

                                                            + *

                                                            Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a + * best effort basis. If a pool runs out of Spot capacity before fulfilling your target + * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest + * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than + * the number of pools that you specified. Similarly, if most of the pools have no Spot + * capacity, you might receive your full target capacity from fewer than the number of + * pools that you specified.

                                                            */ - Filters?: Filter[]; + InstancePoolsToUseCount?: number; /** - *

                                                            The token for the next page of results.

                                                            + *

                                                            Reserved.

                                                            */ - NextToken?: string; + Context?: string; /** - *

                                                            The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value can be - * between 1 and 200. You cannot specify this parameter and the ImageIDs parameter - * in the same call.

                                                            + *

                                                            The key-value pair for tagging the Spot Fleet request on creation. The value for + * ResourceType must be spot-fleet-request, otherwise the + * Spot Fleet request fails. To tag instances at launch, specify the tags in the launch + * template (valid only if you use LaunchTemplateConfigs) or in + * the + * SpotFleetTagSpecification + * (valid only if you use + * LaunchSpecifications). For information about tagging after launch, see + * Tagging Your Resources.

                                                            */ - MaxResults?: number; + TagSpecifications?: TagSpecification[]; } -export namespace DescribeStoreImageTasksRequest { +export namespace SpotFleetRequestConfigData { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeStoreImageTasksRequest): any => ({ + export const filterSensitiveLog = (obj: SpotFleetRequestConfigData): any => ({ ...obj, }); } /** - *

                                                            The information about the AMI store task, including the progress of the task.

                                                            + *

                                                            Describes a Spot Fleet request.

                                                            */ -export interface StoreImageTaskResult { - /** - *

                                                            The ID of the AMI that is being stored.

                                                            - */ - AmiId?: string; - +export interface SpotFleetRequestConfig { /** - *

                                                            The time the task started.

                                                            + *

                                                            The progress of the Spot Fleet request. + * If there is an error, the status is error. + * After all requests are placed, the status is pending_fulfillment. + * If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. + * If the size of the fleet is decreased, the status is pending_termination + * while Spot Instances are terminating.

                                                            */ - TaskStartTime?: Date; + ActivityStatus?: ActivityStatus | string; /** - *

                                                            The name of the S3 bucket that contains the stored AMI object.

                                                            + *

                                                            The creation date and time of the request.

                                                            */ - Bucket?: string; + CreateTime?: Date; /** - *

                                                            The name of the stored AMI object in the bucket.

                                                            + *

                                                            The configuration of the Spot Fleet request.

                                                            */ - S3objectKey?: string; + SpotFleetRequestConfig?: SpotFleetRequestConfigData; /** - *

                                                            The progress of the task as a percentage.

                                                            + *

                                                            The ID of the Spot Fleet request.

                                                            */ - ProgressPercentage?: number; + SpotFleetRequestId?: string; /** - *

                                                            The state of the store task (InProgress, Completed, or - * Failed).

                                                            + *

                                                            The state of the Spot Fleet request.

                                                            */ - StoreTaskState?: string; + SpotFleetRequestState?: BatchState | string; /** - *

                                                            If the tasks fails, the reason for the failure is returned. If the task succeeds, - * null is returned.

                                                            + *

                                                            The tags for a Spot Fleet resource.

                                                            */ - StoreTaskFailureReason?: string; + Tags?: Tag[]; } -export namespace StoreImageTaskResult { +export namespace SpotFleetRequestConfig { /** * @internal */ - export const filterSensitiveLog = (obj: StoreImageTaskResult): any => ({ + export const filterSensitiveLog = (obj: SpotFleetRequestConfig): any => ({ ...obj, }); } -export interface DescribeStoreImageTasksResult { +/** + *

                                                            Contains the output of DescribeSpotFleetRequests.

                                                            + */ +export interface DescribeSpotFleetRequestsResponse { /** - *

                                                            The information about the AMI store tasks.

                                                            + *

                                                            The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

                                                            */ - StoreImageTaskResults?: StoreImageTaskResult[]; + NextToken?: string; /** - *

                                                            The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                            + *

                                                            Information about the configuration of your Spot Fleet.

                                                            */ - NextToken?: string; + SpotFleetRequestConfigs?: SpotFleetRequestConfig[]; } -export namespace DescribeStoreImageTasksResult { +export namespace DescribeSpotFleetRequestsResponse { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeStoreImageTasksResult): any => ({ + export const filterSensitiveLog = (obj: DescribeSpotFleetRequestsResponse): any => ({ ...obj, }); } -export interface DescribeSubnetsRequest { +/** + *

                                                            Contains the parameters for DescribeSpotInstanceRequests.

                                                            + */ +export interface DescribeSpotInstanceRequestsRequest { /** *

                                                            One or more filters.

                                                            *
                                                              *
                                                            • *

                                                              - * availability-zone - The Availability Zone for the subnet. You can also use - * availabilityZone as the filter name.

                                                              + * availability-zone-group - The Availability Zone group.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * create-time - The time stamp when the Spot Instance request was + * created.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * fault-code - The fault code related to the request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * fault-message - The fault message related to the request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * instance-id - The ID of the instance that fulfilled the + * request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * launch-group - The Spot Instance launch group.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * launch.block-device-mapping.delete-on-termination - Indicates + * whether the EBS volume is deleted on instance termination.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * launch.block-device-mapping.device-name - The device name for the + * volume in the block device mapping (for example, /dev/sdh or + * xvdh).

                                                              *
                                                            • *
                                                            • *

                                                              - * availability-zone-id - The ID of the Availability Zone for the subnet. - * You can also use availabilityZoneId as the filter name.

                                                              + * launch.block-device-mapping.snapshot-id - The ID of the snapshot + * for the EBS volume.

                                                              *
                                                            • *
                                                            • *

                                                              - * available-ip-address-count - The number of IPv4 addresses in the - * subnet that are available.

                                                              + * launch.block-device-mapping.volume-size - The size of the EBS + * volume, in GiB.

                                                              *
                                                            • *
                                                            • *

                                                              - * cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you - * specify must exactly match the subnet's CIDR block for information to be - * returned for the subnet. You can also use cidr or - * cidrBlock as the filter names.

                                                              + * launch.block-device-mapping.volume-type - The type of EBS volume: + * gp2 for General Purpose SSD, io1 or + * io2 for Provisioned IOPS SSD, st1 for Throughput + * Optimized HDD, sc1for Cold HDD, or standard for + * Magnetic.

                                                              *
                                                            • *
                                                            • *

                                                              - * default-for-az - Indicates whether this is the default subnet for the - * Availability Zone. You can also use defaultForAz as the filter name.

                                                              + * launch.group-id - The ID of the security group for the + * instance.

                                                              *
                                                            • *
                                                            • *

                                                              - * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR - * block associated with the subnet.

                                                              + * launch.group-name - The name of the security group for the + * instance.

                                                              *
                                                            • *
                                                            • *

                                                              - * ipv6-cidr-block-association.association-id - An association ID - * for an IPv6 CIDR block associated with the subnet.

                                                              + * launch.image-id - The ID of the AMI.

                                                              *
                                                            • *
                                                            • *

                                                              - * ipv6-cidr-block-association.state - The state of an IPv6 CIDR - * block associated with the subnet.

                                                              + * launch.instance-type - The type of instance (for example, + * m3.medium).

                                                              *
                                                            • *
                                                            • *

                                                              - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                                              + * launch.kernel-id - The kernel ID.

                                                              *
                                                            • *
                                                            • *

                                                              - * owner-id - The ID of the AWS account that owns the subnet.

                                                              + * launch.key-name - The name of the key pair the instance launched + * with.

                                                              *
                                                            • *
                                                            • *

                                                              - * state - The state of the subnet (pending | available).

                                                              + * launch.monitoring-enabled - Whether detailed monitoring is + * enabled for the Spot Instance.

                                                              *
                                                            • *
                                                            • *

                                                              - * subnet-arn - The Amazon Resource Name (ARN) of the subnet.

                                                              + * launch.ramdisk-id - The RAM disk ID.

                                                              *
                                                            • *
                                                            • *

                                                              - * subnet-id - The ID of the subnet.

                                                              + * launched-availability-zone - The Availability Zone in which the + * request is launched.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.addresses.primary - Indicates whether the IP + * address is the primary private IP address.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.delete-on-termination - Indicates whether the + * network interface is deleted when the instance is terminated.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.description - A description of the network + * interface.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.device-index - The index of the device for the + * network interface attachment on the instance.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.group-id - The ID of the security group + * associated with the network interface.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.network-interface-id - The ID of the network + * interface.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.private-ip-address - The primary private IP + * address of the network interface.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * network-interface.subnet-id - The ID of the subnet for the + * instance.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * product-description - The product description associated with the + * instance (Linux/UNIX | Windows).

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * spot-instance-request-id - The Spot Instance request ID.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * spot-price - The maximum hourly price for any Spot Instance + * launched to fulfill the request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * state - The state of the Spot Instance request (open + * | active | closed | cancelled | + * failed). Spot request status information can help you track + * your Amazon EC2 Spot Instance requests. For more information, see Spot + * request status in the Amazon EC2 User Guide for Linux Instances.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * status-code - The short code describing the most recent + * evaluation of your Spot Instance request.

                                                              *
                                                            • *
                                                            • *

                                                              + * status-message - The message explaining the status of the Spot + * Instance request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                              *
                                                            • *
                                                            • - *

                                                              + *

                                                              * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                              *
                                                            • *
                                                            • *

                                                              - * vpc-id - The ID of the VPC for the subnet.

                                                              + * type - The type of Spot Instance request (one-time | + * persistent).

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * valid-from - The start date of the request.

                                                              + *
                                                            • + *
                                                            • + *

                                                              + * valid-until - The end date of the request.

                                                              *
                                                            • *
                                                            */ Filters?: Filter[]; /** - *

                                                            One or more subnet IDs.

                                                            - *

                                                            Default: Describes all your subnets.

                                                            + *

                                                            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.

                                                            */ - SubnetIds?: string[]; + DryRun?: boolean; /** - *

                                                            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.

                                                            + *

                                                            One or more Spot Instance request IDs.

                                                            */ - DryRun?: boolean; + SpotInstanceRequestIds?: string[]; /** - *

                                                            The token for the next page of results.

                                                            + *

                                                            The token to request the next set of results. This value is null when + * there are no more results to return.

                                                            */ NextToken?: string; /** - *

                                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                            + *

                                                            The maximum number of results to return in a single call. Specify a value between 5 + * and 1000. To retrieve the remaining results, make another call with the returned + * NextToken value.

                                                            */ MaxResults?: number; } -export namespace DescribeSubnetsRequest { +export namespace DescribeSpotInstanceRequestsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSubnetsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeSpotInstanceRequestsRequest): any => ({ ...obj, }); } -export interface DescribeSubnetsResult { - /** - *

                                                            Information about one or more subnets.

                                                            - */ - Subnets?: Subnet[]; - +/** + *

                                                            Describes the monitoring of an instance.

                                                            + */ +export interface RunInstancesMonitoringEnabled { /** - *

                                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                            + *

                                                            Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is + * enabled.

                                                            */ - NextToken?: string; + Enabled: boolean | undefined; } -export namespace DescribeSubnetsResult { +export namespace RunInstancesMonitoringEnabled { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeSubnetsResult): any => ({ + export const filterSensitiveLog = (obj: RunInstancesMonitoringEnabled): any => ({ ...obj, }); } -export interface DescribeTagsRequest { +/** + *

                                                            Describes the launch specification for an instance.

                                                            + */ +export interface LaunchSpecification { /** - *

                                                            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.

                                                            + *

                                                            The Base64-encoded user data for the instance.

                                                            */ - DryRun?: boolean; + UserData?: string; /** - *

                                                            The filters.

                                                            - *
                                                              - *
                                                            • - *

                                                              - * key - The tag key.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * resource-id - The ID of the resource.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * resource-type - The resource type (customer-gateway | dedicated-host | dhcp-options | elastic-ip | fleet | fpga-image | host-reservation | image | instance | internet-gateway | key-pair | launch-template | natgateway | network-acl | network-interface | placement-group | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-peering-connection | vpn-connection | vpn-gateway).

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * tag: - The key/value combination of the tag. For example, - * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find - * resources with the tag "Owner=TeamA".

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * value - The tag value.

                                                              - *
                                                            • - *
                                                            + *

                                                            One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

                                                            */ - Filters?: Filter[]; + SecurityGroups?: GroupIdentifier[]; /** - *

                                                            The maximum number of results to return in a single call. - * This value can be between 5 and 1000. - * To retrieve the remaining results, make another call with the returned NextToken value.

                                                            + *

                                                            Deprecated.

                                                            */ - MaxResults?: number; + AddressingType?: string; /** - *

                                                            The token to retrieve the next page of results.

                                                            + *

                                                            One or more block device mapping entries.

                                                            */ - NextToken?: string; -} + BlockDeviceMappings?: BlockDeviceMapping[]; -export namespace DescribeTagsRequest { /** - * @internal + *

                                                            Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

                                                            + *

                                                            Default: false + *

                                                            */ - export const filterSensitiveLog = (obj: DescribeTagsRequest): any => ({ - ...obj, - }); -} + EbsOptimized?: boolean; + + /** + *

                                                            The IAM instance profile.

                                                            + */ + IamInstanceProfile?: IamInstanceProfileSpecification; + + /** + *

                                                            The ID of the AMI.

                                                            + */ + ImageId?: string; + + /** + *

                                                            The instance type.

                                                            + */ + InstanceType?: _InstanceType | string; -/** - *

                                                            Describes a tag.

                                                            - */ -export interface TagDescription { /** - *

                                                            The tag key.

                                                            + *

                                                            The ID of the kernel.

                                                            */ - Key?: string; + KernelId?: string; /** - *

                                                            The ID of the resource.

                                                            + *

                                                            The name of the key pair.

                                                            */ - ResourceId?: string; + KeyName?: string; /** - *

                                                            The resource type.

                                                            + *

                                                            One or more network interfaces. If you specify a network interface, you must specify + * subnet IDs and security group IDs using the network interface.

                                                            */ - ResourceType?: ResourceType | string; + NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; /** - *

                                                            The tag value.

                                                            + *

                                                            The placement information for the instance.

                                                            */ - Value?: string; -} + Placement?: SpotPlacement; -export namespace TagDescription { /** - * @internal + *

                                                            The ID of the RAM disk.

                                                            */ - export const filterSensitiveLog = (obj: TagDescription): any => ({ - ...obj, - }); -} + RamdiskId?: string; -export interface DescribeTagsResult { /** - *

                                                            The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

                                                            + *

                                                            The ID of the subnet in which to launch the instance.

                                                            */ - NextToken?: string; + SubnetId?: string; /** - *

                                                            The tags.

                                                            + *

                                                            Describes the monitoring of an instance.

                                                            */ - Tags?: TagDescription[]; + Monitoring?: RunInstancesMonitoringEnabled; } -export namespace DescribeTagsResult { +export namespace LaunchSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTagsResult): any => ({ + export const filterSensitiveLog = (obj: LaunchSpecification): any => ({ ...obj, }); } -export interface DescribeTrafficMirrorFiltersRequest { - /** - *

                                                            The ID of the Traffic Mirror filter.

                                                            - */ - TrafficMirrorFilterIds?: string[]; - - /** - *

                                                            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; +export type SpotInstanceState = "active" | "cancelled" | "closed" | "failed" | "open"; +/** + *

                                                            Describes the status of a Spot Instance request.

                                                            + */ +export interface SpotInstanceStatus { /** - *

                                                            One or more filters. The possible values are:

                                                            - *
                                                              - *
                                                            • - *

                                                              - * description: The Traffic Mirror filter description.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

                                                              - *
                                                            • - *
                                                            + *

                                                            The status code. For a list of status codes, see Spot status codes in the Amazon EC2 User Guide for Linux Instances.

                                                            */ - Filters?: Filter[]; + Code?: string; /** - *

                                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                            + *

                                                            The description for the status code.

                                                            */ - MaxResults?: number; + Message?: string; /** - *

                                                            The token for the next page of results.

                                                            + *

                                                            The date and time of the most recent status update, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                            */ - NextToken?: string; + UpdateTime?: Date; } -export namespace DescribeTrafficMirrorFiltersRequest { +export namespace SpotInstanceStatus { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorFiltersRequest): any => ({ + export const filterSensitiveLog = (obj: SpotInstanceStatus): any => ({ ...obj, }); } -export interface DescribeTrafficMirrorFiltersResult { +/** + *

                                                            Describes a Spot Instance request.

                                                            + */ +export interface SpotInstanceRequest { /** - *

                                                            Information about one or more Traffic Mirror filters.

                                                            + *

                                                            Deprecated.

                                                            */ - TrafficMirrorFilters?: TrafficMirrorFilter[]; + ActualBlockHourlyPrice?: string; /** - *

                                                            The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                            + *

                                                            The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

                                                            */ - NextToken?: string; -} + AvailabilityZoneGroup?: string; -export namespace DescribeTrafficMirrorFiltersResult { /** - * @internal + *

                                                            Deprecated.

                                                            */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorFiltersResult): any => ({ - ...obj, - }); -} + BlockDurationMinutes?: number; -export interface DescribeTrafficMirrorSessionsRequest { /** - *

                                                            The ID of the Traffic Mirror session.

                                                            + *

                                                            The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

                                                            */ - TrafficMirrorSessionIds?: string[]; + CreateTime?: Date; /** - *

                                                            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.

                                                            + *

                                                            The fault codes for the Spot Instance request, if any.

                                                            */ - DryRun?: boolean; + Fault?: SpotInstanceStateFault; /** - *

                                                            One or more filters. The possible values are:

                                                            - *
                                                              - *
                                                            • - *

                                                              - * description: The Traffic Mirror session description.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * network-interface-id: The ID of the Traffic Mirror session network interface.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * owner-id: The ID of the account that owns the Traffic Mirror session.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * packet-length: The assigned number of packets to mirror.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * session-number: The assigned session number.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * traffic-mirror-session-id: The ID of the Traffic Mirror session.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * traffic-mirror-target-id: The ID of the Traffic Mirror target.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * virtual-network-id: The virtual network ID of the Traffic Mirror session.

                                                              - *
                                                            • - *
                                                            + *

                                                            The instance ID, if an instance has been launched to fulfill the Spot Instance request.

                                                            */ - Filters?: Filter[]; + InstanceId?: string; /** - *

                                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                            + *

                                                            The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

                                                            */ - MaxResults?: number; + LaunchGroup?: string; /** - *

                                                            The token for the next page of results.

                                                            + *

                                                            Additional information for launching instances.

                                                            */ - NextToken?: string; -} + LaunchSpecification?: LaunchSpecification; -export namespace DescribeTrafficMirrorSessionsRequest { /** - * @internal + *

                                                            The Availability Zone in which the request is launched.

                                                            */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorSessionsRequest): any => ({ - ...obj, - }); -} + LaunchedAvailabilityZone?: string; -export interface DescribeTrafficMirrorSessionsResult { /** - *

                                                            Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

                                                            + *

                                                            The product description associated with the Spot Instance.

                                                            */ - TrafficMirrorSessions?: TrafficMirrorSession[]; + ProductDescription?: RIProductDescription | string; /** - *

                                                            The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                            + *

                                                            The ID of the Spot Instance request.

                                                            */ - NextToken?: string; -} + SpotInstanceRequestId?: string; -export namespace DescribeTrafficMirrorSessionsResult { /** - * @internal + *

                                                            The maximum price per hour that you are willing to pay for a Spot Instance.

                                                            */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorSessionsResult): any => ({ - ...obj, - }); -} + SpotPrice?: string; -export interface DescribeTrafficMirrorTargetsRequest { /** - *

                                                            The ID of the Traffic Mirror targets.

                                                            + *

                                                            The state of the Spot Instance request. Spot status information helps track your Spot + * Instance requests. For more information, see Spot status in the + * Amazon EC2 User Guide for Linux Instances.

                                                            */ - TrafficMirrorTargetIds?: string[]; + State?: SpotInstanceState | string; /** - *

                                                            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.

                                                            + *

                                                            The status code and status message describing the Spot Instance request.

                                                            */ - DryRun?: boolean; + Status?: SpotInstanceStatus; /** - *

                                                            One or more filters. The possible values are:

                                                            + *

                                                            Any tags assigned to the resource.

                                                            + */ + Tags?: Tag[]; + + /** + *

                                                            The Spot Instance request type.

                                                            + */ + Type?: SpotInstanceType | string; + + /** + *

                                                            The start date of the request, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * The request becomes active at this date and time.

                                                            + */ + ValidFrom?: Date; + + /** + *

                                                            The end date of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ).

                                                            *
                                                              *
                                                            • - *

                                                              - * description: The Traffic Mirror target description.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * network-interface-id: The ID of the Traffic Mirror session network interface.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * owner-id: The ID of the account that owns the Traffic Mirror session.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * traffic-mirror-target-id: The ID of the Traffic Mirror target.

                                                              + *

                                                              For a persistent request, the request remains active until the validUntil date + * and time is reached. Otherwise, the request remains active until you cancel it. + *

                                                              *
                                                            • + *
                                                            • + *

                                                              For a one-time request, the request remains active until all instances launch, + * the request is canceled, or the validUntil date and time is reached. By default, the + * request is valid for 7 days from the date the request was created.

                                                              + *
                                                            • *
                                                            */ - Filters?: Filter[]; - - /** - *

                                                            The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                            - */ - MaxResults?: number; + ValidUntil?: Date; /** - *

                                                            The token for the next page of results.

                                                            + *

                                                            The behavior when a Spot Instance is interrupted.

                                                            */ - NextToken?: string; + InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; } -export namespace DescribeTrafficMirrorTargetsRequest { +export namespace SpotInstanceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorTargetsRequest): any => ({ + export const filterSensitiveLog = (obj: SpotInstanceRequest): any => ({ ...obj, }); } -export interface DescribeTrafficMirrorTargetsResult { +/** + *

                                                            Contains the output of DescribeSpotInstanceRequests.

                                                            + */ +export interface DescribeSpotInstanceRequestsResult { /** - *

                                                            Information about one or more Traffic Mirror targets.

                                                            + *

                                                            One or more Spot Instance requests.

                                                            */ - TrafficMirrorTargets?: TrafficMirrorTarget[]; + SpotInstanceRequests?: SpotInstanceRequest[]; /** - *

                                                            The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                            + *

                                                            The token to use to retrieve the next set of results. This value is null + * when there are no more results to return.

                                                            */ NextToken?: string; } -export namespace DescribeTrafficMirrorTargetsResult { +export namespace DescribeSpotInstanceRequestsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTrafficMirrorTargetsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeSpotInstanceRequestsResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayAttachmentsRequest { - /** - *

                                                            The IDs of the attachments.

                                                            - */ - TransitGatewayAttachmentIds?: string[]; - +/** + *

                                                            Contains the parameters for DescribeSpotPriceHistory.

                                                            + */ +export interface DescribeSpotPriceHistoryRequest { /** - *

                                                            One or more filters. The possible values are:

                                                            - *
                                                              - *
                                                            • - *

                                                              - * association.state - The state of the association (associating | associated | - * disassociating).

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * association.transit-gateway-route-table-id - The ID of the route table for the transit gateway.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * resource-id - The ID of the resource.

                                                              - *
                                                            • - *
                                                            • - *

                                                              - * resource-owner-id - The ID of the AWS account that owns the resource.

                                                              - *
                                                            • + *

                                                              One or more filters.

                                                              + *
                                                                *
                                                              • - *

                                                                - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

                                                                + *

                                                                + * availability-zone - The Availability Zone for which prices should + * be returned.

                                                                *
                                                              • *
                                                              • - *

                                                                - * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

                                                                + *

                                                                + * instance-type - The type of instance (for example, + * m3.medium).

                                                                *
                                                              • *
                                                              • - *

                                                                - * transit-gateway-attachment-id - The ID of the attachment.

                                                                + *

                                                                + * product-description - The product description for the Spot price + * (Linux/UNIX | Red Hat Enterprise Linux | + * SUSE Linux | Windows | Linux/UNIX (Amazon + * VPC) | Red Hat Enterprise Linux (Amazon VPC) | + * SUSE Linux (Amazon VPC) | Windows (Amazon + * VPC)).

                                                                *
                                                              • *
                                                              • - *

                                                                - * transit-gateway-id - The ID of the transit gateway.

                                                                + *

                                                                + * spot-price - The Spot price. The value must match exactly (or use + * wildcards; greater than or less than comparison is not supported).

                                                                *
                                                              • *
                                                              • - *

                                                                - * transit-gateway-owner-id - The ID of the AWS account that owns the transit gateway.

                                                                + *

                                                                + * timestamp - The time stamp of the Spot price history, in UTC format + * (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * You can use wildcards (* and ?). Greater than or less than comparison is not + * supported.

                                                                *
                                                              • *
                                                              */ Filters?: Filter[]; /** - *

                                                              The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                              + *

                                                              Filters the results by the specified Availability Zone.

                                                              + */ + AvailabilityZone?: string; + + /** + *

                                                              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; + + /** + *

                                                              The date and time, up to the current date, from which to stop retrieving the price + * history data, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                              + */ + EndTime?: Date; + + /** + *

                                                              Filters the results by the specified instance types.

                                                              + */ + InstanceTypes?: (_InstanceType | string)[]; + + /** + *

                                                              The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

                                                              */ MaxResults?: number; /** - *

                                                              The token for the next page of results.

                                                              + *

                                                              The token for the next set of results.

                                                              */ NextToken?: string; /** - *

                                                              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.

                                                              + *

                                                              Filters the results by the specified basic product descriptions.

                                                              */ - DryRun?: boolean; + ProductDescriptions?: string[]; + + /** + *

                                                              The date and time, up to the past 90 days, from which to start retrieving the price + * history data, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                              + */ + StartTime?: Date; } -export namespace DescribeTransitGatewayAttachmentsRequest { +export namespace DescribeSpotPriceHistoryRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayAttachmentsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeSpotPriceHistoryRequest): any => ({ ...obj, }); } /** - *

                                                              Describes an association.

                                                              + *

                                                              Describes the maximum price per hour that you are willing to pay for a Spot + * Instance.

                                                              */ -export interface TransitGatewayAttachmentAssociation { +export interface SpotPrice { /** - *

                                                              The ID of the route table for the transit gateway.

                                                              + *

                                                              The Availability Zone.

                                                              */ - TransitGatewayRouteTableId?: string; + AvailabilityZone?: string; /** - *

                                                              The state of the association.

                                                              + *

                                                              The instance type.

                                                              */ - State?: TransitGatewayAssociationState | string; + InstanceType?: _InstanceType | string; + + /** + *

                                                              A general description of the AMI.

                                                              + */ + ProductDescription?: RIProductDescription | string; + + /** + *

                                                              The maximum price per hour that you are willing to pay for a Spot Instance.

                                                              + */ + SpotPrice?: string; + + /** + *

                                                              The date and time the request was created, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

                                                              + */ + Timestamp?: Date; } -export namespace TransitGatewayAttachmentAssociation { +export namespace SpotPrice { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayAttachmentAssociation): any => ({ + export const filterSensitiveLog = (obj: SpotPrice): any => ({ ...obj, }); } /** - *

                                                              Describes an attachment between a resource and a transit gateway.

                                                              + *

                                                              Contains the output of DescribeSpotPriceHistory.

                                                              */ -export interface TransitGatewayAttachment { +export interface DescribeSpotPriceHistoryResult { /** - *

                                                              The ID of the attachment.

                                                              + *

                                                              The token required to retrieve the next set of results. This value is null or an empty + * string when there are no more results to return.

                                                              */ - TransitGatewayAttachmentId?: string; + NextToken?: string; /** - *

                                                              The ID of the transit gateway.

                                                              + *

                                                              The historical Spot prices.

                                                              */ - TransitGatewayId?: string; + SpotPriceHistory?: SpotPrice[]; +} +export namespace DescribeSpotPriceHistoryResult { /** - *

                                                              The ID of the AWS account that owns the transit gateway.

                                                              + * @internal */ - TransitGatewayOwnerId?: string; + export const filterSensitiveLog = (obj: DescribeSpotPriceHistoryResult): any => ({ + ...obj, + }); +} +export interface DescribeStaleSecurityGroupsRequest { /** - *

                                                              The ID of the AWS account that owns the resource.

                                                              + *

                                                              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.

                                                              */ - ResourceOwnerId?: string; + DryRun?: boolean; /** - *

                                                              The resource type. Note that the tgw-peering resource type has been deprecated.

                                                              + *

                                                              The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                              */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + MaxResults?: number; /** - *

                                                              The ID of the resource.

                                                              + *

                                                              The token for the next set of items to return. (You received this token from a prior call.)

                                                              */ - ResourceId?: string; + NextToken?: string; /** - *

                                                              The attachment state. Note that the initiating state has been deprecated.

                                                              + *

                                                              The ID of the VPC.

                                                              */ - State?: TransitGatewayAttachmentState | string; + VpcId: string | undefined; +} +export namespace DescribeStaleSecurityGroupsRequest { /** - *

                                                              The association.

                                                              + * @internal */ - Association?: TransitGatewayAttachmentAssociation; + export const filterSensitiveLog = (obj: DescribeStaleSecurityGroupsRequest): any => ({ + ...obj, + }); +} +/** + *

                                                              Describes a stale rule in a security group.

                                                              + */ +export interface StaleIpPermission { /** - *

                                                              The creation time.

                                                              + *

                                                              The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of + * -1 indicates all ICMP types.

                                                              */ - CreationTime?: Date; + FromPort?: number; /** - *

                                                              The tags for the attachment.

                                                              + *

                                                              The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

                                                              */ - Tags?: Tag[]; -} + IpProtocol?: string; -export namespace TransitGatewayAttachment { /** - * @internal + *

                                                              The IP ranges. Not applicable for stale security group rules.

                                                              + */ + IpRanges?: string[]; + + /** + *

                                                              The prefix list IDs. Not applicable for stale security group rules.

                                                              */ - export const filterSensitiveLog = (obj: TransitGatewayAttachment): any => ({ - ...obj, - }); -} + PrefixListIds?: string[]; -export interface DescribeTransitGatewayAttachmentsResult { /** - *

                                                              Information about the attachments.

                                                              + *

                                                              The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of + * -1 indicates all ICMP types.

                                                              */ - TransitGatewayAttachments?: TransitGatewayAttachment[]; + ToPort?: number; /** - *

                                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                              + *

                                                              The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

                                                              */ - NextToken?: string; + UserIdGroupPairs?: UserIdGroupPair[]; } -export namespace DescribeTransitGatewayAttachmentsResult { +export namespace StaleIpPermission { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayAttachmentsResult): any => ({ + export const filterSensitiveLog = (obj: StaleIpPermission): any => ({ ...obj, }); } -export interface DescribeTransitGatewayConnectPeersRequest { +/** + *

                                                              Describes a stale security group (a security group that contains stale rules).

                                                              + */ +export interface StaleSecurityGroup { /** - *

                                                              The IDs of the Connect peers.

                                                              + *

                                                              The description of the security group.

                                                              */ - TransitGatewayConnectPeerIds?: string[]; + Description?: string; /** - *

                                                              One or more filters. The possible values are:

                                                              - *
                                                                - *
                                                              • - *

                                                                - * state - The state of the Connect peer (pending | - * available | deleting | - * deleted).

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * transit-gateway-attachment-id - The ID of the attachment.

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * transit-gateway-connect-peer-id - The ID of the Connect peer.

                                                                - *
                                                              • - *
                                                              + *

                                                              The ID of the security group.

                                                              */ - Filters?: Filter[]; + GroupId?: string; /** - *

                                                              The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                              + *

                                                              The name of the security group.

                                                              */ - MaxResults?: number; + GroupName?: string; /** - *

                                                              The token for the next page of results.

                                                              + *

                                                              Information about the stale inbound rules in the security group.

                                                              */ - NextToken?: string; + StaleIpPermissions?: StaleIpPermission[]; /** - *

                                                              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.

                                                              + *

                                                              Information about the stale outbound rules in the security group.

                                                              */ - DryRun?: boolean; + StaleIpPermissionsEgress?: StaleIpPermission[]; + + /** + *

                                                              The ID of the VPC for the security group.

                                                              + */ + VpcId?: string; } -export namespace DescribeTransitGatewayConnectPeersRequest { +export namespace StaleSecurityGroup { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectPeersRequest): any => ({ + export const filterSensitiveLog = (obj: StaleSecurityGroup): any => ({ ...obj, }); } -export interface DescribeTransitGatewayConnectPeersResult { +export interface DescribeStaleSecurityGroupsResult { /** - *

                                                              Information about the Connect peers.

                                                              + *

                                                              The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                              */ - TransitGatewayConnectPeers?: TransitGatewayConnectPeer[]; + NextToken?: string; /** - *

                                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                              + *

                                                              Information about the stale security groups.

                                                              */ - NextToken?: string; + StaleSecurityGroupSet?: StaleSecurityGroup[]; } -export namespace DescribeTransitGatewayConnectPeersResult { +export namespace DescribeStaleSecurityGroupsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectPeersResult): any => ({ + export const filterSensitiveLog = (obj: DescribeStaleSecurityGroupsResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayConnectsRequest { +export interface DescribeStoreImageTasksRequest { /** - *

                                                              The IDs of the attachments.

                                                              + *

                                                              The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

                                                              */ - TransitGatewayAttachmentIds?: string[]; + ImageIds?: string[]; /** - *

                                                              One or more filters. The possible values are:

                                                              - *
                                                                - *
                                                              • - *

                                                                - * options.protocol - The tunnel protocol (gre).

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * state - The state of the attachment (initiating | - * initiatingRequest | pendingAcceptance | - * rollingBack | pending | available | - * modifying | deleting | deleted | - * failed | rejected | rejecting | - * failing).

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * transit-gateway-attachment-id - The ID of the - * Connect attachment.

                                                                - *
                                                              • + *

                                                                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; + + /** + *

                                                                The filters.

                                                                + *
                                                                  *
                                                                • *

                                                                  - * transit-gateway-id - The ID of the transit gateway.

                                                                  + * task-state - Returns tasks in a certain state (InProgress | + * Completed | Failed)

                                                                  *
                                                                • *
                                                                • *

                                                                  - * transport-transit-gateway-attachment-id - The ID of the transit gateway attachment from which the Connect attachment was created.

                                                                  + * bucket - Returns task information for tasks that targeted a specific + * bucket. For the filter value, specify the bucket name.

                                                                  *
                                                                • *
                                                                */ Filters?: Filter[]; - /** - *

                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                - */ - MaxResults?: number; - /** *

                                                                The token for the next page of results.

                                                                */ NextToken?: string; /** - *

                                                                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.

                                                                + *

                                                                The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value can be + * between 1 and 200. You cannot specify this parameter and the ImageIDs parameter + * in the same call.

                                                                */ - DryRun?: boolean; + MaxResults?: number; } -export namespace DescribeTransitGatewayConnectsRequest { +export namespace DescribeStoreImageTasksRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeStoreImageTasksRequest): any => ({ ...obj, }); } -export interface DescribeTransitGatewayConnectsResult { - /** - *

                                                                Information about the Connect attachments.

                                                                - */ - TransitGatewayConnects?: TransitGatewayConnect[]; - +/** + *

                                                                The information about the AMI store task, including the progress of the task.

                                                                + */ +export interface StoreImageTaskResult { /** - *

                                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                + *

                                                                The ID of the AMI that is being stored.

                                                                */ - NextToken?: string; -} + AmiId?: string; -export namespace DescribeTransitGatewayConnectsResult { /** - * @internal + *

                                                                The time the task started.

                                                                */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectsResult): any => ({ - ...obj, - }); -} + TaskStartTime?: Date; -export interface DescribeTransitGatewayMulticastDomainsRequest { /** - *

                                                                The ID of the transit gateway multicast domain.

                                                                + *

                                                                The name of the S3 bucket that contains the stored AMI object.

                                                                */ - TransitGatewayMulticastDomainIds?: string[]; + Bucket?: string; /** - *

                                                                One or more filters. The possible values are:

                                                                - *
                                                                  - *
                                                                • - *

                                                                  - * state - The state of the transit gateway multicast domain. Valid values are pending | available | deleting | deleted.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * transit-gateway-id - The ID of the transit gateway.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * transit-gateway-multicast-domain-id - The ID of the transit gateway multicast domain.

                                                                  - *
                                                                • - *
                                                                + *

                                                                The name of the stored AMI object in the bucket.

                                                                */ - Filters?: Filter[]; + S3objectKey?: string; /** - *

                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                + *

                                                                The progress of the task as a percentage.

                                                                */ - MaxResults?: number; + ProgressPercentage?: number; /** - *

                                                                The token for the next page of results.

                                                                + *

                                                                The state of the store task (InProgress, Completed, or + * Failed).

                                                                */ - NextToken?: string; + StoreTaskState?: string; /** - *

                                                                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.

                                                                + *

                                                                If the tasks fails, the reason for the failure is returned. If the task succeeds, + * null is returned.

                                                                */ - DryRun?: boolean; + StoreTaskFailureReason?: string; } -export namespace DescribeTransitGatewayMulticastDomainsRequest { +export namespace StoreImageTaskResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayMulticastDomainsRequest): any => ({ + export const filterSensitiveLog = (obj: StoreImageTaskResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayMulticastDomainsResult { +export interface DescribeStoreImageTasksResult { /** - *

                                                                Information about the transit gateway multicast domains.

                                                                + *

                                                                The information about the AMI store tasks.

                                                                */ - TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[]; + StoreImageTaskResults?: StoreImageTaskResult[]; /** - *

                                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                + *

                                                                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 DescribeTransitGatewayMulticastDomainsResult { +export namespace DescribeStoreImageTasksResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayMulticastDomainsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeStoreImageTasksResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayPeeringAttachmentsRequest { - /** - *

                                                                One or more IDs of the transit gateway peering attachments.

                                                                - */ - TransitGatewayAttachmentIds?: string[]; - +export interface DescribeSubnetsRequest { /** - *

                                                                One or more filters. The possible values are:

                                                                + *

                                                                One or more filters.

                                                                *
                                                                  *
                                                                • *

                                                                  - * transit-gateway-attachment-id - The ID of the transit gateway attachment.

                                                                  + * availability-zone - The Availability Zone for the subnet. You can also use + * availabilityZone as the filter name.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * availability-zone-id - The ID of the Availability Zone for the subnet. + * You can also use availabilityZoneId as the filter name.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * available-ip-address-count - The number of IPv4 addresses in the + * subnet that are available.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you + * specify must exactly match the subnet's CIDR block for information to be + * returned for the subnet. You can also use cidr or + * cidrBlock as the filter names.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * default-for-az - Indicates whether this is the default subnet for the + * Availability Zone. You can also use defaultForAz as the filter name.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * local-owner-id - The ID of your AWS account.

                                                                  + * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR + * block associated with the subnet.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.

                                                                  + * ipv6-cidr-block-association.association-id - An association ID + * for an IPv6 CIDR block associated with the subnet.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).

                                                                  + * ipv6-cidr-block-association.state - The state of an IPv6 CIDR + * block associated with the subnet.

                                                                  *
                                                                • *
                                                                • - *

                                                                  + *

                                                                  + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * owner-id - The ID of the AWS account that owns the subnet.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * state - The state of the subnet (pending | available).

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * subnet-arn - The Amazon Resource Name (ARN) of the subnet.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * subnet-id - The ID of the subnet.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                  *
                                                                • *
                                                                • - *

                                                                  - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

                                                                  + *

                                                                  + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * transit-gateway-id - The ID of the transit gateway.

                                                                  + * vpc-id - The ID of the VPC for the subnet.

                                                                  *
                                                                • *
                                                                */ Filters?: Filter[]; /** - *

                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                + *

                                                                One or more subnet IDs.

                                                                + *

                                                                Default: Describes all your subnets.

                                                                */ - MaxResults?: number; + SubnetIds?: string[]; + + /** + *

                                                                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; /** *

                                                                The token for the next page of results.

                                                                @@ -10111,27 +10124,26 @@ export interface DescribeTransitGatewayPeeringAttachmentsRequest { NextToken?: string; /** - *

                                                                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.

                                                                + *

                                                                The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                */ - DryRun?: boolean; + MaxResults?: number; } -export namespace DescribeTransitGatewayPeeringAttachmentsRequest { +export namespace DescribeSubnetsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayPeeringAttachmentsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeSubnetsRequest): any => ({ ...obj, }); } -export interface DescribeTransitGatewayPeeringAttachmentsResult { +export interface DescribeSubnetsResult { /** - *

                                                                The transit gateway peering attachments.

                                                                + *

                                                                Information about one or more subnets.

                                                                */ - TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[]; + 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.

                                                                @@ -10139,231 +10151,153 @@ export interface DescribeTransitGatewayPeeringAttachmentsResult { NextToken?: string; } -export namespace DescribeTransitGatewayPeeringAttachmentsResult { +export namespace DescribeSubnetsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayPeeringAttachmentsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeSubnetsResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayRouteTablesRequest { +export interface DescribeTagsRequest { /** - *

                                                                The IDs of the transit gateway route tables.

                                                                + *

                                                                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.

                                                                */ - TransitGatewayRouteTableIds?: string[]; + DryRun?: boolean; /** - *

                                                                One or more filters. The possible values are:

                                                                + *

                                                                The filters.

                                                                *
                                                                  *
                                                                • *

                                                                  - * default-association-route-table - Indicates whether this is the default - * association route table for the transit gateway (true | false).

                                                                  + * key - The tag key.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * default-propagation-route-table - Indicates whether this is the default - * propagation route table for the transit gateway (true | false).

                                                                  + * resource-id - The ID of the resource.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * state - The state of the route table (available | deleting | deleted | pending).

                                                                  + * resource-type - The resource type (customer-gateway | dedicated-host | dhcp-options | elastic-ip | fleet | fpga-image | host-reservation | image | instance | internet-gateway | key-pair | launch-template | natgateway | network-acl | network-interface | placement-group | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-peering-connection | vpn-connection | vpn-gateway).

                                                                  *
                                                                • *
                                                                • *

                                                                  - * transit-gateway-id - The ID of the transit gateway.

                                                                  + * tag: - The key/value combination of the tag. For example, + * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find + * resources with the tag "Owner=TeamA".

                                                                  *
                                                                • *
                                                                • *

                                                                  - * transit-gateway-route-table-id - The ID of the transit gateway route table.

                                                                  + * value - The tag value.

                                                                  *
                                                                • *
                                                                */ Filters?: Filter[]; /** - *

                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                + *

                                                                The maximum number of results to return in a single call. + * This value can be between 5 and 1000. + * To retrieve the remaining results, make another call with the returned NextToken value.

                                                                */ MaxResults?: number; /** - *

                                                                The token for the next page of results.

                                                                - */ - NextToken?: string; - - /** - *

                                                                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; -} - -export namespace DescribeTransitGatewayRouteTablesRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayRouteTablesRequest): any => ({ - ...obj, - }); -} - -export interface DescribeTransitGatewayRouteTablesResult { - /** - *

                                                                Information about the transit gateway route tables.

                                                                - */ - TransitGatewayRouteTables?: TransitGatewayRouteTable[]; - - /** - *

                                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                + *

                                                                The token to retrieve the next page of results.

                                                                */ NextToken?: string; } -export namespace DescribeTransitGatewayRouteTablesResult { +export namespace DescribeTagsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayRouteTablesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTagsRequest): any => ({ ...obj, }); } -export interface DescribeTransitGatewaysRequest { - /** - *

                                                                The IDs of the transit gateways.

                                                                - */ - TransitGatewayIds?: string[]; - +/** + *

                                                                Describes a tag.

                                                                + */ +export interface TagDescription { /** - *

                                                                One or more filters. The possible values are:

                                                                - *
                                                                  - *
                                                                • - *

                                                                  - * options.propagation-default-route-table-id - The ID of the default propagation route table.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.amazon-side-asn - The private ASN for the Amazon side of a BGP session.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.association-default-route-table-id - The ID of the default association route table.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.default-route-table-association - Indicates whether resource attachments are automatically - * associated with the default association route table (enable | disable).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.default-route-table-propagation - Indicates whether resource attachments automatically propagate - * routes to the default propagation route table (enable | disable).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.dns-support - Indicates whether DNS support is enabled (enable | disable).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * owner-id - The ID of the AWS account that owns the transit gateway.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * state - The state of the transit gateway (available | deleted | deleting | modifying | pending).

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * transit-gateway-id - The ID of the transit gateway.

                                                                  - *
                                                                • - *
                                                                + *

                                                                The tag key.

                                                                */ - Filters?: Filter[]; + Key?: string; /** - *

                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                + *

                                                                The ID of the resource.

                                                                */ - MaxResults?: number; + ResourceId?: string; /** - *

                                                                The token for the next page of results.

                                                                + *

                                                                The resource type.

                                                                */ - NextToken?: string; + ResourceType?: ResourceType | string; /** - *

                                                                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.

                                                                + *

                                                                The tag value.

                                                                */ - DryRun?: boolean; + Value?: string; } -export namespace DescribeTransitGatewaysRequest { +export namespace TagDescription { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewaysRequest): any => ({ + export const filterSensitiveLog = (obj: TagDescription): any => ({ ...obj, }); } -export interface DescribeTransitGatewaysResult { +export interface DescribeTagsResult { /** - *

                                                                Information about the transit gateways.

                                                                + *

                                                                The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

                                                                */ - TransitGateways?: TransitGateway[]; + NextToken?: string; /** - *

                                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                + *

                                                                The tags.

                                                                */ - NextToken?: string; + Tags?: TagDescription[]; } -export namespace DescribeTransitGatewaysResult { +export namespace DescribeTagsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewaysResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTagsResult): any => ({ ...obj, }); } -export interface DescribeTransitGatewayVpcAttachmentsRequest { +export interface DescribeTrafficMirrorFiltersRequest { /** - *

                                                                The IDs of the attachments.

                                                                + *

                                                                The ID of the Traffic Mirror filter.

                                                                */ - TransitGatewayAttachmentIds?: string[]; + TrafficMirrorFilterIds?: string[]; + + /** + *

                                                                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; /** *

                                                                One or more filters. The possible values are:

                                                                - *
                                                                  - *
                                                                • - *

                                                                  - * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

                                                                  - *
                                                                • - *
                                                                • - *

                                                                  - * transit-gateway-attachment-id - The ID of the attachment.

                                                                  - *
                                                                • + *
                                                                    *
                                                                  • *

                                                                    - * transit-gateway-id - The ID of the transit gateway.

                                                                    + * description: The Traffic Mirror filter description.

                                                                    *
                                                                  • *
                                                                  • *

                                                                    - * vpc-id - The ID of the VPC.

                                                                    + * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

                                                                    *
                                                                  • *
                                                                  */ @@ -10379,50 +10313,43 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest { *

                                                                  The token for the next page of results.

                                                                  */ NextToken?: string; - - /** - *

                                                                  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; } -export namespace DescribeTransitGatewayVpcAttachmentsRequest { +export namespace DescribeTrafficMirrorFiltersRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayVpcAttachmentsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorFiltersRequest): any => ({ ...obj, }); } -export interface DescribeTransitGatewayVpcAttachmentsResult { +export interface DescribeTrafficMirrorFiltersResult { /** - *

                                                                  Information about the VPC attachments.

                                                                  + *

                                                                  Information about one or more Traffic Mirror filters.

                                                                  */ - TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[]; + TrafficMirrorFilters?: TrafficMirrorFilter[]; /** - *

                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                  + *

                                                                  The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                                  */ NextToken?: string; } -export namespace DescribeTransitGatewayVpcAttachmentsResult { +export namespace DescribeTrafficMirrorFiltersResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTransitGatewayVpcAttachmentsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorFiltersResult): any => ({ ...obj, }); } -export interface DescribeTrunkInterfaceAssociationsRequest { +export interface DescribeTrafficMirrorSessionsRequest { /** - *

                                                                  The IDs of the associations.

                                                                  + *

                                                                  The ID of the Traffic Mirror session.

                                                                  */ - AssociationIds?: string[]; + TrafficMirrorSessionIds?: string[]; /** *

                                                                  Checks whether you have the required permissions for the action, without actually making the request, @@ -10432,74 +10359,95 @@ export interface DescribeTrunkInterfaceAssociationsRequest { DryRun?: boolean; /** - *

                                                                  One or more filters.

                                                                  - *
                                                                    + *

                                                                    One or more filters. The possible values are:

                                                                    + *
                                                                      *
                                                                    • - *

                                                                      - * gre-key - The ID of a trunk interface association.

                                                                      + *

                                                                      + * description: The Traffic Mirror session description.

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      - * interface-protocol - The interface protocol. Valid values are VLAN and GRE.

                                                                      + *

                                                                      + * network-interface-id: The ID of the Traffic Mirror session network interface.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * owner-id: The ID of the account that owns the Traffic Mirror session.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * packet-length: The assigned number of packets to mirror.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * session-number: The assigned session number.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * traffic-mirror-session-id: The ID of the Traffic Mirror session.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * traffic-mirror-target-id: The ID of the Traffic Mirror target.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * virtual-network-id: The virtual network ID of the Traffic Mirror session.

                                                                      *
                                                                    • *
                                                                    */ Filters?: Filter[]; /** - *

                                                                    The token for the next page of results.

                                                                    + *

                                                                    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                    */ - NextToken?: string; + MaxResults?: number; /** - *

                                                                    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                    + *

                                                                    The token for the next page of results.

                                                                    */ - MaxResults?: number; + NextToken?: string; } -export namespace DescribeTrunkInterfaceAssociationsRequest { +export namespace DescribeTrafficMirrorSessionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorSessionsRequest): any => ({ ...obj, }); } -export interface DescribeTrunkInterfaceAssociationsResult { +export interface DescribeTrafficMirrorSessionsResult { /** - *

                                                                    Information about the trunk associations.

                                                                    + *

                                                                    Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

                                                                    */ - InterfaceAssociations?: TrunkInterfaceAssociation[]; + TrafficMirrorSessions?: TrafficMirrorSession[]; /** - *

                                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                    + *

                                                                    The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                                    */ NextToken?: string; } -export namespace DescribeTrunkInterfaceAssociationsResult { +export namespace DescribeTrafficMirrorSessionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorSessionsResult): any => ({ ...obj, }); } -export type VolumeAttributeName = "autoEnableIO" | "productCodes"; - -export interface DescribeVolumeAttributeRequest { - /** - *

                                                                    The attribute of the volume. This parameter is required.

                                                                    - */ - Attribute: VolumeAttributeName | string | undefined; - +export interface DescribeTrafficMirrorTargetsRequest { /** - *

                                                                    The ID of the volume.

                                                                    + *

                                                                    The ID of the Traffic Mirror targets.

                                                                    */ - VolumeId: string | undefined; + TrafficMirrorTargetIds?: string[]; /** *

                                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -10507,137 +10455,138 @@ export interface DescribeVolumeAttributeRequest { * Otherwise, it is UnauthorizedOperation.

                                                                    */ DryRun?: boolean; + + /** + *

                                                                    One or more filters. The possible values are:

                                                                    + *
                                                                      + *
                                                                    • + *

                                                                      + * description: The Traffic Mirror target description.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * network-interface-id: The ID of the Traffic Mirror session network interface.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * owner-id: The ID of the account that owns the Traffic Mirror session.

                                                                      + *
                                                                    • + *
                                                                    • + *

                                                                      + * traffic-mirror-target-id: The ID of the Traffic Mirror target.

                                                                      + *
                                                                    • + *
                                                                    + */ + Filters?: Filter[]; + + /** + *

                                                                    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                    + */ + MaxResults?: number; + + /** + *

                                                                    The token for the next page of results.

                                                                    + */ + NextToken?: string; } -export namespace DescribeVolumeAttributeRequest { +export namespace DescribeTrafficMirrorTargetsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumeAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorTargetsRequest): any => ({ ...obj, }); } -export interface DescribeVolumeAttributeResult { - /** - *

                                                                    The state of autoEnableIO attribute.

                                                                    - */ - AutoEnableIO?: AttributeBooleanValue; - +export interface DescribeTrafficMirrorTargetsResult { /** - *

                                                                    A list of product codes.

                                                                    + *

                                                                    Information about one or more Traffic Mirror targets.

                                                                    */ - ProductCodes?: ProductCode[]; + TrafficMirrorTargets?: TrafficMirrorTarget[]; /** - *

                                                                    The ID of the volume.

                                                                    + *

                                                                    The token to use to retrieve the next page of results. The value is null when there are no more results to return.

                                                                    */ - VolumeId?: string; + NextToken?: string; } -export namespace DescribeVolumeAttributeResult { +export namespace DescribeTrafficMirrorTargetsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumeAttributeResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTrafficMirrorTargetsResult): any => ({ ...obj, }); } -export interface DescribeVolumesRequest { +export interface DescribeTransitGatewayAttachmentsRequest { /** - *

                                                                    The filters.

                                                                    + *

                                                                    The IDs of the attachments.

                                                                    + */ + TransitGatewayAttachmentIds?: string[]; + + /** + *

                                                                    One or more filters. The possible values are:

                                                                    *
                                                                      *
                                                                    • *

                                                                      - * attachment.attach-time - The time stamp when the attachment - * initiated.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * attachment.delete-on-termination - Whether the volume is deleted on - * instance termination.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * attachment.device - The device name specified in the block device mapping - * (for example, /dev/sda1).

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * attachment.instance-id - The ID of the instance the volume is attached - * to.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * attachment.status - The attachment state (attaching | - * attached | detaching).

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * availability-zone - The Availability Zone in which the volume was - * created.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * create-time - The time stamp when the volume was created.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * encrypted - Indicates whether the volume is encrypted (true - * | false)

                                                                      + * association.state - The state of the association (associating | associated | + * disassociating).

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      - * multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true - * | false)

                                                                      - *
                                                                    • - *
                                                                    • *

                                                                      - * fast-restored - Indicates whether the volume was created from a - * snapshot that is enabled for fast snapshot restore (true | - * false).

                                                                      + * association.transit-gateway-route-table-id - The ID of the route table for the transit gateway.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * size - The size of the volume, in GiB.

                                                                      + * resource-id - The ID of the resource.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * snapshot-id - The snapshot from which the volume was created.

                                                                      + * resource-owner-id - The ID of the AWS account that owns the resource.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * status - The state of the volume (creating | - * available | in-use | deleting | - * deleted | error).

                                                                      + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                      + * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                      + * transit-gateway-attachment-id - The ID of the attachment.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * volume-id - The volume ID.

                                                                      + * transit-gateway-id - The ID of the transit gateway.

                                                                      *
                                                                    • *
                                                                    • *

                                                                      - * volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | - * st1 | sc1| standard)

                                                                      + * transit-gateway-owner-id - The ID of the AWS account that owns the transit gateway.

                                                                      *
                                                                    • *
                                                                    */ Filters?: Filter[]; /** - *

                                                                    The volume IDs.

                                                                    + *

                                                                    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                    + */ + MaxResults?: number; + + /** + *

                                                                    The token for the next page of results.

                                                                    */ - VolumeIds?: string[]; + NextToken?: string; /** *

                                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -10645,363 +10594,417 @@ export interface DescribeVolumesRequest { * Otherwise, it is UnauthorizedOperation.

                                                                    */ DryRun?: boolean; +} +export namespace DescribeTransitGatewayAttachmentsRequest { /** - *

                                                                    The maximum number of volume results returned by DescribeVolumes in paginated - * output. When this parameter is used, DescribeVolumes 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 - * DescribeVolumes request with the returned NextToken value. This - * value can be between 5 and 500; if MaxResults is given a value larger than 500, - * only 500 results are returned. If this parameter is not used, then - * DescribeVolumes returns all results. You cannot specify this parameter and the - * volume IDs parameter in the same request.

                                                                    + * @internal */ - MaxResults?: number; + export const filterSensitiveLog = (obj: DescribeTransitGatewayAttachmentsRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                    Describes an association.

                                                                    + */ +export interface TransitGatewayAttachmentAssociation { /** - *

                                                                    The NextToken value returned from a previous paginated - * DescribeVolumes 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.

                                                                    + *

                                                                    The ID of the route table for the transit gateway.

                                                                    */ - NextToken?: string; + TransitGatewayRouteTableId?: string; + + /** + *

                                                                    The state of the association.

                                                                    + */ + State?: TransitGatewayAssociationState | string; } -export namespace DescribeVolumesRequest { +export namespace TransitGatewayAttachmentAssociation { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumesRequest): any => ({ + export const filterSensitiveLog = (obj: TransitGatewayAttachmentAssociation): any => ({ ...obj, }); } -export interface DescribeVolumesResult { +/** + *

                                                                    Describes an attachment between a resource and a transit gateway.

                                                                    + */ +export interface TransitGatewayAttachment { /** - *

                                                                    Information about the volumes.

                                                                    + *

                                                                    The ID of the attachment.

                                                                    */ - Volumes?: Volume[]; + TransitGatewayAttachmentId?: string; /** - *

                                                                    The NextToken value to include in a future DescribeVolumes - * request. When the results of a DescribeVolumes 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.

                                                                    + *

                                                                    The ID of the transit gateway.

                                                                    */ - NextToken?: string; + TransitGatewayId?: string; + + /** + *

                                                                    The ID of the AWS account that owns the transit gateway.

                                                                    + */ + TransitGatewayOwnerId?: string; + + /** + *

                                                                    The ID of the AWS account that owns the resource.

                                                                    + */ + ResourceOwnerId?: string; + + /** + *

                                                                    The resource type. Note that the tgw-peering resource type has been deprecated.

                                                                    + */ + ResourceType?: TransitGatewayAttachmentResourceType | string; + + /** + *

                                                                    The ID of the resource.

                                                                    + */ + ResourceId?: string; + + /** + *

                                                                    The attachment state. Note that the initiating state has been deprecated.

                                                                    + */ + State?: TransitGatewayAttachmentState | string; + + /** + *

                                                                    The association.

                                                                    + */ + Association?: TransitGatewayAttachmentAssociation; + + /** + *

                                                                    The creation time.

                                                                    + */ + CreationTime?: Date; + + /** + *

                                                                    The tags for the attachment.

                                                                    + */ + Tags?: Tag[]; } -export namespace DescribeVolumesResult { +export namespace TransitGatewayAttachment { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumesResult): any => ({ + export const filterSensitiveLog = (obj: TransitGatewayAttachment): any => ({ ...obj, }); } -export interface DescribeVolumesModificationsRequest { +export interface DescribeTransitGatewayAttachmentsResult { /** - *

                                                                    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.

                                                                    + *

                                                                    Information about the attachments.

                                                                    */ - DryRun?: boolean; + TransitGatewayAttachments?: TransitGatewayAttachment[]; /** - *

                                                                    The IDs of the volumes.

                                                                    + *

                                                                    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                    */ - VolumeIds?: string[]; + NextToken?: string; +} +export namespace DescribeTransitGatewayAttachmentsResult { /** - *

                                                                    The filters.

                                                                    - *
                                                                      - *
                                                                    • - *

                                                                      - * modification-state - The current modification state (modifying | - * optimizing | completed | failed).

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * original-iops - The original IOPS rate of the volume.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * original-size - The original size of the volume, in GiB.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * original-volume-type - The original volume type of the volume (standard | - * io1 | io2 | gp2 | sc1 | st1).

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * originalMultiAttachEnabled - Indicates whether Multi-Attach support was enabled (true | false).

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * start-time - The modification start time.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * target-iops - The target IOPS rate of the volume.

                                                                      - *
                                                                    • - *
                                                                    • - *

                                                                      - * target-size - The target size of the volume, in GiB.

                                                                      - *
                                                                    • + * @internal + */ + export const filterSensitiveLog = (obj: DescribeTransitGatewayAttachmentsResult): any => ({ + ...obj, + }); +} + +export interface DescribeTransitGatewayConnectPeersRequest { + /** + *

                                                                      The IDs of the Connect peers.

                                                                      + */ + TransitGatewayConnectPeerIds?: string[]; + + /** + *

                                                                      One or more filters. The possible values are:

                                                                      + *
                                                                        *
                                                                      • *

                                                                        - * target-volume-type - The target volume type of the volume (standard | - * io1 | io2 | gp2 | sc1 | st1).

                                                                        + * state - The state of the Connect peer (pending | + * available | deleting | + * deleted).

                                                                        *
                                                                      • *
                                                                      • *

                                                                        - * targetMultiAttachEnabled - Indicates whether Multi-Attach support is to be enabled (true | false).

                                                                        + * transit-gateway-attachment-id - The ID of the attachment.

                                                                        *
                                                                      • *
                                                                      • *

                                                                        - * volume-id - The ID of the volume.

                                                                        + * transit-gateway-connect-peer-id - The ID of the Connect peer.

                                                                        *
                                                                      • *
                                                                      */ Filters?: Filter[]; /** - *

                                                                      The nextToken value returned by a previous paginated request.

                                                                      + *

                                                                      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                      + */ + MaxResults?: number; + + /** + *

                                                                      The token for the next page of results.

                                                                      */ NextToken?: string; /** - *

                                                                      The maximum number of results (up to a limit of 500) to be returned in a paginated - * request.

                                                                      + *

                                                                      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.

                                                                      */ - MaxResults?: number; + DryRun?: boolean; } -export namespace DescribeVolumesModificationsRequest { +export namespace DescribeTransitGatewayConnectPeersRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumesModificationsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectPeersRequest): any => ({ ...obj, }); } -export type VolumeModificationState = "completed" | "failed" | "modifying" | "optimizing"; +export interface DescribeTransitGatewayConnectPeersResult { + /** + *

                                                                      Information about the Connect peers.

                                                                      + */ + TransitGatewayConnectPeers?: TransitGatewayConnectPeer[]; -/** - *

                                                                      Describes the modification status of an EBS volume.

                                                                      - *

                                                                      If the volume has never been modified, some element values will be null.

                                                                      - */ -export interface VolumeModification { /** - *

                                                                      The ID of the volume.

                                                                      + *

                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                      */ - VolumeId?: string; + NextToken?: string; +} +export namespace DescribeTransitGatewayConnectPeersResult { /** - *

                                                                      The current modification state. The modification state is null for unmodified - * volumes.

                                                                      + * @internal */ - ModificationState?: VolumeModificationState | string; + export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectPeersResult): any => ({ + ...obj, + }); +} +export interface DescribeTransitGatewayConnectsRequest { /** - *

                                                                      A status message about the modification progress or failure.

                                                                      + *

                                                                      The IDs of the attachments.

                                                                      */ - StatusMessage?: string; + TransitGatewayAttachmentIds?: string[]; /** - *

                                                                      The target size of the volume, in GiB.

                                                                      + *

                                                                      One or more filters. The possible values are:

                                                                      + *
                                                                        + *
                                                                      • + *

                                                                        + * options.protocol - The tunnel protocol (gre).

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * state - The state of the attachment (initiating | + * initiatingRequest | pendingAcceptance | + * rollingBack | pending | available | + * modifying | deleting | deleted | + * failed | rejected | rejecting | + * failing).

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * transit-gateway-attachment-id - The ID of the + * Connect attachment.

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * transit-gateway-id - The ID of the transit gateway.

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * transport-transit-gateway-attachment-id - The ID of the transit gateway attachment from which the Connect attachment was created.

                                                                        + *
                                                                      • + *
                                                                      */ - TargetSize?: number; + Filters?: Filter[]; /** - *

                                                                      The target IOPS rate of the volume.

                                                                      + *

                                                                      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                      */ - TargetIops?: number; + MaxResults?: number; /** - *

                                                                      The target EBS volume type of the volume.

                                                                      + *

                                                                      The token for the next page of results.

                                                                      */ - TargetVolumeType?: VolumeType | string; + NextToken?: string; /** - *

                                                                      The target throughput of the volume, in MiB/s.

                                                                      + *

                                                                      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.

                                                                      */ - TargetThroughput?: number; + DryRun?: boolean; +} +export namespace DescribeTransitGatewayConnectsRequest { /** - *

                                                                      The target setting for Amazon EBS Multi-Attach.

                                                                      + * @internal */ - TargetMultiAttachEnabled?: boolean; + export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectsRequest): any => ({ + ...obj, + }); +} +export interface DescribeTransitGatewayConnectsResult { /** - *

                                                                      The original size of the volume, in GiB.

                                                                      + *

                                                                      Information about the Connect attachments.

                                                                      */ - OriginalSize?: number; + TransitGatewayConnects?: TransitGatewayConnect[]; /** - *

                                                                      The original IOPS rate of the volume.

                                                                      + *

                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                      */ - OriginalIops?: number; + NextToken?: string; +} +export namespace DescribeTransitGatewayConnectsResult { /** - *

                                                                      The original EBS volume type of the volume.

                                                                      + * @internal */ - OriginalVolumeType?: VolumeType | string; + export const filterSensitiveLog = (obj: DescribeTransitGatewayConnectsResult): any => ({ + ...obj, + }); +} +export interface DescribeTransitGatewayMulticastDomainsRequest { /** - *

                                                                      The original throughput of the volume, in MiB/s.

                                                                      + *

                                                                      The ID of the transit gateway multicast domain.

                                                                      */ - OriginalThroughput?: number; + TransitGatewayMulticastDomainIds?: string[]; /** - *

                                                                      The original setting for Amazon EBS Multi-Attach.

                                                                      + *

                                                                      One or more filters. The possible values are:

                                                                      + *
                                                                        + *
                                                                      • + *

                                                                        + * state - The state of the transit gateway multicast domain. Valid values are pending | available | deleting | deleted.

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * transit-gateway-id - The ID of the transit gateway.

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        + * transit-gateway-multicast-domain-id - The ID of the transit gateway multicast domain.

                                                                        + *
                                                                      • + *
                                                                      */ - OriginalMultiAttachEnabled?: boolean; + Filters?: Filter[]; /** - *

                                                                      The modification progress, from 0 to 100 percent complete.

                                                                      + *

                                                                      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                      */ - Progress?: number; + MaxResults?: number; /** - *

                                                                      The modification start time.

                                                                      + *

                                                                      The token for the next page of results.

                                                                      */ - StartTime?: Date; + NextToken?: string; /** - *

                                                                      The modification completion or failure time.

                                                                      + *

                                                                      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.

                                                                      */ - EndTime?: Date; + DryRun?: boolean; } -export namespace VolumeModification { +export namespace DescribeTransitGatewayMulticastDomainsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeModification): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayMulticastDomainsRequest): any => ({ ...obj, }); } -export interface DescribeVolumesModificationsResult { +export interface DescribeTransitGatewayMulticastDomainsResult { /** - *

                                                                      Information about the volume modifications.

                                                                      + *

                                                                      Information about the transit gateway multicast domains.

                                                                      */ - VolumesModifications?: VolumeModification[]; + TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[]; /** - *

                                                                      Token for pagination, null if there are no more results

                                                                      + *

                                                                      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 DescribeVolumesModificationsResult { +export namespace DescribeTransitGatewayMulticastDomainsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumesModificationsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayMulticastDomainsResult): any => ({ ...obj, }); } -export interface DescribeVolumeStatusRequest { +export interface DescribeTransitGatewayPeeringAttachmentsRequest { /** - *

                                                                      The filters.

                                                                      - *
                                                                        - *
                                                                      • - *

                                                                        - * action.code - The action code for the event (for example, - * enable-volume-io).

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        - * action.description - A description of the action.

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        - * action.event-id - The event ID associated with the action.

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        - * availability-zone - The Availability Zone of the instance.

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        - * event.description - A description of the event.

                                                                        - *
                                                                      • + *

                                                                        One or more IDs of the transit gateway peering attachments.

                                                                        + */ + TransitGatewayAttachmentIds?: string[]; + + /** + *

                                                                        One or more filters. The possible values are:

                                                                        + *
                                                                          *
                                                                        • - *

                                                                          - * event.event-id - The event ID.

                                                                          + *

                                                                          + * transit-gateway-attachment-id - The ID of the transit gateway attachment.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * event.event-type - The event type (for io-enabled: - * passed | failed; for io-performance: - * io-performance:degraded | io-performance:severely-degraded | - * io-performance:stalled).

                                                                          + *

                                                                          + * local-owner-id - The ID of your AWS account.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * event.not-after - The latest end time for the event.

                                                                          + *

                                                                          + * remote-owner-id - The ID of the AWS account in the remote Region that owns the transit gateway.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * event.not-before - The earliest start time for the event.

                                                                          + *

                                                                          + * state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).

                                                                          *
                                                                        • *
                                                                        • *

                                                                          - * volume-status.details-name - The cause for - * volume-status.status (io-enabled | - * io-performance).

                                                                          + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                          *
                                                                        • *
                                                                        • *

                                                                          - * volume-status.details-status - The status of - * volume-status.details-name (for io-enabled: - * passed | failed; for io-performance: - * normal | degraded | severely-degraded | - * stalled).

                                                                          + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * volume-status.status - The status of the volume (ok | - * impaired | warning | insufficient-data).

                                                                          + *

                                                                          + * transit-gateway-id - The ID of the transit gateway.

                                                                          *
                                                                        • *
                                                                        */ Filters?: Filter[]; /** - *

                                                                        The maximum number of volume results returned by DescribeVolumeStatus in - * paginated output. When this parameter is used, the request 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 - * request with the returned NextToken value. This value can be between 5 and 1,000; - * if MaxResults is given a value larger than 1,000, only 1,000 results are returned. - * If this parameter is not used, then DescribeVolumeStatus returns all results. You - * cannot specify this parameter and the volume IDs parameter in the same request.

                                                                        + *

                                                                        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        */ MaxResults?: number; /** - *

                                                                        The NextToken value to include in a future DescribeVolumeStatus - * request. When the results of the 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.

                                                                        + *

                                                                        The token for the next page of results.

                                                                        */ NextToken?: string; - /** - *

                                                                        The IDs of the volumes.

                                                                        - *

                                                                        Default: Describes all your volumes.

                                                                        - */ - VolumeIds?: string[]; - /** *

                                                                        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. @@ -11010,322 +11013,388 @@ export interface DescribeVolumeStatusRequest { DryRun?: boolean; } -export namespace DescribeVolumeStatusRequest { +export namespace DescribeTransitGatewayPeeringAttachmentsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumeStatusRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayPeeringAttachmentsRequest): any => ({ ...obj, }); } -/** - *

                                                                        Describes a volume status operation code.

                                                                        - */ -export interface VolumeStatusAction { +export interface DescribeTransitGatewayPeeringAttachmentsResult { /** - *

                                                                        The code identifying the operation, for example, enable-volume-io.

                                                                        + *

                                                                        The transit gateway peering attachments.

                                                                        */ - Code?: string; + TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[]; /** - *

                                                                        A description of the operation.

                                                                        + *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        */ - Description?: string; + NextToken?: string; +} +export namespace DescribeTransitGatewayPeeringAttachmentsResult { /** - *

                                                                        The ID of the event associated with this operation.

                                                                        + * @internal */ - EventId?: string; + export const filterSensitiveLog = (obj: DescribeTransitGatewayPeeringAttachmentsResult): any => ({ + ...obj, + }); +} +export interface DescribeTransitGatewayRouteTablesRequest { /** - *

                                                                        The event type associated with this operation.

                                                                        + *

                                                                        The IDs of the transit gateway route tables.

                                                                        */ - EventType?: string; -} + TransitGatewayRouteTableIds?: string[]; -export namespace VolumeStatusAction { /** - * @internal + *

                                                                        One or more filters. The possible values are:

                                                                        + *
                                                                          + *
                                                                        • + *

                                                                          + * default-association-route-table - Indicates whether this is the default + * association route table for the transit gateway (true | false).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * default-propagation-route-table - Indicates whether this is the default + * propagation route table for the transit gateway (true | false).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * state - The state of the route table (available | deleting | deleted | pending).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * transit-gateway-id - The ID of the transit gateway.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * transit-gateway-route-table-id - The ID of the transit gateway route table.

                                                                          + *
                                                                        • + *
                                                                        */ - export const filterSensitiveLog = (obj: VolumeStatusAction): any => ({ - ...obj, - }); -} + Filters?: Filter[]; + + /** + *

                                                                        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        + */ + MaxResults?: number; -/** - *

                                                                        Information about the instances to which the volume is attached.

                                                                        - */ -export interface VolumeStatusAttachmentStatus { /** - *

                                                                        The maximum IOPS supported by the attached instance.

                                                                        + *

                                                                        The token for the next page of results.

                                                                        */ - IoPerformance?: string; + NextToken?: string; /** - *

                                                                        The ID of the attached instance.

                                                                        + *

                                                                        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.

                                                                        */ - InstanceId?: string; + DryRun?: boolean; } -export namespace VolumeStatusAttachmentStatus { +export namespace DescribeTransitGatewayRouteTablesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeStatusAttachmentStatus): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayRouteTablesRequest): any => ({ ...obj, }); } -/** - *

                                                                        Describes a volume status event.

                                                                        - */ -export interface VolumeStatusEvent { - /** - *

                                                                        A description of the event.

                                                                        - */ - Description?: string; - +export interface DescribeTransitGatewayRouteTablesResult { /** - *

                                                                        The ID of this event.

                                                                        + *

                                                                        Information about the transit gateway route tables.

                                                                        */ - EventId?: string; + TransitGatewayRouteTables?: TransitGatewayRouteTable[]; /** - *

                                                                        The type of this event.

                                                                        + *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        */ - EventType?: string; + NextToken?: string; +} +export namespace DescribeTransitGatewayRouteTablesResult { /** - *

                                                                        The latest end time of the event.

                                                                        + * @internal */ - NotAfter?: Date; + export const filterSensitiveLog = (obj: DescribeTransitGatewayRouteTablesResult): any => ({ + ...obj, + }); +} +export interface DescribeTransitGatewaysRequest { /** - *

                                                                        The earliest start time of the event.

                                                                        + *

                                                                        The IDs of the transit gateways.

                                                                        */ - NotBefore?: Date; + TransitGatewayIds?: string[]; /** - *

                                                                        The ID of the instance associated with the event.

                                                                        + *

                                                                        One or more filters. The possible values are:

                                                                        + *
                                                                          + *
                                                                        • + *

                                                                          + * options.propagation-default-route-table-id - The ID of the default propagation route table.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.amazon-side-asn - The private ASN for the Amazon side of a BGP session.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.association-default-route-table-id - The ID of the default association route table.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.default-route-table-association - Indicates whether resource attachments are automatically + * associated with the default association route table (enable | disable).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.default-route-table-propagation - Indicates whether resource attachments automatically propagate + * routes to the default propagation route table (enable | disable).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.dns-support - Indicates whether DNS support is enabled (enable | disable).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * owner-id - The ID of the AWS account that owns the transit gateway.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * state - The state of the transit gateway (available | deleted | deleting | modifying | pending).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * transit-gateway-id - The ID of the transit gateway.

                                                                          + *
                                                                        • + *
                                                                        */ - InstanceId?: string; -} + Filters?: Filter[]; -export namespace VolumeStatusEvent { /** - * @internal + *

                                                                        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        */ - export const filterSensitiveLog = (obj: VolumeStatusEvent): any => ({ - ...obj, - }); -} - -export type VolumeStatusName = "io-enabled" | "io-performance"; + MaxResults?: number; -/** - *

                                                                        Describes a volume status.

                                                                        - */ -export interface VolumeStatusDetails { /** - *

                                                                        The name of the volume status.

                                                                        + *

                                                                        The token for the next page of results.

                                                                        */ - Name?: VolumeStatusName | string; + NextToken?: string; /** - *

                                                                        The intended status of the volume status.

                                                                        + *

                                                                        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.

                                                                        */ - Status?: string; + DryRun?: boolean; } -export namespace VolumeStatusDetails { +export namespace DescribeTransitGatewaysRequest { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeStatusDetails): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewaysRequest): any => ({ ...obj, }); } -export type VolumeStatusInfoStatus = "impaired" | "insufficient-data" | "ok"; - -/** - *

                                                                        Describes the status of a volume.

                                                                        - */ -export interface VolumeStatusInfo { +export interface DescribeTransitGatewaysResult { /** - *

                                                                        The details of the volume status.

                                                                        + *

                                                                        Information about the transit gateways.

                                                                        */ - Details?: VolumeStatusDetails[]; + TransitGateways?: TransitGateway[]; /** - *

                                                                        The status of the volume.

                                                                        + *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        */ - Status?: VolumeStatusInfoStatus | string; + NextToken?: string; } -export namespace VolumeStatusInfo { +export namespace DescribeTransitGatewaysResult { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeStatusInfo): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewaysResult): any => ({ ...obj, }); } -/** - *

                                                                        Describes the volume status.

                                                                        - */ -export interface VolumeStatusItem { - /** - *

                                                                        The details of the operation.

                                                                        - */ - Actions?: VolumeStatusAction[]; - - /** - *

                                                                        The Availability Zone of the volume.

                                                                        - */ - AvailabilityZone?: string; - +export interface DescribeTransitGatewayVpcAttachmentsRequest { /** - *

                                                                        The Amazon Resource Name (ARN) of the Outpost.

                                                                        + *

                                                                        The IDs of the attachments.

                                                                        */ - OutpostArn?: string; + TransitGatewayAttachmentIds?: string[]; /** - *

                                                                        A list of events associated with the volume.

                                                                        + *

                                                                        One or more filters. The possible values are:

                                                                        + *
                                                                          + *
                                                                        • + *

                                                                          + * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * transit-gateway-attachment-id - The ID of the attachment.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * transit-gateway-id - The ID of the transit gateway.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * vpc-id - The ID of the VPC.

                                                                          + *
                                                                        • + *
                                                                        */ - Events?: VolumeStatusEvent[]; + Filters?: Filter[]; /** - *

                                                                        The volume ID.

                                                                        + *

                                                                        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        */ - VolumeId?: string; + MaxResults?: number; /** - *

                                                                        The volume status.

                                                                        + *

                                                                        The token for the next page of results.

                                                                        */ - VolumeStatus?: VolumeStatusInfo; + NextToken?: string; /** - *

                                                                        Information about the instances to which the volume is attached.

                                                                        + *

                                                                        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.

                                                                        */ - AttachmentStatuses?: VolumeStatusAttachmentStatus[]; + DryRun?: boolean; } -export namespace VolumeStatusItem { +export namespace DescribeTransitGatewayVpcAttachmentsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeStatusItem): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayVpcAttachmentsRequest): any => ({ ...obj, }); } -export interface DescribeVolumeStatusResult { +export interface DescribeTransitGatewayVpcAttachmentsResult { /** - *

                                                                        The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                        + *

                                                                        Information about the VPC attachments.

                                                                        */ - NextToken?: string; + TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[]; /** - *

                                                                        Information about the status of the volumes.

                                                                        + *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        */ - VolumeStatuses?: VolumeStatusItem[]; + NextToken?: string; } -export namespace DescribeVolumeStatusResult { +export namespace DescribeTransitGatewayVpcAttachmentsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVolumeStatusResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTransitGatewayVpcAttachmentsResult): any => ({ ...obj, }); } -export type VpcAttributeName = "enableDnsHostnames" | "enableDnsSupport"; +export interface DescribeTrunkInterfaceAssociationsRequest { + /** + *

                                                                        The IDs of the associations.

                                                                        + */ + AssociationIds?: string[]; -export interface DescribeVpcAttributeRequest { /** - *

                                                                        The VPC attribute.

                                                                        + *

                                                                        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.

                                                                        */ - Attribute: VpcAttributeName | string | undefined; + DryRun?: boolean; /** - *

                                                                        The ID of the VPC.

                                                                        + *

                                                                        One or more filters.

                                                                        + *
                                                                          + *
                                                                        • + *

                                                                          + * gre-key - The ID of a trunk interface association.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * interface-protocol - The interface protocol. Valid values are VLAN and GRE.

                                                                          + *
                                                                        • + *
                                                                        + */ + Filters?: Filter[]; + + /** + *

                                                                        The token for the next page of results.

                                                                        */ - VpcId: string | undefined; + NextToken?: string; /** - *

                                                                        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.

                                                                        + *

                                                                        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        */ - DryRun?: boolean; + MaxResults?: number; } -export namespace DescribeVpcAttributeRequest { +export namespace DescribeTrunkInterfaceAssociationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsRequest): any => ({ ...obj, }); } -export interface DescribeVpcAttributeResult { - /** - *

                                                                        The ID of the VPC.

                                                                        - */ - VpcId?: string; - +export interface DescribeTrunkInterfaceAssociationsResult { /** - *

                                                                        Indicates whether the instances launched in the VPC get DNS hostnames. - * If this attribute is true, instances in the VPC get DNS hostnames; - * otherwise, they do not.

                                                                        + *

                                                                        Information about the trunk associations.

                                                                        */ - EnableDnsHostnames?: AttributeBooleanValue; + InterfaceAssociations?: TrunkInterfaceAssociation[]; /** - *

                                                                        Indicates whether DNS resolution is enabled for - * the VPC. If this attribute is true, the Amazon DNS server - * resolves DNS hostnames for your instances to their corresponding - * IP addresses; otherwise, it does not.

                                                                        + *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        */ - EnableDnsSupport?: AttributeBooleanValue; + NextToken?: string; } -export namespace DescribeVpcAttributeResult { +export namespace DescribeTrunkInterfaceAssociationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcAttributeResult): any => ({ + export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsResult): any => ({ ...obj, }); } -export interface DescribeVpcClassicLinkRequest { +export type VolumeAttributeName = "autoEnableIO" | "productCodes"; + +export interface DescribeVolumeAttributeRequest { /** - *

                                                                        One or more filters.

                                                                        - *
                                                                          - *
                                                                        • - *

                                                                          - * is-classic-link-enabled - Whether the VPC is enabled for ClassicLink - * (true | false).

                                                                          - *
                                                                        • - *
                                                                        • - *

                                                                          - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                          - *
                                                                        • - *
                                                                        • - *

                                                                          - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                          - *
                                                                        • - *
                                                                        + *

                                                                        The attribute of the volume. This parameter is required.

                                                                        */ - Filters?: Filter[]; + Attribute: VolumeAttributeName | string | undefined; + + /** + *

                                                                        The ID of the volume.

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

                                                                        Checks whether you have the required permissions for the action, without actually making the request, @@ -11333,140 +11402,202 @@ export interface DescribeVpcClassicLinkRequest { * Otherwise, it is UnauthorizedOperation.

                                                                        */ DryRun?: boolean; - - /** - *

                                                                        One or more VPCs for which you want to describe the ClassicLink status.

                                                                        - */ - VpcIds?: string[]; } -export namespace DescribeVpcClassicLinkRequest { +export namespace DescribeVolumeAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcClassicLinkRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumeAttributeRequest): any => ({ ...obj, }); } -/** - *

                                                                        Describes whether a VPC is enabled for ClassicLink.

                                                                        - */ -export interface VpcClassicLink { +export interface DescribeVolumeAttributeResult { /** - *

                                                                        Indicates whether the VPC is enabled for ClassicLink.

                                                                        + *

                                                                        The state of autoEnableIO attribute.

                                                                        */ - ClassicLinkEnabled?: boolean; + AutoEnableIO?: AttributeBooleanValue; /** - *

                                                                        Any tags assigned to the VPC.

                                                                        + *

                                                                        A list of product codes.

                                                                        */ - Tags?: Tag[]; + ProductCodes?: ProductCode[]; /** - *

                                                                        The ID of the VPC.

                                                                        + *

                                                                        The ID of the volume.

                                                                        */ - VpcId?: string; + VolumeId?: string; } -export namespace VpcClassicLink { +export namespace DescribeVolumeAttributeResult { /** * @internal */ - export const filterSensitiveLog = (obj: VpcClassicLink): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumeAttributeResult): any => ({ ...obj, }); } -export interface DescribeVpcClassicLinkResult { +export interface DescribeVolumesRequest { /** - *

                                                                        The ClassicLink status of one or more VPCs.

                                                                        + *

                                                                        The filters.

                                                                        + *
                                                                          + *
                                                                        • + *

                                                                          + * attachment.attach-time - The time stamp when the attachment + * initiated.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * attachment.delete-on-termination - Whether the volume is deleted on + * instance termination.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * attachment.device - The device name specified in the block device mapping + * (for example, /dev/sda1).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * attachment.instance-id - The ID of the instance the volume is attached + * to.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * attachment.status - The attachment state (attaching | + * attached | detaching).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * availability-zone - The Availability Zone in which the volume was + * created.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * create-time - The time stamp when the volume was created.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * encrypted - Indicates whether the volume is encrypted (true + * | false)

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true + * | false)

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * fast-restored - Indicates whether the volume was created from a + * snapshot that is enabled for fast snapshot restore (true | + * false).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * size - The size of the volume, in GiB.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * snapshot-id - The snapshot from which the volume was created.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * status - The state of the volume (creating | + * available | in-use | deleting | + * deleted | error).

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * volume-id - The volume ID.

                                                                          + *
                                                                        • + *
                                                                        • + *

                                                                          + * volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | + * st1 | sc1| standard)

                                                                          + *
                                                                        • + *
                                                                        */ - Vpcs?: VpcClassicLink[]; -} + Filters?: Filter[]; -export namespace DescribeVpcClassicLinkResult { /** - * @internal + *

                                                                        The volume IDs.

                                                                        */ - export const filterSensitiveLog = (obj: DescribeVpcClassicLinkResult): any => ({ - ...obj, - }); -} + VolumeIds?: string[]; -export interface DescribeVpcClassicLinkDnsSupportRequest { /** - *

                                                                        The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                        + *

                                                                        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.

                                                                        */ - MaxResults?: number; + DryRun?: boolean; /** - *

                                                                        The token for the next page of results.

                                                                        + *

                                                                        The maximum number of volume results returned by DescribeVolumes in paginated + * output. When this parameter is used, DescribeVolumes 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 + * DescribeVolumes request with the returned NextToken value. This + * value can be between 5 and 500; if MaxResults is given a value larger than 500, + * only 500 results are returned. If this parameter is not used, then + * DescribeVolumes returns all results. You cannot specify this parameter and the + * volume IDs parameter in the same request.

                                                                        */ - NextToken?: string; + MaxResults?: number; /** - *

                                                                        One or more VPC IDs.

                                                                        + *

                                                                        The NextToken value returned from a previous paginated + * DescribeVolumes 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.

                                                                        */ - VpcIds?: string[]; + NextToken?: string; } -export namespace DescribeVpcClassicLinkDnsSupportRequest { +export namespace DescribeVolumesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcClassicLinkDnsSupportRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumesRequest): any => ({ ...obj, }); } -/** - *

                                                                        Describes the ClassicLink DNS support status of a VPC.

                                                                        - */ -export interface ClassicLinkDnsSupport { - /** - *

                                                                        Indicates whether ClassicLink DNS support is enabled for the VPC.

                                                                        - */ - ClassicLinkDnsSupported?: boolean; - - /** - *

                                                                        The ID of the VPC.

                                                                        - */ - VpcId?: string; -} - -export namespace ClassicLinkDnsSupport { +export interface DescribeVolumesResult { /** - * @internal + *

                                                                        Information about the volumes.

                                                                        */ - export const filterSensitiveLog = (obj: ClassicLinkDnsSupport): any => ({ - ...obj, - }); -} + Volumes?: Volume[]; -export interface DescribeVpcClassicLinkDnsSupportResult { /** - *

                                                                        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                        + *

                                                                        The NextToken value to include in a future DescribeVolumes + * request. When the results of a DescribeVolumes 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; - - /** - *

                                                                        Information about the ClassicLink DNS support status of the VPCs.

                                                                        - */ - Vpcs?: ClassicLinkDnsSupport[]; } -export namespace DescribeVpcClassicLinkDnsSupportResult { +export namespace DescribeVolumesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcClassicLinkDnsSupportResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumesResult): any => ({ ...obj, }); } -export interface DescribeVpcEndpointConnectionNotificationsRequest { +export interface DescribeVolumesModificationsRequest { /** *

                                                                        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. @@ -11475,736 +11606,618 @@ export interface DescribeVpcEndpointConnectionNotificationsRequest { DryRun?: boolean; /** - *

                                                                        The ID of the notification.

                                                                        + *

                                                                        The IDs of the volumes.

                                                                        */ - ConnectionNotificationId?: string; + VolumeIds?: string[]; /** - *

                                                                        One or more filters.

                                                                        - *
                                                                          + *

                                                                          The filters.

                                                                          + *
                                                                            *
                                                                          • - *

                                                                            - * connection-notification-arn - The ARN of the SNS topic for the - * notification.

                                                                            + *

                                                                            + * modification-state - The current modification state (modifying | + * optimizing | completed | failed).

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * connection-notification-id - The ID of the - * notification.

                                                                            + *

                                                                            + * original-iops - The original IOPS rate of the volume.

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * connection-notification-state - The state of the notification - * (Enabled | Disabled).

                                                                            + *

                                                                            + * original-size - The original size of the volume, in GiB.

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * connection-notification-type - The type of notification - * (Topic).

                                                                            + *

                                                                            + * original-volume-type - The original volume type of the volume (standard | + * io1 | io2 | gp2 | sc1 | st1).

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * service-id - The ID of the endpoint service.

                                                                            + *

                                                                            + * originalMultiAttachEnabled - Indicates whether Multi-Attach support was enabled (true | false).

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * vpc-endpoint-id - The ID of the VPC endpoint.

                                                                            + *

                                                                            + * start-time - The modification start time.

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            + * target-iops - The target IOPS rate of the volume.

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            + * target-size - The target size of the volume, in GiB.

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            + * target-volume-type - The target volume type of the volume (standard | + * io1 | io2 | gp2 | sc1 | st1).

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            + * targetMultiAttachEnabled - Indicates whether Multi-Attach support is to be enabled (true | false).

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            + * volume-id - The ID of the volume.

                                                                            *
                                                                          • *
                                                                          */ Filters?: Filter[]; /** - *

                                                                          The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value.

                                                                          + *

                                                                          The nextToken value returned by a previous paginated request.

                                                                          */ - MaxResults?: number; + NextToken?: string; /** - *

                                                                          The token to request the next page of results.

                                                                          + *

                                                                          The maximum number of results (up to a limit of 500) to be returned in a paginated + * request.

                                                                          */ - NextToken?: string; + MaxResults?: number; } -export namespace DescribeVpcEndpointConnectionNotificationsRequest { +export namespace DescribeVolumesModificationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionNotificationsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumesModificationsRequest): any => ({ ...obj, }); } -export interface DescribeVpcEndpointConnectionNotificationsResult { +export type VolumeModificationState = "completed" | "failed" | "modifying" | "optimizing"; + +/** + *

                                                                          Describes the modification status of an EBS volume.

                                                                          + *

                                                                          If the volume has never been modified, some element values will be null.

                                                                          + */ +export interface VolumeModification { /** - *

                                                                          One or more notifications.

                                                                          + *

                                                                          The ID of the volume.

                                                                          */ - ConnectionNotificationSet?: ConnectionNotification[]; + VolumeId?: string; /** - *

                                                                          The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

                                                                          + *

                                                                          The current modification state. The modification state is null for unmodified + * volumes.

                                                                          */ - NextToken?: string; -} + ModificationState?: VolumeModificationState | string; -export namespace DescribeVpcEndpointConnectionNotificationsResult { /** - * @internal + *

                                                                          A status message about the modification progress or failure.

                                                                          */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionNotificationsResult): any => ({ - ...obj, - }); -} + StatusMessage?: string; -export interface DescribeVpcEndpointConnectionsRequest { /** - *

                                                                          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.

                                                                          + *

                                                                          The target size of the volume, in GiB.

                                                                          */ - DryRun?: boolean; + TargetSize?: number; /** - *

                                                                          One or more filters.

                                                                          - *
                                                                            - *
                                                                          • - *

                                                                            - * service-id - The ID of the service.

                                                                            - *
                                                                          • - *
                                                                          • - *

                                                                            - * vpc-endpoint-owner - The AWS account number of the owner of the - * endpoint.

                                                                            - *
                                                                          • - *
                                                                          • - *

                                                                            - * vpc-endpoint-state - The state of the endpoint - * (pendingAcceptance | pending | - * available | deleting | deleted | - * rejected | failed).

                                                                            - *
                                                                          • - *
                                                                          • - *

                                                                            - * vpc-endpoint-id - The ID of the endpoint.

                                                                            - *
                                                                          • - *
                                                                          + *

                                                                          The target IOPS rate of the volume.

                                                                          */ - Filters?: Filter[]; + TargetIops?: number; /** - *

                                                                          The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

                                                                          + *

                                                                          The target EBS volume type of the volume.

                                                                          */ - MaxResults?: number; + TargetVolumeType?: VolumeType | string; /** - *

                                                                          The token to retrieve the next page of results.

                                                                          + *

                                                                          The target throughput of the volume, in MiB/s.

                                                                          */ - NextToken?: string; -} + TargetThroughput?: number; -export namespace DescribeVpcEndpointConnectionsRequest { /** - * @internal + *

                                                                          The target setting for Amazon EBS Multi-Attach.

                                                                          */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionsRequest): any => ({ - ...obj, - }); -} + TargetMultiAttachEnabled?: boolean; -/** - *

                                                                          Describes a VPC endpoint connection to a service.

                                                                          - */ -export interface VpcEndpointConnection { /** - *

                                                                          The ID of the service to which the endpoint is connected.

                                                                          + *

                                                                          The original size of the volume, in GiB.

                                                                          */ - ServiceId?: string; + OriginalSize?: number; /** - *

                                                                          The ID of the VPC endpoint.

                                                                          + *

                                                                          The original IOPS rate of the volume.

                                                                          */ - VpcEndpointId?: string; + OriginalIops?: number; /** - *

                                                                          The AWS account ID of the owner of the VPC endpoint.

                                                                          + *

                                                                          The original EBS volume type of the volume.

                                                                          */ - VpcEndpointOwner?: string; + OriginalVolumeType?: VolumeType | string; /** - *

                                                                          The state of the VPC endpoint.

                                                                          + *

                                                                          The original throughput of the volume, in MiB/s.

                                                                          */ - VpcEndpointState?: State | string; + OriginalThroughput?: number; /** - *

                                                                          The date and time that the VPC endpoint was created.

                                                                          + *

                                                                          The original setting for Amazon EBS Multi-Attach.

                                                                          */ - CreationTimestamp?: Date; + OriginalMultiAttachEnabled?: boolean; /** - *

                                                                          The DNS entries for the VPC endpoint.

                                                                          + *

                                                                          The modification progress, from 0 to 100 percent complete.

                                                                          */ - DnsEntries?: DnsEntry[]; + Progress?: number; /** - *

                                                                          The Amazon Resource Names (ARNs) of the network load balancers for the service.

                                                                          + *

                                                                          The modification start time.

                                                                          */ - NetworkLoadBalancerArns?: string[]; + StartTime?: Date; /** - *

                                                                          The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

                                                                          + *

                                                                          The modification completion or failure time.

                                                                          */ - GatewayLoadBalancerArns?: string[]; + EndTime?: Date; } -export namespace VpcEndpointConnection { +export namespace VolumeModification { /** * @internal */ - export const filterSensitiveLog = (obj: VpcEndpointConnection): any => ({ + export const filterSensitiveLog = (obj: VolumeModification): any => ({ ...obj, }); } -export interface DescribeVpcEndpointConnectionsResult { +export interface DescribeVolumesModificationsResult { /** - *

                                                                          Information about one or more VPC endpoint connections.

                                                                          + *

                                                                          Information about the volume modifications.

                                                                          */ - VpcEndpointConnections?: VpcEndpointConnection[]; + VolumesModifications?: VolumeModification[]; /** - *

                                                                          The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                          + *

                                                                          Token for pagination, null if there are no more results

                                                                          */ NextToken?: string; } -export namespace DescribeVpcEndpointConnectionsResult { +export namespace DescribeVolumesModificationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumesModificationsResult): any => ({ ...obj, }); } -/** - *

                                                                          Contains the parameters for DescribeVpcEndpoints.

                                                                          - */ -export interface DescribeVpcEndpointsRequest { - /** - *

                                                                          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; - - /** - *

                                                                          One or more endpoint IDs.

                                                                          - */ - VpcEndpointIds?: string[]; - +export interface DescribeVolumeStatusRequest { /** - *

                                                                          One or more filters.

                                                                          - *
                                                                            + *

                                                                            The filters.

                                                                            + *
                                                                              + *
                                                                            • + *

                                                                              + * action.code - The action code for the event (for example, + * enable-volume-io).

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              + * action.description - A description of the action.

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              + * action.event-id - The event ID associated with the action.

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              + * availability-zone - The Availability Zone of the instance.

                                                                              + *
                                                                            • *
                                                                            • - *

                                                                              - * service-name - The name of the service.

                                                                              + *

                                                                              + * event.description - A description of the event.

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * vpc-id - The ID of the VPC in which the endpoint resides.

                                                                              + *

                                                                              + * event.event-id - The event ID.

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * vpc-endpoint-id - The ID of the endpoint.

                                                                              + *

                                                                              + * event.event-type - The event type (for io-enabled: + * passed | failed; for io-performance: + * io-performance:degraded | io-performance:severely-degraded | + * io-performance:stalled).

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * vpc-endpoint-state - The state of the endpoint - * (pendingAcceptance | pending | - * available | deleting | deleted | - * rejected | failed).

                                                                              + *

                                                                              + * event.not-after - The latest end time for the event.

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

                                                                              + *

                                                                              + * event.not-before - The earliest start time for the event.

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                              - *
                                                                            • + *

                                                                              + * volume-status.details-name - The cause for + * volume-status.status (io-enabled | + * io-performance).

                                                                              + * *
                                                                            • - *

                                                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                              - *
                                                                            • + *

                                                                              + * volume-status.details-status - The status of + * volume-status.details-name (for io-enabled: + * passed | failed; for io-performance: + * normal | degraded | severely-degraded | + * stalled).

                                                                              + * + *
                                                                            • + *

                                                                              + * volume-status.status - The status of the volume (ok | + * impaired | warning | insufficient-data).

                                                                              + *
                                                                            • *
                                                                            */ Filters?: Filter[]; /** - *

                                                                            The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                                            - *

                                                                            Constraint: If the value is greater than 1,000, we return only 1,000 items.

                                                                            + *

                                                                            The maximum number of volume results returned by DescribeVolumeStatus in + * paginated output. When this parameter is used, the request 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 + * request with the returned NextToken value. This value can be between 5 and 1,000; + * if MaxResults is given a value larger than 1,000, only 1,000 results are returned. + * If this parameter is not used, then DescribeVolumeStatus returns all results. You + * cannot specify this parameter and the volume IDs parameter in the same request.

                                                                            */ MaxResults?: number; /** - *

                                                                            The token for the next set of items to return. (You received this token from a prior call.)

                                                                            + *

                                                                            The NextToken value to include in a future DescribeVolumeStatus + * request. When the results of the 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 DescribeVpcEndpointsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointsRequest): any => ({ - ...obj, - }); -} -/** - *

                                                                            Contains the output of DescribeVpcEndpoints.

                                                                            - */ -export interface DescribeVpcEndpointsResult { /** - *

                                                                            Information about the endpoints.

                                                                            + *

                                                                            The IDs of the volumes.

                                                                            + *

                                                                            Default: Describes all your volumes.

                                                                            */ - VpcEndpoints?: VpcEndpoint[]; + VolumeIds?: string[]; /** - *

                                                                            The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                                            + *

                                                                            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.

                                                                            */ - NextToken?: string; + DryRun?: boolean; } -export namespace DescribeVpcEndpointsResult { +export namespace DescribeVolumeStatusRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVolumeStatusRequest): any => ({ ...obj, }); } -export interface DescribeVpcEndpointServiceConfigurationsRequest { - /** - *

                                                                            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; - +/** + *

                                                                            Describes a volume status operation code.

                                                                            + */ +export interface VolumeStatusAction { /** - *

                                                                            The IDs of one or more services.

                                                                            + *

                                                                            The code identifying the operation, for example, enable-volume-io.

                                                                            */ - ServiceIds?: string[]; + Code?: string; /** - *

                                                                            One or more filters.

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * service-name - The name of the service.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * service-id - The ID of the service.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * service-state - The state of the service (Pending | - * Available | Deleting | Deleted | - * Failed).

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                              - *
                                                                            • - *
                                                                            + *

                                                                            A description of the operation.

                                                                            */ - Filters?: Filter[]; + Description?: string; /** - *

                                                                            The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

                                                                            + *

                                                                            The ID of the event associated with this operation.

                                                                            */ - MaxResults?: number; + EventId?: string; /** - *

                                                                            The token to retrieve the next page of results.

                                                                            + *

                                                                            The event type associated with this operation.

                                                                            */ - NextToken?: string; + EventType?: string; } -export namespace DescribeVpcEndpointServiceConfigurationsRequest { +export namespace VolumeStatusAction { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServiceConfigurationsRequest): any => ({ + export const filterSensitiveLog = (obj: VolumeStatusAction): any => ({ ...obj, }); } -export interface DescribeVpcEndpointServiceConfigurationsResult { +/** + *

                                                                            Information about the instances to which the volume is attached.

                                                                            + */ +export interface VolumeStatusAttachmentStatus { /** - *

                                                                            Information about one or more services.

                                                                            + *

                                                                            The maximum IOPS supported by the attached instance.

                                                                            */ - ServiceConfigurations?: ServiceConfiguration[]; + IoPerformance?: string; /** - *

                                                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                            + *

                                                                            The ID of the attached instance.

                                                                            */ - NextToken?: string; + InstanceId?: string; } -export namespace DescribeVpcEndpointServiceConfigurationsResult { +export namespace VolumeStatusAttachmentStatus { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServiceConfigurationsResult): any => ({ + export const filterSensitiveLog = (obj: VolumeStatusAttachmentStatus): any => ({ ...obj, }); } -export interface DescribeVpcEndpointServicePermissionsRequest { +/** + *

                                                                            Describes a volume status event.

                                                                            + */ +export interface VolumeStatusEvent { /** - *

                                                                            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.

                                                                            + *

                                                                            A description of the event.

                                                                            */ - DryRun?: boolean; + Description?: string; /** - *

                                                                            The ID of the service.

                                                                            + *

                                                                            The ID of this event.

                                                                            */ - ServiceId: string | undefined; + EventId?: string; /** - *

                                                                            One or more filters.

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * principal - The ARN of the principal.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * principal-type - The principal type (All | - * Service | OrganizationUnit | Account - * | User | Role).

                                                                              - *
                                                                            • - *
                                                                            + *

                                                                            The type of this event.

                                                                            */ - Filters?: Filter[]; + EventType?: string; /** - *

                                                                            The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

                                                                            + *

                                                                            The latest end time of the event.

                                                                            */ - MaxResults?: number; + NotAfter?: Date; /** - *

                                                                            The token to retrieve the next page of results.

                                                                            + *

                                                                            The earliest start time of the event.

                                                                            */ - NextToken?: string; + NotBefore?: Date; + + /** + *

                                                                            The ID of the instance associated with the event.

                                                                            + */ + InstanceId?: string; } -export namespace DescribeVpcEndpointServicePermissionsRequest { +export namespace VolumeStatusEvent { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServicePermissionsRequest): any => ({ + export const filterSensitiveLog = (obj: VolumeStatusEvent): any => ({ ...obj, }); } -export interface DescribeVpcEndpointServicePermissionsResult { +export type VolumeStatusName = "io-enabled" | "io-performance"; + +/** + *

                                                                            Describes a volume status.

                                                                            + */ +export interface VolumeStatusDetails { /** - *

                                                                            Information about one or more allowed principals.

                                                                            + *

                                                                            The name of the volume status.

                                                                            */ - AllowedPrincipals?: AllowedPrincipal[]; + Name?: VolumeStatusName | string; /** - *

                                                                            The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                            + *

                                                                            The intended status of the volume status.

                                                                            */ - NextToken?: string; + Status?: string; } -export namespace DescribeVpcEndpointServicePermissionsResult { +export namespace VolumeStatusDetails { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServicePermissionsResult): any => ({ + export const filterSensitiveLog = (obj: VolumeStatusDetails): any => ({ ...obj, }); } +export type VolumeStatusInfoStatus = "impaired" | "insufficient-data" | "ok"; + /** - *

                                                                            Contains the parameters for DescribeVpcEndpointServices.

                                                                            + *

                                                                            Describes the status of a volume.

                                                                            */ -export interface DescribeVpcEndpointServicesRequest { - /** - *

                                                                            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; - - /** - *

                                                                            One or more service names.

                                                                            - */ - ServiceNames?: string[]; - - /** - *

                                                                            One or more filters.

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * service-name - The name of the service.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * service-type - The type of service (Interface | - * Gateway).

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                              - *
                                                                            • - *
                                                                            - */ - Filters?: Filter[]; - +export interface VolumeStatusInfo { /** - *

                                                                            The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                                            - *

                                                                            Constraint: If the value is greater than 1,000, we return only 1,000 items.

                                                                            + *

                                                                            The details of the volume status.

                                                                            */ - MaxResults?: number; + Details?: VolumeStatusDetails[]; /** - *

                                                                            The token for the next set of items to return. (You received this token from a prior call.)

                                                                            + *

                                                                            The status of the volume.

                                                                            */ - NextToken?: string; + Status?: VolumeStatusInfoStatus | string; } -export namespace DescribeVpcEndpointServicesRequest { +export namespace VolumeStatusInfo { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServicesRequest): any => ({ + export const filterSensitiveLog = (obj: VolumeStatusInfo): any => ({ ...obj, }); } /** - *

                                                                            Information about the Private DNS name for interface endpoints.

                                                                            + *

                                                                            Describes the volume status.

                                                                            */ -export interface PrivateDnsDetails { +export interface VolumeStatusItem { /** - *

                                                                            The private DNS name assigned to the VPC endpoint service.

                                                                            + *

                                                                            The details of the operation.

                                                                            */ - PrivateDnsName?: string; -} + Actions?: VolumeStatusAction[]; -export namespace PrivateDnsDetails { /** - * @internal + *

                                                                            The Availability Zone of the volume.

                                                                            */ - export const filterSensitiveLog = (obj: PrivateDnsDetails): any => ({ - ...obj, - }); -} + AvailabilityZone?: string; -/** - *

                                                                            Describes a VPC endpoint service.

                                                                            - */ -export interface ServiceDetail { /** - *

                                                                            The Amazon Resource Name (ARN) of the service.

                                                                            + *

                                                                            The Amazon Resource Name (ARN) of the Outpost.

                                                                            */ - ServiceName?: string; + OutpostArn?: string; /** - *

                                                                            The ID of the endpoint service.

                                                                            + *

                                                                            A list of events associated with the volume.

                                                                            */ - ServiceId?: string; + Events?: VolumeStatusEvent[]; /** - *

                                                                            The type of service.

                                                                            + *

                                                                            The volume ID.

                                                                            */ - ServiceType?: ServiceTypeDetail[]; + VolumeId?: string; /** - *

                                                                            The Availability Zones in which the service is available.

                                                                            + *

                                                                            The volume status.

                                                                            */ - AvailabilityZones?: string[]; + VolumeStatus?: VolumeStatusInfo; /** - *

                                                                            The AWS account ID of the service owner.

                                                                            + *

                                                                            Information about the instances to which the volume is attached.

                                                                            */ - Owner?: string; + AttachmentStatuses?: VolumeStatusAttachmentStatus[]; +} +export namespace VolumeStatusItem { /** - *

                                                                            The DNS names for the service.

                                                                            + * @internal */ - BaseEndpointDnsNames?: string[]; + export const filterSensitiveLog = (obj: VolumeStatusItem): any => ({ + ...obj, + }); +} +export interface DescribeVolumeStatusResult { /** - *

                                                                            The private DNS name for the service.

                                                                            + *

                                                                            The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

                                                                            */ - PrivateDnsName?: string; + NextToken?: string; /** - *

                                                                            The private DNS names assigned to the VPC endpoint service.

                                                                            + *

                                                                            Information about the status of the volumes.

                                                                            */ - PrivateDnsNames?: PrivateDnsDetails[]; + VolumeStatuses?: VolumeStatusItem[]; +} +export namespace DescribeVolumeStatusResult { /** - *

                                                                            Indicates whether the service supports endpoint policies.

                                                                            + * @internal */ - VpcEndpointPolicySupported?: boolean; + export const filterSensitiveLog = (obj: DescribeVolumeStatusResult): any => ({ + ...obj, + }); +} - /** - *

                                                                            Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

                                                                            - */ - AcceptanceRequired?: boolean; +export type VpcAttributeName = "enableDnsHostnames" | "enableDnsSupport"; +export interface DescribeVpcAttributeRequest { /** - *

                                                                            Indicates whether the service manages its VPC endpoints. Management of the service VPC - * endpoints using the VPC endpoint API is restricted.

                                                                            + *

                                                                            The VPC attribute.

                                                                            */ - ManagesVpcEndpoints?: boolean; + Attribute: VpcAttributeName | string | undefined; /** - *

                                                                            Any tags assigned to the service.

                                                                            + *

                                                                            The ID of the VPC.

                                                                            */ - Tags?: Tag[]; + VpcId: string | undefined; /** - *

                                                                            The verification state of the VPC endpoint service.

                                                                            - *

                                                                            Consumers of the endpoint service cannot use the private name when the state is not verified.

                                                                            + *

                                                                            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.

                                                                            */ - PrivateDnsNameVerificationState?: DnsNameState | string; + DryRun?: boolean; } -export namespace ServiceDetail { +export namespace DescribeVpcAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ServiceDetail): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcAttributeRequest): any => ({ ...obj, }); } -/** - *

                                                                            Contains the output of DescribeVpcEndpointServices.

                                                                            - */ -export interface DescribeVpcEndpointServicesResult { +export interface DescribeVpcAttributeResult { /** - *

                                                                            A list of supported services.

                                                                            + *

                                                                            The ID of the VPC.

                                                                            */ - ServiceNames?: string[]; + VpcId?: string; /** - *

                                                                            Information about the service.

                                                                            + *

                                                                            Indicates whether the instances launched in the VPC get DNS hostnames. + * If this attribute is true, instances in the VPC get DNS hostnames; + * otherwise, they do not.

                                                                            */ - ServiceDetails?: ServiceDetail[]; + EnableDnsHostnames?: AttributeBooleanValue; /** - *

                                                                            The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                                            + *

                                                                            Indicates whether DNS resolution is enabled for + * the VPC. If this attribute is true, the Amazon DNS server + * resolves DNS hostnames for your instances to their corresponding + * IP addresses; otherwise, it does not.

                                                                            */ - NextToken?: string; + EnableDnsSupport?: AttributeBooleanValue; } -export namespace DescribeVpcEndpointServicesResult { +export namespace DescribeVpcAttributeResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcEndpointServicesResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcAttributeResult): any => ({ ...obj, }); } -export interface DescribeVpcPeeringConnectionsRequest { +export interface DescribeVpcClassicLinkRequest { /** *

                                                                            One or more filters.

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter - * VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * accepter-vpc-info.owner-id - The AWS account ID of the owner of the - * accepter VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * accepter-vpc-info.vpc-id - The ID of the accepter VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * expiration-time - The expiration date and time for the VPC peering - * connection.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * requester-vpc-info.cidr-block - The IPv4 CIDR block of the - * requester's VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * requester-vpc-info.owner-id - The AWS account ID of the owner of the - * requester VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * requester-vpc-info.vpc-id - The ID of the requester VPC.

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * status-code - The status of the VPC peering connection - * (pending-acceptance | failed | - * expired | provisioning | active | - * deleting | deleted | - * rejected).

                                                                              - *
                                                                            • + *
                                                                                *
                                                                              • - *

                                                                                - * status-message - A message that provides more information about the status - * of the VPC peering connection, if applicable.

                                                                                - *
                                                                              • + *

                                                                                + * is-classic-link-enabled - Whether the VPC is enabled for ClassicLink + * (true | false).

                                                                                + * *
                                                                              • - *

                                                                                + *

                                                                                * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                - *
                                                                              • + * *
                                                                              • - *

                                                                                + *

                                                                                * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * vpc-peering-connection-id - The ID of the VPC peering connection.

                                                                                - *
                                                                              • + * *
                                                                              */ Filters?: Filter[]; @@ -12217,374 +12230,457 @@ export interface DescribeVpcPeeringConnectionsRequest { DryRun?: boolean; /** - *

                                                                              One or more VPC peering connection IDs.

                                                                              - *

                                                                              Default: Describes all your VPC peering connections.

                                                                              + *

                                                                              One or more VPCs for which you want to describe the ClassicLink status.

                                                                              + */ + VpcIds?: string[]; +} + +export namespace DescribeVpcClassicLinkRequest { + /** + * @internal */ - VpcPeeringConnectionIds?: string[]; + export const filterSensitiveLog = (obj: DescribeVpcClassicLinkRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                              Describes whether a VPC is enabled for ClassicLink.

                                                                              + */ +export interface VpcClassicLink { /** - *

                                                                              The token for the next page of results.

                                                                              + *

                                                                              Indicates whether the VPC is enabled for ClassicLink.

                                                                              */ - NextToken?: string; + ClassicLinkEnabled?: boolean; + + /** + *

                                                                              Any tags assigned to the VPC.

                                                                              + */ + Tags?: Tag[]; + + /** + *

                                                                              The ID of the VPC.

                                                                              + */ + VpcId?: string; +} + +export namespace VpcClassicLink { + /** + * @internal + */ + export const filterSensitiveLog = (obj: VpcClassicLink): any => ({ + ...obj, + }); +} + +export interface DescribeVpcClassicLinkResult { + /** + *

                                                                              The ClassicLink status of one or more VPCs.

                                                                              + */ + Vpcs?: VpcClassicLink[]; +} + +export namespace DescribeVpcClassicLinkResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeVpcClassicLinkResult): any => ({ + ...obj, + }); +} +export interface DescribeVpcClassicLinkDnsSupportRequest { /** *

                                                                              The maximum number of results to return with a single call. * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                              */ MaxResults?: number; + + /** + *

                                                                              The token for the next page of results.

                                                                              + */ + NextToken?: string; + + /** + *

                                                                              One or more VPC IDs.

                                                                              + */ + VpcIds?: string[]; } -export namespace DescribeVpcPeeringConnectionsRequest { +export namespace DescribeVpcClassicLinkDnsSupportRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcPeeringConnectionsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcClassicLinkDnsSupportRequest): any => ({ ...obj, }); } -export interface DescribeVpcPeeringConnectionsResult { +/** + *

                                                                              Describes the ClassicLink DNS support status of a VPC.

                                                                              + */ +export interface ClassicLinkDnsSupport { /** - *

                                                                              Information about the VPC peering connections.

                                                                              + *

                                                                              Indicates whether ClassicLink DNS support is enabled for the VPC.

                                                                              */ - VpcPeeringConnections?: VpcPeeringConnection[]; + ClassicLinkDnsSupported?: boolean; /** - *

                                                                              The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                              + *

                                                                              The ID of the VPC.

                                                                              */ - NextToken?: string; + VpcId?: string; } -export namespace DescribeVpcPeeringConnectionsResult { +export namespace ClassicLinkDnsSupport { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcPeeringConnectionsResult): any => ({ + export const filterSensitiveLog = (obj: ClassicLinkDnsSupport): any => ({ ...obj, }); } -export interface DescribeVpcsRequest { +export interface DescribeVpcClassicLinkDnsSupportResult { /** - *

                                                                              One or more filters.

                                                                              - *
                                                                                - *
                                                                              • - *

                                                                                - * cidr - The primary IPv4 CIDR block of the VPC. The CIDR block you - * specify must exactly match the VPC's CIDR block for information to be returned - * for the VPC. Must contain the slash followed by one or two digits (for example, - * /28).

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * cidr-block-association.cidr-block - An IPv4 CIDR block associated with the - * VPC.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * cidr-block-association.association-id - The association ID for - * an IPv4 CIDR block associated with the VPC.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * cidr-block-association.state - The state of an IPv4 CIDR block - * associated with the VPC.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * dhcp-options-id - The ID of a set of DHCP options.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR - * block associated with the VPC.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * ipv6-cidr-block-association.ipv6-pool - The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * ipv6-cidr-block-association.association-id - The association - * ID for an IPv6 CIDR block associated with the VPC.

                                                                                - *
                                                                              • - *
                                                                              • - *

                                                                                - * ipv6-cidr-block-association.state - The state of an IPv6 CIDR - * block associated with the VPC.

                                                                                - *
                                                                              • + *

                                                                                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; + + /** + *

                                                                                Information about the ClassicLink DNS support status of the VPCs.

                                                                                + */ + Vpcs?: ClassicLinkDnsSupport[]; +} + +export namespace DescribeVpcClassicLinkDnsSupportResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeVpcClassicLinkDnsSupportResult): any => ({ + ...obj, + }); +} + +export interface DescribeVpcEndpointConnectionNotificationsRequest { + /** + *

                                                                                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; + + /** + *

                                                                                The ID of the notification.

                                                                                + */ + ConnectionNotificationId?: string; + + /** + *

                                                                                One or more filters.

                                                                                + *
                                                                                  *
                                                                                • *

                                                                                  - * isDefault - Indicates whether the VPC is the default VPC.

                                                                                  + * connection-notification-arn - The ARN of the SNS topic for the + * notification.

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  - * owner-id - The ID of the AWS account that owns the VPC.

                                                                                  + * connection-notification-id - The ID of the + * notification.

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  - * state - The state of the VPC (pending | available).

                                                                                  + * connection-notification-state - The state of the notification + * (Enabled | Disabled).

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                  + * connection-notification-type - The type of notification + * (Topic).

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                  + * service-id - The ID of the endpoint service.

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  - * vpc-id - The ID of the VPC.

                                                                                  + * vpc-endpoint-id - The ID of the VPC endpoint.

                                                                                  *
                                                                                • *
                                                                                */ Filters?: Filter[]; /** - *

                                                                                One or more VPC IDs.

                                                                                - *

                                                                                Default: Describes all your VPCs.

                                                                                - */ - VpcIds?: string[]; - - /** - *

                                                                                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.

                                                                                + *

                                                                                The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value.

                                                                                */ - DryRun?: boolean; + MaxResults?: number; /** - *

                                                                                The token for the next page of results.

                                                                                + *

                                                                                The token to request the next page of results.

                                                                                */ NextToken?: string; - - /** - *

                                                                                The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                - */ - MaxResults?: number; } -export namespace DescribeVpcsRequest { +export namespace DescribeVpcEndpointConnectionNotificationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionNotificationsRequest): any => ({ ...obj, }); } -export interface DescribeVpcsResult { +export interface DescribeVpcEndpointConnectionNotificationsResult { /** - *

                                                                                Information about one or more VPCs.

                                                                                + *

                                                                                One or more notifications.

                                                                                */ - Vpcs?: Vpc[]; + ConnectionNotificationSet?: ConnectionNotification[]; /** - *

                                                                                The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                + *

                                                                                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 DescribeVpcsResult { +export namespace DescribeVpcEndpointConnectionNotificationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpcsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionNotificationsResult): any => ({ ...obj, }); } -/** - *

                                                                                Contains the parameters for DescribeVpnConnections.

                                                                                - */ -export interface DescribeVpnConnectionsRequest { +export interface DescribeVpcEndpointConnectionsRequest { + /** + *

                                                                                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; + /** *

                                                                                One or more filters.

                                                                                - *
                                                                                  - *
                                                                                • - *

                                                                                  - * customer-gateway-configuration - The configuration information for the customer gateway.

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * customer-gateway-id - The ID of a customer gateway associated with the VPN connection.

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * state - The state of the VPN connection (pending | available | deleting | deleted).

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * option.static-routes-only - Indicates whether the connection has static routes only. Used for devices that do not support Border Gateway Protocol (BGP).

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * route.destination-cidr-block - The destination CIDR block. This corresponds to the subnet used in a customer data center.

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * bgp-asn - The BGP Autonomous System Number (ASN) associated with a BGP device.

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                  - *
                                                                                • + *
                                                                                    *
                                                                                  • *

                                                                                    - * type - The type of VPN connection. Currently the only supported type is ipsec.1.

                                                                                    + * service-id - The ID of the service.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    - * vpn-connection-id - The ID of the VPN connection.

                                                                                    + *

                                                                                    + * vpc-endpoint-owner - The AWS account number of the owner of the + * endpoint.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    - * vpn-gateway-id - The ID of a virtual private gateway associated with the VPN connection.

                                                                                    - *
                                                                                  • + *

                                                                                    + * vpc-endpoint-state - The state of the endpoint + * (pendingAcceptance | pending | + * available | deleting | deleted | + * rejected | failed).

                                                                                    + * *
                                                                                  • - *

                                                                                    - * transit-gateway-id - The ID of a transit gateway associated with the VPN connection.

                                                                                    - *
                                                                                  • + *

                                                                                    + * vpc-endpoint-id - The ID of the endpoint.

                                                                                    + * *
                                                                                  */ Filters?: Filter[]; /** - *

                                                                                  One or more VPN connection IDs.

                                                                                  - *

                                                                                  Default: Describes your VPN connections.

                                                                                  + *

                                                                                  The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

                                                                                  */ - VpnConnectionIds?: string[]; + MaxResults?: number; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The token to retrieve the next page of results.

                                                                                  */ - DryRun?: boolean; + NextToken?: string; } -export namespace DescribeVpnConnectionsRequest { +export namespace DescribeVpcEndpointConnectionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpnConnectionsRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionsRequest): any => ({ ...obj, }); } /** - *

                                                                                  Contains the output of DescribeVpnConnections.

                                                                                  + *

                                                                                  Describes a VPC endpoint connection to a service.

                                                                                  */ -export interface DescribeVpnConnectionsResult { +export interface VpcEndpointConnection { + /** + *

                                                                                  The ID of the service to which the endpoint is connected.

                                                                                  + */ + ServiceId?: string; + + /** + *

                                                                                  The ID of the VPC endpoint.

                                                                                  + */ + VpcEndpointId?: string; + + /** + *

                                                                                  The AWS account ID of the owner of the VPC endpoint.

                                                                                  + */ + VpcEndpointOwner?: string; + + /** + *

                                                                                  The state of the VPC endpoint.

                                                                                  + */ + VpcEndpointState?: State | string; + + /** + *

                                                                                  The date and time that the VPC endpoint was created.

                                                                                  + */ + CreationTimestamp?: Date; + + /** + *

                                                                                  The DNS entries for the VPC endpoint.

                                                                                  + */ + DnsEntries?: DnsEntry[]; + + /** + *

                                                                                  The Amazon Resource Names (ARNs) of the network load balancers for the service.

                                                                                  + */ + NetworkLoadBalancerArns?: string[]; + + /** + *

                                                                                  The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

                                                                                  + */ + GatewayLoadBalancerArns?: string[]; +} + +export namespace VpcEndpointConnection { /** - *

                                                                                  Information about one or more VPN connections.

                                                                                  + * @internal + */ + export const filterSensitiveLog = (obj: VpcEndpointConnection): any => ({ + ...obj, + }); +} + +export interface DescribeVpcEndpointConnectionsResult { + /** + *

                                                                                  Information about one or more VPC endpoint connections.

                                                                                  + */ + VpcEndpointConnections?: VpcEndpointConnection[]; + + /** + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - VpnConnections?: VpnConnection[]; + NextToken?: string; } -export namespace DescribeVpnConnectionsResult { +export namespace DescribeVpcEndpointConnectionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpnConnectionsResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointConnectionsResult): any => ({ ...obj, }); } /** - *

                                                                                  Contains the parameters for DescribeVpnGateways.

                                                                                  + *

                                                                                  Contains the parameters for DescribeVpcEndpoints.

                                                                                  */ -export interface DescribeVpnGatewaysRequest { +export interface DescribeVpcEndpointsRequest { + /** + *

                                                                                  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; + + /** + *

                                                                                  One or more endpoint IDs.

                                                                                  + */ + VpcEndpointIds?: string[]; + /** *

                                                                                  One or more filters.

                                                                                  *
                                                                                    *
                                                                                  • - *

                                                                                    - * amazon-side-asn - The Autonomous System Number (ASN) for the Amazon side of the gateway.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * attachment.state - The current state of the attachment between the gateway and the VPC (attaching | attached | detaching | detached).

                                                                                    - *
                                                                                  • - *
                                                                                  • *

                                                                                    - * attachment.vpc-id - The ID of an attached VPC.

                                                                                    + * service-name - The name of the service.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * availability-zone - The Availability Zone for the virtual private gateway (if applicable).

                                                                                    + * vpc-id - The ID of the VPC in which the endpoint resides.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * state - The state of the virtual private gateway (pending | available | deleting | deleted).

                                                                                    + * vpc-endpoint-id - The ID of the endpoint.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + * vpc-endpoint-state - The state of the endpoint + * (pendingAcceptance | pending | + * available | deleting | deleted | + * rejected | failed).

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    - * type - The type of virtual private gateway. Currently the only supported type is ipsec.1.

                                                                                    - *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + * *
                                                                                  • - *

                                                                                    - * vpn-gateway-id - The ID of the virtual private gateway.

                                                                                    - *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + * *
                                                                                  */ Filters?: Filter[]; /** - *

                                                                                  One or more virtual private gateway IDs.

                                                                                  - *

                                                                                  Default: Describes all your virtual private gateways.

                                                                                  + *

                                                                                  The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                                                  + *

                                                                                  Constraint: If the value is greater than 1,000, we return only 1,000 items.

                                                                                  */ - VpnGatewayIds?: string[]; + MaxResults?: number; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The token for the next set of items to return. (You received this token from a prior call.)

                                                                                  */ - DryRun?: boolean; + NextToken?: string; } -export namespace DescribeVpnGatewaysRequest { +export namespace DescribeVpcEndpointsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpnGatewaysRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointsRequest): any => ({ ...obj, }); } /** - *

                                                                                  Contains the output of DescribeVpnGateways.

                                                                                  + *

                                                                                  Contains the output of DescribeVpcEndpoints.

                                                                                  */ -export interface DescribeVpnGatewaysResult { +export interface DescribeVpcEndpointsResult { + /** + *

                                                                                  Information about the endpoints.

                                                                                  + */ + VpcEndpoints?: VpcEndpoint[]; + /** - *

                                                                                  Information about one or more virtual private gateways.

                                                                                  + *

                                                                                  The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                                                  */ - VpnGateways?: VpnGateway[]; + NextToken?: string; } -export namespace DescribeVpnGatewaysResult { +export namespace DescribeVpcEndpointsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DescribeVpnGatewaysResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointsResult): any => ({ ...obj, }); } diff --git a/clients/client-ec2/models/models_4.ts b/clients/client-ec2/models/models_4.ts index 46051b796c2fd..e6a2cb1308970 100644 --- a/clients/client-ec2/models/models_4.ts +++ b/clients/client-ec2/models/models_4.ts @@ -2,15 +2,12 @@ import { AddPrefixListEntry, AddressAttribute, Affinity, + AllowedPrincipal, ApplianceModeSupportValue, AssociationStatus, AttributeValue, AutoPlacement, - BlockDeviceMapping, - ByoipCidr, - CapacityReservationPreference, CapacityReservationState, - CapacityReservationTarget, ClientConnectOptions, ConnectionLogOptions, CurrencyCodeValues, @@ -21,6 +18,8 @@ import { FleetLaunchTemplateConfigRequest, HostRecovery, IamInstanceProfileAssociation, + InstanceEventWindow, + InstanceEventWindowTimeRangeRequest, Ipv6SupportValue, Placement, PlatformValues, @@ -38,14 +37,19 @@ import { TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeType, + Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, + VpcPeeringConnection, _InstanceType, } from "./models_0"; import { AutoAcceptSharedAttachmentsValue, + CapacityReservationPreference, + CapacityReservationTarget, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, + DnsNameState, IKEVersionsRequestListValue, LaunchTemplate, ManagedPrefixList, @@ -56,6 +60,8 @@ import { Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, ResponseLaunchTemplateData, + ServiceConfiguration, + ServiceTypeDetail, ShutdownBehavior, TrafficDirection, TrafficMirrorFilter, @@ -68,11 +74,11 @@ import { TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, + VpnGateway, } from "./models_1"; import { ArchitectureValues, AttributeBooleanValue, - BootModeValues, ConversionTask, ExportTaskS3Location, FastSnapshotRestoreStateCode, @@ -83,11 +89,7 @@ import { ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, - InstanceMetadataOptionsResponse, - InstanceStatusEvent, - InstanceTagNotificationAttribute, LaunchPermission, - Monitoring, PaymentOption, PermissionGroup, SnapshotDetail, @@ -96,15 +98,17 @@ import { import { CreateVolumePermission, ExcessCapacityTerminationPolicy, + InstanceMetadataOptionsResponse, + InstanceStatusEvent, LaunchTemplateConfig, + Monitoring, ReservedInstancesConfiguration, - ScheduledInstance, SnapshotAttributeName, VolumeModification, } from "./models_3"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; -export interface DetachClassicLinkVpcRequest { +export interface DescribeVpcEndpointServiceConfigurationsRequest { /** *

                                                                                  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. @@ -113,617 +117,797 @@ export interface DetachClassicLinkVpcRequest { DryRun?: boolean; /** - *

                                                                                  The ID of the instance to unlink from the VPC.

                                                                                  + *

                                                                                  The IDs of one or more services.

                                                                                  */ - InstanceId: string | undefined; + ServiceIds?: string[]; /** - *

                                                                                  The ID of the VPC to which the instance is linked.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * service-name - The name of the service.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * service-id - The ID of the service.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * service-state - The state of the service (Pending | + * Available | Deleting | Deleted | + * Failed).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - VpcId: string | undefined; -} + Filters?: Filter[]; -export namespace DetachClassicLinkVpcRequest { /** - * @internal + *

                                                                                  The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

                                                                                  */ - export const filterSensitiveLog = (obj: DetachClassicLinkVpcRequest): any => ({ - ...obj, - }); -} + MaxResults?: number; -export interface DetachClassicLinkVpcResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The token to retrieve the next page of results.

                                                                                  */ - Return?: boolean; + NextToken?: string; } -export namespace DetachClassicLinkVpcResult { +export namespace DescribeVpcEndpointServiceConfigurationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DetachClassicLinkVpcResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointServiceConfigurationsRequest): any => ({ ...obj, }); } -export interface DetachInternetGatewayRequest { - /** - *

                                                                                  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; - +export interface DescribeVpcEndpointServiceConfigurationsResult { /** - *

                                                                                  The ID of the internet gateway.

                                                                                  + *

                                                                                  Information about one or more services.

                                                                                  */ - InternetGatewayId: string | undefined; + ServiceConfigurations?: ServiceConfiguration[]; /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - VpcId: string | undefined; + NextToken?: string; } -export namespace DetachInternetGatewayRequest { +export namespace DescribeVpcEndpointServiceConfigurationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DetachInternetGatewayRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointServiceConfigurationsResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains the parameters for DetachNetworkInterface.

                                                                                  - */ -export interface DetachNetworkInterfaceRequest { - /** - *

                                                                                  The ID of the attachment.

                                                                                  - */ - AttachmentId: string | undefined; - +export interface DescribeVpcEndpointServicePermissionsRequest { /** *

                                                                                  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.

                                                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; /** - *

                                                                                  Specifies whether to force a detachment.

                                                                                  - * - *
                                                                                    - *
                                                                                  • - *

                                                                                    Use the Force parameter only as a last resort to detach a network interface from a failed instance.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    If you force the detachment of a network interface, the instance metadata - * might not get updated. This means that the attributes associated - * with the detached network interface might still be visible. The - * instance metadata will get updated when you stop and start the - * instance.

                                                                                    - *
                                                                                  • - *
                                                                                  - *
                                                                                  + *

                                                                                  The ID of the service.

                                                                                  */ - Force?: boolean; -} + ServiceId: string | undefined; -export namespace DetachNetworkInterfaceRequest { /** - * @internal + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * principal - The ARN of the principal.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * principal-type - The principal type (All | + * Service | OrganizationUnit | Account + * | User | Role).

                                                                                    + *
                                                                                  • + *
                                                                                  */ - export const filterSensitiveLog = (obj: DetachNetworkInterfaceRequest): any => ({ - ...obj, - }); -} + Filters?: Filter[]; -export interface DetachVolumeRequest { /** - *

                                                                                  The device name.

                                                                                  + *

                                                                                  The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

                                                                                  */ - Device?: string; + MaxResults?: number; /** - *

                                                                                  Forces detachment if the previous detachment attempt did not occur cleanly (for example, - * logging into an instance, unmounting the volume, and detaching normally). This option can lead - * to data loss or a corrupted file system. Use this option only as a last resort to detach a - * volume from a failed instance. The instance won't have an opportunity to flush file system - * caches or file system metadata. If you use this option, you must perform file system check and - * repair procedures.

                                                                                  + *

                                                                                  The token to retrieve the next page of results.

                                                                                  */ - Force?: boolean; + NextToken?: string; +} +export namespace DescribeVpcEndpointServicePermissionsRequest { /** - *

                                                                                  The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

                                                                                  + * @internal */ - InstanceId?: string; + export const filterSensitiveLog = (obj: DescribeVpcEndpointServicePermissionsRequest): any => ({ + ...obj, + }); +} +export interface DescribeVpcEndpointServicePermissionsResult { /** - *

                                                                                  The ID of the volume.

                                                                                  + *

                                                                                  Information about one or more allowed principals.

                                                                                  */ - VolumeId: string | undefined; + AllowedPrincipals?: AllowedPrincipal[]; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - DryRun?: boolean; + NextToken?: string; } -export namespace DetachVolumeRequest { +export namespace DescribeVpcEndpointServicePermissionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DetachVolumeRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointServicePermissionsResult): any => ({ ...obj, }); } /** - *

                                                                                  Contains the parameters for DetachVpnGateway.

                                                                                  + *

                                                                                  Contains the parameters for DescribeVpcEndpointServices.

                                                                                  */ -export interface DetachVpnGatewayRequest { +export interface DescribeVpcEndpointServicesRequest { /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  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.

                                                                                  */ - VpcId: string | undefined; + DryRun?: boolean; /** - *

                                                                                  The ID of the virtual private gateway.

                                                                                  + *

                                                                                  One or more service names.

                                                                                  */ - VpnGatewayId: string | undefined; + ServiceNames?: string[]; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * service-name - The name of the service.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * service-type - The type of service (Interface | + * Gateway).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - DryRun?: boolean; -} + Filters?: Filter[]; -export namespace DetachVpnGatewayRequest { /** - * @internal + *

                                                                                  The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

                                                                                  + *

                                                                                  Constraint: If the value is greater than 1,000, we return only 1,000 items.

                                                                                  */ - export const filterSensitiveLog = (obj: DetachVpnGatewayRequest): any => ({ - ...obj, - }); -} + MaxResults?: number; -export interface DisableEbsEncryptionByDefaultRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The token for the next set of items to return. (You received this token from a prior call.)

                                                                                  */ - DryRun?: boolean; + NextToken?: string; } -export namespace DisableEbsEncryptionByDefaultRequest { +export namespace DescribeVpcEndpointServicesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableEbsEncryptionByDefaultRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointServicesRequest): any => ({ ...obj, }); } -export interface DisableEbsEncryptionByDefaultResult { +/** + *

                                                                                  Information about the Private DNS name for interface endpoints.

                                                                                  + */ +export interface PrivateDnsDetails { /** - *

                                                                                  The updated status of encryption by default.

                                                                                  + *

                                                                                  The private DNS name assigned to the VPC endpoint service.

                                                                                  */ - EbsEncryptionByDefault?: boolean; + PrivateDnsName?: string; } -export namespace DisableEbsEncryptionByDefaultResult { +export namespace PrivateDnsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: DisableEbsEncryptionByDefaultResult): any => ({ + export const filterSensitiveLog = (obj: PrivateDnsDetails): any => ({ ...obj, }); } -export interface DisableFastSnapshotRestoresRequest { - /** - *

                                                                                  One or more Availability Zones. For example, us-east-2a.

                                                                                  - */ - AvailabilityZones: string[] | undefined; - - /** - *

                                                                                  The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

                                                                                  - */ - SourceSnapshotIds: string[] | undefined; - +/** + *

                                                                                  Describes a VPC endpoint service.

                                                                                  + */ +export interface ServiceDetail { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the service.

                                                                                  */ - DryRun?: boolean; -} + ServiceName?: string; -export namespace DisableFastSnapshotRestoresRequest { /** - * @internal + *

                                                                                  The ID of the endpoint service.

                                                                                  */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoresRequest): any => ({ - ...obj, - }); -} + ServiceId?: string; -/** - *

                                                                                  Describes fast snapshot restores that were successfully disabled.

                                                                                  - */ -export interface DisableFastSnapshotRestoreSuccessItem { /** - *

                                                                                  The ID of the snapshot.

                                                                                  + *

                                                                                  The type of service.

                                                                                  */ - SnapshotId?: string; + ServiceType?: ServiceTypeDetail[]; /** - *

                                                                                  The Availability Zone.

                                                                                  + *

                                                                                  The Availability Zones in which the service is available.

                                                                                  */ - AvailabilityZone?: string; + AvailabilityZones?: string[]; /** - *

                                                                                  The state of fast snapshot restores for the snapshot.

                                                                                  + *

                                                                                  The AWS account ID of the service owner.

                                                                                  */ - State?: FastSnapshotRestoreStateCode | string; + Owner?: string; /** - *

                                                                                  The reason for the state transition. The possible values are as follows:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * Client.UserInitiated - The state successfully transitioned to enabling or - * disabling.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned - * to optimizing, enabled, or disabled.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The DNS names for the service.

                                                                                  */ - StateTransitionReason?: string; + BaseEndpointDnsNames?: string[]; /** - *

                                                                                  The ID of the AWS account that enabled fast snapshot restores on the snapshot.

                                                                                  + *

                                                                                  The private DNS name for the service.

                                                                                  */ - OwnerId?: string; + PrivateDnsName?: string; /** - *

                                                                                  The AWS owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

                                                                                  + *

                                                                                  The private DNS names assigned to the VPC endpoint service.

                                                                                  */ - OwnerAlias?: string; + PrivateDnsNames?: PrivateDnsDetails[]; /** - *

                                                                                  The time at which fast snapshot restores entered the enabling state.

                                                                                  + *

                                                                                  Indicates whether the service supports endpoint policies.

                                                                                  */ - EnablingTime?: Date; + VpcEndpointPolicySupported?: boolean; /** - *

                                                                                  The time at which fast snapshot restores entered the optimizing state.

                                                                                  + *

                                                                                  Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

                                                                                  */ - OptimizingTime?: Date; + AcceptanceRequired?: boolean; /** - *

                                                                                  The time at which fast snapshot restores entered the enabled state.

                                                                                  + *

                                                                                  Indicates whether the service manages its VPC endpoints. Management of the service VPC + * endpoints using the VPC endpoint API is restricted.

                                                                                  */ - EnabledTime?: Date; + ManagesVpcEndpoints?: boolean; /** - *

                                                                                  The time at which fast snapshot restores entered the disabling state.

                                                                                  + *

                                                                                  Any tags assigned to the service.

                                                                                  */ - DisablingTime?: Date; + Tags?: Tag[]; /** - *

                                                                                  The time at which fast snapshot restores entered the disabled state.

                                                                                  + *

                                                                                  The verification state of the VPC endpoint service.

                                                                                  + *

                                                                                  Consumers of the endpoint service cannot use the private name when the state is not verified.

                                                                                  */ - DisabledTime?: Date; + PrivateDnsNameVerificationState?: DnsNameState | string; } -export namespace DisableFastSnapshotRestoreSuccessItem { +export namespace ServiceDetail { /** * @internal */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreSuccessItem): any => ({ + export const filterSensitiveLog = (obj: ServiceDetail): any => ({ ...obj, }); } /** - *

                                                                                  Describes an error that occurred when disabling fast snapshot restores.

                                                                                  + *

                                                                                  Contains the output of DescribeVpcEndpointServices.

                                                                                  */ -export interface DisableFastSnapshotRestoreStateError { +export interface DescribeVpcEndpointServicesResult { /** - *

                                                                                  The error code.

                                                                                  + *

                                                                                  A list of supported services.

                                                                                  */ - Code?: string; + ServiceNames?: string[]; /** - *

                                                                                  The error message.

                                                                                  + *

                                                                                  Information about the service.

                                                                                  */ - Message?: string; + ServiceDetails?: ServiceDetail[]; + + /** + *

                                                                                  The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

                                                                                  + */ + NextToken?: string; } -export namespace DisableFastSnapshotRestoreStateError { +export namespace DescribeVpcEndpointServicesResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreStateError): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcEndpointServicesResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains information about an error that occurred when disabling fast snapshot restores.

                                                                                  - */ -export interface DisableFastSnapshotRestoreStateErrorItem { +export interface DescribeVpcPeeringConnectionsRequest { /** - *

                                                                                  The Availability Zone.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter + * VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * accepter-vpc-info.owner-id - The AWS account ID of the owner of the + * accepter VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * accepter-vpc-info.vpc-id - The ID of the accepter VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * expiration-time - The expiration date and time for the VPC peering + * connection.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * requester-vpc-info.cidr-block - The IPv4 CIDR block of the + * requester's VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * requester-vpc-info.owner-id - The AWS account ID of the owner of the + * requester VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * requester-vpc-info.vpc-id - The ID of the requester VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * status-code - The status of the VPC peering connection + * (pending-acceptance | failed | + * expired | provisioning | active | + * deleting | deleted | + * rejected).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * status-message - A message that provides more information about the status + * of the VPC peering connection, if applicable.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * vpc-peering-connection-id - The ID of the VPC peering connection.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - AvailabilityZone?: string; + Filters?: Filter[]; /** - *

                                                                                  The error.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Error?: DisableFastSnapshotRestoreStateError; -} + DryRun?: boolean; -export namespace DisableFastSnapshotRestoreStateErrorItem { /** - * @internal + *

                                                                                  One or more VPC peering connection IDs.

                                                                                  + *

                                                                                  Default: Describes all your VPC peering connections.

                                                                                  */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreStateErrorItem): any => ({ - ...obj, - }); -} + VpcPeeringConnectionIds?: string[]; -/** - *

                                                                                  Contains information about the errors that occurred when disabling fast snapshot restores.

                                                                                  - */ -export interface DisableFastSnapshotRestoreErrorItem { /** - *

                                                                                  The ID of the snapshot.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - SnapshotId?: string; + NextToken?: string; /** - *

                                                                                  The errors.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - FastSnapshotRestoreStateErrors?: DisableFastSnapshotRestoreStateErrorItem[]; + MaxResults?: number; } -export namespace DisableFastSnapshotRestoreErrorItem { +export namespace DescribeVpcPeeringConnectionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreErrorItem): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcPeeringConnectionsRequest): any => ({ ...obj, }); } -export interface DisableFastSnapshotRestoresResult { +export interface DescribeVpcPeeringConnectionsResult { /** - *

                                                                                  Information about the snapshots for which fast snapshot restores were successfully disabled.

                                                                                  + *

                                                                                  Information about the VPC peering connections.

                                                                                  */ - Successful?: DisableFastSnapshotRestoreSuccessItem[]; + VpcPeeringConnections?: VpcPeeringConnection[]; /** - *

                                                                                  Information about the snapshots for which fast snapshot restores could not be disabled.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - Unsuccessful?: DisableFastSnapshotRestoreErrorItem[]; + NextToken?: string; } -export namespace DisableFastSnapshotRestoresResult { +export namespace DescribeVpcPeeringConnectionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisableFastSnapshotRestoresResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcPeeringConnectionsResult): any => ({ ...obj, }); } -export interface DisableImageDeprecationRequest { +export interface DescribeVpcsRequest { /** - *

                                                                                  The ID of the AMI.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * cidr - The primary IPv4 CIDR block of the VPC. The CIDR block you + * specify must exactly match the VPC's CIDR block for information to be returned + * for the VPC. Must contain the slash followed by one or two digits (for example, + * /28).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * cidr-block-association.cidr-block - An IPv4 CIDR block associated with the + * VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * cidr-block-association.association-id - The association ID for + * an IPv4 CIDR block associated with the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * cidr-block-association.state - The state of an IPv4 CIDR block + * associated with the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * dhcp-options-id - The ID of a set of DHCP options.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR + * block associated with the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * ipv6-cidr-block-association.ipv6-pool - The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * ipv6-cidr-block-association.association-id - The association + * ID for an IPv6 CIDR block associated with the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * ipv6-cidr-block-association.state - The state of an IPv6 CIDR + * block associated with the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * isDefault - Indicates whether the VPC is the default VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * owner-id - The ID of the AWS account that owns the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * state - The state of the VPC (pending | available).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * vpc-id - The ID of the VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - ImageId: string | undefined; + Filters?: Filter[]; + + /** + *

                                                                                  One or more VPC IDs.

                                                                                  + *

                                                                                  Default: Describes all your VPCs.

                                                                                  + */ + VpcIds?: string[]; /** *

                                                                                  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.

                                                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; -} -export namespace DisableImageDeprecationRequest { /** - * @internal + *

                                                                                  The token for the next page of results.

                                                                                  */ - export const filterSensitiveLog = (obj: DisableImageDeprecationRequest): any => ({ - ...obj, - }); -} + NextToken?: string; -export interface DisableImageDeprecationResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - Return?: boolean; + MaxResults?: number; } -export namespace DisableImageDeprecationResult { +export namespace DescribeVpcsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableImageDeprecationResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcsRequest): any => ({ ...obj, }); } -export interface DisableSerialConsoleAccessRequest { - /** - *

                                                                                  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; -} - -export namespace DisableSerialConsoleAccessRequest { +export interface DescribeVpcsResult { /** - * @internal + *

                                                                                  Information about one or more VPCs.

                                                                                  */ - export const filterSensitiveLog = (obj: DisableSerialConsoleAccessRequest): any => ({ - ...obj, - }); -} + Vpcs?: Vpc[]; -export interface DisableSerialConsoleAccessResult { /** - *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - SerialConsoleAccessEnabled?: boolean; + NextToken?: string; } -export namespace DisableSerialConsoleAccessResult { +export namespace DescribeVpcsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisableSerialConsoleAccessResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpcsResult): any => ({ ...obj, }); } -export interface DisableTransitGatewayRouteTablePropagationRequest { +/** + *

                                                                                  Contains the parameters for DescribeVpnConnections.

                                                                                  + */ +export interface DescribeVpnConnectionsRequest { /** - *

                                                                                  The ID of the propagation route table.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * customer-gateway-configuration - The configuration information for the customer gateway.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * customer-gateway-id - The ID of a customer gateway associated with the VPN connection.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * state - The state of the VPN connection (pending | available | deleting | deleted).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * option.static-routes-only - Indicates whether the connection has static routes only. Used for devices that do not support Border Gateway Protocol (BGP).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * route.destination-cidr-block - The destination CIDR block. This corresponds to the subnet used in a customer data center.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * bgp-asn - The BGP Autonomous System Number (ASN) associated with a BGP device.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * type - The type of VPN connection. Currently the only supported type is ipsec.1.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * vpn-connection-id - The ID of the VPN connection.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * vpn-gateway-id - The ID of a virtual private gateway associated with the VPN connection.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * transit-gateway-id - The ID of a transit gateway associated with the VPN connection.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - TransitGatewayRouteTableId: string | undefined; + Filters?: Filter[]; /** - *

                                                                                  The ID of the attachment.

                                                                                  + *

                                                                                  One or more VPN connection IDs.

                                                                                  + *

                                                                                  Default: Describes your VPN connections.

                                                                                  */ - TransitGatewayAttachmentId: string | undefined; + VpnConnectionIds?: string[]; /** *

                                                                                  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.

                                                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; } -export namespace DisableTransitGatewayRouteTablePropagationRequest { +export namespace DescribeVpnConnectionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableTransitGatewayRouteTablePropagationRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpnConnectionsRequest): any => ({ ...obj, }); } -export type TransitGatewayPropagationState = "disabled" | "disabling" | "enabled" | "enabling"; - /** - *

                                                                                  Describes route propagation.

                                                                                  + *

                                                                                  Contains the output of DescribeVpnConnections.

                                                                                  */ -export interface TransitGatewayPropagation { - /** - *

                                                                                  The ID of the attachment.

                                                                                  - */ - TransitGatewayAttachmentId?: string; - +export interface DescribeVpnConnectionsResult { /** - *

                                                                                  The ID of the resource.

                                                                                  - */ - ResourceId?: string; - - /** - *

                                                                                  The resource type. Note that the tgw-peering resource type has been deprecated.

                                                                                  + *

                                                                                  Information about one or more VPN connections.

                                                                                  */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + VpnConnections?: VpnConnection[]; +} +export namespace DescribeVpnConnectionsResult { /** - *

                                                                                  The ID of the transit gateway route table.

                                                                                  + * @internal */ - TransitGatewayRouteTableId?: string; + export const filterSensitiveLog = (obj: DescribeVpnConnectionsResult): any => ({ + ...obj, + }); +} +/** + *

                                                                                  Contains the parameters for DescribeVpnGateways.

                                                                                  + */ +export interface DescribeVpnGatewaysRequest { /** - *

                                                                                  The state.

                                                                                  + *

                                                                                  One or more filters.

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * amazon-side-asn - The Autonomous System Number (ASN) for the Amazon side of the gateway.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * attachment.state - The current state of the attachment between the gateway and the VPC (attaching | attached | detaching | detached).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * attachment.vpc-id - The ID of an attached VPC.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * availability-zone - The Availability Zone for the virtual private gateway (if applicable).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * state - The state of the virtual private gateway (pending | available | deleting | deleted).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * type - The type of virtual private gateway. Currently the only supported type is ipsec.1.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * vpn-gateway-id - The ID of the virtual private gateway.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - State?: TransitGatewayPropagationState | string; -} + Filters?: Filter[]; -export namespace TransitGatewayPropagation { /** - * @internal + *

                                                                                  One or more virtual private gateway IDs.

                                                                                  + *

                                                                                  Default: Describes all your virtual private gateways.

                                                                                  */ - export const filterSensitiveLog = (obj: TransitGatewayPropagation): any => ({ - ...obj, - }); -} + VpnGatewayIds?: string[]; -export interface DisableTransitGatewayRouteTablePropagationResult { /** - *

                                                                                  Information about route propagation.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Propagation?: TransitGatewayPropagation; + DryRun?: boolean; } -export namespace DisableTransitGatewayRouteTablePropagationResult { +export namespace DescribeVpnGatewaysRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableTransitGatewayRouteTablePropagationResult): any => ({ + export const filterSensitiveLog = (obj: DescribeVpnGatewaysRequest): any => ({ ...obj, }); } /** - *

                                                                                  Contains the parameters for DisableVgwRoutePropagation.

                                                                                  + *

                                                                                  Contains the output of DescribeVpnGateways.

                                                                                  */ -export interface DisableVgwRoutePropagationRequest { +export interface DescribeVpnGatewaysResult { /** - *

                                                                                  The ID of the virtual private gateway.

                                                                                  - */ - GatewayId: string | undefined; - - /** - *

                                                                                  The ID of the route table.

                                                                                  - */ - RouteTableId: string | undefined; - - /** - *

                                                                                  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.

                                                                                  + *

                                                                                  Information about one or more virtual private gateways.

                                                                                  */ - DryRun?: boolean; + VpnGateways?: VpnGateway[]; } -export namespace DisableVgwRoutePropagationRequest { +export namespace DescribeVpnGatewaysResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisableVgwRoutePropagationRequest): any => ({ + export const filterSensitiveLog = (obj: DescribeVpnGatewaysResult): any => ({ ...obj, }); } -export interface DisableVpcClassicLinkRequest { +export interface DetachClassicLinkVpcRequest { /** *

                                                                                  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. @@ -732,222 +916,235 @@ export interface DisableVpcClassicLinkRequest { DryRun?: boolean; /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  The ID of the instance to unlink from the VPC.

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

                                                                                  The ID of the VPC to which the instance is linked.

                                                                                  */ VpcId: string | undefined; } -export namespace DisableVpcClassicLinkRequest { +export namespace DetachClassicLinkVpcRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableVpcClassicLinkRequest): any => ({ + export const filterSensitiveLog = (obj: DetachClassicLinkVpcRequest): any => ({ ...obj, }); } -export interface DisableVpcClassicLinkResult { +export interface DetachClassicLinkVpcResult { /** *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ Return?: boolean; } -export namespace DisableVpcClassicLinkResult { +export namespace DetachClassicLinkVpcResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisableVpcClassicLinkResult): any => ({ + export const filterSensitiveLog = (obj: DetachClassicLinkVpcResult): any => ({ ...obj, }); } -export interface DisableVpcClassicLinkDnsSupportRequest { +export interface DetachInternetGatewayRequest { /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  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.

                                                                                  */ - VpcId?: string; -} + DryRun?: boolean; -export namespace DisableVpcClassicLinkDnsSupportRequest { /** - * @internal + *

                                                                                  The ID of the internet gateway.

                                                                                  */ - export const filterSensitiveLog = (obj: DisableVpcClassicLinkDnsSupportRequest): any => ({ - ...obj, - }); -} + InternetGatewayId: string | undefined; -export interface DisableVpcClassicLinkDnsSupportResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - Return?: boolean; + VpcId: string | undefined; } -export namespace DisableVpcClassicLinkDnsSupportResult { +export namespace DetachInternetGatewayRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisableVpcClassicLinkDnsSupportResult): any => ({ + export const filterSensitiveLog = (obj: DetachInternetGatewayRequest): any => ({ ...obj, }); } -export interface DisassociateAddressRequest { +/** + *

                                                                                  Contains the parameters for DetachNetworkInterface.

                                                                                  + */ +export interface DetachNetworkInterfaceRequest { /** - *

                                                                                  [EC2-VPC] The association ID. Required for EC2-VPC.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - AssociationId?: string; + AttachmentId: string | undefined; /** - *

                                                                                  [EC2-Classic] The Elastic IP address. Required for EC2-Classic.

                                                                                  + *

                                                                                  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.

                                                                                  */ - PublicIp?: string; + DryRun?: boolean; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  Specifies whether to force a detachment.

                                                                                  + * + *
                                                                                    + *
                                                                                  • + *

                                                                                    Use the Force parameter only as a last resort to detach a network interface from a failed instance.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    If you force the detachment of a network interface, the instance metadata + * might not get updated. This means that the attributes associated + * with the detached network interface might still be visible. The + * instance metadata will get updated when you stop and start the + * instance.

                                                                                    + *
                                                                                  • + *
                                                                                  + *
                                                                                  */ - DryRun?: boolean; + Force?: boolean; } -export namespace DisassociateAddressRequest { +export namespace DetachNetworkInterfaceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateAddressRequest): any => ({ + export const filterSensitiveLog = (obj: DetachNetworkInterfaceRequest): any => ({ ...obj, }); } -export interface DisassociateClientVpnTargetNetworkRequest { - /** - *

                                                                                  The ID of the Client VPN endpoint from which to disassociate the target network.

                                                                                  - */ - ClientVpnEndpointId: string | undefined; - +export interface DetachVolumeRequest { /** - *

                                                                                  The ID of the target network association.

                                                                                  + *

                                                                                  The device name.

                                                                                  */ - AssociationId: string | undefined; + Device?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  Forces detachment if the previous detachment attempt did not occur cleanly (for example, + * logging into an instance, unmounting the volume, and detaching normally). This option can lead + * to data loss or a corrupted file system. Use this option only as a last resort to detach a + * volume from a failed instance. The instance won't have an opportunity to flush file system + * caches or file system metadata. If you use this option, you must perform file system check and + * repair procedures.

                                                                                  */ - DryRun?: boolean; -} + Force?: boolean; -export namespace DisassociateClientVpnTargetNetworkRequest { /** - * @internal + *

                                                                                  The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

                                                                                  */ - export const filterSensitiveLog = (obj: DisassociateClientVpnTargetNetworkRequest): any => ({ - ...obj, - }); -} + InstanceId?: string; -export interface DisassociateClientVpnTargetNetworkResult { /** - *

                                                                                  The ID of the target network association.

                                                                                  + *

                                                                                  The ID of the volume.

                                                                                  */ - AssociationId?: string; + VolumeId: string | undefined; /** - *

                                                                                  The current state of the target network association.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Status?: AssociationStatus; + DryRun?: boolean; } -export namespace DisassociateClientVpnTargetNetworkResult { +export namespace DetachVolumeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateClientVpnTargetNetworkResult): any => ({ + export const filterSensitiveLog = (obj: DetachVolumeRequest): any => ({ ...obj, }); } -export interface DisassociateEnclaveCertificateIamRoleRequest { +/** + *

                                                                                  Contains the parameters for DetachVpnGateway.

                                                                                  + */ +export interface DetachVpnGatewayRequest { /** - *

                                                                                  The ARN of the ACM certificate from which to disassociate the IAM role.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - CertificateArn?: string; + VpcId: string | undefined; /** - *

                                                                                  The ARN of the IAM role to disassociate.

                                                                                  + *

                                                                                  The ID of the virtual private gateway.

                                                                                  */ - RoleArn?: string; + VpnGatewayId: string | undefined; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; } -export namespace DisassociateEnclaveCertificateIamRoleRequest { +export namespace DetachVpnGatewayRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateEnclaveCertificateIamRoleRequest): any => ({ + export const filterSensitiveLog = (obj: DetachVpnGatewayRequest): any => ({ ...obj, }); } -export interface DisassociateEnclaveCertificateIamRoleResult { +export interface DisableEbsEncryptionByDefaultRequest { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Return?: boolean; + DryRun?: boolean; } -export namespace DisassociateEnclaveCertificateIamRoleResult { +export namespace DisableEbsEncryptionByDefaultRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateEnclaveCertificateIamRoleResult): any => ({ + export const filterSensitiveLog = (obj: DisableEbsEncryptionByDefaultRequest): any => ({ ...obj, }); } -export interface DisassociateIamInstanceProfileRequest { +export interface DisableEbsEncryptionByDefaultResult { /** - *

                                                                                  The ID of the IAM instance profile association.

                                                                                  + *

                                                                                  The updated status of encryption by default.

                                                                                  */ - AssociationId: string | undefined; + EbsEncryptionByDefault?: boolean; } -export namespace DisassociateIamInstanceProfileRequest { +export namespace DisableEbsEncryptionByDefaultResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateIamInstanceProfileRequest): any => ({ + export const filterSensitiveLog = (obj: DisableEbsEncryptionByDefaultResult): any => ({ ...obj, }); } -export interface DisassociateIamInstanceProfileResult { +export interface DisableFastSnapshotRestoresRequest { /** - *

                                                                                  Information about the IAM instance profile association.

                                                                                  + *

                                                                                  One or more Availability Zones. For example, us-east-2a.

                                                                                  */ - IamInstanceProfileAssociation?: IamInstanceProfileAssociation; -} + AvailabilityZones: string[] | undefined; -export namespace DisassociateIamInstanceProfileResult { /** - * @internal + *

                                                                                  The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

                                                                                  */ - export const filterSensitiveLog = (obj: DisassociateIamInstanceProfileResult): any => ({ - ...obj, - }); -} - -export interface DisassociateRouteTableRequest { - /** - *

                                                                                  The association ID representing the current association between the route table and subnet or gateway.

                                                                                  - */ - AssociationId: string | undefined; + SourceSnapshotIds: string[] | undefined; /** *

                                                                                  Checks whether you have the required permissions for the action, without actually making the request, @@ -957,285 +1154,272 @@ export interface DisassociateRouteTableRequest { DryRun?: boolean; } -export namespace DisassociateRouteTableRequest { +export namespace DisableFastSnapshotRestoresRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateRouteTableRequest): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoresRequest): any => ({ ...obj, }); } -export interface DisassociateSubnetCidrBlockRequest { +/** + *

                                                                                  Describes fast snapshot restores that were successfully disabled.

                                                                                  + */ +export interface DisableFastSnapshotRestoreSuccessItem { /** - *

                                                                                  The association ID for the CIDR block.

                                                                                  + *

                                                                                  The ID of the snapshot.

                                                                                  */ - AssociationId: string | undefined; -} + SnapshotId?: string; -export namespace DisassociateSubnetCidrBlockRequest { /** - * @internal + *

                                                                                  The Availability Zone.

                                                                                  */ - export const filterSensitiveLog = (obj: DisassociateSubnetCidrBlockRequest): any => ({ - ...obj, - }); -} + AvailabilityZone?: string; -export interface DisassociateSubnetCidrBlockResult { /** - *

                                                                                  Information about the IPv6 CIDR block association.

                                                                                  + *

                                                                                  The state of fast snapshot restores for the snapshot.

                                                                                  */ - Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; + State?: FastSnapshotRestoreStateCode | string; /** - *

                                                                                  The ID of the subnet.

                                                                                  + *

                                                                                  The reason for the state transition. The possible values are as follows:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * Client.UserInitiated - The state successfully transitioned to enabling or + * disabling.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned + * to optimizing, enabled, or disabled.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - SubnetId?: string; -} + StateTransitionReason?: string; -export namespace DisassociateSubnetCidrBlockResult { /** - * @internal + *

                                                                                  The ID of the AWS account that enabled fast snapshot restores on the snapshot.

                                                                                  */ - export const filterSensitiveLog = (obj: DisassociateSubnetCidrBlockResult): any => ({ - ...obj, - }); -} + OwnerId?: string; -export interface DisassociateTransitGatewayMulticastDomainRequest { /** - *

                                                                                  The ID of the transit gateway multicast domain.

                                                                                  + *

                                                                                  The AWS owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

                                                                                  */ - TransitGatewayMulticastDomainId?: string; + OwnerAlias?: string; /** - *

                                                                                  The ID of the attachment.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the enabling state.

                                                                                  */ - TransitGatewayAttachmentId?: string; + EnablingTime?: Date; /** - *

                                                                                  The IDs of the subnets;

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the optimizing state.

                                                                                  */ - SubnetIds?: string[]; + OptimizingTime?: Date; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the enabled state.

                                                                                  */ - DryRun?: boolean; -} + EnabledTime?: Date; -export namespace DisassociateTransitGatewayMulticastDomainRequest { /** - * @internal + *

                                                                                  The time at which fast snapshot restores entered the disabling state.

                                                                                  */ - export const filterSensitiveLog = (obj: DisassociateTransitGatewayMulticastDomainRequest): any => ({ - ...obj, - }); -} + DisablingTime?: Date; -export interface DisassociateTransitGatewayMulticastDomainResult { /** - *

                                                                                  Information about the association.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the disabled state.

                                                                                  */ - Associations?: TransitGatewayMulticastDomainAssociations; + DisabledTime?: Date; } -export namespace DisassociateTransitGatewayMulticastDomainResult { +export namespace DisableFastSnapshotRestoreSuccessItem { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateTransitGatewayMulticastDomainResult): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreSuccessItem): any => ({ ...obj, }); } -export interface DisassociateTransitGatewayRouteTableRequest { - /** - *

                                                                                  The ID of the transit gateway route table.

                                                                                  - */ - TransitGatewayRouteTableId: string | undefined; - +/** + *

                                                                                  Describes an error that occurred when disabling fast snapshot restores.

                                                                                  + */ +export interface DisableFastSnapshotRestoreStateError { /** - *

                                                                                  The ID of the attachment.

                                                                                  + *

                                                                                  The error code.

                                                                                  */ - TransitGatewayAttachmentId: string | undefined; + Code?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The error message.

                                                                                  */ - DryRun?: boolean; + Message?: string; } -export namespace DisassociateTransitGatewayRouteTableRequest { +export namespace DisableFastSnapshotRestoreStateError { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateTransitGatewayRouteTableRequest): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreStateError): any => ({ ...obj, }); } -export interface DisassociateTransitGatewayRouteTableResult { +/** + *

                                                                                  Contains information about an error that occurred when disabling fast snapshot restores.

                                                                                  + */ +export interface DisableFastSnapshotRestoreStateErrorItem { /** - *

                                                                                  Information about the association.

                                                                                  + *

                                                                                  The Availability Zone.

                                                                                  */ - Association?: TransitGatewayAssociation; + AvailabilityZone?: string; + + /** + *

                                                                                  The error.

                                                                                  + */ + Error?: DisableFastSnapshotRestoreStateError; } -export namespace DisassociateTransitGatewayRouteTableResult { +export namespace DisableFastSnapshotRestoreStateErrorItem { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateTransitGatewayRouteTableResult): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreStateErrorItem): any => ({ ...obj, }); } -export interface DisassociateTrunkInterfaceRequest { - /** - *

                                                                                  The ID ofthe association

                                                                                  - */ - AssociationId: string | undefined; - +/** + *

                                                                                  Contains information about the errors that occurred when disabling fast snapshot restores.

                                                                                  + */ +export interface DisableFastSnapshotRestoreErrorItem { /** - *

                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

                                                                                  + *

                                                                                  The ID of the snapshot.

                                                                                  */ - ClientToken?: string; + SnapshotId?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The errors.

                                                                                  */ - DryRun?: boolean; + FastSnapshotRestoreStateErrors?: DisableFastSnapshotRestoreStateErrorItem[]; } -export namespace DisassociateTrunkInterfaceRequest { +export namespace DisableFastSnapshotRestoreErrorItem { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateTrunkInterfaceRequest): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoreErrorItem): any => ({ ...obj, }); } -export interface DisassociateTrunkInterfaceResult { +export interface DisableFastSnapshotRestoresResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  Information about the snapshots for which fast snapshot restores were successfully disabled.

                                                                                  */ - Return?: boolean; + Successful?: DisableFastSnapshotRestoreSuccessItem[]; /** - *

                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

                                                                                  + *

                                                                                  Information about the snapshots for which fast snapshot restores could not be disabled.

                                                                                  */ - ClientToken?: string; + Unsuccessful?: DisableFastSnapshotRestoreErrorItem[]; } -export namespace DisassociateTrunkInterfaceResult { +export namespace DisableFastSnapshotRestoresResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateTrunkInterfaceResult): any => ({ + export const filterSensitiveLog = (obj: DisableFastSnapshotRestoresResult): any => ({ ...obj, }); } -export interface DisassociateVpcCidrBlockRequest { +export interface DisableImageDeprecationRequest { /** - *

                                                                                  The association ID for the CIDR block.

                                                                                  + *

                                                                                  The ID of the AMI.

                                                                                  */ - AssociationId: string | undefined; + ImageId: string | undefined; + + /** + *

                                                                                  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; } -export namespace DisassociateVpcCidrBlockRequest { +export namespace DisableImageDeprecationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateVpcCidrBlockRequest): any => ({ + export const filterSensitiveLog = (obj: DisableImageDeprecationRequest): any => ({ ...obj, }); } -export interface DisassociateVpcCidrBlockResult { - /** - *

                                                                                  Information about the IPv6 CIDR block association.

                                                                                  - */ - Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; - - /** - *

                                                                                  Information about the IPv4 CIDR block association.

                                                                                  - */ - CidrBlockAssociation?: VpcCidrBlockAssociation; - +export interface DisableImageDeprecationResult { /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - VpcId?: string; + Return?: boolean; } -export namespace DisassociateVpcCidrBlockResult { +export namespace DisableImageDeprecationResult { /** * @internal */ - export const filterSensitiveLog = (obj: DisassociateVpcCidrBlockResult): any => ({ + export const filterSensitiveLog = (obj: DisableImageDeprecationResult): any => ({ ...obj, }); } -export interface EnableEbsEncryptionByDefaultRequest { +export interface DisableSerialConsoleAccessRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; } -export namespace EnableEbsEncryptionByDefaultRequest { +export namespace DisableSerialConsoleAccessRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableEbsEncryptionByDefaultRequest): any => ({ + export const filterSensitiveLog = (obj: DisableSerialConsoleAccessRequest): any => ({ ...obj, }); } -export interface EnableEbsEncryptionByDefaultResult { +export interface DisableSerialConsoleAccessResult { /** - *

                                                                                  The updated status of encryption by default.

                                                                                  + *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

                                                                                  */ - EbsEncryptionByDefault?: boolean; + SerialConsoleAccessEnabled?: boolean; } -export namespace EnableEbsEncryptionByDefaultResult { +export namespace DisableSerialConsoleAccessResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableEbsEncryptionByDefaultResult): any => ({ + export const filterSensitiveLog = (obj: DisableSerialConsoleAccessResult): any => ({ ...obj, }); } -export interface EnableFastSnapshotRestoresRequest { +export interface DisableTransitGatewayRouteTablePropagationRequest { /** - *

                                                                                  One or more Availability Zones. For example, us-east-2a.

                                                                                  + *

                                                                                  The ID of the propagation route table.

                                                                                  */ - AvailabilityZones: string[] | undefined; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify - * a snapshot that was shared with you from another AWS account.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - SourceSnapshotIds: string[] | undefined; + TransitGatewayAttachmentId: string | undefined; /** *

                                                                                  Checks whether you have the required permissions for the action, without actually making the request, @@ -1245,371 +1429,354 @@ export interface EnableFastSnapshotRestoresRequest { DryRun?: boolean; } -export namespace EnableFastSnapshotRestoresRequest { +export namespace DisableTransitGatewayRouteTablePropagationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoresRequest): any => ({ + export const filterSensitiveLog = (obj: DisableTransitGatewayRouteTablePropagationRequest): any => ({ ...obj, }); } +export type TransitGatewayPropagationState = "disabled" | "disabling" | "enabled" | "enabling"; + /** - *

                                                                                  Describes fast snapshot restores that were successfully enabled.

                                                                                  + *

                                                                                  Describes route propagation.

                                                                                  */ -export interface EnableFastSnapshotRestoreSuccessItem { +export interface TransitGatewayPropagation { /** - *

                                                                                  The ID of the snapshot.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - SnapshotId?: string; + TransitGatewayAttachmentId?: string; /** - *

                                                                                  The Availability Zone.

                                                                                  + *

                                                                                  The ID of the resource.

                                                                                  */ - AvailabilityZone?: string; + ResourceId?: string; /** - *

                                                                                  The state of fast snapshot restores.

                                                                                  + *

                                                                                  The resource type. Note that the tgw-peering resource type has been deprecated.

                                                                                  */ - State?: FastSnapshotRestoreStateCode | string; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

                                                                                  The reason for the state transition. The possible values are as follows:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * Client.UserInitiated - The state successfully transitioned to enabling or - * disabling.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned - * to optimizing, enabled, or disabled.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The ID of the transit gateway route table.

                                                                                  */ - StateTransitionReason?: string; + TransitGatewayRouteTableId?: string; /** - *

                                                                                  The ID of the AWS account that enabled fast snapshot restores on the snapshot.

                                                                                  + *

                                                                                  The state.

                                                                                  */ - OwnerId?: string; + State?: TransitGatewayPropagationState | string; +} +export namespace TransitGatewayPropagation { /** - *

                                                                                  The AWS owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

                                                                                  + * @internal */ - OwnerAlias?: string; + export const filterSensitiveLog = (obj: TransitGatewayPropagation): any => ({ + ...obj, + }); +} +export interface DisableTransitGatewayRouteTablePropagationResult { /** - *

                                                                                  The time at which fast snapshot restores entered the enabling state.

                                                                                  + *

                                                                                  Information about route propagation.

                                                                                  */ - EnablingTime?: Date; + Propagation?: TransitGatewayPropagation; +} +export namespace DisableTransitGatewayRouteTablePropagationResult { /** - *

                                                                                  The time at which fast snapshot restores entered the optimizing state.

                                                                                  + * @internal */ - OptimizingTime?: Date; + export const filterSensitiveLog = (obj: DisableTransitGatewayRouteTablePropagationResult): any => ({ + ...obj, + }); +} +/** + *

                                                                                  Contains the parameters for DisableVgwRoutePropagation.

                                                                                  + */ +export interface DisableVgwRoutePropagationRequest { /** - *

                                                                                  The time at which fast snapshot restores entered the enabled state.

                                                                                  + *

                                                                                  The ID of the virtual private gateway.

                                                                                  */ - EnabledTime?: Date; + GatewayId: string | undefined; /** - *

                                                                                  The time at which fast snapshot restores entered the disabling state.

                                                                                  + *

                                                                                  The ID of the route table.

                                                                                  */ - DisablingTime?: Date; + RouteTableId: string | undefined; /** - *

                                                                                  The time at which fast snapshot restores entered the disabled state.

                                                                                  + *

                                                                                  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.

                                                                                  */ - DisabledTime?: Date; + DryRun?: boolean; } -export namespace EnableFastSnapshotRestoreSuccessItem { +export namespace DisableVgwRoutePropagationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreSuccessItem): any => ({ + export const filterSensitiveLog = (obj: DisableVgwRoutePropagationRequest): any => ({ ...obj, }); } -/** - *

                                                                                  Describes an error that occurred when enabling fast snapshot restores.

                                                                                  - */ -export interface EnableFastSnapshotRestoreStateError { +export interface DisableVpcClassicLinkRequest { /** - *

                                                                                  The error code.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Code?: string; + DryRun?: boolean; /** - *

                                                                                  The error message.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - Message?: string; + VpcId: string | undefined; } -export namespace EnableFastSnapshotRestoreStateError { +export namespace DisableVpcClassicLinkRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreStateError): any => ({ + export const filterSensitiveLog = (obj: DisableVpcClassicLinkRequest): any => ({ ...obj, }); } -/** - *

                                                                                  Contains information about an error that occurred when enabling fast snapshot restores.

                                                                                  - */ -export interface EnableFastSnapshotRestoreStateErrorItem { - /** - *

                                                                                  The Availability Zone.

                                                                                  - */ - AvailabilityZone?: string; - +export interface DisableVpcClassicLinkResult { /** - *

                                                                                  The error.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - Error?: EnableFastSnapshotRestoreStateError; + Return?: boolean; } -export namespace EnableFastSnapshotRestoreStateErrorItem { +export namespace DisableVpcClassicLinkResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreStateErrorItem): any => ({ + export const filterSensitiveLog = (obj: DisableVpcClassicLinkResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains information about the errors that occurred when enabling fast snapshot restores.

                                                                                  - */ -export interface EnableFastSnapshotRestoreErrorItem { - /** - *

                                                                                  The ID of the snapshot.

                                                                                  - */ - SnapshotId?: string; - +export interface DisableVpcClassicLinkDnsSupportRequest { /** - *

                                                                                  The errors.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[]; + VpcId?: string; } -export namespace EnableFastSnapshotRestoreErrorItem { +export namespace DisableVpcClassicLinkDnsSupportRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreErrorItem): any => ({ + export const filterSensitiveLog = (obj: DisableVpcClassicLinkDnsSupportRequest): any => ({ ...obj, }); } -export interface EnableFastSnapshotRestoresResult { - /** - *

                                                                                  Information about the snapshots for which fast snapshot restores were successfully enabled.

                                                                                  - */ - Successful?: EnableFastSnapshotRestoreSuccessItem[]; - +export interface DisableVpcClassicLinkDnsSupportResult { /** - *

                                                                                  Information about the snapshots for which fast snapshot restores could not be enabled.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - Unsuccessful?: EnableFastSnapshotRestoreErrorItem[]; + Return?: boolean; } -export namespace EnableFastSnapshotRestoresResult { +export namespace DisableVpcClassicLinkDnsSupportResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableFastSnapshotRestoresResult): any => ({ + export const filterSensitiveLog = (obj: DisableVpcClassicLinkDnsSupportResult): any => ({ ...obj, }); } -export interface EnableImageDeprecationRequest { +export interface DisassociateAddressRequest { /** - *

                                                                                  The ID of the AMI.

                                                                                  + *

                                                                                  [EC2-VPC] The association ID. Required for EC2-VPC.

                                                                                  */ - ImageId: string | undefined; + AssociationId?: string; /** - *

                                                                                  The date and time to deprecate the AMI, in UTC, in the following format: - * YYYY-MM-DDTHH:MM:SSZ. - * If you specify a value for seconds, Amazon EC2 rounds the seconds to the - * nearest minute.

                                                                                  - *

                                                                                  You can’t specify a date in the past. The upper limit for DeprecateAt is 10 - * years from now.

                                                                                  + *

                                                                                  [EC2-Classic] The Elastic IP address. Required for EC2-Classic.

                                                                                  */ - DeprecateAt: Date | undefined; + PublicIp?: string; /** *

                                                                                  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.

                                                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; } -export namespace EnableImageDeprecationRequest { +export namespace DisassociateAddressRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableImageDeprecationRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateAddressRequest): any => ({ ...obj, }); } -export interface EnableImageDeprecationResult { +export interface DisassociateClientVpnTargetNetworkRequest { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The ID of the Client VPN endpoint from which to disassociate the target network.

                                                                                  */ - Return?: boolean; -} + ClientVpnEndpointId: string | undefined; -export namespace EnableImageDeprecationResult { /** - * @internal + *

                                                                                  The ID of the target network association.

                                                                                  */ - export const filterSensitiveLog = (obj: EnableImageDeprecationResult): any => ({ - ...obj, - }); -} + AssociationId: string | undefined; -export interface EnableSerialConsoleAccessRequest { /** *

                                                                                  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; } -export namespace EnableSerialConsoleAccessRequest { +export namespace DisassociateClientVpnTargetNetworkRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableSerialConsoleAccessRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateClientVpnTargetNetworkRequest): any => ({ ...obj, }); } -export interface EnableSerialConsoleAccessResult { +export interface DisassociateClientVpnTargetNetworkResult { /** - *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

                                                                                  + *

                                                                                  The ID of the target network association.

                                                                                  */ - SerialConsoleAccessEnabled?: boolean; + AssociationId?: string; + + /** + *

                                                                                  The current state of the target network association.

                                                                                  + */ + Status?: AssociationStatus; } -export namespace EnableSerialConsoleAccessResult { +export namespace DisassociateClientVpnTargetNetworkResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableSerialConsoleAccessResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateClientVpnTargetNetworkResult): any => ({ ...obj, }); } -export interface EnableTransitGatewayRouteTablePropagationRequest { +export interface DisassociateEnclaveCertificateIamRoleRequest { /** - *

                                                                                  The ID of the propagation route table.

                                                                                  + *

                                                                                  The ARN of the ACM certificate from which to disassociate the IAM role.

                                                                                  */ - TransitGatewayRouteTableId: string | undefined; + CertificateArn?: string; /** - *

                                                                                  The ID of the attachment.

                                                                                  + *

                                                                                  The ARN of the IAM role to disassociate.

                                                                                  */ - TransitGatewayAttachmentId: string | undefined; + RoleArn?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; } -export namespace EnableTransitGatewayRouteTablePropagationRequest { +export namespace DisassociateEnclaveCertificateIamRoleRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableTransitGatewayRouteTablePropagationRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateEnclaveCertificateIamRoleRequest): any => ({ ...obj, }); } -export interface EnableTransitGatewayRouteTablePropagationResult { +export interface DisassociateEnclaveCertificateIamRoleResult { /** - *

                                                                                  Information about route propagation.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - Propagation?: TransitGatewayPropagation; + Return?: boolean; } -export namespace EnableTransitGatewayRouteTablePropagationResult { +export namespace DisassociateEnclaveCertificateIamRoleResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableTransitGatewayRouteTablePropagationResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateEnclaveCertificateIamRoleResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains the parameters for EnableVgwRoutePropagation.

                                                                                  - */ -export interface EnableVgwRoutePropagationRequest { +export interface DisassociateIamInstanceProfileRequest { /** - *

                                                                                  The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

                                                                                  + *

                                                                                  The ID of the IAM instance profile association.

                                                                                  */ - GatewayId: string | undefined; + AssociationId: string | undefined; +} +export namespace DisassociateIamInstanceProfileRequest { /** - *

                                                                                  The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

                                                                                  + * @internal */ - RouteTableId: string | undefined; + export const filterSensitiveLog = (obj: DisassociateIamInstanceProfileRequest): any => ({ + ...obj, + }); +} +export interface DisassociateIamInstanceProfileResult { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  Information about the IAM instance profile association.

                                                                                  */ - DryRun?: boolean; + IamInstanceProfileAssociation?: IamInstanceProfileAssociation; } -export namespace EnableVgwRoutePropagationRequest { +export namespace DisassociateIamInstanceProfileResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVgwRoutePropagationRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateIamInstanceProfileResult): any => ({ ...obj, }); } -export interface EnableVolumeIORequest { +/** + *

                                                                                  The targets to disassociate from the specified event window.

                                                                                  + */ +export interface InstanceEventWindowDisassociationRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The IDs of the instances to disassociate from the event window.

                                                                                  */ - DryRun?: boolean; + InstanceIds?: string[]; /** - *

                                                                                  The ID of the volume.

                                                                                  + *

                                                                                  The instance tags to disassociate from the event window. Any instances associated with + * the tags will be disassociated from the event window.

                                                                                  */ - VolumeId: string | undefined; + InstanceTags?: Tag[]; + + /** + *

                                                                                  The IDs of the Dedicated Hosts to disassociate from the event window.

                                                                                  + */ + DedicatedHostIds?: string[]; } -export namespace EnableVolumeIORequest { +export namespace InstanceEventWindowDisassociationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVolumeIORequest): any => ({ + export const filterSensitiveLog = (obj: InstanceEventWindowDisassociationRequest): any => ({ ...obj, }); } -export interface EnableVpcClassicLinkRequest { +export interface DisassociateInstanceEventWindowRequest { /** *

                                                                                  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. @@ -1618,1176 +1785,1120 @@ export interface EnableVpcClassicLinkRequest { DryRun?: boolean; /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  The ID of the event window.

                                                                                  */ - VpcId: string | undefined; + InstanceEventWindowId: string | undefined; + + /** + *

                                                                                  One or more targets to disassociate from the specified event window.

                                                                                  + */ + AssociationTarget: InstanceEventWindowDisassociationRequest | undefined; } -export namespace EnableVpcClassicLinkRequest { +export namespace DisassociateInstanceEventWindowRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVpcClassicLinkRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateInstanceEventWindowRequest): any => ({ ...obj, }); } -export interface EnableVpcClassicLinkResult { +export interface DisassociateInstanceEventWindowResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  Information about the event window.

                                                                                  */ - Return?: boolean; + InstanceEventWindow?: InstanceEventWindow; } -export namespace EnableVpcClassicLinkResult { +export namespace DisassociateInstanceEventWindowResult { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVpcClassicLinkResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateInstanceEventWindowResult): any => ({ ...obj, }); } -export interface EnableVpcClassicLinkDnsSupportRequest { +export interface DisassociateRouteTableRequest { /** - *

                                                                                  The ID of the VPC.

                                                                                  + *

                                                                                  The association ID representing the current association between the route table and subnet or gateway.

                                                                                  */ - VpcId?: string; + AssociationId: string | undefined; + + /** + *

                                                                                  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; } -export namespace EnableVpcClassicLinkDnsSupportRequest { +export namespace DisassociateRouteTableRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVpcClassicLinkDnsSupportRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateRouteTableRequest): any => ({ ...obj, }); } -export interface EnableVpcClassicLinkDnsSupportResult { +export interface DisassociateSubnetCidrBlockRequest { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The association ID for the CIDR block.

                                                                                  */ - Return?: boolean; + AssociationId: string | undefined; } -export namespace EnableVpcClassicLinkDnsSupportResult { +export namespace DisassociateSubnetCidrBlockRequest { /** * @internal */ - export const filterSensitiveLog = (obj: EnableVpcClassicLinkDnsSupportResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateSubnetCidrBlockRequest): any => ({ ...obj, }); } -export interface ExportClientVpnClientCertificateRevocationListRequest { +export interface DisassociateSubnetCidrBlockResult { /** - *

                                                                                  The ID of the Client VPN endpoint.

                                                                                  + *

                                                                                  Information about the IPv6 CIDR block association.

                                                                                  */ - ClientVpnEndpointId: string | undefined; + Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The ID of the subnet.

                                                                                  */ - DryRun?: boolean; + SubnetId?: string; } -export namespace ExportClientVpnClientCertificateRevocationListRequest { +export namespace DisassociateSubnetCidrBlockResult { /** * @internal */ - export const filterSensitiveLog = (obj: ExportClientVpnClientCertificateRevocationListRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateSubnetCidrBlockResult): any => ({ ...obj, }); } -export type ClientCertificateRevocationListStatusCode = "active" | "pending"; +export interface DisassociateTransitGatewayMulticastDomainRequest { + /** + *

                                                                                  The ID of the transit gateway multicast domain.

                                                                                  + */ + TransitGatewayMulticastDomainId?: string; -/** - *

                                                                                  Describes the state of a client certificate revocation list.

                                                                                  - */ -export interface ClientCertificateRevocationListStatus { /** - *

                                                                                  The state of the client certificate revocation list.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - Code?: ClientCertificateRevocationListStatusCode | string; + TransitGatewayAttachmentId?: string; /** - *

                                                                                  A message about the status of the client certificate revocation list, if applicable.

                                                                                  + *

                                                                                  The IDs of the subnets;

                                                                                  */ - Message?: string; + SubnetIds?: string[]; + + /** + *

                                                                                  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; } -export namespace ClientCertificateRevocationListStatus { +export namespace DisassociateTransitGatewayMulticastDomainRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ClientCertificateRevocationListStatus): any => ({ + export const filterSensitiveLog = (obj: DisassociateTransitGatewayMulticastDomainRequest): any => ({ ...obj, }); } -export interface ExportClientVpnClientCertificateRevocationListResult { - /** - *

                                                                                  Information about the client certificate revocation list.

                                                                                  - */ - CertificateRevocationList?: string; - +export interface DisassociateTransitGatewayMulticastDomainResult { /** - *

                                                                                  The current state of the client certificate revocation list.

                                                                                  + *

                                                                                  Information about the association.

                                                                                  */ - Status?: ClientCertificateRevocationListStatus; + Associations?: TransitGatewayMulticastDomainAssociations; } -export namespace ExportClientVpnClientCertificateRevocationListResult { +export namespace DisassociateTransitGatewayMulticastDomainResult { /** * @internal */ - export const filterSensitiveLog = (obj: ExportClientVpnClientCertificateRevocationListResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateTransitGatewayMulticastDomainResult): any => ({ ...obj, }); } -export interface ExportClientVpnClientConfigurationRequest { +export interface DisassociateTransitGatewayRouteTableRequest { /** - *

                                                                                  The ID of the Client VPN endpoint.

                                                                                  + *

                                                                                  The ID of the transit gateway route table.

                                                                                  */ - ClientVpnEndpointId: string | undefined; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The ID of the attachment.

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

                                                                                  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; } -export namespace ExportClientVpnClientConfigurationRequest { +export namespace DisassociateTransitGatewayRouteTableRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ExportClientVpnClientConfigurationRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateTransitGatewayRouteTableRequest): any => ({ ...obj, }); } -export interface ExportClientVpnClientConfigurationResult { +export interface DisassociateTransitGatewayRouteTableResult { /** - *

                                                                                  The contents of the Client VPN endpoint configuration file.

                                                                                  + *

                                                                                  Information about the association.

                                                                                  */ - ClientConfiguration?: string; + Association?: TransitGatewayAssociation; } -export namespace ExportClientVpnClientConfigurationResult { +export namespace DisassociateTransitGatewayRouteTableResult { /** * @internal */ - export const filterSensitiveLog = (obj: ExportClientVpnClientConfigurationResult): any => ({ + export const filterSensitiveLog = (obj: DisassociateTransitGatewayRouteTableResult): any => ({ ...obj, }); } -/** - *

                                                                                  Describes the destination for an export image task.

                                                                                  - */ -export interface ExportTaskS3LocationRequest { +export interface DisassociateTrunkInterfaceRequest { /** - *

                                                                                  The destination Amazon S3 bucket.

                                                                                  + *

                                                                                  The ID ofthe association

                                                                                  */ - S3Bucket: string | undefined; + AssociationId: string | undefined; /** - *

                                                                                  The prefix (logical hierarchy) in the bucket.

                                                                                  + *

                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. For more information, see How to Ensure + * Idempotency.

                                                                                  */ - S3Prefix?: string; + ClientToken?: string; + + /** + *

                                                                                  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; } -export namespace ExportTaskS3LocationRequest { +export namespace DisassociateTrunkInterfaceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ExportTaskS3LocationRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateTrunkInterfaceRequest): any => ({ ...obj, }); } -export interface ExportImageRequest { +export interface DisassociateTrunkInterfaceResult { /** - *

                                                                                  Token to enable idempotency for export image requests.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - ClientToken?: string; + Return?: boolean; /** - *

                                                                                  A description of the image being exported. The maximum length is 255 characters.

                                                                                  + *

                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. For more information, see How to Ensure + * Idempotency.

                                                                                  */ - Description?: string; + ClientToken?: string; +} +export namespace DisassociateTrunkInterfaceResult { /** - *

                                                                                  The disk image format.

                                                                                  + * @internal */ - DiskImageFormat: DiskImageFormat | string | undefined; + export const filterSensitiveLog = (obj: DisassociateTrunkInterfaceResult): any => ({ + ...obj, + }); +} +export interface DisassociateVpcCidrBlockRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The association ID for the CIDR block.

                                                                                  */ - DryRun?: boolean; + AssociationId: string | undefined; +} +export namespace DisassociateVpcCidrBlockRequest { /** - *

                                                                                  The ID of the image.

                                                                                  + * @internal */ - ImageId: string | undefined; + export const filterSensitiveLog = (obj: DisassociateVpcCidrBlockRequest): any => ({ + ...obj, + }); +} +export interface DisassociateVpcCidrBlockResult { /** - *

                                                                                  Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE - * and READ_ACP permissions to the AWS account vm-import-export@amazon.com.

                                                                                  + *

                                                                                  Information about the IPv6 CIDR block association.

                                                                                  */ - S3ExportLocation: ExportTaskS3LocationRequest | undefined; + Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; /** - *

                                                                                  The name of the role that grants VM Import/Export permission to export images to your Amazon - * S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

                                                                                  + *

                                                                                  Information about the IPv4 CIDR block association.

                                                                                  */ - RoleName?: string; + CidrBlockAssociation?: VpcCidrBlockAssociation; /** - *

                                                                                  The tags to apply to the export image task during creation.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - TagSpecifications?: TagSpecification[]; + VpcId?: string; } -export namespace ExportImageRequest { +export namespace DisassociateVpcCidrBlockResult { /** * @internal */ - export const filterSensitiveLog = (obj: ExportImageRequest): any => ({ + export const filterSensitiveLog = (obj: DisassociateVpcCidrBlockResult): any => ({ ...obj, }); } -export interface ExportImageResult { +export interface EnableEbsEncryptionByDefaultRequest { /** - *

                                                                                  A description of the image being exported.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Description?: string; + DryRun?: boolean; +} +export namespace EnableEbsEncryptionByDefaultRequest { /** - *

                                                                                  The disk image format for the exported image.

                                                                                  + * @internal */ - DiskImageFormat?: DiskImageFormat | string; + export const filterSensitiveLog = (obj: EnableEbsEncryptionByDefaultRequest): any => ({ + ...obj, + }); +} +export interface EnableEbsEncryptionByDefaultResult { /** - *

                                                                                  The ID of the export image task.

                                                                                  + *

                                                                                  The updated status of encryption by default.

                                                                                  */ - ExportImageTaskId?: string; + EbsEncryptionByDefault?: boolean; +} +export namespace EnableEbsEncryptionByDefaultResult { /** - *

                                                                                  The ID of the image.

                                                                                  - */ - ImageId?: string; - - /** - *

                                                                                  The name of the role that grants VM Import/Export permission to export images to your Amazon - * S3 bucket.

                                                                                  + * @internal */ - RoleName?: string; + export const filterSensitiveLog = (obj: EnableEbsEncryptionByDefaultResult): any => ({ + ...obj, + }); +} +export interface EnableFastSnapshotRestoresRequest { /** - *

                                                                                  The percent complete of the export image task.

                                                                                  + *

                                                                                  One or more Availability Zones. For example, us-east-2a.

                                                                                  */ - Progress?: string; + AvailabilityZones: string[] | undefined; /** - *

                                                                                  Information about the destination Amazon S3 bucket.

                                                                                  + *

                                                                                  The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify + * a snapshot that was shared with you from another AWS account.

                                                                                  */ - S3ExportLocation?: ExportTaskS3Location; + SourceSnapshotIds: string[] | undefined; /** - *

                                                                                  The status of the export image task. The possible values are active, completed, - * deleting, and deleted.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Status?: string; + DryRun?: boolean; +} +export namespace EnableFastSnapshotRestoresRequest { /** - *

                                                                                  The status message for the export image task.

                                                                                  + * @internal */ - StatusMessage?: string; + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoresRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                                  Describes fast snapshot restores that were successfully enabled.

                                                                                  + */ +export interface EnableFastSnapshotRestoreSuccessItem { /** - *

                                                                                  Any tags assigned to the export image task.

                                                                                  + *

                                                                                  The ID of the snapshot.

                                                                                  */ - Tags?: Tag[]; -} + SnapshotId?: string; -export namespace ExportImageResult { /** - * @internal + *

                                                                                  The Availability Zone.

                                                                                  */ - export const filterSensitiveLog = (obj: ExportImageResult): any => ({ - ...obj, - }); -} + AvailabilityZone?: string; -export interface ExportTransitGatewayRoutesRequest { /** - *

                                                                                  The ID of the route table.

                                                                                  + *

                                                                                  The state of fast snapshot restores.

                                                                                  */ - TransitGatewayRouteTableId: string | undefined; + State?: FastSnapshotRestoreStateCode | string; /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  + *

                                                                                  The reason for the state transition. The possible values are as follows:

                                                                                  *
                                                                                    *
                                                                                  • *

                                                                                    - * attachment.transit-gateway-attachment-id - The id of the transit gateway attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * attachment.resource-id - The resource id of the transit gateway attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * route-search.exact-match - The exact match of the specified filter.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * route-search.longest-prefix-match - The longest prefix that matches the route.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * state - The state of the route (active | blackhole).

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * transit-gateway-route-destination-cidr-block - The CIDR range.

                                                                                    + * Client.UserInitiated - The state successfully transitioned to enabling or + * disabling.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * type - The type of route (propagated | - * static).

                                                                                    + * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned + * to optimizing, enabled, or disabled.

                                                                                    *
                                                                                  • *
                                                                                  */ - Filters?: Filter[]; + StateTransitionReason?: string; /** - *

                                                                                  The name of the S3 bucket.

                                                                                  + *

                                                                                  The ID of the AWS account that enabled fast snapshot restores on the snapshot.

                                                                                  */ - S3Bucket: string | undefined; + OwnerId?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The AWS owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

                                                                                  */ - DryRun?: boolean; -} + OwnerAlias?: string; -export namespace ExportTransitGatewayRoutesRequest { /** - * @internal + *

                                                                                  The time at which fast snapshot restores entered the enabling state.

                                                                                  */ - export const filterSensitiveLog = (obj: ExportTransitGatewayRoutesRequest): any => ({ - ...obj, - }); -} + EnablingTime?: Date; -export interface ExportTransitGatewayRoutesResult { /** - *

                                                                                  The URL of the exported file in Amazon S3. For example, - * s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the optimizing state.

                                                                                  */ - S3Location?: string; -} + OptimizingTime?: Date; -export namespace ExportTransitGatewayRoutesResult { /** - * @internal + *

                                                                                  The time at which fast snapshot restores entered the enabled state.

                                                                                  */ - export const filterSensitiveLog = (obj: ExportTransitGatewayRoutesResult): any => ({ - ...obj, - }); -} + EnabledTime?: Date; -export interface GetAssociatedEnclaveCertificateIamRolesRequest { /** - *

                                                                                  The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon - * S3 object information.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the disabling state.

                                                                                  */ - CertificateArn?: string; + DisablingTime?: Date; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The time at which fast snapshot restores entered the disabled state.

                                                                                  */ - DryRun?: boolean; + DisabledTime?: Date; } -export namespace GetAssociatedEnclaveCertificateIamRolesRequest { +export namespace EnableFastSnapshotRestoreSuccessItem { /** * @internal */ - export const filterSensitiveLog = (obj: GetAssociatedEnclaveCertificateIamRolesRequest): any => ({ + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreSuccessItem): any => ({ ...obj, }); } /** - *

                                                                                  Information about the associated IAM roles.

                                                                                  + *

                                                                                  Describes an error that occurred when enabling fast snapshot restores.

                                                                                  */ -export interface AssociatedRole { - /** - *

                                                                                  The ARN of the associated IAM role.

                                                                                  - */ - AssociatedRoleArn?: string; - - /** - *

                                                                                  The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

                                                                                  - */ - CertificateS3BucketName?: string; - - /** - *

                                                                                  The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle - * is stored. The object key is formated as follows: role_arn/certificate_arn. - *

                                                                                  - */ - CertificateS3ObjectKey?: string; - - /** - *

                                                                                  The ID of the KMS customer master key (CMK) used to encrypt the private key.

                                                                                  - */ - EncryptionKmsKeyId?: string; -} - -export namespace AssociatedRole { +export interface EnableFastSnapshotRestoreStateError { /** - * @internal + *

                                                                                  The error code.

                                                                                  */ - export const filterSensitiveLog = (obj: AssociatedRole): any => ({ - ...obj, - }); -} + Code?: string; -export interface GetAssociatedEnclaveCertificateIamRolesResult { /** - *

                                                                                  Information about the associated IAM roles.

                                                                                  + *

                                                                                  The error message.

                                                                                  */ - AssociatedRoles?: AssociatedRole[]; + Message?: string; } -export namespace GetAssociatedEnclaveCertificateIamRolesResult { +export namespace EnableFastSnapshotRestoreStateError { /** * @internal */ - export const filterSensitiveLog = (obj: GetAssociatedEnclaveCertificateIamRolesResult): any => ({ + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreStateError): any => ({ ...obj, }); } -export interface GetAssociatedIpv6PoolCidrsRequest { - /** - *

                                                                                  The ID of the IPv6 address pool.

                                                                                  - */ - PoolId: string | undefined; - - /** - *

                                                                                  The token for the next page of results.

                                                                                  - */ - NextToken?: string; - +/** + *

                                                                                  Contains information about an error that occurred when enabling fast snapshot restores.

                                                                                  + */ +export interface EnableFastSnapshotRestoreStateErrorItem { /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The Availability Zone.

                                                                                  */ - MaxResults?: number; + AvailabilityZone?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The error.

                                                                                  */ - DryRun?: boolean; + Error?: EnableFastSnapshotRestoreStateError; } -export namespace GetAssociatedIpv6PoolCidrsRequest { +export namespace EnableFastSnapshotRestoreStateErrorItem { /** * @internal */ - export const filterSensitiveLog = (obj: GetAssociatedIpv6PoolCidrsRequest): any => ({ + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreStateErrorItem): any => ({ ...obj, }); } /** - *

                                                                                  Describes an IPv6 CIDR block association.

                                                                                  + *

                                                                                  Contains information about the errors that occurred when enabling fast snapshot restores.

                                                                                  */ -export interface Ipv6CidrAssociation { +export interface EnableFastSnapshotRestoreErrorItem { /** - *

                                                                                  The IPv6 CIDR block.

                                                                                  + *

                                                                                  The ID of the snapshot.

                                                                                  */ - Ipv6Cidr?: string; + SnapshotId?: string; /** - *

                                                                                  The resource that's associated with the IPv6 CIDR block.

                                                                                  + *

                                                                                  The errors.

                                                                                  */ - AssociatedResource?: string; + FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[]; } -export namespace Ipv6CidrAssociation { +export namespace EnableFastSnapshotRestoreErrorItem { /** * @internal */ - export const filterSensitiveLog = (obj: Ipv6CidrAssociation): any => ({ + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoreErrorItem): any => ({ ...obj, }); } -export interface GetAssociatedIpv6PoolCidrsResult { +export interface EnableFastSnapshotRestoresResult { /** - *

                                                                                  Information about the IPv6 CIDR block associations.

                                                                                  + *

                                                                                  Information about the snapshots for which fast snapshot restores were successfully enabled.

                                                                                  */ - Ipv6CidrAssociations?: Ipv6CidrAssociation[]; + Successful?: EnableFastSnapshotRestoreSuccessItem[]; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  Information about the snapshots for which fast snapshot restores could not be enabled.

                                                                                  */ - NextToken?: string; + Unsuccessful?: EnableFastSnapshotRestoreErrorItem[]; } -export namespace GetAssociatedIpv6PoolCidrsResult { +export namespace EnableFastSnapshotRestoresResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetAssociatedIpv6PoolCidrsResult): any => ({ + export const filterSensitiveLog = (obj: EnableFastSnapshotRestoresResult): any => ({ ...obj, }); } -export interface GetCapacityReservationUsageRequest { +export interface EnableImageDeprecationRequest { /** - *

                                                                                  The ID of the Capacity Reservation.

                                                                                  + *

                                                                                  The ID of the AMI.

                                                                                  */ - CapacityReservationId: string | undefined; - - /** - *

                                                                                  The token to use to retrieve the next page of results.

                                                                                  - */ - NextToken?: string; + ImageId: string | undefined; /** - *

                                                                                  The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

                                                                                  - *

                                                                                  Valid range: Minimum value of 1. Maximum value of 1000.

                                                                                  + *

                                                                                  The date and time to deprecate the AMI, in UTC, in the following format: + * YYYY-MM-DDTHH:MM:SSZ. + * If you specify a value for seconds, Amazon EC2 rounds the seconds to the + * nearest minute.

                                                                                  + *

                                                                                  You can’t specify a date in the past. The upper limit for DeprecateAt is 10 + * years from now.

                                                                                  */ - MaxResults?: number; + DeprecateAt: Date | undefined; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; } -export namespace GetCapacityReservationUsageRequest { +export namespace EnableImageDeprecationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetCapacityReservationUsageRequest): any => ({ + export const filterSensitiveLog = (obj: EnableImageDeprecationRequest): any => ({ ...obj, }); } -/** - *

                                                                                  Information about the Capacity Reservation usage.

                                                                                  - */ -export interface InstanceUsage { +export interface EnableImageDeprecationResult { /** - *

                                                                                  The ID of the account that is making use of the Capacity Reservation.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - AccountId?: string; + Return?: boolean; +} +export namespace EnableImageDeprecationResult { /** - *

                                                                                  The number of instances the account currently has in the Capacity Reservation.

                                                                                  + * @internal */ - UsedInstanceCount?: number; + export const filterSensitiveLog = (obj: EnableImageDeprecationResult): any => ({ + ...obj, + }); } -export namespace InstanceUsage { +export interface EnableSerialConsoleAccessRequest { + /** + *

                                                                                  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; +} + +export namespace EnableSerialConsoleAccessRequest { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceUsage): any => ({ + export const filterSensitiveLog = (obj: EnableSerialConsoleAccessRequest): any => ({ ...obj, }); } -export interface GetCapacityReservationUsageResult { +export interface EnableSerialConsoleAccessResult { /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

                                                                                  */ - NextToken?: string; + SerialConsoleAccessEnabled?: boolean; +} +export namespace EnableSerialConsoleAccessResult { /** - *

                                                                                  The ID of the Capacity Reservation.

                                                                                  + * @internal */ - CapacityReservationId?: string; + export const filterSensitiveLog = (obj: EnableSerialConsoleAccessResult): any => ({ + ...obj, + }); +} +export interface EnableTransitGatewayRouteTablePropagationRequest { /** - *

                                                                                  The type of instance for which the Capacity Reservation reserves capacity.

                                                                                  + *

                                                                                  The ID of the propagation route table.

                                                                                  */ - InstanceType?: string; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  The number of instances for which the Capacity Reservation reserves capacity.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - TotalInstanceCount?: number; + TransitGatewayAttachmentId: string | undefined; /** - *

                                                                                  The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

                                                                                  + *

                                                                                  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.

                                                                                  */ - AvailableInstanceCount?: number; + DryRun?: boolean; +} +export namespace EnableTransitGatewayRouteTablePropagationRequest { /** - *

                                                                                  The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * active - The Capacity Reservation is active and the capacity is available for your use.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * expired - The Capacity Reservation expired automatically at the date and time specified - * in your request. The reserved capacity is no longer available for your use.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * cancelled - The Capacity Reservation was cancelled. The reserved capacity is no - * longer available for your use.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * pending - The Capacity Reservation request was successful but the capacity - * provisioning is still pending.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * failed - The Capacity Reservation request has failed. A request might fail - * due to invalid request parameters, capacity constraints, or instance limit constraints. - * Failed requests are retained for 60 minutes.

                                                                                    - *
                                                                                  • - *
                                                                                  + * @internal */ - State?: CapacityReservationState | string; + export const filterSensitiveLog = (obj: EnableTransitGatewayRouteTablePropagationRequest): any => ({ + ...obj, + }); +} +export interface EnableTransitGatewayRouteTablePropagationResult { /** - *

                                                                                  Information about the Capacity Reservation usage.

                                                                                  + *

                                                                                  Information about route propagation.

                                                                                  */ - InstanceUsages?: InstanceUsage[]; + Propagation?: TransitGatewayPropagation; } -export namespace GetCapacityReservationUsageResult { +export namespace EnableTransitGatewayRouteTablePropagationResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetCapacityReservationUsageResult): any => ({ + export const filterSensitiveLog = (obj: EnableTransitGatewayRouteTablePropagationResult): any => ({ ...obj, }); } -export interface GetCoipPoolUsageRequest { +/** + *

                                                                                  Contains the parameters for EnableVgwRoutePropagation.

                                                                                  + */ +export interface EnableVgwRoutePropagationRequest { /** - *

                                                                                  The ID of the address pool.

                                                                                  + *

                                                                                  The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

                                                                                  */ - PoolId: string | undefined; + GatewayId: string | undefined; /** - *

                                                                                  The filters. The following are the possible values:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * coip-address-usage.allocation-id - *

                                                                                    - *
                                                                                  • - *
                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * coip-address-usage.aws-account-id - *

                                                                                    - *
                                                                                  • - *
                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * coip-address-usage.aws-service - *

                                                                                    - *
                                                                                  • - *
                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * coip-address-usage.co-ip - *

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

                                                                                  */ - Filters?: Filter[]; + RouteTableId: string | undefined; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  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.

                                                                                  */ - MaxResults?: number; + DryRun?: boolean; +} +export namespace EnableVgwRoutePropagationRequest { /** - *

                                                                                  The token for the next page of results.

                                                                                  + * @internal */ - NextToken?: string; + export const filterSensitiveLog = (obj: EnableVgwRoutePropagationRequest): any => ({ + ...obj, + }); +} +export interface EnableVolumeIORequest { /** *

                                                                                  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; + + /** + *

                                                                                  The ID of the volume.

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

                                                                                  Describes address usage for a customer-owned address pool.

                                                                                  - */ -export interface CoipAddressUsage { +export interface EnableVpcClassicLinkRequest { /** - *

                                                                                  The allocation ID of the address.

                                                                                  + *

                                                                                  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.

                                                                                  */ - AllocationId?: string; + DryRun?: boolean; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - AwsAccountId?: string; + VpcId: string | undefined; +} +export namespace EnableVpcClassicLinkRequest { /** - *

                                                                                  The AWS service.

                                                                                  + * @internal */ - AwsService?: string; + export const filterSensitiveLog = (obj: EnableVpcClassicLinkRequest): any => ({ + ...obj, + }); +} +export interface EnableVpcClassicLinkResult { /** - *

                                                                                  The customer-owned IP address.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - CoIp?: string; + Return?: boolean; } -export namespace CoipAddressUsage { +export namespace EnableVpcClassicLinkResult { /** * @internal */ - export const filterSensitiveLog = (obj: CoipAddressUsage): any => ({ + export const filterSensitiveLog = (obj: EnableVpcClassicLinkResult): any => ({ ...obj, }); } -export interface GetCoipPoolUsageResult { +export interface EnableVpcClassicLinkDnsSupportRequest { /** - *

                                                                                  The ID of the customer-owned address pool.

                                                                                  + *

                                                                                  The ID of the VPC.

                                                                                  */ - CoipPoolId?: string; + VpcId?: string; +} +export namespace EnableVpcClassicLinkDnsSupportRequest { /** - *

                                                                                  Information about the address usage.

                                                                                  + * @internal */ - CoipAddressUsages?: CoipAddressUsage[]; + export const filterSensitiveLog = (obj: EnableVpcClassicLinkDnsSupportRequest): any => ({ + ...obj, + }); +} +export interface EnableVpcClassicLinkDnsSupportResult { /** - *

                                                                                  The ID of the local gateway route table.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - LocalGatewayRouteTableId?: string; + Return?: boolean; } -export namespace GetCoipPoolUsageResult { +export namespace EnableVpcClassicLinkDnsSupportResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetCoipPoolUsageResult): any => ({ + export const filterSensitiveLog = (obj: EnableVpcClassicLinkDnsSupportResult): any => ({ ...obj, }); } -export interface GetConsoleOutputRequest { +export interface ExportClientVpnClientCertificateRevocationListRequest { /** - *

                                                                                  The ID of the instance.

                                                                                  + *

                                                                                  The ID of the Client VPN endpoint.

                                                                                  */ - InstanceId: string | undefined; + ClientVpnEndpointId: string | undefined; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; - - /** - *

                                                                                  When enabled, retrieves the latest console output for the instance.

                                                                                  - *

                                                                                  Default: disabled (false)

                                                                                  - */ - Latest?: boolean; } -export namespace GetConsoleOutputRequest { +export namespace ExportClientVpnClientCertificateRevocationListRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetConsoleOutputRequest): any => ({ + export const filterSensitiveLog = (obj: ExportClientVpnClientCertificateRevocationListRequest): any => ({ ...obj, }); } -export interface GetConsoleOutputResult { - /** - *

                                                                                  The ID of the instance.

                                                                                  - */ - InstanceId?: string; +export type ClientCertificateRevocationListStatusCode = "active" | "pending"; +/** + *

                                                                                  Describes the state of a client certificate revocation list.

                                                                                  + */ +export interface ClientCertificateRevocationListStatus { /** - *

                                                                                  The console output, base64-encoded. If you are using a command line tool, the tool - * decodes the output for you.

                                                                                  + *

                                                                                  The state of the client certificate revocation list.

                                                                                  */ - Output?: string; + Code?: ClientCertificateRevocationListStatusCode | string; /** - *

                                                                                  The time at which the output was last updated.

                                                                                  + *

                                                                                  A message about the status of the client certificate revocation list, if applicable.

                                                                                  */ - Timestamp?: Date; + Message?: string; } -export namespace GetConsoleOutputResult { +export namespace ClientCertificateRevocationListStatus { /** * @internal */ - export const filterSensitiveLog = (obj: GetConsoleOutputResult): any => ({ + export const filterSensitiveLog = (obj: ClientCertificateRevocationListStatus): any => ({ ...obj, }); } -export interface GetConsoleScreenshotRequest { - /** - *

                                                                                  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; - +export interface ExportClientVpnClientCertificateRevocationListResult { /** - *

                                                                                  The ID of the instance.

                                                                                  + *

                                                                                  Information about the client certificate revocation list.

                                                                                  */ - InstanceId: string | undefined; + CertificateRevocationList?: string; /** - *

                                                                                  When set to true, acts as keystroke input and wakes up an instance that's - * in standby or "sleep" mode.

                                                                                  + *

                                                                                  The current state of the client certificate revocation list.

                                                                                  */ - WakeUp?: boolean; + Status?: ClientCertificateRevocationListStatus; } -export namespace GetConsoleScreenshotRequest { +export namespace ExportClientVpnClientCertificateRevocationListResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetConsoleScreenshotRequest): any => ({ + export const filterSensitiveLog = (obj: ExportClientVpnClientCertificateRevocationListResult): any => ({ ...obj, }); } -export interface GetConsoleScreenshotResult { +export interface ExportClientVpnClientConfigurationRequest { /** - *

                                                                                  The data that comprises the image.

                                                                                  + *

                                                                                  The ID of the Client VPN endpoint.

                                                                                  */ - ImageData?: string; + ClientVpnEndpointId: string | undefined; /** - *

                                                                                  The ID of the instance.

                                                                                  + *

                                                                                  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.

                                                                                  */ - InstanceId?: string; + DryRun?: boolean; } -export namespace GetConsoleScreenshotResult { +export namespace ExportClientVpnClientConfigurationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetConsoleScreenshotResult): any => ({ + export const filterSensitiveLog = (obj: ExportClientVpnClientConfigurationRequest): any => ({ ...obj, }); } -export type UnlimitedSupportedInstanceFamily = "t2" | "t3" | "t3a" | "t4g"; - -export interface GetDefaultCreditSpecificationRequest { - /** - *

                                                                                  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; - +export interface ExportClientVpnClientConfigurationResult { /** - *

                                                                                  The instance family.

                                                                                  + *

                                                                                  The contents of the Client VPN endpoint configuration file.

                                                                                  */ - InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; + ClientConfiguration?: string; } -export namespace GetDefaultCreditSpecificationRequest { +export namespace ExportClientVpnClientConfigurationResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDefaultCreditSpecificationRequest): any => ({ + export const filterSensitiveLog = (obj: ExportClientVpnClientConfigurationResult): any => ({ ...obj, }); } /** - *

                                                                                  Describes the default credit option for CPU usage of a burstable performance instance family.

                                                                                  + *

                                                                                  Describes the destination for an export image task.

                                                                                  */ -export interface InstanceFamilyCreditSpecification { +export interface ExportTaskS3LocationRequest { /** - *

                                                                                  The instance family.

                                                                                  + *

                                                                                  The destination Amazon S3 bucket.

                                                                                  */ - InstanceFamily?: UnlimitedSupportedInstanceFamily | string; + S3Bucket: string | undefined; /** - *

                                                                                  The default credit option for CPU usage of the instance family. Valid values are standard and unlimited.

                                                                                  + *

                                                                                  The prefix (logical hierarchy) in the bucket.

                                                                                  */ - CpuCredits?: string; + S3Prefix?: string; } -export namespace InstanceFamilyCreditSpecification { +export namespace ExportTaskS3LocationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceFamilyCreditSpecification): any => ({ + export const filterSensitiveLog = (obj: ExportTaskS3LocationRequest): any => ({ ...obj, }); } -export interface GetDefaultCreditSpecificationResult { +export interface ExportImageRequest { /** - *

                                                                                  The default credit option for CPU usage of the instance family.

                                                                                  + *

                                                                                  Token to enable idempotency for export image requests.

                                                                                  */ - InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; -} + ClientToken?: string; -export namespace GetDefaultCreditSpecificationResult { /** - * @internal + *

                                                                                  A description of the image being exported. The maximum length is 255 characters.

                                                                                  */ - export const filterSensitiveLog = (obj: GetDefaultCreditSpecificationResult): any => ({ - ...obj, - }); -} + Description?: string; + + /** + *

                                                                                  The disk image format.

                                                                                  + */ + DiskImageFormat: DiskImageFormat | string | undefined; -export interface GetEbsDefaultKmsKeyIdRequest { /** *

                                                                                  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; -} -export namespace GetEbsDefaultKmsKeyIdRequest { /** - * @internal + *

                                                                                  The ID of the image.

                                                                                  */ - export const filterSensitiveLog = (obj: GetEbsDefaultKmsKeyIdRequest): any => ({ - ...obj, - }); -} + ImageId: string | undefined; -export interface GetEbsDefaultKmsKeyIdResult { /** - *

                                                                                  The Amazon Resource Name (ARN) of the default CMK for encryption by default.

                                                                                  + *

                                                                                  Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE + * and READ_ACP permissions to the AWS account vm-import-export@amazon.com.

                                                                                  */ - KmsKeyId?: string; -} + S3ExportLocation: ExportTaskS3LocationRequest | undefined; -export namespace GetEbsDefaultKmsKeyIdResult { /** - * @internal + *

                                                                                  The name of the role that grants VM Import/Export permission to export images to your Amazon + * S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

                                                                                  */ - export const filterSensitiveLog = (obj: GetEbsDefaultKmsKeyIdResult): any => ({ - ...obj, - }); -} + RoleName?: string; -export interface GetEbsEncryptionByDefaultRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The tags to apply to the export image task during creation.

                                                                                  */ - DryRun?: boolean; + TagSpecifications?: TagSpecification[]; } -export namespace GetEbsEncryptionByDefaultRequest { +export namespace ExportImageRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetEbsEncryptionByDefaultRequest): any => ({ + export const filterSensitiveLog = (obj: ExportImageRequest): any => ({ ...obj, }); } -export interface GetEbsEncryptionByDefaultResult { +export interface ExportImageResult { /** - *

                                                                                  Indicates whether encryption by default is enabled.

                                                                                  + *

                                                                                  A description of the image being exported.

                                                                                  */ - EbsEncryptionByDefault?: boolean; -} + Description?: string; -export namespace GetEbsEncryptionByDefaultResult { /** - * @internal + *

                                                                                  The disk image format for the exported image.

                                                                                  */ - export const filterSensitiveLog = (obj: GetEbsEncryptionByDefaultResult): any => ({ - ...obj, - }); -} + DiskImageFormat?: DiskImageFormat | string; -export enum PartitionLoadFrequency { - DAILY = "daily", - MONTHLY = "monthly", - NONE = "none", - WEEKLY = "weekly", -} + /** + *

                                                                                  The ID of the export image task.

                                                                                  + */ + ExportImageTaskId?: string; -/** - *

                                                                                  Describes integration options for Amazon Athena.

                                                                                  - */ -export interface AthenaIntegration { /** - *

                                                                                  The location in Amazon S3 to store the generated CloudFormation template.

                                                                                  + *

                                                                                  The ID of the image.

                                                                                  */ - IntegrationResultS3DestinationArn: string | undefined; + ImageId?: string; /** - *

                                                                                  The schedule for adding new partitions to the table.

                                                                                  + *

                                                                                  The name of the role that grants VM Import/Export permission to export images to your Amazon + * S3 bucket.

                                                                                  */ - PartitionLoadFrequency: PartitionLoadFrequency | string | undefined; + RoleName?: string; /** - *

                                                                                  The start date for the partition.

                                                                                  + *

                                                                                  The percent complete of the export image task.

                                                                                  */ - PartitionStartDate?: Date; + Progress?: string; /** - *

                                                                                  The end date for the partition.

                                                                                  + *

                                                                                  Information about the destination Amazon S3 bucket.

                                                                                  */ - PartitionEndDate?: Date; -} + S3ExportLocation?: ExportTaskS3Location; -export namespace AthenaIntegration { /** - * @internal + *

                                                                                  The status of the export image task. The possible values are active, completed, + * deleting, and deleted.

                                                                                  */ - export const filterSensitiveLog = (obj: AthenaIntegration): any => ({ - ...obj, - }); -} + Status?: string; -/** - *

                                                                                  Describes service integrations with VPC Flow logs.

                                                                                  - */ -export interface IntegrateServices { /** - *

                                                                                  Information about the integration with Amazon Athena.

                                                                                  + *

                                                                                  The status message for the export image task.

                                                                                  */ - AthenaIntegrations?: AthenaIntegration[]; + StatusMessage?: string; + + /** + *

                                                                                  Any tags assigned to the export image task.

                                                                                  + */ + Tags?: Tag[]; } -export namespace IntegrateServices { +export namespace ExportImageResult { /** * @internal */ - export const filterSensitiveLog = (obj: IntegrateServices): any => ({ + export const filterSensitiveLog = (obj: ExportImageResult): any => ({ ...obj, }); } -export interface GetFlowLogsIntegrationTemplateRequest { - /** - *

                                                                                  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; - +export interface ExportTransitGatewayRoutesRequest { /** - *

                                                                                  The ID of the flow log.

                                                                                  + *

                                                                                  The ID of the route table.

                                                                                  */ - FlowLogId: string | undefined; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.

                                                                                  - */ - ConfigDeliveryS3DestinationArn: string | undefined; + *

                                                                                  One or more filters. The possible values are:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * attachment.transit-gateway-attachment-id - The id of the transit gateway attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * attachment.resource-id - The resource id of the transit gateway attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * route-search.exact-match - The exact match of the specified filter.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * route-search.longest-prefix-match - The longest prefix that matches the route.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * state - The state of the route (active | blackhole).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * transit-gateway-route-destination-cidr-block - The CIDR range.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * type - The type of route (propagated | + * static).

                                                                                    + *
                                                                                  • + *
                                                                                  + */ + Filters?: Filter[]; /** - *

                                                                                  Information about the service integration.

                                                                                  + *

                                                                                  The name of the S3 bucket.

                                                                                  */ - IntegrateServices: IntegrateServices | undefined; + S3Bucket: string | undefined; + + /** + *

                                                                                  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; } -export namespace GetFlowLogsIntegrationTemplateRequest { +export namespace ExportTransitGatewayRoutesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetFlowLogsIntegrationTemplateRequest): any => ({ + export const filterSensitiveLog = (obj: ExportTransitGatewayRoutesRequest): any => ({ ...obj, }); } -export interface GetFlowLogsIntegrationTemplateResult { +export interface ExportTransitGatewayRoutesResult { /** - *

                                                                                  The generated CloudFormation template.

                                                                                  + *

                                                                                  The URL of the exported file in Amazon S3. For example, + * s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.

                                                                                  */ - Result?: string; + S3Location?: string; } -export namespace GetFlowLogsIntegrationTemplateResult { +export namespace ExportTransitGatewayRoutesResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetFlowLogsIntegrationTemplateResult): any => ({ + export const filterSensitiveLog = (obj: ExportTransitGatewayRoutesResult): any => ({ ...obj, }); } -export interface GetGroupsForCapacityReservationRequest { - /** - *

                                                                                  The ID of the Capacity Reservation.

                                                                                  - */ - CapacityReservationId: string | undefined; - - /** - *

                                                                                  The token to use to retrieve the next page of results.

                                                                                  - */ - NextToken?: string; - +export interface GetAssociatedEnclaveCertificateIamRolesRequest { /** - *

                                                                                  The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

                                                                                  + *

                                                                                  The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon + * S3 object information.

                                                                                  */ - MaxResults?: number; + CertificateArn?: string; /** *

                                                                                  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.

                                                                                  @@ -2795,378 +2906,405 @@ export interface GetGroupsForCapacityReservationRequest { DryRun?: boolean; } -export namespace GetGroupsForCapacityReservationRequest { +export namespace GetAssociatedEnclaveCertificateIamRolesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetGroupsForCapacityReservationRequest): any => ({ + export const filterSensitiveLog = (obj: GetAssociatedEnclaveCertificateIamRolesRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes a resource group to which a Capacity Reservation has been added.

                                                                                  + *

                                                                                  Information about the associated IAM roles.

                                                                                  */ -export interface CapacityReservationGroup { +export interface AssociatedRole { /** - *

                                                                                  The ARN of the resource group.

                                                                                  + *

                                                                                  The ARN of the associated IAM role.

                                                                                  */ - GroupArn?: string; + AssociatedRoleArn?: string; /** - *

                                                                                  The ID of the account that owns the resource group.

                                                                                  + *

                                                                                  The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

                                                                                  */ - OwnerId?: string; + CertificateS3BucketName?: string; + + /** + *

                                                                                  The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle + * is stored. The object key is formated as follows: role_arn/certificate_arn. + *

                                                                                  + */ + CertificateS3ObjectKey?: string; + + /** + *

                                                                                  The ID of the KMS customer master key (CMK) used to encrypt the private key.

                                                                                  + */ + EncryptionKmsKeyId?: string; } -export namespace CapacityReservationGroup { +export namespace AssociatedRole { /** * @internal */ - export const filterSensitiveLog = (obj: CapacityReservationGroup): any => ({ + export const filterSensitiveLog = (obj: AssociatedRole): any => ({ ...obj, }); } -export interface GetGroupsForCapacityReservationResult { - /** - *

                                                                                  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 interface GetAssociatedEnclaveCertificateIamRolesResult { /** - *

                                                                                  Information about the resource groups to which the Capacity Reservation has been added.

                                                                                  + *

                                                                                  Information about the associated IAM roles.

                                                                                  */ - CapacityReservationGroups?: CapacityReservationGroup[]; + AssociatedRoles?: AssociatedRole[]; } -export namespace GetGroupsForCapacityReservationResult { +export namespace GetAssociatedEnclaveCertificateIamRolesResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetGroupsForCapacityReservationResult): any => ({ + export const filterSensitiveLog = (obj: GetAssociatedEnclaveCertificateIamRolesResult): any => ({ ...obj, }); } -export interface GetHostReservationPurchasePreviewRequest { +export interface GetAssociatedIpv6PoolCidrsRequest { /** - *

                                                                                  The IDs of the Dedicated Hosts with which the reservation is associated.

                                                                                  + *

                                                                                  The ID of the IPv6 address pool.

                                                                                  */ - HostIdSet: string[] | undefined; + PoolId: string | undefined; /** - *

                                                                                  The offering ID of the reservation.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - OfferingId: string | undefined; + NextToken?: string; + + /** + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + */ + MaxResults?: number; + + /** + *

                                                                                  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; } -export namespace GetHostReservationPurchasePreviewRequest { +export namespace GetAssociatedIpv6PoolCidrsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetHostReservationPurchasePreviewRequest): any => ({ + export const filterSensitiveLog = (obj: GetAssociatedIpv6PoolCidrsRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes the result of the purchase.

                                                                                  + *

                                                                                  Describes an IPv6 CIDR block association.

                                                                                  */ -export interface Purchase { - /** - *

                                                                                  The currency in which the UpfrontPrice and HourlyPrice - * amounts are specified. At this time, the only supported currency is - * USD.

                                                                                  - */ - CurrencyCode?: CurrencyCodeValues | string; - - /** - *

                                                                                  The duration of the reservation's term in seconds.

                                                                                  - */ - Duration?: number; - - /** - *

                                                                                  The IDs of the Dedicated Hosts associated with the reservation.

                                                                                  - */ - HostIdSet?: string[]; - +export interface Ipv6CidrAssociation { /** - *

                                                                                  The ID of the reservation.

                                                                                  + *

                                                                                  The IPv6 CIDR block.

                                                                                  */ - HostReservationId?: string; + Ipv6Cidr?: string; /** - *

                                                                                  The hourly price of the reservation per hour.

                                                                                  + *

                                                                                  The resource that's associated with the IPv6 CIDR block.

                                                                                  */ - HourlyPrice?: string; + AssociatedResource?: string; +} +export namespace Ipv6CidrAssociation { /** - *

                                                                                  The instance family on the Dedicated Host that the reservation can be associated - * with.

                                                                                  + * @internal */ - InstanceFamily?: string; + export const filterSensitiveLog = (obj: Ipv6CidrAssociation): any => ({ + ...obj, + }); +} +export interface GetAssociatedIpv6PoolCidrsResult { /** - *

                                                                                  The payment option for the reservation.

                                                                                  + *

                                                                                  Information about the IPv6 CIDR block associations.

                                                                                  */ - PaymentOption?: PaymentOption | string; + Ipv6CidrAssociations?: Ipv6CidrAssociation[]; /** - *

                                                                                  The upfront price of the reservation.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - UpfrontPrice?: string; + NextToken?: string; } -export namespace Purchase { +export namespace GetAssociatedIpv6PoolCidrsResult { /** * @internal */ - export const filterSensitiveLog = (obj: Purchase): any => ({ + export const filterSensitiveLog = (obj: GetAssociatedIpv6PoolCidrsResult): any => ({ ...obj, }); } -export interface GetHostReservationPurchasePreviewResult { +export interface GetCapacityReservationUsageRequest { /** - *

                                                                                  The currency in which the totalUpfrontPrice and - * totalHourlyPrice amounts are specified. At this time, the only - * supported currency is USD.

                                                                                  + *

                                                                                  The ID of the Capacity Reservation.

                                                                                  */ - CurrencyCode?: CurrencyCodeValues | string; + CapacityReservationId: string | undefined; /** - *

                                                                                  The purchase information of the Dedicated Host reservation and the Dedicated Hosts - * associated with it.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results.

                                                                                  */ - Purchase?: Purchase[]; + NextToken?: string; /** - *

                                                                                  The potential total hourly price of the reservation per hour.

                                                                                  + *

                                                                                  The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

                                                                                  + *

                                                                                  Valid range: Minimum value of 1. Maximum value of 1000.

                                                                                  */ - TotalHourlyPrice?: string; + MaxResults?: number; /** - *

                                                                                  The potential total upfront price. This is billed immediately.

                                                                                  + *

                                                                                  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.

                                                                                  */ - TotalUpfrontPrice?: string; + DryRun?: boolean; } -export namespace GetHostReservationPurchasePreviewResult { +export namespace GetCapacityReservationUsageRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetHostReservationPurchasePreviewResult): any => ({ + export const filterSensitiveLog = (obj: GetCapacityReservationUsageRequest): any => ({ ...obj, }); } -export interface GetLaunchTemplateDataRequest { +/** + *

                                                                                  Information about the Capacity Reservation usage.

                                                                                  + */ +export interface InstanceUsage { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The ID of the account that is making use of the Capacity Reservation.

                                                                                  */ - DryRun?: boolean; + AccountId?: string; /** - *

                                                                                  The ID of the instance.

                                                                                  + *

                                                                                  The number of instances the account currently has in the Capacity Reservation.

                                                                                  */ - InstanceId: string | undefined; + UsedInstanceCount?: number; } -export namespace GetLaunchTemplateDataRequest { +export namespace InstanceUsage { /** * @internal */ - export const filterSensitiveLog = (obj: GetLaunchTemplateDataRequest): any => ({ + export const filterSensitiveLog = (obj: InstanceUsage): any => ({ ...obj, }); } -export interface GetLaunchTemplateDataResult { +export interface GetCapacityReservationUsageResult { /** - *

                                                                                  The instance data.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - LaunchTemplateData?: ResponseLaunchTemplateData; -} + NextToken?: string; -export namespace GetLaunchTemplateDataResult { /** - * @internal + *

                                                                                  The ID of the Capacity Reservation.

                                                                                  */ - export const filterSensitiveLog = (obj: GetLaunchTemplateDataResult): any => ({ - ...obj, - }); -} + CapacityReservationId?: string; -export interface GetManagedPrefixListAssociationsRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The type of instance for which the Capacity Reservation reserves capacity.

                                                                                  */ - DryRun?: boolean; + InstanceType?: string; /** - *

                                                                                  The ID of the prefix list.

                                                                                  + *

                                                                                  The number of instances for which the Capacity Reservation reserves capacity.

                                                                                  */ - PrefixListId: string | undefined; + TotalInstanceCount?: number; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

                                                                                  */ - MaxResults?: number; + AvailableInstanceCount?: number; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * active - The Capacity Reservation is active and the capacity is available for your use.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * expired - The Capacity Reservation expired automatically at the date and time specified + * in your request. The reserved capacity is no longer available for your use.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * cancelled - The Capacity Reservation was cancelled. The reserved capacity is no + * longer available for your use.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * pending - The Capacity Reservation request was successful but the capacity + * provisioning is still pending.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * failed - The Capacity Reservation request has failed. A request might fail + * due to invalid request parameters, capacity constraints, or instance limit constraints. + * Failed requests are retained for 60 minutes.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - NextToken?: string; + State?: CapacityReservationState | string; + + /** + *

                                                                                  Information about the Capacity Reservation usage.

                                                                                  + */ + InstanceUsages?: InstanceUsage[]; } -export namespace GetManagedPrefixListAssociationsRequest { +export namespace GetCapacityReservationUsageResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetManagedPrefixListAssociationsRequest): any => ({ + export const filterSensitiveLog = (obj: GetCapacityReservationUsageResult): any => ({ ...obj, }); } -/** - *

                                                                                  Describes the resource with which a prefix list is associated.

                                                                                  - */ -export interface PrefixListAssociation { +export interface GetCoipPoolUsageRequest { /** - *

                                                                                  The ID of the resource.

                                                                                  + *

                                                                                  The ID of the address pool.

                                                                                  */ - ResourceId?: string; + PoolId: string | undefined; /** - *

                                                                                  The owner of the resource.

                                                                                  + *

                                                                                  The filters. The following are the possible values:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * coip-address-usage.allocation-id + *

                                                                                    + *
                                                                                  • + *
                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * coip-address-usage.aws-account-id + *

                                                                                    + *
                                                                                  • + *
                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * coip-address-usage.aws-service + *

                                                                                    + *
                                                                                  • + *
                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * coip-address-usage.co-ip + *

                                                                                    + *
                                                                                  • + *
                                                                                  */ - ResourceOwner?: string; -} + Filters?: Filter[]; -export namespace PrefixListAssociation { /** - * @internal + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - export const filterSensitiveLog = (obj: PrefixListAssociation): any => ({ - ...obj, - }); -} + MaxResults?: number; -export interface GetManagedPrefixListAssociationsResult { /** - *

                                                                                  Information about the associations.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - PrefixListAssociations?: PrefixListAssociation[]; + NextToken?: string; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  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.

                                                                                  */ - NextToken?: string; + DryRun?: boolean; } -export namespace GetManagedPrefixListAssociationsResult { +export namespace GetCoipPoolUsageRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetManagedPrefixListAssociationsResult): any => ({ + export const filterSensitiveLog = (obj: GetCoipPoolUsageRequest): any => ({ ...obj, }); } -export interface GetManagedPrefixListEntriesRequest { - /** - *

                                                                                  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; - +/** + *

                                                                                  Describes address usage for a customer-owned address pool.

                                                                                  + */ +export interface CoipAddressUsage { /** - *

                                                                                  The ID of the prefix list.

                                                                                  + *

                                                                                  The allocation ID of the address.

                                                                                  */ - PrefixListId: string | undefined; + AllocationId?: string; /** - *

                                                                                  The version of the prefix list for which to return the entries. The default is the current version.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - TargetVersion?: number; + AwsAccountId?: string; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The AWS service.

                                                                                  */ - MaxResults?: number; + AwsService?: string; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The customer-owned IP address.

                                                                                  */ - NextToken?: string; + CoIp?: string; } -export namespace GetManagedPrefixListEntriesRequest { +export namespace CoipAddressUsage { /** * @internal */ - export const filterSensitiveLog = (obj: GetManagedPrefixListEntriesRequest): any => ({ + export const filterSensitiveLog = (obj: CoipAddressUsage): any => ({ ...obj, }); } -/** - *

                                                                                  Describes a prefix list entry.

                                                                                  - */ -export interface PrefixListEntry { - /** - *

                                                                                  The CIDR block.

                                                                                  - */ - Cidr?: string; - - /** - *

                                                                                  The description.

                                                                                  - */ - Description?: string; -} - -export namespace PrefixListEntry { +export interface GetCoipPoolUsageResult { /** - * @internal + *

                                                                                  The ID of the customer-owned address pool.

                                                                                  */ - export const filterSensitiveLog = (obj: PrefixListEntry): any => ({ - ...obj, - }); -} + CoipPoolId?: string; -export interface GetManagedPrefixListEntriesResult { /** - *

                                                                                  Information about the prefix list entries.

                                                                                  + *

                                                                                  Information about the address usage.

                                                                                  */ - Entries?: PrefixListEntry[]; + CoipAddressUsages?: CoipAddressUsage[]; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  The ID of the local gateway route table.

                                                                                  */ - NextToken?: string; + LocalGatewayRouteTableId?: string; } -export namespace GetManagedPrefixListEntriesResult { +export namespace GetCoipPoolUsageResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetManagedPrefixListEntriesResult): any => ({ + export const filterSensitiveLog = (obj: GetCoipPoolUsageResult): any => ({ ...obj, }); } -export interface GetPasswordDataRequest { +export interface GetConsoleOutputRequest { /** - *

                                                                                  The ID of the Windows instance.

                                                                                  + *

                                                                                  The ID of the instance.

                                                                                  */ InstanceId: string | undefined; @@ -3176,715 +3314,582 @@ export interface GetPasswordDataRequest { * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; + + /** + *

                                                                                  When enabled, retrieves the latest console output for the instance.

                                                                                  + *

                                                                                  Default: disabled (false)

                                                                                  + */ + Latest?: boolean; } -export namespace GetPasswordDataRequest { +export namespace GetConsoleOutputRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetPasswordDataRequest): any => ({ + export const filterSensitiveLog = (obj: GetConsoleOutputRequest): any => ({ ...obj, }); } -export interface GetPasswordDataResult { +export interface GetConsoleOutputResult { /** - *

                                                                                  The ID of the Windows instance.

                                                                                  + *

                                                                                  The ID of the instance.

                                                                                  */ InstanceId?: string; /** - *

                                                                                  The password of the instance. Returns an empty string if the password is not - * available.

                                                                                  + *

                                                                                  The console output, base64-encoded. If you are using a command line tool, the tool + * decodes the output for you.

                                                                                  */ - PasswordData?: string; + Output?: string; /** - *

                                                                                  The time the data was last updated.

                                                                                  + *

                                                                                  The time at which the output was last updated.

                                                                                  */ Timestamp?: Date; } -export namespace GetPasswordDataResult { +export namespace GetConsoleOutputResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetPasswordDataResult): any => ({ + export const filterSensitiveLog = (obj: GetConsoleOutputResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains the parameters for GetReservedInstanceExchangeQuote.

                                                                                  - */ -export interface GetReservedInstancesExchangeQuoteRequest { +export interface GetConsoleScreenshotRequest { /** *

                                                                                  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.

                                                                                  + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                  */ DryRun?: boolean; /** - *

                                                                                  The IDs of the Convertible Reserved Instances to exchange.

                                                                                  + *

                                                                                  The ID of the instance.

                                                                                  */ - ReservedInstanceIds: string[] | undefined; + InstanceId: string | undefined; /** - *

                                                                                  The configuration of the target Convertible Reserved Instance to exchange for your - * current Convertible Reserved Instances.

                                                                                  + *

                                                                                  When set to true, acts as keystroke input and wakes up an instance that's + * in standby or "sleep" mode.

                                                                                  */ - TargetConfigurations?: TargetConfigurationRequest[]; + WakeUp?: boolean; } -export namespace GetReservedInstancesExchangeQuoteRequest { +export namespace GetConsoleScreenshotRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetReservedInstancesExchangeQuoteRequest): any => ({ + export const filterSensitiveLog = (obj: GetConsoleScreenshotRequest): any => ({ ...obj, }); } -/** - *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  - */ -export interface ReservationValue { - /** - *

                                                                                  The hourly rate of the reservation.

                                                                                  - */ - HourlyPrice?: string; - +export interface GetConsoleScreenshotResult { /** - *

                                                                                  The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

                                                                                  + *

                                                                                  The data that comprises the image.

                                                                                  */ - RemainingTotalValue?: string; + ImageData?: string; /** - *

                                                                                  The remaining upfront cost of the reservation.

                                                                                  + *

                                                                                  The ID of the instance.

                                                                                  */ - RemainingUpfrontValue?: string; + InstanceId?: string; } -export namespace ReservationValue { +export namespace GetConsoleScreenshotResult { /** * @internal */ - export const filterSensitiveLog = (obj: ReservationValue): any => ({ + export const filterSensitiveLog = (obj: GetConsoleScreenshotResult): any => ({ ...obj, }); } -/** - *

                                                                                  The total value of the Convertible Reserved Instance.

                                                                                  - */ -export interface ReservedInstanceReservationValue { +export type UnlimitedSupportedInstanceFamily = "t2" | "t3" | "t3a" | "t4g"; + +export interface GetDefaultCreditSpecificationRequest { /** - *

                                                                                  The total value of the Convertible Reserved Instance that you are exchanging.

                                                                                  + *

                                                                                  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.

                                                                                  */ - ReservationValue?: ReservationValue; + DryRun?: boolean; /** - *

                                                                                  The ID of the Convertible Reserved Instance that you are exchanging.

                                                                                  + *

                                                                                  The instance family.

                                                                                  */ - ReservedInstanceId?: string; + InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; } -export namespace ReservedInstanceReservationValue { +export namespace GetDefaultCreditSpecificationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ReservedInstanceReservationValue): any => ({ + export const filterSensitiveLog = (obj: GetDefaultCreditSpecificationRequest): any => ({ ...obj, }); } /** - *

                                                                                  Information about the Convertible Reserved Instance offering.

                                                                                  + *

                                                                                  Describes the default credit option for CPU usage of a burstable performance instance family.

                                                                                  */ -export interface TargetConfiguration { +export interface InstanceFamilyCreditSpecification { /** - *

                                                                                  The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is - * reserved and cannot be specified in a request

                                                                                  + *

                                                                                  The instance family.

                                                                                  */ - InstanceCount?: number; + InstanceFamily?: UnlimitedSupportedInstanceFamily | string; /** - *

                                                                                  The ID of the Convertible Reserved Instance offering.

                                                                                  + *

                                                                                  The default credit option for CPU usage of the instance family. Valid values are standard and unlimited.

                                                                                  */ - OfferingId?: string; + CpuCredits?: string; } -export namespace TargetConfiguration { +export namespace InstanceFamilyCreditSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: TargetConfiguration): any => ({ + export const filterSensitiveLog = (obj: InstanceFamilyCreditSpecification): any => ({ ...obj, }); } -/** - *

                                                                                  The total value of the new Convertible Reserved Instances.

                                                                                  - */ -export interface TargetReservationValue { - /** - *

                                                                                  The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of - * the list value, remaining upfront price, and additional upfront cost of the exchange.

                                                                                  - */ - ReservationValue?: ReservationValue; - +export interface GetDefaultCreditSpecificationResult { /** - *

                                                                                  The configuration of the Convertible Reserved Instances that make up the exchange.

                                                                                  + *

                                                                                  The default credit option for CPU usage of the instance family.

                                                                                  */ - TargetConfiguration?: TargetConfiguration; + InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; } -export namespace TargetReservationValue { +export namespace GetDefaultCreditSpecificationResult { /** * @internal */ - export const filterSensitiveLog = (obj: TargetReservationValue): any => ({ + export const filterSensitiveLog = (obj: GetDefaultCreditSpecificationResult): any => ({ ...obj, }); } -/** - *

                                                                                  Contains the output of GetReservedInstancesExchangeQuote.

                                                                                  - */ -export interface GetReservedInstancesExchangeQuoteResult { - /** - *

                                                                                  The currency of the transaction.

                                                                                  - */ - CurrencyCode?: string; - - /** - *

                                                                                  If true, the exchange is valid. If false, the exchange cannot be completed.

                                                                                  - */ - IsValidExchange?: boolean; - - /** - *

                                                                                  The new end date of the reservation term.

                                                                                  - */ - OutputReservedInstancesWillExpireAt?: Date; - - /** - *

                                                                                  The total true upfront charge for the exchange.

                                                                                  - */ - PaymentDue?: string; - - /** - *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  - */ - ReservedInstanceValueRollup?: ReservationValue; - - /** - *

                                                                                  The configuration of your Convertible Reserved Instances.

                                                                                  - */ - ReservedInstanceValueSet?: ReservedInstanceReservationValue[]; - +export interface GetEbsDefaultKmsKeyIdRequest { /** - *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  + *

                                                                                  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.

                                                                                  */ - TargetConfigurationValueRollup?: ReservationValue; + DryRun?: boolean; +} +export namespace GetEbsDefaultKmsKeyIdRequest { /** - *

                                                                                  The values of the target Convertible Reserved Instances.

                                                                                  + * @internal */ - TargetConfigurationValueSet?: TargetReservationValue[]; + export const filterSensitiveLog = (obj: GetEbsDefaultKmsKeyIdRequest): any => ({ + ...obj, + }); +} +export interface GetEbsDefaultKmsKeyIdResult { /** - *

                                                                                  Describes the reason why the exchange cannot be completed.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the default CMK for encryption by default.

                                                                                  */ - ValidationFailureReason?: string; + KmsKeyId?: string; } -export namespace GetReservedInstancesExchangeQuoteResult { +export namespace GetEbsDefaultKmsKeyIdResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetReservedInstancesExchangeQuoteResult): any => ({ + export const filterSensitiveLog = (obj: GetEbsDefaultKmsKeyIdResult): any => ({ ...obj, }); } -export interface GetSerialConsoleAccessStatusRequest { +export interface GetEbsEncryptionByDefaultRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  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; } -export namespace GetSerialConsoleAccessStatusRequest { +export namespace GetEbsEncryptionByDefaultRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetSerialConsoleAccessStatusRequest): any => ({ + export const filterSensitiveLog = (obj: GetEbsEncryptionByDefaultRequest): any => ({ ...obj, }); } -export interface GetSerialConsoleAccessStatusResult { +export interface GetEbsEncryptionByDefaultResult { /** - *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

                                                                                  + *

                                                                                  Indicates whether encryption by default is enabled.

                                                                                  */ - SerialConsoleAccessEnabled?: boolean; + EbsEncryptionByDefault?: boolean; } -export namespace GetSerialConsoleAccessStatusResult { +export namespace GetEbsEncryptionByDefaultResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetSerialConsoleAccessStatusResult): any => ({ + export const filterSensitiveLog = (obj: GetEbsEncryptionByDefaultResult): any => ({ ...obj, }); } -export interface GetTransitGatewayAttachmentPropagationsRequest { - /** - *

                                                                                  The ID of the attachment.

                                                                                  - */ - TransitGatewayAttachmentId: string | undefined; +export enum PartitionLoadFrequency { + DAILY = "daily", + MONTHLY = "monthly", + NONE = "none", + WEEKLY = "weekly", +} +/** + *

                                                                                  Describes integration options for Amazon Athena.

                                                                                  + */ +export interface AthenaIntegration { /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * transit-gateway-route-table-id - The ID of the transit gateway route table.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The location in Amazon S3 to store the generated CloudFormation template.

                                                                                  */ - Filters?: Filter[]; + IntegrationResultS3DestinationArn: string | undefined; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The schedule for adding new partitions to the table.

                                                                                  */ - MaxResults?: number; + PartitionLoadFrequency: PartitionLoadFrequency | string | undefined; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The start date for the partition.

                                                                                  */ - NextToken?: string; + PartitionStartDate?: Date; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The end date for the partition.

                                                                                  */ - DryRun?: boolean; + PartitionEndDate?: Date; } -export namespace GetTransitGatewayAttachmentPropagationsRequest { +export namespace AthenaIntegration { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayAttachmentPropagationsRequest): any => ({ + export const filterSensitiveLog = (obj: AthenaIntegration): any => ({ ...obj, }); } /** - *

                                                                                  Describes a propagation route table.

                                                                                  + *

                                                                                  Describes service integrations with VPC Flow logs.

                                                                                  */ -export interface TransitGatewayAttachmentPropagation { - /** - *

                                                                                  The ID of the propagation route table.

                                                                                  - */ - TransitGatewayRouteTableId?: string; - +export interface IntegrateServices { /** - *

                                                                                  The state of the propagation route table.

                                                                                  + *

                                                                                  Information about the integration with Amazon Athena.

                                                                                  */ - State?: TransitGatewayPropagationState | string; + AthenaIntegrations?: AthenaIntegration[]; } -export namespace TransitGatewayAttachmentPropagation { +export namespace IntegrateServices { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayAttachmentPropagation): any => ({ + export const filterSensitiveLog = (obj: IntegrateServices): any => ({ ...obj, }); } -export interface GetTransitGatewayAttachmentPropagationsResult { +export interface GetFlowLogsIntegrationTemplateRequest { /** - *

                                                                                  Information about the propagation route tables.

                                                                                  + *

                                                                                  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.

                                                                                  */ - TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[]; + DryRun?: boolean; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  The ID of the flow log.

                                                                                  */ - NextToken?: string; + FlowLogId: string | undefined; + + /** + *

                                                                                  To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.

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

                                                                                  Information about the service integration.

                                                                                  + */ + IntegrateServices: IntegrateServices | undefined; } -export namespace GetTransitGatewayAttachmentPropagationsResult { +export namespace GetFlowLogsIntegrationTemplateRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayAttachmentPropagationsResult): any => ({ + export const filterSensitiveLog = (obj: GetFlowLogsIntegrationTemplateRequest): any => ({ ...obj, }); } -export interface GetTransitGatewayMulticastDomainAssociationsRequest { +export interface GetFlowLogsIntegrationTemplateResult { /** - *

                                                                                  The ID of the transit gateway multicast domain.

                                                                                  + *

                                                                                  The generated CloudFormation template.

                                                                                  */ - TransitGatewayMulticastDomainId?: string; + Result?: string; +} +export namespace GetFlowLogsIntegrationTemplateResult { /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * resource-id - The ID of the resource.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * resource-type - The type of resource. The valid value is: vpc.

                                                                                    - *
                                                                                  • - *
                                                                                  • - * - *

                                                                                    - * state - The state of the subnet association. Valid values are - * associated | - * associating - * | disassociated | disassociating.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * subnet-id - The ID of the subnet.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * transit-gateway-attachment-id - The id of the transit gateway attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  + * @internal */ - Filters?: Filter[]; + export const filterSensitiveLog = (obj: GetFlowLogsIntegrationTemplateResult): any => ({ + ...obj, + }); +} +export interface GetGroupsForCapacityReservationRequest { /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The ID of the Capacity Reservation.

                                                                                  */ - MaxResults?: number; + CapacityReservationId: string | undefined; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results.

                                                                                  */ NextToken?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

                                                                                  + */ + MaxResults?: number; + + /** + *

                                                                                  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; } -export namespace GetTransitGatewayMulticastDomainAssociationsRequest { +export namespace GetGroupsForCapacityReservationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayMulticastDomainAssociationsRequest): any => ({ + export const filterSensitiveLog = (obj: GetGroupsForCapacityReservationRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes the resources associated with the transit gateway multicast domain.

                                                                                  + *

                                                                                  Describes a resource group to which a Capacity Reservation has been added.

                                                                                  */ -export interface TransitGatewayMulticastDomainAssociation { +export interface CapacityReservationGroup { /** - *

                                                                                  The ID of the transit gateway attachment.

                                                                                  + *

                                                                                  The ARN of the resource group.

                                                                                  */ - TransitGatewayAttachmentId?: string; + GroupArn?: string; /** - *

                                                                                  The ID of the resource.

                                                                                  + *

                                                                                  The ID of the account that owns the resource group.

                                                                                  */ - ResourceId?: string; + OwnerId?: string; +} +export namespace CapacityReservationGroup { /** - *

                                                                                  The type of resource, for example a VPC attachment.

                                                                                  + * @internal */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + export const filterSensitiveLog = (obj: CapacityReservationGroup): any => ({ + ...obj, + }); +} +export interface GetGroupsForCapacityReservationResult { /** - *

                                                                                  The ID of the AWS account that owns the transit gateway multicast domain association resource.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - ResourceOwnerId?: string; + NextToken?: string; /** - *

                                                                                  The subnet associated with the transit gateway multicast domain.

                                                                                  + *

                                                                                  Information about the resource groups to which the Capacity Reservation has been added.

                                                                                  */ - Subnet?: SubnetAssociation; + CapacityReservationGroups?: CapacityReservationGroup[]; } -export namespace TransitGatewayMulticastDomainAssociation { +export namespace GetGroupsForCapacityReservationResult { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayMulticastDomainAssociation): any => ({ + export const filterSensitiveLog = (obj: GetGroupsForCapacityReservationResult): any => ({ ...obj, }); } -export interface GetTransitGatewayMulticastDomainAssociationsResult { +export interface GetHostReservationPurchasePreviewRequest { /** - *

                                                                                  Information about the multicast domain associations.

                                                                                  + *

                                                                                  The IDs of the Dedicated Hosts with which the reservation is associated.

                                                                                  */ - MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[]; + HostIdSet: string[] | undefined; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  The offering ID of the reservation.

                                                                                  */ - NextToken?: string; + OfferingId: string | undefined; } -export namespace GetTransitGatewayMulticastDomainAssociationsResult { +export namespace GetHostReservationPurchasePreviewRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayMulticastDomainAssociationsResult): any => ({ + export const filterSensitiveLog = (obj: GetHostReservationPurchasePreviewRequest): any => ({ ...obj, }); } -export interface GetTransitGatewayPrefixListReferencesRequest { +/** + *

                                                                                  Describes the result of the purchase.

                                                                                  + */ +export interface Purchase { /** - *

                                                                                  The ID of the transit gateway route table.

                                                                                  + *

                                                                                  The currency in which the UpfrontPrice and HourlyPrice + * amounts are specified. At this time, the only supported currency is + * USD.

                                                                                  */ - TransitGatewayRouteTableId: string | undefined; + CurrencyCode?: CurrencyCodeValues | string; /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * attachment.resource-id - The ID of the resource for the attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * attachment.resource-type - The type of resource for the - * attachment. Valid values are vpc | vpn | - * direct-connect-gateway | peering.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * attachment.transit-gateway-attachment-id - The ID of the attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * is-blackhole - Whether traffic matching the route is blocked (true | false).

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * prefix-list-id - The ID of the prefix list.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * prefix-list-owner-id - The ID of the owner of the prefix list.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * state - The state of the prefix list reference (pending | available | modifying | deleting).

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The duration of the reservation's term in seconds.

                                                                                  */ - Filters?: Filter[]; + Duration?: number; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The IDs of the Dedicated Hosts associated with the reservation.

                                                                                  */ - MaxResults?: number; + HostIdSet?: string[]; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The ID of the reservation.

                                                                                  */ - NextToken?: string; + HostReservationId?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The hourly price of the reservation per hour.

                                                                                  */ - DryRun?: boolean; -} + HourlyPrice?: string; -export namespace GetTransitGatewayPrefixListReferencesRequest { /** - * @internal + *

                                                                                  The instance family on the Dedicated Host that the reservation can be associated + * with.

                                                                                  */ - export const filterSensitiveLog = (obj: GetTransitGatewayPrefixListReferencesRequest): any => ({ - ...obj, - }); -} + InstanceFamily?: string; -export interface GetTransitGatewayPrefixListReferencesResult { /** - *

                                                                                  Information about the prefix list references.

                                                                                  + *

                                                                                  The payment option for the reservation.

                                                                                  */ - TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[]; + PaymentOption?: PaymentOption | string; /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  The upfront price of the reservation.

                                                                                  */ - NextToken?: string; + UpfrontPrice?: string; } -export namespace GetTransitGatewayPrefixListReferencesResult { +export namespace Purchase { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayPrefixListReferencesResult): any => ({ + export const filterSensitiveLog = (obj: Purchase): any => ({ ...obj, }); } -export interface GetTransitGatewayRouteTableAssociationsRequest { - /** - *

                                                                                  The ID of the transit gateway route table.

                                                                                  - */ - TransitGatewayRouteTableId: string | undefined; - +export interface GetHostReservationPurchasePreviewResult { /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * resource-id - The ID of the resource.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * transit-gateway-attachment-id - The ID of the attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The currency in which the totalUpfrontPrice and + * totalHourlyPrice amounts are specified. At this time, the only + * supported currency is USD.

                                                                                  */ - Filters?: Filter[]; + CurrencyCode?: CurrencyCodeValues | string; /** - *

                                                                                  The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  + *

                                                                                  The purchase information of the Dedicated Host reservation and the Dedicated Hosts + * associated with it.

                                                                                  */ - MaxResults?: number; + Purchase?: Purchase[]; /** - *

                                                                                  The token for the next page of results.

                                                                                  + *

                                                                                  The potential total hourly price of the reservation per hour.

                                                                                  */ - NextToken?: string; + TotalHourlyPrice?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The potential total upfront price. This is billed immediately.

                                                                                  */ - DryRun?: boolean; + TotalUpfrontPrice?: string; } -export namespace GetTransitGatewayRouteTableAssociationsRequest { +export namespace GetHostReservationPurchasePreviewResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayRouteTableAssociationsRequest): any => ({ + export const filterSensitiveLog = (obj: GetHostReservationPurchasePreviewResult): any => ({ ...obj, }); } -/** - *

                                                                                  Describes an association between a route table and a resource attachment.

                                                                                  - */ -export interface TransitGatewayRouteTableAssociation { +export interface GetLaunchTemplateDataRequest { /** - *

                                                                                  The ID of the attachment.

                                                                                  + *

                                                                                  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.

                                                                                  */ - TransitGatewayAttachmentId?: string; + DryRun?: boolean; /** - *

                                                                                  The ID of the resource.

                                                                                  + *

                                                                                  The ID of the instance.

                                                                                  */ - ResourceId?: string; - - /** - *

                                                                                  The resource type. Note that the tgw-peering resource type has been deprecated.

                                                                                  - */ - ResourceType?: TransitGatewayAttachmentResourceType | string; - - /** - *

                                                                                  The state of the association.

                                                                                  - */ - State?: TransitGatewayAssociationState | string; + InstanceId: string | undefined; } -export namespace TransitGatewayRouteTableAssociation { +export namespace GetLaunchTemplateDataRequest { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayRouteTableAssociation): any => ({ + export const filterSensitiveLog = (obj: GetLaunchTemplateDataRequest): any => ({ ...obj, }); } -export interface GetTransitGatewayRouteTableAssociationsResult { - /** - *

                                                                                  Information about the associations.

                                                                                  - */ - Associations?: TransitGatewayRouteTableAssociation[]; - +export interface GetLaunchTemplateDataResult { /** - *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  + *

                                                                                  The instance data.

                                                                                  */ - NextToken?: string; + LaunchTemplateData?: ResponseLaunchTemplateData; } -export namespace GetTransitGatewayRouteTableAssociationsResult { +export namespace GetLaunchTemplateDataResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayRouteTableAssociationsResult): any => ({ + export const filterSensitiveLog = (obj: GetLaunchTemplateDataResult): any => ({ ...obj, }); } -export interface GetTransitGatewayRouteTablePropagationsRequest { +export interface GetManagedPrefixListAssociationsRequest { /** - *

                                                                                  The ID of the transit gateway route table.

                                                                                  + *

                                                                                  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.

                                                                                  */ - TransitGatewayRouteTableId: string | undefined; + DryRun?: boolean; /** - *

                                                                                  One or more filters. The possible values are:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * resource-id - The ID of the resource.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * transit-gateway-attachment-id - The ID of the attachment.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The ID of the prefix list.

                                                                                  */ - Filters?: Filter[]; + PrefixListId: string | undefined; /** *

                                                                                  The maximum number of results to return with a single call. @@ -3896,63 +3901,46 @@ export interface GetTransitGatewayRouteTablePropagationsRequest { *

                                                                                  The token for the next page of results.

                                                                                  */ NextToken?: string; - - /** - *

                                                                                  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; } -export namespace GetTransitGatewayRouteTablePropagationsRequest { +export namespace GetManagedPrefixListAssociationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayRouteTablePropagationsRequest): any => ({ + export const filterSensitiveLog = (obj: GetManagedPrefixListAssociationsRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes a route table propagation.

                                                                                  + *

                                                                                  Describes the resource with which a prefix list is associated.

                                                                                  */ -export interface TransitGatewayRouteTablePropagation { - /** - *

                                                                                  The ID of the attachment.

                                                                                  - */ - TransitGatewayAttachmentId?: string; - +export interface PrefixListAssociation { /** *

                                                                                  The ID of the resource.

                                                                                  */ ResourceId?: string; /** - *

                                                                                  The type of resource. Note that the tgw-peering resource type has been deprecated.

                                                                                  - */ - ResourceType?: TransitGatewayAttachmentResourceType | string; - - /** - *

                                                                                  The state of the resource.

                                                                                  + *

                                                                                  The owner of the resource.

                                                                                  */ - State?: TransitGatewayPropagationState | string; + ResourceOwner?: string; } -export namespace TransitGatewayRouteTablePropagation { +export namespace PrefixListAssociation { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayRouteTablePropagation): any => ({ + export const filterSensitiveLog = (obj: PrefixListAssociation): any => ({ ...obj, }); } -export interface GetTransitGatewayRouteTablePropagationsResult { +export interface GetManagedPrefixListAssociationsResult { /** - *

                                                                                  Information about the route table propagations.

                                                                                  + *

                                                                                  Information about the associations.

                                                                                  */ - TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[]; + PrefixListAssociations?: PrefixListAssociation[]; /** *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  @@ -3960,1834 +3948,1833 @@ export interface GetTransitGatewayRouteTablePropagationsResult { NextToken?: string; } -export namespace GetTransitGatewayRouteTablePropagationsResult { +export namespace GetManagedPrefixListAssociationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetTransitGatewayRouteTablePropagationsResult): any => ({ + export const filterSensitiveLog = (obj: GetManagedPrefixListAssociationsResult): any => ({ ...obj, }); } -export interface ImportClientVpnClientCertificateRevocationListRequest { +export interface GetManagedPrefixListEntriesRequest { /** - *

                                                                                  The ID of the Client VPN endpoint to which the client certificate revocation list applies.

                                                                                  + *

                                                                                  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.

                                                                                  */ - ClientVpnEndpointId: string | undefined; + DryRun?: boolean; /** - *

                                                                                  The client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the - * AWS Client VPN Administrator Guide.

                                                                                  + *

                                                                                  The ID of the prefix list.

                                                                                  */ - CertificateRevocationList: string | undefined; + PrefixListId: string | undefined; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The version of the prefix list for which to return the entries. The default is the current version.

                                                                                  */ - DryRun?: boolean; -} + TargetVersion?: number; -export namespace ImportClientVpnClientCertificateRevocationListRequest { /** - * @internal + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - export const filterSensitiveLog = (obj: ImportClientVpnClientCertificateRevocationListRequest): any => ({ - ...obj, - }); -} + MaxResults?: number; -export interface ImportClientVpnClientCertificateRevocationListResult { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - Return?: boolean; + NextToken?: string; } -export namespace ImportClientVpnClientCertificateRevocationListResult { +export namespace GetManagedPrefixListEntriesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportClientVpnClientCertificateRevocationListResult): any => ({ + export const filterSensitiveLog = (obj: GetManagedPrefixListEntriesRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes the client-specific data.

                                                                                  + *

                                                                                  Describes a prefix list entry.

                                                                                  */ -export interface ClientData { - /** - *

                                                                                  A user-defined comment about the disk upload.

                                                                                  - */ - Comment?: string; - - /** - *

                                                                                  The time that the disk upload ends.

                                                                                  - */ - UploadEnd?: Date; - +export interface PrefixListEntry { /** - *

                                                                                  The size of the uploaded disk image, in GiB.

                                                                                  + *

                                                                                  The CIDR block.

                                                                                  */ - UploadSize?: number; + Cidr?: string; /** - *

                                                                                  The time that the disk upload starts.

                                                                                  + *

                                                                                  The description.

                                                                                  */ - UploadStart?: Date; + Description?: string; } -export namespace ClientData { +export namespace PrefixListEntry { /** * @internal */ - export const filterSensitiveLog = (obj: ClientData): any => ({ + export const filterSensitiveLog = (obj: PrefixListEntry): any => ({ ...obj, }); } -/** - *

                                                                                  Describes the Amazon S3 bucket for the disk image.

                                                                                  - */ -export interface UserBucket { +export interface GetManagedPrefixListEntriesResult { /** - *

                                                                                  The name of the Amazon S3 bucket where the disk image is located.

                                                                                  + *

                                                                                  Information about the prefix list entries.

                                                                                  */ - S3Bucket?: string; + Entries?: PrefixListEntry[]; /** - *

                                                                                  The file name of the disk image.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - S3Key?: string; + NextToken?: string; } -export namespace UserBucket { +export namespace GetManagedPrefixListEntriesResult { /** * @internal */ - export const filterSensitiveLog = (obj: UserBucket): any => ({ + export const filterSensitiveLog = (obj: GetManagedPrefixListEntriesResult): any => ({ ...obj, }); } -/** - *

                                                                                  Describes the disk container object for an import image task.

                                                                                  - */ -export interface ImageDiskContainer { +export interface GetPasswordDataRequest { /** - *

                                                                                  The description of the disk image.

                                                                                  + *

                                                                                  The ID of the Windows instance.

                                                                                  */ - Description?: string; + InstanceId: string | undefined; /** - *

                                                                                  The block device mapping for the disk.

                                                                                  + *

                                                                                  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.

                                                                                  */ - DeviceName?: string; + DryRun?: boolean; +} +export namespace GetPasswordDataRequest { /** - *

                                                                                  The format of the disk image being imported.

                                                                                  - *

                                                                                  Valid values: OVA | VHD | VHDX | VMDK | RAW - *

                                                                                  + * @internal */ - Format?: string; + export const filterSensitiveLog = (obj: GetPasswordDataRequest): any => ({ + ...obj, + }); +} +export interface GetPasswordDataResult { /** - *

                                                                                  The ID of the EBS snapshot to be used for importing the snapshot.

                                                                                  + *

                                                                                  The ID of the Windows instance.

                                                                                  */ - SnapshotId?: string; + InstanceId?: string; /** - *

                                                                                  The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an - * Amazon S3 URL (s3://..)

                                                                                  + *

                                                                                  The password of the instance. Returns an empty string if the password is not + * available.

                                                                                  */ - Url?: string; + PasswordData?: string; /** - *

                                                                                  The S3 bucket for the disk image.

                                                                                  + *

                                                                                  The time the data was last updated.

                                                                                  */ - UserBucket?: UserBucket; + Timestamp?: Date; } -export namespace ImageDiskContainer { +export namespace GetPasswordDataResult { /** * @internal */ - export const filterSensitiveLog = (obj: ImageDiskContainer): any => ({ + export const filterSensitiveLog = (obj: GetPasswordDataResult): any => ({ ...obj, }); } /** - *

                                                                                  The request information of license configurations.

                                                                                  + *

                                                                                  Contains the parameters for GetReservedInstanceExchangeQuote.

                                                                                  */ -export interface ImportImageLicenseConfigurationRequest { +export interface GetReservedInstancesExchangeQuoteRequest { /** - *

                                                                                  The ARN of a license configuration.

                                                                                  + *

                                                                                  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.

                                                                                  */ - LicenseConfigurationArn?: string; + DryRun?: boolean; + + /** + *

                                                                                  The IDs of the Convertible Reserved Instances to exchange.

                                                                                  + */ + ReservedInstanceIds: string[] | undefined; + + /** + *

                                                                                  The configuration of the target Convertible Reserved Instance to exchange for your + * current Convertible Reserved Instances.

                                                                                  + */ + TargetConfigurations?: TargetConfigurationRequest[]; } -export namespace ImportImageLicenseConfigurationRequest { +export namespace GetReservedInstancesExchangeQuoteRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportImageLicenseConfigurationRequest): any => ({ + export const filterSensitiveLog = (obj: GetReservedInstancesExchangeQuoteRequest): any => ({ ...obj, }); } -export interface ImportImageRequest { +/** + *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  + */ +export interface ReservationValue { /** - *

                                                                                  The architecture of the virtual machine.

                                                                                  - *

                                                                                  Valid values: i386 | x86_64 | arm64 - *

                                                                                  - */ - Architecture?: string; - - /** - *

                                                                                  The client-specific data.

                                                                                  - */ - ClientData?: ClientData; - - /** - *

                                                                                  The token to enable idempotency for VM import requests.

                                                                                  + *

                                                                                  The hourly rate of the reservation.

                                                                                  */ - ClientToken?: string; + HourlyPrice?: string; /** - *

                                                                                  A description string for the import image task.

                                                                                  + *

                                                                                  The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

                                                                                  */ - Description?: string; + RemainingTotalValue?: string; /** - *

                                                                                  Information about the disk containers.

                                                                                  + *

                                                                                  The remaining upfront cost of the reservation.

                                                                                  */ - DiskContainers?: ImageDiskContainer[]; + RemainingUpfrontValue?: string; +} +export namespace ReservationValue { /** - *

                                                                                  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.

                                                                                  + * @internal */ - DryRun?: boolean; + export const filterSensitiveLog = (obj: ReservationValue): any => ({ + ...obj, + }); +} +/** + *

                                                                                  The total value of the Convertible Reserved Instance.

                                                                                  + */ +export interface ReservedInstanceReservationValue { /** - *

                                                                                  Specifies whether the destination AMI of the imported image should be encrypted. The default CMK for EBS is used - * unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using KmsKeyId. For more information, see Amazon EBS Encryption in the - * Amazon Elastic Compute Cloud User Guide.

                                                                                  + *

                                                                                  The total value of the Convertible Reserved Instance that you are exchanging.

                                                                                  */ - Encrypted?: boolean; + ReservationValue?: ReservationValue; /** - *

                                                                                  The target hypervisor platform.

                                                                                  - *

                                                                                  Valid values: xen - *

                                                                                  + *

                                                                                  The ID of the Convertible Reserved Instance that you are exchanging.

                                                                                  */ - Hypervisor?: string; + ReservedInstanceId?: string; +} +export namespace ReservedInstanceReservationValue { /** - *

                                                                                  An identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the - * encrypted AMI. This parameter is only required if you want to use a non-default CMK; if this - * parameter is not specified, the default CMK for EBS is used. If a KmsKeyId is - * specified, the Encrypted flag must also be set.

                                                                                  - *

                                                                                  The CMK identifier may be provided in any of the following formats:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    Key ID

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                    - *
                                                                                  • - *
                                                                                  - *

                                                                                  AWS parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even - * though you provided an invalid identifier. This action will eventually report failure.

                                                                                  - *

                                                                                  The specified CMK must exist in the Region that the AMI is being copied to.

                                                                                  - *

                                                                                  Amazon EBS does not support asymmetric CMKs.

                                                                                  + * @internal */ - KmsKeyId?: string; + export const filterSensitiveLog = (obj: ReservedInstanceReservationValue): any => ({ + ...obj, + }); +} +/** + *

                                                                                  Information about the Convertible Reserved Instance offering.

                                                                                  + */ +export interface TargetConfiguration { /** - *

                                                                                  The license type to be used for the Amazon Machine Image (AMI) after importing.

                                                                                  - *

                                                                                  By default, we detect the source-system operating system (OS) and apply the appropriate license. Specify - * AWS to replace the source-system license with an AWS license, if appropriate. Specify BYOL - * to retain the source-system license, if appropriate.

                                                                                  - *

                                                                                  To use BYOL, you must have existing licenses with rights to use these licenses in a third party - * cloud, such as AWS. For more information, see Prerequisites in the - * VM Import/Export User Guide.

                                                                                  + *

                                                                                  The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is + * reserved and cannot be specified in a request

                                                                                  */ - LicenseType?: string; + InstanceCount?: number; /** - *

                                                                                  The operating system of the virtual machine.

                                                                                  - *

                                                                                  Valid values: Windows | Linux - *

                                                                                  + *

                                                                                  The ID of the Convertible Reserved Instance offering.

                                                                                  */ - Platform?: string; + OfferingId?: string; +} +export namespace TargetConfiguration { /** - *

                                                                                  The name of the role to use when not using the default role, 'vmimport'.

                                                                                  + * @internal */ - RoleName?: string; + export const filterSensitiveLog = (obj: TargetConfiguration): any => ({ + ...obj, + }); +} +/** + *

                                                                                  The total value of the new Convertible Reserved Instances.

                                                                                  + */ +export interface TargetReservationValue { /** - *

                                                                                  The ARNs of the license configurations.

                                                                                  + *

                                                                                  The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of + * the list value, remaining upfront price, and additional upfront cost of the exchange.

                                                                                  */ - LicenseSpecifications?: ImportImageLicenseConfigurationRequest[]; + ReservationValue?: ReservationValue; /** - *

                                                                                  The tags to apply to the import image task during creation.

                                                                                  + *

                                                                                  The configuration of the Convertible Reserved Instances that make up the exchange.

                                                                                  */ - TagSpecifications?: TagSpecification[]; + TargetConfiguration?: TargetConfiguration; } -export namespace ImportImageRequest { +export namespace TargetReservationValue { /** * @internal */ - export const filterSensitiveLog = (obj: ImportImageRequest): any => ({ + export const filterSensitiveLog = (obj: TargetReservationValue): any => ({ ...obj, }); } -export interface ImportImageResult { +/** + *

                                                                                  Contains the output of GetReservedInstancesExchangeQuote.

                                                                                  + */ +export interface GetReservedInstancesExchangeQuoteResult { /** - *

                                                                                  The architecture of the virtual machine.

                                                                                  + *

                                                                                  The currency of the transaction.

                                                                                  */ - Architecture?: string; + CurrencyCode?: string; /** - *

                                                                                  A description of the import task.

                                                                                  + *

                                                                                  If true, the exchange is valid. If false, the exchange cannot be completed.

                                                                                  */ - Description?: string; + IsValidExchange?: boolean; /** - *

                                                                                  Indicates whether the AMI is encrypted.

                                                                                  + *

                                                                                  The new end date of the reservation term.

                                                                                  */ - Encrypted?: boolean; + OutputReservedInstancesWillExpireAt?: Date; /** - *

                                                                                  The target hypervisor of the import task.

                                                                                  + *

                                                                                  The total true upfront charge for the exchange.

                                                                                  */ - Hypervisor?: string; + PaymentDue?: string; /** - *

                                                                                  The ID of the Amazon Machine Image (AMI) created by the import task.

                                                                                  + *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  */ - ImageId?: string; + ReservedInstanceValueRollup?: ReservationValue; /** - *

                                                                                  The task ID of the import image task.

                                                                                  + *

                                                                                  The configuration of your Convertible Reserved Instances.

                                                                                  */ - ImportTaskId?: string; + ReservedInstanceValueSet?: ReservedInstanceReservationValue[]; /** - *

                                                                                  The identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key - * (CMK) that was used to create the encrypted AMI.

                                                                                  + *

                                                                                  The cost associated with the Reserved Instance.

                                                                                  */ - KmsKeyId?: string; + TargetConfigurationValueRollup?: ReservationValue; /** - *

                                                                                  The license type of the virtual machine.

                                                                                  + *

                                                                                  The values of the target Convertible Reserved Instances.

                                                                                  */ - LicenseType?: string; + TargetConfigurationValueSet?: TargetReservationValue[]; /** - *

                                                                                  The operating system of the virtual machine.

                                                                                  + *

                                                                                  Describes the reason why the exchange cannot be completed.

                                                                                  */ - Platform?: string; + ValidationFailureReason?: string; +} +export namespace GetReservedInstancesExchangeQuoteResult { /** - *

                                                                                  The progress of the task.

                                                                                  + * @internal */ - Progress?: string; + export const filterSensitiveLog = (obj: GetReservedInstancesExchangeQuoteResult): any => ({ + ...obj, + }); +} +export interface GetSerialConsoleAccessStatusRequest { /** - *

                                                                                  Information about the snapshots.

                                                                                  + *

                                                                                  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.

                                                                                  */ - SnapshotDetails?: SnapshotDetail[]; + DryRun?: boolean; +} +export namespace GetSerialConsoleAccessStatusRequest { /** - *

                                                                                  A brief status of the task.

                                                                                  + * @internal */ - Status?: string; + export const filterSensitiveLog = (obj: GetSerialConsoleAccessStatusRequest): any => ({ + ...obj, + }); +} +export interface GetSerialConsoleAccessStatusResult { /** - *

                                                                                  A detailed status message of the import task.

                                                                                  + *

                                                                                  If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

                                                                                  */ - StatusMessage?: string; + SerialConsoleAccessEnabled?: boolean; +} +export namespace GetSerialConsoleAccessStatusResult { /** - *

                                                                                  The ARNs of the license configurations.

                                                                                  + * @internal */ - LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; + export const filterSensitiveLog = (obj: GetSerialConsoleAccessStatusResult): any => ({ + ...obj, + }); +} +export interface GetTransitGatewayAttachmentPropagationsRequest { /** - *

                                                                                  Any tags assigned to the import image task.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - Tags?: Tag[]; -} + TransitGatewayAttachmentId: string | undefined; -export namespace ImportImageResult { /** - * @internal + *

                                                                                  One or more filters. The possible values are:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * transit-gateway-route-table-id - The ID of the transit gateway route table.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - export const filterSensitiveLog = (obj: ImportImageResult): any => ({ - ...obj, - }); -} + Filters?: Filter[]; -/** - *

                                                                                  Describes a disk image.

                                                                                  - */ -export interface DiskImageDetail { /** - *

                                                                                  The size of the disk image, in GiB.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - Bytes: number | undefined; + MaxResults?: number; /** - *

                                                                                  The disk image format.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - Format: DiskImageFormat | string | undefined; + NextToken?: string; /** - *

                                                                                  A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. - * For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication - * Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer - * Guide.

                                                                                  - *

                                                                                  For information about the import manifest referenced by this API action, see VM Import Manifest.

                                                                                  + *

                                                                                  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.

                                                                                  */ - ImportManifestUrl: string | undefined; + DryRun?: boolean; } -export namespace DiskImageDetail { +export namespace GetTransitGatewayAttachmentPropagationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DiskImageDetail): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayAttachmentPropagationsRequest): any => ({ ...obj, }); } /** - *

                                                                                  Describes an EBS volume.

                                                                                  + *

                                                                                  Describes a propagation route table.

                                                                                  */ -export interface VolumeDetail { +export interface TransitGatewayAttachmentPropagation { /** - *

                                                                                  The size of the volume, in GiB.

                                                                                  + *

                                                                                  The ID of the propagation route table.

                                                                                  */ - Size: number | undefined; + TransitGatewayRouteTableId?: string; + + /** + *

                                                                                  The state of the propagation route table.

                                                                                  + */ + State?: TransitGatewayPropagationState | string; } -export namespace VolumeDetail { +export namespace TransitGatewayAttachmentPropagation { /** * @internal */ - export const filterSensitiveLog = (obj: VolumeDetail): any => ({ + export const filterSensitiveLog = (obj: TransitGatewayAttachmentPropagation): any => ({ ...obj, }); } -/** - *

                                                                                  Describes a disk image.

                                                                                  - */ -export interface DiskImage { - /** - *

                                                                                  A description of the disk image.

                                                                                  - */ - Description?: string; - +export interface GetTransitGatewayAttachmentPropagationsResult { /** - *

                                                                                  Information about the disk image.

                                                                                  + *

                                                                                  Information about the propagation route tables.

                                                                                  */ - Image?: DiskImageDetail; + TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[]; /** - *

                                                                                  Information about the volume.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - Volume?: VolumeDetail; + NextToken?: string; } -export namespace DiskImage { +export namespace GetTransitGatewayAttachmentPropagationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: DiskImage): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayAttachmentPropagationsResult): any => ({ ...obj, }); } -/** - *

                                                                                  Describes the user data for an instance.

                                                                                  - */ -export interface UserData { +export interface GetTransitGatewayMulticastDomainAssociationsRequest { /** - *

                                                                                  The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you - * can load the text from a file. Otherwise, you must provide Base64-encoded text.

                                                                                  + *

                                                                                  The ID of the transit gateway multicast domain.

                                                                                  */ - Data?: string; -} + TransitGatewayMulticastDomainId?: string; -export namespace UserData { /** - * @internal + *

                                                                                  One or more filters. The possible values are:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * resource-id - The ID of the resource.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * resource-type - The type of resource. The valid value is: vpc.

                                                                                    + *
                                                                                  • + *
                                                                                  • + * + *

                                                                                    + * state - The state of the subnet association. Valid values are + * associated | + * associating + * | disassociated | disassociating.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * subnet-id - The ID of the subnet.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * transit-gateway-attachment-id - The id of the transit gateway attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - export const filterSensitiveLog = (obj: UserData): any => ({ - ...obj, - }); -} + Filters?: Filter[]; -/** - *

                                                                                  Describes the launch specification for VM import.

                                                                                  - */ -export interface ImportInstanceLaunchSpecification { /** - *

                                                                                  Reserved.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - AdditionalInfo?: string; + MaxResults?: number; /** - *

                                                                                  The architecture of the instance.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - Architecture?: ArchitectureValues | string; + NextToken?: string; /** - *

                                                                                  The security group IDs.

                                                                                  + *

                                                                                  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.

                                                                                  */ - GroupIds?: string[]; + DryRun?: boolean; +} +export namespace GetTransitGatewayMulticastDomainAssociationsRequest { /** - *

                                                                                  The security group names.

                                                                                  + * @internal */ - GroupNames?: string[]; + export const filterSensitiveLog = (obj: GetTransitGatewayMulticastDomainAssociationsRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                                  Describes the resources associated with the transit gateway multicast domain.

                                                                                  + */ +export interface TransitGatewayMulticastDomainAssociation { /** - *

                                                                                  Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the - * operating system command for system shutdown).

                                                                                  + *

                                                                                  The ID of the transit gateway attachment.

                                                                                  */ - InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string; + TransitGatewayAttachmentId?: string; /** - *

                                                                                  The instance type. For more information about the instance types that you can import, see Instance Types in the - * VM Import/Export User Guide.

                                                                                  + *

                                                                                  The ID of the resource.

                                                                                  */ - InstanceType?: _InstanceType | string; + ResourceId?: string; /** - *

                                                                                  Indicates whether monitoring is enabled.

                                                                                  + *

                                                                                  The type of resource, for example a VPC attachment.

                                                                                  */ - Monitoring?: boolean; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

                                                                                  The placement information for the instance.

                                                                                  + *

                                                                                  The ID of the AWS account that owns the transit gateway multicast domain association resource.

                                                                                  */ - Placement?: Placement; + ResourceOwnerId?: string; /** - *

                                                                                  [EC2-VPC] An available IP address from the IP address range of the subnet.

                                                                                  + *

                                                                                  The subnet associated with the transit gateway multicast domain.

                                                                                  */ - PrivateIpAddress?: string; + Subnet?: SubnetAssociation; +} +export namespace TransitGatewayMulticastDomainAssociation { /** - *

                                                                                  [EC2-VPC] The ID of the subnet in which to launch the instance.

                                                                                  + * @internal */ - SubnetId?: string; + export const filterSensitiveLog = (obj: TransitGatewayMulticastDomainAssociation): any => ({ + ...obj, + }); +} +export interface GetTransitGatewayMulticastDomainAssociationsResult { /** - *

                                                                                  The Base64-encoded user data to make available to the instance.

                                                                                  + *

                                                                                  Information about the multicast domain associations.

                                                                                  */ - UserData?: UserData; + MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[]; + + /** + *

                                                                                  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 ImportInstanceLaunchSpecification { +export namespace GetTransitGatewayMulticastDomainAssociationsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ImportInstanceLaunchSpecification): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayMulticastDomainAssociationsResult): any => ({ ...obj, - ...(obj.UserData && { UserData: SENSITIVE_STRING }), }); } -export interface ImportInstanceRequest { +export interface GetTransitGatewayPrefixListReferencesRequest { /** - *

                                                                                  A description for the instance being imported.

                                                                                  + *

                                                                                  The ID of the transit gateway route table.

                                                                                  */ - Description?: string; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  The disk image.

                                                                                  + *

                                                                                  One or more filters. The possible values are:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * attachment.resource-id - The ID of the resource for the attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * attachment.resource-type - The type of resource for the + * attachment. Valid values are vpc | vpn | + * direct-connect-gateway | peering.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * attachment.transit-gateway-attachment-id - The ID of the attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * is-blackhole - Whether traffic matching the route is blocked (true | false).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * prefix-list-id - The ID of the prefix list.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * prefix-list-owner-id - The ID of the owner of the prefix list.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * state - The state of the prefix list reference (pending | available | modifying | deleting).

                                                                                    + *
                                                                                  • + *
                                                                                  */ - DiskImages?: DiskImage[]; + Filters?: Filter[]; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - DryRun?: boolean; + MaxResults?: number; /** - *

                                                                                  The launch specification.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - LaunchSpecification?: ImportInstanceLaunchSpecification; + NextToken?: string; /** - *

                                                                                  The instance operating system.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Platform: PlatformValues | string | undefined; + DryRun?: boolean; } -export namespace ImportInstanceRequest { +export namespace GetTransitGatewayPrefixListReferencesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportInstanceRequest): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayPrefixListReferencesRequest): any => ({ ...obj, - ...(obj.LaunchSpecification && { - LaunchSpecification: ImportInstanceLaunchSpecification.filterSensitiveLog(obj.LaunchSpecification), - }), }); } -export interface ImportInstanceResult { +export interface GetTransitGatewayPrefixListReferencesResult { /** - *

                                                                                  Information about the conversion task.

                                                                                  + *

                                                                                  Information about the prefix list references.

                                                                                  */ - ConversionTask?: ConversionTask; + TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[]; + + /** + *

                                                                                  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 ImportInstanceResult { +export namespace GetTransitGatewayPrefixListReferencesResult { /** * @internal */ - export const filterSensitiveLog = (obj: ImportInstanceResult): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayPrefixListReferencesResult): any => ({ ...obj, }); } -export interface ImportKeyPairRequest { - /** - *

                                                                                  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; - +export interface GetTransitGatewayRouteTableAssociationsRequest { /** - *

                                                                                  A unique name for the key pair.

                                                                                  + *

                                                                                  The ID of the transit gateway route table.

                                                                                  */ - KeyName: string | undefined; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

                                                                                  - */ - PublicKeyMaterial: Uint8Array | undefined; - - /** - *

                                                                                  The tags to apply to the imported key pair.

                                                                                  - */ - TagSpecifications?: TagSpecification[]; -} - -export namespace ImportKeyPairRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ImportKeyPairRequest): any => ({ - ...obj, - }); -} - -export interface ImportKeyPairResult { - /** - *

                                                                                  The MD5 public key fingerprint as specified in section 4 of RFC 4716.

                                                                                  + *

                                                                                  One or more filters. The possible values are:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * resource-id - The ID of the resource.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    + * transit-gateway-attachment-id - The ID of the attachment.

                                                                                    + *
                                                                                  • + *
                                                                                  */ - KeyFingerprint?: string; + Filters?: Filter[]; /** - *

                                                                                  The key pair name that you provided.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - KeyName?: string; + MaxResults?: number; /** - *

                                                                                  The ID of the resulting key pair.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - KeyPairId?: string; + NextToken?: string; /** - *

                                                                                  The tags applied to the imported key pair.

                                                                                  + *

                                                                                  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.

                                                                                  */ - Tags?: Tag[]; + DryRun?: boolean; } -export namespace ImportKeyPairResult { +export namespace GetTransitGatewayRouteTableAssociationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportKeyPairResult): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayRouteTableAssociationsRequest): any => ({ ...obj, }); } /** - *

                                                                                  The disk container object for the import snapshot request.

                                                                                  + *

                                                                                  Describes an association between a route table and a resource attachment.

                                                                                  */ -export interface SnapshotDiskContainer { +export interface TransitGatewayRouteTableAssociation { /** - *

                                                                                  The description of the disk image being imported.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - Description?: string; + TransitGatewayAttachmentId?: string; /** - *

                                                                                  The format of the disk image being imported.

                                                                                  - *

                                                                                  Valid values: VHD | VMDK | RAW - *

                                                                                  + *

                                                                                  The ID of the resource.

                                                                                  */ - Format?: string; + ResourceId?: string; /** - *

                                                                                  The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon - * S3 URL (s3://..).

                                                                                  + *

                                                                                  The resource type. Note that the tgw-peering resource type has been deprecated.

                                                                                  */ - Url?: string; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

                                                                                  The Amazon S3 bucket for the disk image.

                                                                                  + *

                                                                                  The state of the association.

                                                                                  */ - UserBucket?: UserBucket; + State?: TransitGatewayAssociationState | string; } -export namespace SnapshotDiskContainer { +export namespace TransitGatewayRouteTableAssociation { /** * @internal */ - export const filterSensitiveLog = (obj: SnapshotDiskContainer): any => ({ + export const filterSensitiveLog = (obj: TransitGatewayRouteTableAssociation): any => ({ ...obj, }); } -export interface ImportSnapshotRequest { - /** - *

                                                                                  The client-specific data.

                                                                                  - */ - ClientData?: ClientData; - - /** - *

                                                                                  Token to enable idempotency for VM import requests.

                                                                                  - */ - ClientToken?: string; - +export interface GetTransitGatewayRouteTableAssociationsResult { /** - *

                                                                                  The description string for the import snapshot task.

                                                                                  + *

                                                                                  Information about the associations.

                                                                                  */ - Description?: string; + Associations?: TransitGatewayRouteTableAssociation[]; /** - *

                                                                                  Information about the disk container.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - DiskContainer?: SnapshotDiskContainer; + NextToken?: string; +} +export namespace GetTransitGatewayRouteTableAssociationsResult { /** - *

                                                                                  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.

                                                                                  + * @internal */ - DryRun?: boolean; + export const filterSensitiveLog = (obj: GetTransitGatewayRouteTableAssociationsResult): any => ({ + ...obj, + }); +} +export interface GetTransitGatewayRouteTablePropagationsRequest { /** - *

                                                                                  Specifies whether the destination snapshot of the imported image should be encrypted. The default CMK for EBS is - * used unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using KmsKeyId. For more information, see Amazon EBS Encryption in the - * Amazon Elastic Compute Cloud User Guide.

                                                                                  + *

                                                                                  The ID of the transit gateway route table.

                                                                                  */ - Encrypted?: boolean; + TransitGatewayRouteTableId: string | undefined; /** - *

                                                                                  An identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the - * encrypted snapshot. This parameter is only required if you want to use a non-default CMK; if this - * parameter is not specified, the default CMK for EBS is used. If a KmsKeyId is - * specified, the Encrypted flag must also be set.

                                                                                  - *

                                                                                  The CMK identifier may be provided in any of the following formats:

                                                                                  + *

                                                                                  One or more filters. The possible values are:

                                                                                  *
                                                                                    *
                                                                                  • - *

                                                                                    Key ID

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                    + *

                                                                                    + * resource-id - The ID of the resource.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

                                                                                    + *

                                                                                    + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                    + *

                                                                                    + * transit-gateway-attachment-id - The ID of the attachment.

                                                                                    *
                                                                                  • *
                                                                                  - *

                                                                                  AWS parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even - * though you provided an invalid identifier. This action will eventually report failure.

                                                                                  - *

                                                                                  The specified CMK must exist in the Region that the snapshot is being copied to.

                                                                                  - *

                                                                                  Amazon EBS does not support asymmetric CMKs.

                                                                                  */ - KmsKeyId?: string; + Filters?: Filter[]; /** - *

                                                                                  The name of the role to use when not using the default role, 'vmimport'.

                                                                                  + *

                                                                                  The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

                                                                                  */ - RoleName?: string; + MaxResults?: number; /** - *

                                                                                  The tags to apply to the import snapshot task during creation.

                                                                                  + *

                                                                                  The token for the next page of results.

                                                                                  */ - TagSpecifications?: TagSpecification[]; + NextToken?: string; + + /** + *

                                                                                  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; } -export namespace ImportSnapshotRequest { +export namespace GetTransitGatewayRouteTablePropagationsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportSnapshotRequest): any => ({ + export const filterSensitiveLog = (obj: GetTransitGatewayRouteTablePropagationsRequest): any => ({ ...obj, }); } -export interface ImportSnapshotResult { +/** + *

                                                                                  Describes a route table propagation.

                                                                                  + */ +export interface TransitGatewayRouteTablePropagation { /** - *

                                                                                  A description of the import snapshot task.

                                                                                  + *

                                                                                  The ID of the attachment.

                                                                                  */ - Description?: string; + TransitGatewayAttachmentId?: string; /** - *

                                                                                  The ID of the import snapshot task.

                                                                                  + *

                                                                                  The ID of the resource.

                                                                                  */ - ImportTaskId?: string; + ResourceId?: string; /** - *

                                                                                  Information about the import snapshot task.

                                                                                  + *

                                                                                  The type of resource. Note that the tgw-peering resource type has been deprecated.

                                                                                  */ - SnapshotTaskDetail?: SnapshotTaskDetail; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

                                                                                  Any tags assigned to the import snapshot task.

                                                                                  + *

                                                                                  The state of the resource.

                                                                                  */ - Tags?: Tag[]; + State?: TransitGatewayPropagationState | string; } -export namespace ImportSnapshotResult { +export namespace TransitGatewayRouteTablePropagation { /** * @internal */ - export const filterSensitiveLog = (obj: ImportSnapshotResult): any => ({ + export const filterSensitiveLog = (obj: TransitGatewayRouteTablePropagation): any => ({ ...obj, }); } -export interface ImportVolumeRequest { +export interface GetTransitGatewayRouteTablePropagationsResult { /** - *

                                                                                  The Availability Zone for the resulting EBS volume.

                                                                                  + *

                                                                                  Information about the route table propagations.

                                                                                  */ - AvailabilityZone: string | undefined; + TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[]; /** - *

                                                                                  A description of the volume.

                                                                                  + *

                                                                                  The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                  */ - Description?: string; + NextToken?: string; +} +export namespace GetTransitGatewayRouteTablePropagationsResult { /** - *

                                                                                  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.

                                                                                  + * @internal */ - DryRun?: boolean; + export const filterSensitiveLog = (obj: GetTransitGatewayRouteTablePropagationsResult): any => ({ + ...obj, + }); +} +export interface ImportClientVpnClientCertificateRevocationListRequest { /** - *

                                                                                  The disk image.

                                                                                  + *

                                                                                  The ID of the Client VPN endpoint to which the client certificate revocation list applies.

                                                                                  */ - Image: DiskImageDetail | undefined; + ClientVpnEndpointId: string | undefined; /** - *

                                                                                  The volume size.

                                                                                  + *

                                                                                  The client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the + * AWS Client VPN Administrator Guide.

                                                                                  */ - Volume: VolumeDetail | undefined; + CertificateRevocationList: string | undefined; + + /** + *

                                                                                  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; } -export namespace ImportVolumeRequest { +export namespace ImportClientVpnClientCertificateRevocationListRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ImportVolumeRequest): any => ({ + export const filterSensitiveLog = (obj: ImportClientVpnClientCertificateRevocationListRequest): any => ({ ...obj, }); } -export interface ImportVolumeResult { +export interface ImportClientVpnClientCertificateRevocationListResult { /** - *

                                                                                  Information about the conversion task.

                                                                                  + *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  */ - ConversionTask?: ConversionTask; + Return?: boolean; } -export namespace ImportVolumeResult { +export namespace ImportClientVpnClientCertificateRevocationListResult { /** * @internal */ - export const filterSensitiveLog = (obj: ImportVolumeResult): any => ({ + export const filterSensitiveLog = (obj: ImportClientVpnClientCertificateRevocationListResult): any => ({ ...obj, }); } -export interface ModifyAddressAttributeRequest { +/** + *

                                                                                  Describes the client-specific data.

                                                                                  + */ +export interface ClientData { /** - *

                                                                                  [EC2-VPC] The allocation ID.

                                                                                  + *

                                                                                  A user-defined comment about the disk upload.

                                                                                  */ - AllocationId: string | undefined; + Comment?: string; /** - *

                                                                                  The domain name to modify for the IP address.

                                                                                  - */ - DomainName?: string; - - /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The time that the disk upload ends.

                                                                                  */ - DryRun?: boolean; -} + UploadEnd?: Date; -export namespace ModifyAddressAttributeRequest { /** - * @internal + *

                                                                                  The size of the uploaded disk image, in GiB.

                                                                                  */ - export const filterSensitiveLog = (obj: ModifyAddressAttributeRequest): any => ({ - ...obj, - }); -} + UploadSize?: number; -export interface ModifyAddressAttributeResult { /** - *

                                                                                  Information about the Elastic IP address.

                                                                                  + *

                                                                                  The time that the disk upload starts.

                                                                                  */ - Address?: AddressAttribute; + UploadStart?: Date; } -export namespace ModifyAddressAttributeResult { +export namespace ClientData { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyAddressAttributeResult): any => ({ + export const filterSensitiveLog = (obj: ClientData): any => ({ ...obj, }); } -export type ModifyAvailabilityZoneOptInStatus = "not-opted-in" | "opted-in"; - -export interface ModifyAvailabilityZoneGroupRequest { - /** - *

                                                                                  The name of the Availability Zone group, Local Zone group, or Wavelength Zone - * group.

                                                                                  - */ - GroupName: string | undefined; - +/** + *

                                                                                  Describes the Amazon S3 bucket for the disk image.

                                                                                  + */ +export interface UserBucket { /** - *

                                                                                  Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The - * only valid value is opted-in. You must contact AWS Support to opt out of a Local Zone group, or Wavelength Zone group.

                                                                                  + *

                                                                                  The name of the Amazon S3 bucket where the disk image is located.

                                                                                  */ - OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined; + S3Bucket?: string; /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The file name of the disk image.

                                                                                  */ - DryRun?: boolean; + S3Key?: string; } -export namespace ModifyAvailabilityZoneGroupRequest { +export namespace UserBucket { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyAvailabilityZoneGroupRequest): any => ({ + export const filterSensitiveLog = (obj: UserBucket): any => ({ ...obj, }); } -export interface ModifyAvailabilityZoneGroupResult { +/** + *

                                                                                  Describes the disk container object for an import image task.

                                                                                  + */ +export interface ImageDiskContainer { /** - *

                                                                                  Is true if the request succeeds, and an error otherwise.

                                                                                  + *

                                                                                  The description of the disk image.

                                                                                  */ - Return?: boolean; -} + Description?: string; -export namespace ModifyAvailabilityZoneGroupResult { /** - * @internal + *

                                                                                  The block device mapping for the disk.

                                                                                  */ - export const filterSensitiveLog = (obj: ModifyAvailabilityZoneGroupResult): any => ({ - ...obj, - }); -} + DeviceName?: string; -export interface ModifyCapacityReservationRequest { /** - *

                                                                                  The ID of the Capacity Reservation.

                                                                                  + *

                                                                                  The format of the disk image being imported.

                                                                                  + *

                                                                                  Valid values: OVA | VHD | VHDX | VMDK | RAW + *

                                                                                  */ - CapacityReservationId: string | undefined; + Format?: string; /** - *

                                                                                  The number of instances for which to reserve capacity.

                                                                                  + *

                                                                                  The ID of the EBS snapshot to be used for importing the snapshot.

                                                                                  */ - InstanceCount?: number; + SnapshotId?: string; /** - *

                                                                                  The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity - * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to - * expired when it reaches its end date and time.

                                                                                  - *

                                                                                  The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify - * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

                                                                                  - *

                                                                                  You must provide an EndDate value if EndDateType is - * limited. Omit EndDate if EndDateType is - * unlimited.

                                                                                  + *

                                                                                  The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an + * Amazon S3 URL (s3://..)

                                                                                  */ - EndDate?: Date; + Url?: string; /** - *

                                                                                  Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end - * types:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not - * provide an EndDate value if EndDateType is - * unlimited.

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * limited - The Capacity Reservation expires automatically at a specified date and time. You must - * provide an EndDate value if EndDateType is - * limited.

                                                                                    - *
                                                                                  • - *
                                                                                  + *

                                                                                  The S3 bucket for the disk image.

                                                                                  */ - EndDateType?: EndDateType | string; + UserBucket?: UserBucket; +} +export namespace ImageDiskContainer { /** - *

                                                                                  Reserved. Capacity Reservations you have created are accepted by default.

                                                                                  + * @internal */ - Accept?: boolean; + export const filterSensitiveLog = (obj: ImageDiskContainer): any => ({ + ...obj, + }); +} +/** + *

                                                                                  The request information of license configurations.

                                                                                  + */ +export interface ImportImageLicenseConfigurationRequest { /** - *

                                                                                  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.

                                                                                  + *

                                                                                  The ARN of a license configuration.

                                                                                  */ - DryRun?: boolean; + LicenseConfigurationArn?: string; } -export namespace ModifyCapacityReservationRequest { +export namespace ImportImageLicenseConfigurationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyCapacityReservationRequest): any => ({ + export const filterSensitiveLog = (obj: ImportImageLicenseConfigurationRequest): any => ({ ...obj, }); } -export interface ModifyCapacityReservationResult { +export interface ImportImageRequest { /** - *

                                                                                  Returns true if the request succeeds; otherwise, it returns an error.

                                                                                  + *

                                                                                  The architecture of the virtual machine.

                                                                                  + *

                                                                                  Valid values: i386 | x86_64 | arm64 + *

                                                                                  */ - Return?: boolean; -} + Architecture?: string; -export namespace ModifyCapacityReservationResult { /** - * @internal + *

                                                                                  The client-specific data.

                                                                                  */ - export const filterSensitiveLog = (obj: ModifyCapacityReservationResult): any => ({ - ...obj, - }); -} + ClientData?: ClientData; -/** - *

                                                                                  Information about the DNS server to be used.

                                                                                  - */ -export interface DnsServersOptionsModifyStructure { /** - *

                                                                                  The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to - * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values - * overwrite the existing values.

                                                                                  + *

                                                                                  The token to enable idempotency for VM import requests.

                                                                                  */ - CustomDnsServers?: string[]; + ClientToken?: string; /** - *

                                                                                  Indicates whether DNS servers should be used. Specify False to delete the existing DNS - * servers.

                                                                                  + *

                                                                                  A description string for the import image task.

                                                                                  */ - Enabled?: boolean; -} + Description?: string; -export namespace DnsServersOptionsModifyStructure { /** - * @internal + *

                                                                                  Information about the disk containers.

                                                                                  */ - export const filterSensitiveLog = (obj: DnsServersOptionsModifyStructure): any => ({ - ...obj, - }); -} + DiskContainers?: ImageDiskContainer[]; -export interface ModifyClientVpnEndpointRequest { /** - *

                                                                                  The ID of the Client VPN endpoint to modify.

                                                                                  + *

                                                                                  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.

                                                                                  */ - ClientVpnEndpointId: string | undefined; + DryRun?: boolean; /** - *

                                                                                  The ARN of the server certificate to be used. The server certificate must be provisioned in AWS Certificate Manager (ACM).

                                                                                  + *

                                                                                  Specifies whether the destination AMI of the imported image should be encrypted. The default CMK for EBS is used + * unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using KmsKeyId. For more information, see Amazon EBS Encryption in the + * Amazon Elastic Compute Cloud User Guide.

                                                                                  */ - ServerCertificateArn?: string; + Encrypted?: boolean; /** - *

                                                                                  Information about the client connection logging options.

                                                                                  - *

                                                                                  If you enable client connection logging, data about client connections is sent to a - * Cloudwatch Logs log stream. The following information is logged:

                                                                                  - *
                                                                                    + *

                                                                                    The target hypervisor platform.

                                                                                    + *

                                                                                    Valid values: xen + *

                                                                                    + */ + Hypervisor?: string; + + /** + *

                                                                                    An identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the + * encrypted AMI. This parameter is only required if you want to use a non-default CMK; if this + * parameter is not specified, the default CMK for EBS is used. If a KmsKeyId is + * specified, the Encrypted flag must also be set.

                                                                                    + *

                                                                                    The CMK identifier may be provided in any of the following formats:

                                                                                    + *
                                                                                      *
                                                                                    • - *

                                                                                      Client connection requests

                                                                                      + *

                                                                                      Key ID

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      Client connection results (successful and unsuccessful)

                                                                                      + *

                                                                                      Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      Reasons for unsuccessful client connection requests

                                                                                      + *

                                                                                      ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      Client connection termination time

                                                                                      + *

                                                                                      ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      *
                                                                                    • *
                                                                                    + *

                                                                                    AWS parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even + * though you provided an invalid identifier. This action will eventually report failure.

                                                                                    + *

                                                                                    The specified CMK must exist in the Region that the AMI is being copied to.

                                                                                    + *

                                                                                    Amazon EBS does not support asymmetric CMKs.

                                                                                    */ - ConnectionLogOptions?: ConnectionLogOptions; + KmsKeyId?: string; /** - *

                                                                                    Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have - * up to two DNS servers.

                                                                                    + *

                                                                                    The license type to be used for the Amazon Machine Image (AMI) after importing.

                                                                                    + *

                                                                                    By default, we detect the source-system operating system (OS) and apply the appropriate license. Specify + * AWS to replace the source-system license with an AWS license, if appropriate. Specify BYOL + * to retain the source-system license, if appropriate.

                                                                                    + *

                                                                                    To use BYOL, you must have existing licenses with rights to use these licenses in a third party + * cloud, such as AWS. For more information, see Prerequisites in the + * VM Import/Export User Guide.

                                                                                    */ - DnsServers?: DnsServersOptionsModifyStructure; + LicenseType?: string; /** - *

                                                                                    The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

                                                                                    - *

                                                                                    Valid Values: 443 | 1194 - *

                                                                                    - *

                                                                                    Default Value: 443 + *

                                                                                    The operating system of the virtual machine.

                                                                                    + *

                                                                                    Valid values: Windows | Linux *

                                                                                    */ - VpnPort?: number; + Platform?: string; /** - *

                                                                                    A brief description of the Client VPN endpoint.

                                                                                    + *

                                                                                    The name of the role to use when not using the default role, 'vmimport'.

                                                                                    */ - Description?: string; + RoleName?: string; /** - *

                                                                                    Indicates whether the VPN is split-tunnel.

                                                                                    - *

                                                                                    For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS - * Client VPN Administrator Guide.

                                                                                    + *

                                                                                    The ARNs of the license configurations.

                                                                                    */ - SplitTunnel?: boolean; + LicenseSpecifications?: ImportImageLicenseConfigurationRequest[]; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The tags to apply to the import image task during creation.

                                                                                    */ - DryRun?: boolean; - - /** - *

                                                                                    The IDs of one or more security groups to apply to the target network.

                                                                                    - */ - SecurityGroupIds?: string[]; + TagSpecifications?: TagSpecification[]; +} +export namespace ImportImageRequest { /** - *

                                                                                    The ID of the VPC to associate with the Client VPN endpoint.

                                                                                    + * @internal */ - VpcId?: string; + export const filterSensitiveLog = (obj: ImportImageRequest): any => ({ + ...obj, + }); +} +export interface ImportImageResult { /** - *

                                                                                    Specify whether to enable the self-service portal for the Client VPN endpoint.

                                                                                    + *

                                                                                    The architecture of the virtual machine.

                                                                                    */ - SelfServicePortal?: SelfServicePortal | string; + Architecture?: string; /** - *

                                                                                    The options for managing connection authorization for new client connections.

                                                                                    + *

                                                                                    A description of the import task.

                                                                                    */ - ClientConnectOptions?: ClientConnectOptions; -} + Description?: string; -export namespace ModifyClientVpnEndpointRequest { /** - * @internal + *

                                                                                    Indicates whether the AMI is encrypted.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyClientVpnEndpointRequest): any => ({ - ...obj, - }); -} + Encrypted?: boolean; -export interface ModifyClientVpnEndpointResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    The target hypervisor of the import task.

                                                                                    */ - Return?: boolean; -} + Hypervisor?: string; -export namespace ModifyClientVpnEndpointResult { /** - * @internal + *

                                                                                    The ID of the Amazon Machine Image (AMI) created by the import task.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyClientVpnEndpointResult): any => ({ - ...obj, - }); -} + ImageId?: string; -export interface ModifyDefaultCreditSpecificationRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The task ID of the import image task.

                                                                                    */ - DryRun?: boolean; + ImportTaskId?: string; /** - *

                                                                                    The instance family.

                                                                                    + *

                                                                                    The identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key + * (CMK) that was used to create the encrypted AMI.

                                                                                    */ - InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; + KmsKeyId?: string; /** - *

                                                                                    The credit option for CPU usage of the instance family.

                                                                                    - *

                                                                                    Valid Values: standard | unlimited - *

                                                                                    + *

                                                                                    The license type of the virtual machine.

                                                                                    */ - CpuCredits: string | undefined; -} + LicenseType?: string; -export namespace ModifyDefaultCreditSpecificationRequest { /** - * @internal + *

                                                                                    The operating system of the virtual machine.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyDefaultCreditSpecificationRequest): any => ({ - ...obj, - }); -} + Platform?: string; -export interface ModifyDefaultCreditSpecificationResult { /** - *

                                                                                    The default credit option for CPU usage of the instance family.

                                                                                    + *

                                                                                    The progress of the task.

                                                                                    */ - InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; -} + Progress?: string; -export namespace ModifyDefaultCreditSpecificationResult { /** - * @internal + *

                                                                                    Information about the snapshots.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyDefaultCreditSpecificationResult): any => ({ - ...obj, - }); -} + SnapshotDetails?: SnapshotDetail[]; -export interface ModifyEbsDefaultKmsKeyIdRequest { /** - *

                                                                                    The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. - * If this parameter is not specified, your AWS managed CMK for EBS is used. If KmsKeyId is - * specified, the encrypted state must be true.

                                                                                    - *

                                                                                    You can specify the CMK using any of the following:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      Key alias. For example, alias/ExampleAlias.

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      - *
                                                                                    • - *
                                                                                    - *

                                                                                    AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, - * the action can appear to complete, but eventually fails.

                                                                                    - *

                                                                                    Amazon EBS does not support asymmetric CMKs.

                                                                                    + *

                                                                                    A brief status of the task.

                                                                                    */ - KmsKeyId: string | undefined; + Status?: string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    A detailed status message of the import task.

                                                                                    */ - DryRun?: boolean; -} + StatusMessage?: string; -export namespace ModifyEbsDefaultKmsKeyIdRequest { /** - * @internal + *

                                                                                    The ARNs of the license configurations.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdRequest): any => ({ - ...obj, - }); -} + LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; -export interface ModifyEbsDefaultKmsKeyIdResult { /** - *

                                                                                    The Amazon Resource Name (ARN) of the default CMK for encryption by default.

                                                                                    + *

                                                                                    Any tags assigned to the import image task.

                                                                                    */ - KmsKeyId?: string; + Tags?: Tag[]; } -export namespace ModifyEbsDefaultKmsKeyIdResult { +export namespace ImportImageResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdResult): any => ({ + export const filterSensitiveLog = (obj: ImportImageResult): any => ({ ...obj, }); } -export interface ModifyFleetRequest { - /** - *

                                                                                    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; - - /** - *

                                                                                    Indicates whether running instances should be terminated if the total target capacity of - * the EC2 Fleet is decreased below the current size of the EC2 Fleet.

                                                                                    - */ - ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string; - - /** - *

                                                                                    The launch template and overrides.

                                                                                    - */ - LaunchTemplateConfigs?: FleetLaunchTemplateConfigRequest[]; - +/** + *

                                                                                    Describes a disk image.

                                                                                    + */ +export interface DiskImageDetail { /** - *

                                                                                    The ID of the EC2 Fleet.

                                                                                    + *

                                                                                    The size of the disk image, in GiB.

                                                                                    */ - FleetId: string | undefined; + Bytes: number | undefined; /** - *

                                                                                    The size of the EC2 Fleet.

                                                                                    + *

                                                                                    The disk image format.

                                                                                    */ - TargetCapacitySpecification?: TargetCapacitySpecificationRequest; + Format: DiskImageFormat | string | undefined; /** - *

                                                                                    Reserved.

                                                                                    + *

                                                                                    A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. + * For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication + * Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer + * Guide.

                                                                                    + *

                                                                                    For information about the import manifest referenced by this API action, see VM Import Manifest.

                                                                                    */ - Context?: string; + ImportManifestUrl: string | undefined; } -export namespace ModifyFleetRequest { +export namespace DiskImageDetail { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyFleetRequest): any => ({ + export const filterSensitiveLog = (obj: DiskImageDetail): any => ({ ...obj, }); } -export interface ModifyFleetResult { +/** + *

                                                                                    Describes an EBS volume.

                                                                                    + */ +export interface VolumeDetail { /** - *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    + *

                                                                                    The size of the volume, in GiB.

                                                                                    */ - Return?: boolean; + Size: number | undefined; } -export namespace ModifyFleetResult { +export namespace VolumeDetail { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyFleetResult): any => ({ + export const filterSensitiveLog = (obj: VolumeDetail): any => ({ ...obj, }); } /** - *

                                                                                    Describes a load permission.

                                                                                    + *

                                                                                    Describes a disk image.

                                                                                    */ -export interface LoadPermissionRequest { +export interface DiskImage { /** - *

                                                                                    The name of the group.

                                                                                    + *

                                                                                    A description of the disk image.

                                                                                    */ - Group?: PermissionGroup | string; + Description?: string; /** - *

                                                                                    The AWS account ID.

                                                                                    + *

                                                                                    Information about the disk image.

                                                                                    */ - UserId?: string; + Image?: DiskImageDetail; + + /** + *

                                                                                    Information about the volume.

                                                                                    + */ + Volume?: VolumeDetail; } -export namespace LoadPermissionRequest { +export namespace DiskImage { /** * @internal */ - export const filterSensitiveLog = (obj: LoadPermissionRequest): any => ({ + export const filterSensitiveLog = (obj: DiskImage): any => ({ ...obj, }); } /** - *

                                                                                    Describes modifications to the load permissions of an Amazon FPGA image (AFI).

                                                                                    + *

                                                                                    Describes the user data for an instance.

                                                                                    */ -export interface LoadPermissionModifications { - /** - *

                                                                                    The load permissions to add.

                                                                                    - */ - Add?: LoadPermissionRequest[]; - +export interface UserData { /** - *

                                                                                    The load permissions to remove.

                                                                                    + *

                                                                                    The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you + * can load the text from a file. Otherwise, you must provide Base64-encoded text.

                                                                                    */ - Remove?: LoadPermissionRequest[]; + Data?: string; } -export namespace LoadPermissionModifications { +export namespace UserData { /** * @internal */ - export const filterSensitiveLog = (obj: LoadPermissionModifications): any => ({ + export const filterSensitiveLog = (obj: UserData): any => ({ ...obj, }); } -export type OperationType = "add" | "remove"; - -export interface ModifyFpgaImageAttributeRequest { +/** + *

                                                                                    Describes the launch specification for VM import.

                                                                                    + */ +export interface ImportInstanceLaunchSpecification { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Reserved.

                                                                                    */ - DryRun?: boolean; + AdditionalInfo?: string; /** - *

                                                                                    The ID of the AFI.

                                                                                    + *

                                                                                    The architecture of the instance.

                                                                                    */ - FpgaImageId: string | undefined; + Architecture?: ArchitectureValues | string; /** - *

                                                                                    The name of the attribute.

                                                                                    + *

                                                                                    The security group IDs.

                                                                                    */ - Attribute?: FpgaImageAttributeName | string; + GroupIds?: string[]; /** - *

                                                                                    The operation type.

                                                                                    + *

                                                                                    The security group names.

                                                                                    */ - OperationType?: OperationType | string; + GroupNames?: string[]; /** - *

                                                                                    The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

                                                                                    - */ - UserIds?: string[]; - - /** - *

                                                                                    The user groups. This parameter is valid only when modifying the loadPermission attribute.

                                                                                    + *

                                                                                    Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the + * operating system command for system shutdown).

                                                                                    */ - UserGroups?: string[]; + InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string; /** - *

                                                                                    The product codes. After you add a product code to an AFI, it can't be removed. - * This parameter is valid only when modifying the productCodes attribute.

                                                                                    + *

                                                                                    The instance type. For more information about the instance types that you can import, see Instance Types in the + * VM Import/Export User Guide.

                                                                                    */ - ProductCodes?: string[]; + InstanceType?: _InstanceType | string; /** - *

                                                                                    The load permission for the AFI.

                                                                                    + *

                                                                                    Indicates whether monitoring is enabled.

                                                                                    */ - LoadPermission?: LoadPermissionModifications; + Monitoring?: boolean; /** - *

                                                                                    A description for the AFI.

                                                                                    + *

                                                                                    The placement information for the instance.

                                                                                    */ - Description?: string; + Placement?: Placement; /** - *

                                                                                    A name for the AFI.

                                                                                    + *

                                                                                    [EC2-VPC] An available IP address from the IP address range of the subnet.

                                                                                    */ - Name?: string; -} + PrivateIpAddress?: string; -export namespace ModifyFpgaImageAttributeRequest { /** - * @internal + *

                                                                                    [EC2-VPC] The ID of the subnet in which to launch the instance.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyFpgaImageAttributeRequest): any => ({ - ...obj, - }); -} + SubnetId?: string; -export interface ModifyFpgaImageAttributeResult { /** - *

                                                                                    Information about the attribute.

                                                                                    + *

                                                                                    The Base64-encoded user data to make available to the instance.

                                                                                    */ - FpgaImageAttribute?: FpgaImageAttribute; + UserData?: UserData; } -export namespace ModifyFpgaImageAttributeResult { +export namespace ImportInstanceLaunchSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyFpgaImageAttributeResult): any => ({ + export const filterSensitiveLog = (obj: ImportInstanceLaunchSpecification): any => ({ ...obj, + ...(obj.UserData && { UserData: SENSITIVE_STRING }), }); } -export interface ModifyHostsRequest { +export interface ImportInstanceRequest { /** - *

                                                                                    Specify whether to enable or disable auto-placement.

                                                                                    + *

                                                                                    A description for the instance being imported.

                                                                                    */ - AutoPlacement?: AutoPlacement | string; + Description?: string; /** - *

                                                                                    The IDs of the Dedicated Hosts to modify.

                                                                                    + *

                                                                                    The disk image.

                                                                                    */ - HostIds: string[] | undefined; + DiskImages?: DiskImage[]; /** - *

                                                                                    Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, - * see - * Host recovery in the Amazon EC2 User Guide.

                                                                                    + *

                                                                                    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.

                                                                                    */ - HostRecovery?: HostRecovery | string; + DryRun?: boolean; /** - *

                                                                                    Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to - * modify a Dedicated Host to support only a specific instance type.

                                                                                    - * - *

                                                                                    If you want to modify a Dedicated Host to support multiple instance types in its current instance - * family, omit this parameter and specify InstanceFamily - * instead. You cannot specify InstanceType and - * InstanceFamily in the same request.

                                                                                    + *

                                                                                    The launch specification.

                                                                                    */ - InstanceType?: string; + LaunchSpecification?: ImportInstanceLaunchSpecification; /** - *

                                                                                    Specifies the instance family to be supported by the Dedicated Host. Specify this parameter - * to modify a Dedicated Host to support multiple instance types within its current - * instance family.

                                                                                    - * - *

                                                                                    If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter - * and specify InstanceType instead. You cannot specify - * InstanceFamily and InstanceType - * in the same request.

                                                                                    + *

                                                                                    The instance operating system.

                                                                                    */ - InstanceFamily?: string; + Platform: PlatformValues | string | undefined; } -export namespace ModifyHostsRequest { +export namespace ImportInstanceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyHostsRequest): any => ({ + export const filterSensitiveLog = (obj: ImportInstanceRequest): any => ({ ...obj, + ...(obj.LaunchSpecification && { + LaunchSpecification: ImportInstanceLaunchSpecification.filterSensitiveLog(obj.LaunchSpecification), + }), }); } -export interface ModifyHostsResult { - /** - *

                                                                                    The IDs of the Dedicated Hosts that were successfully modified.

                                                                                    - */ - Successful?: string[]; - +export interface ImportInstanceResult { /** - *

                                                                                    The IDs of the Dedicated Hosts that could not be modified. Check whether the - * setting you requested can be used.

                                                                                    + *

                                                                                    Information about the conversion task.

                                                                                    */ - Unsuccessful?: UnsuccessfulItem[]; + ConversionTask?: ConversionTask; } -export namespace ModifyHostsResult { +export namespace ImportInstanceResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyHostsResult): any => ({ + export const filterSensitiveLog = (obj: ImportInstanceResult): any => ({ ...obj, }); } -export interface ModifyIdentityIdFormatRequest { +export interface ImportKeyPairRequest { /** - *

                                                                                    The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify - * all to modify the ID format for all IAM users, IAM roles, and the root user of - * the account.

                                                                                    + *

                                                                                    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.

                                                                                    */ - PrincipalArn: string | undefined; + DryRun?: boolean; /** - *

                                                                                    The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | internet-gateway | network-acl - * | network-acl-association | network-interface | - * network-interface-attachment | prefix-list | - * route-table | route-table-association | - * security-group | subnet | - * subnet-cidr-block-association | vpc | - * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                                                                                    - *

                                                                                    Alternatively, use the all-current option to include all resource types that are - * currently within their opt-in period for longer IDs.

                                                                                    + *

                                                                                    A unique name for the key pair.

                                                                                    */ - Resource: string | undefined; + KeyName: string | undefined; /** - *

                                                                                    Indicates whether the resource should use longer IDs (17-character IDs)

                                                                                    + *

                                                                                    The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

                                                                                    */ - UseLongIds: boolean | undefined; + PublicKeyMaterial: Uint8Array | undefined; + + /** + *

                                                                                    The tags to apply to the imported key pair.

                                                                                    + */ + TagSpecifications?: TagSpecification[]; } -export namespace ModifyIdentityIdFormatRequest { +export namespace ImportKeyPairRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyIdentityIdFormatRequest): any => ({ + export const filterSensitiveLog = (obj: ImportKeyPairRequest): any => ({ ...obj, }); } -export interface ModifyIdFormatRequest { - /** - *

                                                                                    The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | internet-gateway | network-acl - * | network-acl-association | network-interface | - * network-interface-attachment | prefix-list | - * route-table | route-table-association | - * security-group | subnet | - * subnet-cidr-block-association | vpc | - * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                                                                                    - *

                                                                                    Alternatively, use the all-current option to include all resource types that are - * currently within their opt-in period for longer IDs.

                                                                                    - */ - Resource: string | undefined; - +export interface ImportKeyPairResult { /** - *

                                                                                    Indicate whether the resource should use longer IDs (17-character IDs).

                                                                                    + *

                                                                                    The MD5 public key fingerprint as specified in section 4 of RFC 4716.

                                                                                    */ - UseLongIds: boolean | undefined; -} + KeyFingerprint?: string; -export namespace ModifyIdFormatRequest { /** - * @internal + *

                                                                                    The key pair name that you provided.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyIdFormatRequest): any => ({ - ...obj, - }); -} + KeyName?: string; -/** - *

                                                                                    Describes a launch permission modification.

                                                                                    - */ -export interface LaunchPermissionModifications { /** - *

                                                                                    The AWS account ID to add to the list of launch permissions for the AMI.

                                                                                    + *

                                                                                    The ID of the resulting key pair.

                                                                                    */ - Add?: LaunchPermission[]; + KeyPairId?: string; /** - *

                                                                                    The AWS account ID to remove from the list of launch permissions for the AMI.

                                                                                    + *

                                                                                    The tags applied to the imported key pair.

                                                                                    */ - Remove?: LaunchPermission[]; + Tags?: Tag[]; } -export namespace LaunchPermissionModifications { +export namespace ImportKeyPairResult { /** * @internal */ - export const filterSensitiveLog = (obj: LaunchPermissionModifications): any => ({ + export const filterSensitiveLog = (obj: ImportKeyPairResult): any => ({ ...obj, }); } /** - *

                                                                                    Contains the parameters for ModifyImageAttribute.

                                                                                    + *

                                                                                    The disk container object for the import snapshot request.

                                                                                    */ -export interface ModifyImageAttributeRequest { +export interface SnapshotDiskContainer { /** - *

                                                                                    The name of the attribute to modify. - * The valid values are description, launchPermission, and productCodes.

                                                                                    + *

                                                                                    The description of the disk image being imported.

                                                                                    */ - Attribute?: string; + Description?: string; /** - *

                                                                                    A new description for the AMI.

                                                                                    + *

                                                                                    The format of the disk image being imported.

                                                                                    + *

                                                                                    Valid values: VHD | VMDK | RAW + *

                                                                                    */ - Description?: AttributeValue; + Format?: string; /** - *

                                                                                    The ID of the AMI.

                                                                                    + *

                                                                                    The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon + * S3 URL (s3://..).

                                                                                    */ - ImageId: string | undefined; + Url?: string; /** - *

                                                                                    A new launch permission for the AMI.

                                                                                    + *

                                                                                    The Amazon S3 bucket for the disk image.

                                                                                    */ - LaunchPermission?: LaunchPermissionModifications; + UserBucket?: UserBucket; +} +export namespace SnapshotDiskContainer { /** - *

                                                                                    The operation type. - * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    + * @internal */ - OperationType?: OperationType | string; + export const filterSensitiveLog = (obj: SnapshotDiskContainer): any => ({ + ...obj, + }); +} +export interface ImportSnapshotRequest { /** - *

                                                                                    The DevPay product codes. After you add a product code to an AMI, it can't be removed.

                                                                                    + *

                                                                                    The client-specific data.

                                                                                    */ - ProductCodes?: string[]; + ClientData?: ClientData; /** - *

                                                                                    The user groups. - * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    + *

                                                                                    Token to enable idempotency for VM import requests.

                                                                                    */ - UserGroups?: string[]; + ClientToken?: string; /** - *

                                                                                    The AWS account IDs. - * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    + *

                                                                                    The description string for the import snapshot task.

                                                                                    */ - UserIds?: string[]; + Description?: string; /** - *

                                                                                    The value of the attribute being modified. - * This parameter can be used only when the Attribute parameter is description or productCodes.

                                                                                    + *

                                                                                    Information about the disk container.

                                                                                    */ - Value?: string; + DiskContainer?: SnapshotDiskContainer; /** *

                                                                                    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.

                                                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; -} -export namespace ModifyImageAttributeRequest { /** - * @internal - */ - export const filterSensitiveLog = (obj: ModifyImageAttributeRequest): any => ({ + *

                                                                                    Specifies whether the destination snapshot of the imported image should be encrypted. The default CMK for EBS is + * used unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using KmsKeyId. For more information, see Amazon EBS Encryption in the + * Amazon Elastic Compute Cloud User Guide.

                                                                                    + */ + Encrypted?: boolean; + + /** + *

                                                                                    An identifier for the symmetric AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the + * encrypted snapshot. This parameter is only required if you want to use a non-default CMK; if this + * parameter is not specified, the default CMK for EBS is used. If a KmsKeyId is + * specified, the Encrypted flag must also be set.

                                                                                    + *

                                                                                    The CMK identifier may be provided in any of the following formats:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      Key ID

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    AWS parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even + * though you provided an invalid identifier. This action will eventually report failure.

                                                                                    + *

                                                                                    The specified CMK must exist in the Region that the snapshot is being copied to.

                                                                                    + *

                                                                                    Amazon EBS does not support asymmetric CMKs.

                                                                                    + */ + KmsKeyId?: string; + + /** + *

                                                                                    The name of the role to use when not using the default role, 'vmimport'.

                                                                                    + */ + RoleName?: string; + + /** + *

                                                                                    The tags to apply to the import snapshot task during creation.

                                                                                    + */ + TagSpecifications?: TagSpecification[]; +} + +export namespace ImportSnapshotRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ImportSnapshotRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes information used to set up an EBS volume specified in a block device - * mapping.

                                                                                    - */ -export interface EbsInstanceBlockDeviceSpecification { +export interface ImportSnapshotResult { /** - *

                                                                                    Indicates whether the volume is deleted on instance termination.

                                                                                    + *

                                                                                    A description of the import snapshot task.

                                                                                    */ - DeleteOnTermination?: boolean; + Description?: string; /** - *

                                                                                    The ID of the EBS volume.

                                                                                    + *

                                                                                    The ID of the import snapshot task.

                                                                                    */ - VolumeId?: string; + ImportTaskId?: string; + + /** + *

                                                                                    Information about the import snapshot task.

                                                                                    + */ + SnapshotTaskDetail?: SnapshotTaskDetail; + + /** + *

                                                                                    Any tags assigned to the import snapshot task.

                                                                                    + */ + Tags?: Tag[]; } -export namespace EbsInstanceBlockDeviceSpecification { +export namespace ImportSnapshotResult { /** * @internal */ - export const filterSensitiveLog = (obj: EbsInstanceBlockDeviceSpecification): any => ({ + export const filterSensitiveLog = (obj: ImportSnapshotResult): any => ({ ...obj, }); } -/** - *

                                                                                    Describes a block device mapping entry.

                                                                                    - */ -export interface InstanceBlockDeviceMappingSpecification { +export interface ImportVolumeRequest { /** - *

                                                                                    The device name (for example, /dev/sdh or xvdh).

                                                                                    + *

                                                                                    The Availability Zone for the resulting EBS volume.

                                                                                    */ - DeviceName?: string; + AvailabilityZone: string | undefined; /** - *

                                                                                    Parameters used to automatically set up EBS volumes when the instance is - * launched.

                                                                                    + *

                                                                                    A description of the volume.

                                                                                    */ - Ebs?: EbsInstanceBlockDeviceSpecification; + Description?: string; /** - *

                                                                                    suppress the specified device included in the block device mapping.

                                                                                    + *

                                                                                    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.

                                                                                    */ - NoDevice?: string; + DryRun?: boolean; /** - *

                                                                                    The virtual device name.

                                                                                    + *

                                                                                    The disk image.

                                                                                    */ - VirtualName?: string; + Image: DiskImageDetail | undefined; + + /** + *

                                                                                    The volume size.

                                                                                    + */ + Volume: VolumeDetail | undefined; } -export namespace InstanceBlockDeviceMappingSpecification { +export namespace ImportVolumeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceBlockDeviceMappingSpecification): any => ({ + export const filterSensitiveLog = (obj: ImportVolumeRequest): any => ({ ...obj, }); } -export interface BlobAttributeValue { - Value?: Uint8Array; +export interface ImportVolumeResult { + /** + *

                                                                                    Information about the conversion task.

                                                                                    + */ + ConversionTask?: ConversionTask; } -export namespace BlobAttributeValue { +export namespace ImportVolumeResult { /** * @internal */ - export const filterSensitiveLog = (obj: BlobAttributeValue): any => ({ + export const filterSensitiveLog = (obj: ImportVolumeResult): any => ({ ...obj, }); } -export interface ModifyInstanceAttributeRequest { +export interface ModifyAddressAttributeRequest { /** - *

                                                                                    Enable or disable source/destination checks, which ensure that the instance - * is either the source or the destination of any traffic that it receives. - * If the value is true, source/destination checks are enabled; - * otherwise, they are disabled. The default value is true. - * You must disable source/destination checks if the instance runs services - * such as network address translation, routing, or firewalls.

                                                                                    + *

                                                                                    [EC2-VPC] The allocation ID.

                                                                                    */ - SourceDestCheck?: AttributeBooleanValue; + AllocationId: string | undefined; /** - *

                                                                                    The name of the attribute.

                                                                                    + *

                                                                                    The domain name to modify for the IP address.

                                                                                    */ - Attribute?: InstanceAttributeName | string; + DomainName?: string; /** - *

                                                                                    Modifies the DeleteOnTermination attribute for volumes that are currently - * attached. The volume must be owned by the caller. If no value is specified for - * DeleteOnTermination, the default is true and the volume is - * deleted when the instance is terminated.

                                                                                    - *

                                                                                    To add instance store volumes to an Amazon EBS-backed instance, you must add them when - * you launch the instance. For more information, see Updating the block device mapping when launching an instance in the - * Amazon EC2 User Guide.

                                                                                    + *

                                                                                    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.

                                                                                    */ - BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[]; + DryRun?: boolean; +} +export namespace ModifyAddressAttributeRequest { /** - *

                                                                                    If the value is true, you can't terminate the instance using the Amazon - * EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot - * Instances.

                                                                                    + * @internal */ - DisableApiTermination?: AttributeBooleanValue; + export const filterSensitiveLog = (obj: ModifyAddressAttributeRequest): any => ({ + ...obj, + }); +} + +export interface ModifyAddressAttributeResult { + /** + *

                                                                                    Information about the Elastic IP address.

                                                                                    + */ + Address?: AddressAttribute; +} + +export namespace ModifyAddressAttributeResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifyAddressAttributeResult): any => ({ + ...obj, + }); +} + +export type ModifyAvailabilityZoneOptInStatus = "not-opted-in" | "opted-in"; + +export interface ModifyAvailabilityZoneGroupRequest { + /** + *

                                                                                    The name of the Availability Zone group, Local Zone group, or Wavelength Zone + * group.

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

                                                                                    Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The + * only valid value is opted-in. You must contact AWS Support to opt out of a Local Zone group, or Wavelength Zone group.

                                                                                    + */ + OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined; /** *

                                                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -5795,205 +5782,250 @@ export interface ModifyInstanceAttributeRequest { * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; +} +export namespace ModifyAvailabilityZoneGroupRequest { /** - *

                                                                                    Specifies whether the instance is optimized for Amazon EBS I/O. This optimization - * provides dedicated throughput to Amazon EBS and an optimized configuration stack to - * provide optimal EBS I/O performance. This optimization isn't available with all instance - * types. Additional usage charges apply when using an EBS Optimized instance.

                                                                                    + * @internal */ - EbsOptimized?: AttributeBooleanValue; + export const filterSensitiveLog = (obj: ModifyAvailabilityZoneGroupRequest): any => ({ + ...obj, + }); +} +export interface ModifyAvailabilityZoneGroupResult { /** - *

                                                                                    Set to true to enable enhanced networking with ENA for the - * instance.

                                                                                    - *

                                                                                    This option is supported only for HVM instances. Specifying this option with a PV - * instance can make it unreachable.

                                                                                    + *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    */ - EnaSupport?: AttributeBooleanValue; + Return?: boolean; +} +export namespace ModifyAvailabilityZoneGroupResult { /** - *

                                                                                    [EC2-VPC] Replaces the security groups of the instance with the specified security groups. - * You must specify at least one security group, even if it's just the default security group for the VPC. You must - * specify the security group ID, not the security group name.

                                                                                    + * @internal */ - Groups?: string[]; + export const filterSensitiveLog = (obj: ModifyAvailabilityZoneGroupResult): any => ({ + ...obj, + }); +} +export interface ModifyCapacityReservationRequest { /** - *

                                                                                    The ID of the instance.

                                                                                    + *

                                                                                    The ID of the Capacity Reservation.

                                                                                    */ - InstanceId: string | undefined; + CapacityReservationId: string | undefined; /** - *

                                                                                    Specifies whether an instance stops or terminates when you initiate shutdown from the - * instance (using the operating system command for system shutdown).

                                                                                    + *

                                                                                    The number of instances for which to reserve capacity.

                                                                                    */ - InstanceInitiatedShutdownBehavior?: AttributeValue; + InstanceCount?: number; /** - *

                                                                                    Changes the instance type to the specified value. For more information, see Instance - * types in the Amazon EC2 User Guide. If the instance type is not valid, - * the error returned is InvalidInstanceAttributeValue.

                                                                                    + *

                                                                                    The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity + * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to + * expired when it reaches its end date and time.

                                                                                    + *

                                                                                    The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify + * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

                                                                                    + *

                                                                                    You must provide an EndDate value if EndDateType is + * limited. Omit EndDate if EndDateType is + * unlimited.

                                                                                    */ - InstanceType?: AttributeValue; + EndDate?: Date; /** - *

                                                                                    Changes the instance's kernel to the specified value. We recommend that you use - * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

                                                                                    + *

                                                                                    Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end + * types:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      + * unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not + * provide an EndDate value if EndDateType is + * unlimited.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * limited - The Capacity Reservation expires automatically at a specified date and time. You must + * provide an EndDate value if EndDateType is + * limited.

                                                                                      + *
                                                                                    • + *
                                                                                    */ - Kernel?: AttributeValue; + EndDateType?: EndDateType | string; /** - *

                                                                                    Changes the instance's RAM disk to the specified value. We recommend that you use - * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

                                                                                    + *

                                                                                    Reserved. Capacity Reservations you have created are accepted by default.

                                                                                    */ - Ramdisk?: AttributeValue; + Accept?: boolean; /** - *

                                                                                    Set to simple to enable enhanced networking with the Intel 82599 Virtual - * Function interface for the instance.

                                                                                    - *

                                                                                    There is no way to disable enhanced networking with the Intel 82599 Virtual Function - * interface at this time.

                                                                                    - *

                                                                                    This option is supported only for HVM instances. Specifying this option with a PV - * instance can make it unreachable.

                                                                                    + *

                                                                                    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.

                                                                                    */ - SriovNetSupport?: AttributeValue; + DryRun?: boolean; +} +export namespace ModifyCapacityReservationRequest { /** - *

                                                                                    Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK - * or command line tool, base64-encoding is performed for you, and you can load the text - * from a file. Otherwise, you must provide base64-encoded text.

                                                                                    + * @internal */ - UserData?: BlobAttributeValue; + export const filterSensitiveLog = (obj: ModifyCapacityReservationRequest): any => ({ + ...obj, + }); +} +export interface ModifyCapacityReservationResult { /** - *

                                                                                    A new value for the attribute. Use only with the kernel, - * ramdisk, userData, disableApiTermination, or - * instanceInitiatedShutdownBehavior attribute.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - Value?: string; + Return?: boolean; } -export namespace ModifyInstanceAttributeRequest { +export namespace ModifyCapacityReservationResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyCapacityReservationResult): any => ({ ...obj, }); } /** - *

                                                                                    Describes an instance's Capacity Reservation targeting option. You can specify only one parameter - * at a time. If you specify CapacityReservationPreference and - * CapacityReservationTarget, the request fails.

                                                                                    - *

                                                                                    Use the CapacityReservationPreference parameter to configure the instance - * to run as an On-Demand Instance or to run in any open Capacity Reservation that has - * matching attributes (instance type, platform, Availability Zone). Use the - * CapacityReservationTarget parameter to explicitly target a specific - * Capacity Reservation or a Capacity Reservation group.

                                                                                    + *

                                                                                    Information about the DNS server to be used.

                                                                                    */ -export interface CapacityReservationSpecification { +export interface DnsServersOptionsModifyStructure { /** - *

                                                                                    Indicates the instance's Capacity Reservation preferences. Possible preferences include:

                                                                                    + *

                                                                                    The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to + * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values + * overwrite the existing values.

                                                                                    + */ + CustomDnsServers?: string[]; + + /** + *

                                                                                    Indicates whether DNS servers should be used. Specify False to delete the existing DNS + * servers.

                                                                                    + */ + Enabled?: boolean; +} + +export namespace DnsServersOptionsModifyStructure { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DnsServersOptionsModifyStructure): any => ({ + ...obj, + }); +} + +export interface ModifyClientVpnEndpointRequest { + /** + *

                                                                                    The ID of the Client VPN endpoint to modify.

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

                                                                                    The ARN of the server certificate to be used. The server certificate must be provisioned in AWS Certificate Manager (ACM).

                                                                                    + */ + ServerCertificateArn?: string; + + /** + *

                                                                                    Information about the client connection logging options.

                                                                                    + *

                                                                                    If you enable client connection logging, data about client connections is sent to a + * Cloudwatch Logs log stream. The following information is logged:

                                                                                    *
                                                                                      *
                                                                                    • - *

                                                                                      - * open - The instance can run in any open Capacity Reservation that has matching attributes - * (instance type, platform, Availability Zone).

                                                                                      + *

                                                                                      Client connection requests

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      - * none - The instance avoids running in a Capacity Reservation even if one is available. The - * instance runs as an On-Demand Instance.

                                                                                      + *

                                                                                      Client connection results (successful and unsuccessful)

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Reasons for unsuccessful client connection requests

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Client connection termination time

                                                                                      *
                                                                                    • *
                                                                                    */ - CapacityReservationPreference?: CapacityReservationPreference | string; + ConnectionLogOptions?: ConnectionLogOptions; /** - *

                                                                                    Information about the target Capacity Reservation or Capacity Reservation group.

                                                                                    + *

                                                                                    Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have + * up to two DNS servers.

                                                                                    */ - CapacityReservationTarget?: CapacityReservationTarget; -} + DnsServers?: DnsServersOptionsModifyStructure; -export namespace CapacityReservationSpecification { /** - * @internal + *

                                                                                    The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

                                                                                    + *

                                                                                    Valid Values: 443 | 1194 + *

                                                                                    + *

                                                                                    Default Value: 443 + *

                                                                                    */ - export const filterSensitiveLog = (obj: CapacityReservationSpecification): any => ({ - ...obj, - }); -} + VpnPort?: number; + + /** + *

                                                                                    A brief description of the Client VPN endpoint.

                                                                                    + */ + Description?: string; + + /** + *

                                                                                    Indicates whether the VPN is split-tunnel.

                                                                                    + *

                                                                                    For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS + * Client VPN Administrator Guide.

                                                                                    + */ + SplitTunnel?: boolean; -export interface ModifyInstanceCapacityReservationAttributesRequest { /** - *

                                                                                    The ID of the instance to be modified.

                                                                                    + *

                                                                                    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.

                                                                                    */ - InstanceId: string | undefined; + DryRun?: boolean; /** - *

                                                                                    Information about the Capacity Reservation targeting option.

                                                                                    + *

                                                                                    The IDs of one or more security groups to apply to the target network.

                                                                                    */ - CapacityReservationSpecification: CapacityReservationSpecification | undefined; + SecurityGroupIds?: string[]; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID of the VPC to associate with the Client VPN endpoint.

                                                                                    */ - DryRun?: boolean; -} + VpcId?: string; -export namespace ModifyInstanceCapacityReservationAttributesRequest { /** - * @internal + *

                                                                                    Specify whether to enable the self-service portal for the Client VPN endpoint.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyInstanceCapacityReservationAttributesRequest): any => ({ - ...obj, - }); -} + SelfServicePortal?: SelfServicePortal | string; -export interface ModifyInstanceCapacityReservationAttributesResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    The options for managing connection authorization for new client connections.

                                                                                    */ - Return?: boolean; + ClientConnectOptions?: ClientConnectOptions; } -export namespace ModifyInstanceCapacityReservationAttributesResult { +export namespace ModifyClientVpnEndpointRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceCapacityReservationAttributesResult): any => ({ + export const filterSensitiveLog = (obj: ModifyClientVpnEndpointRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the credit option for CPU usage of a burstable performance instance.

                                                                                    - */ -export interface InstanceCreditSpecificationRequest { - /** - *

                                                                                    The ID of the instance.

                                                                                    - */ - InstanceId?: string; - +export interface ModifyClientVpnEndpointResult { /** - *

                                                                                    The credit option for CPU usage of the instance. Valid values are - * standard and unlimited.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - CpuCredits?: string; + Return?: boolean; } -export namespace InstanceCreditSpecificationRequest { +export namespace ModifyClientVpnEndpointResult { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceCreditSpecificationRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyClientVpnEndpointResult): any => ({ ...obj, }); } -export interface ModifyInstanceCreditSpecificationRequest { +export interface ModifyDefaultCreditSpecificationRequest { /** *

                                                                                    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. @@ -6002,513 +6034,605 @@ export interface ModifyInstanceCreditSpecificationRequest { DryRun?: boolean; /** - *

                                                                                    A unique, case-sensitive token that you provide to ensure idempotency of your - * modification request. For more information, see Ensuring - * Idempotency.

                                                                                    + *

                                                                                    The instance family.

                                                                                    */ - ClientToken?: string; + InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; /** - *

                                                                                    Information about the credit option for CPU usage.

                                                                                    + *

                                                                                    The credit option for CPU usage of the instance family.

                                                                                    + *

                                                                                    Valid Values: standard | unlimited + *

                                                                                    */ - InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined; + CpuCredits: string | undefined; } -export namespace ModifyInstanceCreditSpecificationRequest { +export namespace ModifyDefaultCreditSpecificationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyDefaultCreditSpecificationRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the burstable performance instance whose credit option for CPU usage was - * successfully modified.

                                                                                    - */ -export interface SuccessfulInstanceCreditSpecificationItem { +export interface ModifyDefaultCreditSpecificationResult { /** - *

                                                                                    The ID of the instance.

                                                                                    + *

                                                                                    The default credit option for CPU usage of the instance family.

                                                                                    */ - InstanceId?: string; + InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; } -export namespace SuccessfulInstanceCreditSpecificationItem { +export namespace ModifyDefaultCreditSpecificationResult { /** * @internal */ - export const filterSensitiveLog = (obj: SuccessfulInstanceCreditSpecificationItem): any => ({ + export const filterSensitiveLog = (obj: ModifyDefaultCreditSpecificationResult): any => ({ ...obj, }); } -export enum UnsuccessfulInstanceCreditSpecificationErrorCode { - INCORRECT_INSTANCE_STATE = "IncorrectInstanceState", - INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = "InstanceCreditSpecification.NotSupported", - INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound", - INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed", -} - -/** - *

                                                                                    Information about the error for the burstable performance instance whose credit option - * for CPU usage was not modified.

                                                                                    - */ -export interface UnsuccessfulInstanceCreditSpecificationItemError { +export interface ModifyEbsDefaultKmsKeyIdRequest { /** - *

                                                                                    The error code.

                                                                                    + *

                                                                                    The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. + * If this parameter is not specified, your AWS managed CMK for EBS is used. If KmsKeyId is + * specified, the encrypted state must be true.

                                                                                    + *

                                                                                    You can specify the CMK using any of the following:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Key alias. For example, alias/ExampleAlias.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, + * the action can appear to complete, but eventually fails.

                                                                                    + *

                                                                                    Amazon EBS does not support asymmetric CMKs.

                                                                                    */ - Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | string; + KmsKeyId: string | undefined; /** - *

                                                                                    The applicable error message.

                                                                                    + *

                                                                                    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.

                                                                                    */ - Message?: string; + DryRun?: boolean; } -export namespace UnsuccessfulInstanceCreditSpecificationItemError { +export namespace ModifyEbsDefaultKmsKeyIdRequest { /** * @internal */ - export const filterSensitiveLog = (obj: UnsuccessfulInstanceCreditSpecificationItemError): any => ({ + export const filterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the burstable performance instance whose credit option for CPU usage was not - * modified.

                                                                                    - */ -export interface UnsuccessfulInstanceCreditSpecificationItem { - /** - *

                                                                                    The ID of the instance.

                                                                                    - */ - InstanceId?: string; - +export interface ModifyEbsDefaultKmsKeyIdResult { /** - *

                                                                                    The applicable error for the burstable performance instance whose credit option for - * CPU usage was not modified.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the default CMK for encryption by default.

                                                                                    */ - Error?: UnsuccessfulInstanceCreditSpecificationItemError; + KmsKeyId?: string; } -export namespace UnsuccessfulInstanceCreditSpecificationItem { +export namespace ModifyEbsDefaultKmsKeyIdResult { /** * @internal */ - export const filterSensitiveLog = (obj: UnsuccessfulInstanceCreditSpecificationItem): any => ({ + export const filterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdResult): any => ({ ...obj, }); } -export interface ModifyInstanceCreditSpecificationResult { +export interface ModifyFleetRequest { /** - *

                                                                                    Information about the instances whose credit option for CPU usage was successfully - * modified.

                                                                                    + *

                                                                                    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.

                                                                                    */ - SuccessfulInstanceCreditSpecifications?: SuccessfulInstanceCreditSpecificationItem[]; + DryRun?: boolean; /** - *

                                                                                    Information about the instances whose credit option for CPU usage was not - * modified.

                                                                                    + *

                                                                                    Indicates whether running instances should be terminated if the total target capacity of + * the EC2 Fleet is decreased below the current size of the EC2 Fleet.

                                                                                    */ - UnsuccessfulInstanceCreditSpecifications?: UnsuccessfulInstanceCreditSpecificationItem[]; + ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string; + + /** + *

                                                                                    The launch template and overrides.

                                                                                    + */ + LaunchTemplateConfigs?: FleetLaunchTemplateConfigRequest[]; + + /** + *

                                                                                    The ID of the EC2 Fleet.

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

                                                                                    The size of the EC2 Fleet.

                                                                                    + */ + TargetCapacitySpecification?: TargetCapacitySpecificationRequest; + + /** + *

                                                                                    Reserved.

                                                                                    + */ + Context?: string; } -export namespace ModifyInstanceCreditSpecificationResult { +export namespace ModifyFleetRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationResult): any => ({ + export const filterSensitiveLog = (obj: ModifyFleetRequest): any => ({ ...obj, }); } -export interface ModifyInstanceEventStartTimeRequest { +export interface ModifyFleetResult { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    */ - DryRun?: boolean; + Return?: boolean; +} +export namespace ModifyFleetResult { /** - *

                                                                                    The ID of the instance with the scheduled event.

                                                                                    + * @internal */ - InstanceId: string | undefined; + export const filterSensitiveLog = (obj: ModifyFleetResult): any => ({ + ...obj, + }); +} +/** + *

                                                                                    Describes a load permission.

                                                                                    + */ +export interface LoadPermissionRequest { /** - *

                                                                                    The ID of the event whose date and time you are modifying.

                                                                                    + *

                                                                                    The name of the group.

                                                                                    */ - InstanceEventId: string | undefined; + Group?: PermissionGroup | string; /** - *

                                                                                    The new date and time when the event will take place.

                                                                                    + *

                                                                                    The AWS account ID.

                                                                                    */ - NotBefore: Date | undefined; + UserId?: string; } -export namespace ModifyInstanceEventStartTimeRequest { +export namespace LoadPermissionRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceEventStartTimeRequest): any => ({ + export const filterSensitiveLog = (obj: LoadPermissionRequest): any => ({ ...obj, }); } -export interface ModifyInstanceEventStartTimeResult { +/** + *

                                                                                    Describes modifications to the load permissions of an Amazon FPGA image (AFI).

                                                                                    + */ +export interface LoadPermissionModifications { /** - *

                                                                                    Describes a scheduled event for an instance.

                                                                                    + *

                                                                                    The load permissions to add.

                                                                                    */ - Event?: InstanceStatusEvent; + Add?: LoadPermissionRequest[]; + + /** + *

                                                                                    The load permissions to remove.

                                                                                    + */ + Remove?: LoadPermissionRequest[]; } -export namespace ModifyInstanceEventStartTimeResult { +export namespace LoadPermissionModifications { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceEventStartTimeResult): any => ({ + export const filterSensitiveLog = (obj: LoadPermissionModifications): any => ({ ...obj, }); } -export interface ModifyInstanceMetadataOptionsRequest { +export type OperationType = "add" | "remove"; + +export interface ModifyFpgaImageAttributeRequest { + /** + *

                                                                                    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; + + /** + *

                                                                                    The ID of the AFI.

                                                                                    + */ + FpgaImageId: string | undefined; + /** - *

                                                                                    The ID of the instance.

                                                                                    + *

                                                                                    The name of the attribute.

                                                                                    */ - InstanceId: string | undefined; + Attribute?: FpgaImageAttributeName | string; /** - *

                                                                                    The state of token usage for your instance metadata requests. If the parameter is not - * specified in the request, the default state is optional.

                                                                                    - *

                                                                                    If the state is optional, you can choose to retrieve instance metadata - * with or without a signed token header on your request. If you retrieve the IAM role - * credentials without a token, the version 1.0 role credentials are returned. If you - * retrieve the IAM role credentials using a valid signed token, the version 2.0 role - * credentials are returned.

                                                                                    - *

                                                                                    If the state is required, you must send a signed token header with any - * instance metadata retrieval requests. In this state, retrieving the IAM role credential - * always returns the version 2.0 credentials; the version 1.0 credentials are not - * available.

                                                                                    + *

                                                                                    The operation type.

                                                                                    */ - HttpTokens?: HttpTokensState | string; + OperationType?: OperationType | string; /** - *

                                                                                    The desired HTTP PUT response hop limit for instance metadata requests. The larger the - * number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.

                                                                                    - *

                                                                                    Possible values: Integers from 1 to 64

                                                                                    + *

                                                                                    The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

                                                                                    */ - HttpPutResponseHopLimit?: number; + UserIds?: string[]; /** - *

                                                                                    This parameter enables or disables the HTTP metadata endpoint on your instances. If - * the parameter is not specified, the existing state is maintained.

                                                                                    - * - *

                                                                                    If you specify a value of disabled, you will not be able to access your - * instance metadata.

                                                                                    - *
                                                                                    + *

                                                                                    The user groups. This parameter is valid only when modifying the loadPermission attribute.

                                                                                    */ - HttpEndpoint?: InstanceMetadataEndpointState | string; + UserGroups?: string[]; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The product codes. After you add a product code to an AFI, it can't be removed. + * This parameter is valid only when modifying the productCodes attribute.

                                                                                    */ - DryRun?: boolean; -} + ProductCodes?: string[]; -export namespace ModifyInstanceMetadataOptionsRequest { /** - * @internal + *

                                                                                    The load permission for the AFI.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyInstanceMetadataOptionsRequest): any => ({ - ...obj, - }); -} + LoadPermission?: LoadPermissionModifications; -export interface ModifyInstanceMetadataOptionsResult { /** - *

                                                                                    The ID of the instance.

                                                                                    + *

                                                                                    A description for the AFI.

                                                                                    */ - InstanceId?: string; + Description?: string; /** - *

                                                                                    The metadata options for the instance.

                                                                                    + *

                                                                                    A name for the AFI.

                                                                                    */ - InstanceMetadataOptions?: InstanceMetadataOptionsResponse; + Name?: string; } -export namespace ModifyInstanceMetadataOptionsResult { +export namespace ModifyFpgaImageAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstanceMetadataOptionsResult): any => ({ + export const filterSensitiveLog = (obj: ModifyFpgaImageAttributeRequest): any => ({ ...obj, }); } -export type HostTenancy = "dedicated" | "host"; - -export interface ModifyInstancePlacementRequest { +export interface ModifyFpgaImageAttributeResult { /** - *

                                                                                    The affinity setting for the instance.

                                                                                    + *

                                                                                    Information about the attribute.

                                                                                    */ - Affinity?: Affinity | string; + FpgaImageAttribute?: FpgaImageAttribute; +} +export namespace ModifyFpgaImageAttributeResult { /** - *

                                                                                    The name of the placement group in which to place the instance. For spread placement - * groups, the instance must have a tenancy of default. For cluster and - * partition placement groups, the instance must have a tenancy of default or - * dedicated.

                                                                                    - *

                                                                                    To remove an instance from a placement group, specify an empty string - * ("").

                                                                                    + * @internal */ - GroupName?: string; + export const filterSensitiveLog = (obj: ModifyFpgaImageAttributeResult): any => ({ + ...obj, + }); +} +export interface ModifyHostsRequest { /** - *

                                                                                    The ID of the Dedicated Host with which to associate the instance.

                                                                                    + *

                                                                                    Specify whether to enable or disable auto-placement.

                                                                                    */ - HostId?: string; + AutoPlacement?: AutoPlacement | string; /** - *

                                                                                    The ID of the instance that you are modifying.

                                                                                    + *

                                                                                    The IDs of the Dedicated Hosts to modify.

                                                                                    */ - InstanceId: string | undefined; + HostIds: string[] | undefined; /** - *

                                                                                    The tenancy for the instance.

                                                                                    + *

                                                                                    Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, + * see + * Host recovery in the Amazon EC2 User Guide.

                                                                                    */ - Tenancy?: HostTenancy | string; + HostRecovery?: HostRecovery | string; /** - *

                                                                                    Reserved for future use.

                                                                                    + *

                                                                                    Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to + * modify a Dedicated Host to support only a specific instance type.

                                                                                    + * + *

                                                                                    If you want to modify a Dedicated Host to support multiple instance types in its current instance + * family, omit this parameter and specify InstanceFamily + * instead. You cannot specify InstanceType and + * InstanceFamily in the same request.

                                                                                    */ - PartitionNumber?: number; + InstanceType?: string; /** - *

                                                                                    The ARN of the host resource group in which to place the instance.

                                                                                    + *

                                                                                    Specifies the instance family to be supported by the Dedicated Host. Specify this parameter + * to modify a Dedicated Host to support multiple instance types within its current + * instance family.

                                                                                    + * + *

                                                                                    If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter + * and specify InstanceType instead. You cannot specify + * InstanceFamily and InstanceType + * in the same request.

                                                                                    */ - HostResourceGroupArn?: string; + InstanceFamily?: string; } -export namespace ModifyInstancePlacementRequest { +export namespace ModifyHostsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstancePlacementRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyHostsRequest): any => ({ ...obj, }); } -export interface ModifyInstancePlacementResult { +export interface ModifyHostsResult { /** - *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    + *

                                                                                    The IDs of the Dedicated Hosts that were successfully modified.

                                                                                    */ - Return?: boolean; + Successful?: string[]; + + /** + *

                                                                                    The IDs of the Dedicated Hosts that could not be modified. Check whether the + * setting you requested can be used.

                                                                                    + */ + Unsuccessful?: UnsuccessfulItem[]; } -export namespace ModifyInstancePlacementResult { +export namespace ModifyHostsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyInstancePlacementResult): any => ({ + export const filterSensitiveLog = (obj: ModifyHostsResult): any => ({ ...obj, }); } -export interface ModifyLaunchTemplateRequest { +export interface ModifyIdentityIdFormatRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify + * all to modify the ID format for all IAM users, IAM roles, and the root user of + * the account.

                                                                                    */ - DryRun?: boolean; + PrincipalArn: string | undefined; /** - *

                                                                                    Unique, case-sensitive identifier you provide to ensure the idempotency of the - * request. For more information, see Ensuring - * Idempotency.

                                                                                    - *

                                                                                    Constraint: Maximum 128 ASCII characters.

                                                                                    + *

                                                                                    The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | internet-gateway | network-acl + * | network-acl-association | network-interface | + * network-interface-attachment | prefix-list | + * route-table | route-table-association | + * security-group | subnet | + * subnet-cidr-block-association | vpc | + * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                                                                                    + *

                                                                                    Alternatively, use the all-current option to include all resource types that are + * currently within their opt-in period for longer IDs.

                                                                                    */ - ClientToken?: string; + Resource: string | undefined; /** - *

                                                                                    The ID of the launch template. You must specify either the launch template ID or - * launch template name in the request.

                                                                                    + *

                                                                                    Indicates whether the resource should use longer IDs (17-character IDs)

                                                                                    */ - LaunchTemplateId?: string; + UseLongIds: boolean | undefined; +} +export namespace ModifyIdentityIdFormatRequest { /** - *

                                                                                    The name of the launch template. You must specify either the launch template ID or - * launch template name in the request.

                                                                                    + * @internal */ - LaunchTemplateName?: string; + export const filterSensitiveLog = (obj: ModifyIdentityIdFormatRequest): any => ({ + ...obj, + }); +} +export interface ModifyIdFormatRequest { /** - *

                                                                                    The version number of the launch template to set as the default version.

                                                                                    + *

                                                                                    The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | internet-gateway | network-acl + * | network-acl-association | network-interface | + * network-interface-attachment | prefix-list | + * route-table | route-table-association | + * security-group | subnet | + * subnet-cidr-block-association | vpc | + * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                                                                                    + *

                                                                                    Alternatively, use the all-current option to include all resource types that are + * currently within their opt-in period for longer IDs.

                                                                                    */ - DefaultVersion?: string; + Resource: string | undefined; + + /** + *

                                                                                    Indicate whether the resource should use longer IDs (17-character IDs).

                                                                                    + */ + UseLongIds: boolean | undefined; } -export namespace ModifyLaunchTemplateRequest { +export namespace ModifyIdFormatRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyLaunchTemplateRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyIdFormatRequest): any => ({ ...obj, }); } -export interface ModifyLaunchTemplateResult { +/** + *

                                                                                    Describes a launch permission modification.

                                                                                    + */ +export interface LaunchPermissionModifications { /** - *

                                                                                    Information about the launch template.

                                                                                    + *

                                                                                    The AWS account ID to add to the list of launch permissions for the AMI.

                                                                                    */ - LaunchTemplate?: LaunchTemplate; + Add?: LaunchPermission[]; + + /** + *

                                                                                    The AWS account ID to remove from the list of launch permissions for the AMI.

                                                                                    + */ + Remove?: LaunchPermission[]; } -export namespace ModifyLaunchTemplateResult { +export namespace LaunchPermissionModifications { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyLaunchTemplateResult): any => ({ + export const filterSensitiveLog = (obj: LaunchPermissionModifications): any => ({ ...obj, }); } /** - *

                                                                                    An entry for a prefix list.

                                                                                    + *

                                                                                    Contains the parameters for ModifyImageAttribute.

                                                                                    */ -export interface RemovePrefixListEntry { +export interface ModifyImageAttributeRequest { /** - *

                                                                                    The CIDR block.

                                                                                    + *

                                                                                    The name of the attribute to modify. + * The valid values are description, launchPermission, and productCodes.

                                                                                    */ - Cidr: string | undefined; -} + Attribute?: string; -export namespace RemovePrefixListEntry { /** - * @internal + *

                                                                                    A new description for the AMI.

                                                                                    */ - export const filterSensitiveLog = (obj: RemovePrefixListEntry): any => ({ - ...obj, - }); -} + Description?: AttributeValue; -export interface ModifyManagedPrefixListRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID of the AMI.

                                                                                    */ - DryRun?: boolean; + ImageId: string | undefined; /** - *

                                                                                    The ID of the prefix list.

                                                                                    + *

                                                                                    A new launch permission for the AMI.

                                                                                    */ - PrefixListId: string | undefined; + LaunchPermission?: LaunchPermissionModifications; /** - *

                                                                                    The current version of the prefix list.

                                                                                    + *

                                                                                    The operation type. + * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    */ - CurrentVersion?: number; + OperationType?: OperationType | string; /** - *

                                                                                    A name for the prefix list.

                                                                                    + *

                                                                                    The DevPay product codes. After you add a product code to an AMI, it can't be removed.

                                                                                    */ - PrefixListName?: string; + ProductCodes?: string[]; /** - *

                                                                                    One or more entries to add to the prefix list.

                                                                                    + *

                                                                                    The user groups. + * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    */ - AddEntries?: AddPrefixListEntry[]; + UserGroups?: string[]; /** - *

                                                                                    One or more entries to remove from the prefix list.

                                                                                    + *

                                                                                    The AWS account IDs. + * This parameter can be used only when the Attribute parameter is launchPermission.

                                                                                    */ - RemoveEntries?: RemovePrefixListEntry[]; -} + UserIds?: string[]; -export namespace ModifyManagedPrefixListRequest { /** - * @internal + *

                                                                                    The value of the attribute being modified. + * This parameter can be used only when the Attribute parameter is description or productCodes.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyManagedPrefixListRequest): any => ({ - ...obj, - }); -} + Value?: string; -export interface ModifyManagedPrefixListResult { /** - *

                                                                                    Information about the prefix list.

                                                                                    + *

                                                                                    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.

                                                                                    */ - PrefixList?: ManagedPrefixList; + DryRun?: boolean; } -export namespace ModifyManagedPrefixListResult { +export namespace ModifyImageAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyManagedPrefixListResult): any => ({ + export const filterSensitiveLog = (obj: ModifyImageAttributeRequest): any => ({ ...obj, }); } /** - *

                                                                                    Describes an attachment change.

                                                                                    + *

                                                                                    Describes information used to set up an EBS volume specified in a block device + * mapping.

                                                                                    */ -export interface NetworkInterfaceAttachmentChanges { +export interface EbsInstanceBlockDeviceSpecification { /** - *

                                                                                    The ID of the network interface attachment.

                                                                                    + *

                                                                                    Indicates whether the volume is deleted on instance termination.

                                                                                    */ - AttachmentId?: string; + DeleteOnTermination?: boolean; /** - *

                                                                                    Indicates whether the network interface is deleted when the instance is terminated.

                                                                                    + *

                                                                                    The ID of the EBS volume.

                                                                                    */ - DeleteOnTermination?: boolean; + VolumeId?: string; } -export namespace NetworkInterfaceAttachmentChanges { +export namespace EbsInstanceBlockDeviceSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: NetworkInterfaceAttachmentChanges): any => ({ + export const filterSensitiveLog = (obj: EbsInstanceBlockDeviceSpecification): any => ({ ...obj, }); } /** - *

                                                                                    Contains the parameters for ModifyNetworkInterfaceAttribute.

                                                                                    + *

                                                                                    Describes a block device mapping entry.

                                                                                    */ -export interface ModifyNetworkInterfaceAttributeRequest { +export interface InstanceBlockDeviceMappingSpecification { /** - *

                                                                                    Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

                                                                                    + *

                                                                                    The device name (for example, /dev/sdh or xvdh).

                                                                                    */ - Attachment?: NetworkInterfaceAttachmentChanges; + DeviceName?: string; /** - *

                                                                                    A description for the network interface.

                                                                                    + *

                                                                                    Parameters used to automatically set up EBS volumes when the instance is + * launched.

                                                                                    */ - Description?: AttributeValue; + Ebs?: EbsInstanceBlockDeviceSpecification; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    suppress the specified device included in the block device mapping.

                                                                                    */ - DryRun?: boolean; + NoDevice?: string; /** - *

                                                                                    Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

                                                                                    + *

                                                                                    The virtual device name.

                                                                                    */ - Groups?: string[]; + VirtualName?: string; +} +export namespace InstanceBlockDeviceMappingSpecification { /** - *

                                                                                    The ID of the network interface.

                                                                                    + * @internal */ - NetworkInterfaceId: string | undefined; + export const filterSensitiveLog = (obj: InstanceBlockDeviceMappingSpecification): any => ({ + ...obj, + }); +} + +export interface BlobAttributeValue { + Value?: Uint8Array; +} + +export namespace BlobAttributeValue { + /** + * @internal + */ + export const filterSensitiveLog = (obj: BlobAttributeValue): any => ({ + ...obj, + }); +} +export interface ModifyInstanceAttributeRequest { /** *

                                                                                    Enable or disable source/destination checks, which ensure that the instance * is either the source or the destination of any traffic that it receives. @@ -6518,726 +6642,725 @@ export interface ModifyNetworkInterfaceAttributeRequest { * such as network address translation, routing, or firewalls.

                                                                                    */ SourceDestCheck?: AttributeBooleanValue; -} -export namespace ModifyNetworkInterfaceAttributeRequest { /** - * @internal + *

                                                                                    The name of the attribute.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyNetworkInterfaceAttributeRequest): any => ({ - ...obj, - }); -} + Attribute?: InstanceAttributeName | string; -/** - *

                                                                                    Contains the parameters for ModifyReservedInstances.

                                                                                    - */ -export interface ModifyReservedInstancesRequest { /** - *

                                                                                    The IDs of the Reserved Instances to modify.

                                                                                    + *

                                                                                    Modifies the DeleteOnTermination attribute for volumes that are currently + * attached. The volume must be owned by the caller. If no value is specified for + * DeleteOnTermination, the default is true and the volume is + * deleted when the instance is terminated.

                                                                                    + *

                                                                                    To add instance store volumes to an Amazon EBS-backed instance, you must add them when + * you launch the instance. For more information, see Updating the block device mapping when launching an instance in the + * Amazon EC2 User Guide.

                                                                                    */ - ReservedInstancesIds: string[] | undefined; + BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[]; /** - *

                                                                                    A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see - * Ensuring Idempotency.

                                                                                    + *

                                                                                    If the value is true, you can't terminate the instance using the Amazon + * EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot + * Instances.

                                                                                    */ - ClientToken?: string; + DisableApiTermination?: AttributeBooleanValue; /** - *

                                                                                    The configuration settings for the Reserved Instances to modify.

                                                                                    + *

                                                                                    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.

                                                                                    */ - TargetConfigurations: ReservedInstancesConfiguration[] | undefined; -} + DryRun?: boolean; -export namespace ModifyReservedInstancesRequest { /** - * @internal + *

                                                                                    Specifies whether the instance is optimized for Amazon EBS I/O. This optimization + * provides dedicated throughput to Amazon EBS and an optimized configuration stack to + * provide optimal EBS I/O performance. This optimization isn't available with all instance + * types. Additional usage charges apply when using an EBS Optimized instance.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyReservedInstancesRequest): any => ({ - ...obj, - }); -} + EbsOptimized?: AttributeBooleanValue; -/** - *

                                                                                    Contains the output of ModifyReservedInstances.

                                                                                    - */ -export interface ModifyReservedInstancesResult { /** - *

                                                                                    The ID for the modification.

                                                                                    + *

                                                                                    Set to true to enable enhanced networking with ENA for the + * instance.

                                                                                    + *

                                                                                    This option is supported only for HVM instances. Specifying this option with a PV + * instance can make it unreachable.

                                                                                    */ - ReservedInstancesModificationId?: string; -} + EnaSupport?: AttributeBooleanValue; -export namespace ModifyReservedInstancesResult { /** - * @internal + *

                                                                                    [EC2-VPC] Replaces the security groups of the instance with the specified security groups. + * You must specify at least one security group, even if it's just the default security group for the VPC. You must + * specify the security group ID, not the security group name.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyReservedInstancesResult): any => ({ - ...obj, - }); -} + Groups?: string[]; -/** - *

                                                                                    Describes a security group rule.

                                                                                    - *

                                                                                    You must specify exactly one of the following parameters, based on the rule type:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      CidrIpv4

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      CidrIpv6

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      PrefixListId

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      ReferencedGroupId

                                                                                      - *
                                                                                    • - *
                                                                                    - *

                                                                                    When you modify a rule, you cannot change the rule type. For example, if the rule - * uses an IPv4 address range, you must use CidrIpv4 to specify a new IPv4 - * address range.

                                                                                    - */ -export interface SecurityGroupRuleRequest { /** - *

                                                                                    The IP protocol name (tcp, udp, icmp, - * icmpv6) or number (see Protocol Numbers).

                                                                                    - *

                                                                                    Use -1 to specify all protocols.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - IpProtocol?: string; + InstanceId: string | undefined; /** - *

                                                                                    The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

                                                                                    + *

                                                                                    Specifies whether an instance stops or terminates when you initiate shutdown from the + * instance (using the operating system command for system shutdown).

                                                                                    */ - FromPort?: number; + InstanceInitiatedShutdownBehavior?: AttributeValue; /** - *

                                                                                    The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

                                                                                    + *

                                                                                    Changes the instance type to the specified value. For more information, see Instance + * types in the Amazon EC2 User Guide. If the instance type is not valid, + * the error returned is InvalidInstanceAttributeValue.

                                                                                    */ - ToPort?: number; + InstanceType?: AttributeValue; /** - *

                                                                                    The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length.

                                                                                    + *

                                                                                    Changes the instance's kernel to the specified value. We recommend that you use + * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

                                                                                    */ - CidrIpv4?: string; + Kernel?: AttributeValue; /** - *

                                                                                    The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.

                                                                                    + *

                                                                                    Changes the instance's RAM disk to the specified value. We recommend that you use + * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

                                                                                    */ - CidrIpv6?: string; + Ramdisk?: AttributeValue; /** - *

                                                                                    The ID of the prefix list.

                                                                                    + *

                                                                                    Set to simple to enable enhanced networking with the Intel 82599 Virtual + * Function interface for the instance.

                                                                                    + *

                                                                                    There is no way to disable enhanced networking with the Intel 82599 Virtual Function + * interface at this time.

                                                                                    + *

                                                                                    This option is supported only for HVM instances. Specifying this option with a PV + * instance can make it unreachable.

                                                                                    */ - PrefixListId?: string; + SriovNetSupport?: AttributeValue; /** - *

                                                                                    The ID of the security group that is referenced in the security group rule.

                                                                                    + *

                                                                                    Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK + * or command line tool, base64-encoding is performed for you, and you can load the text + * from a file. Otherwise, you must provide base64-encoded text.

                                                                                    */ - ReferencedGroupId?: string; + UserData?: BlobAttributeValue; /** - *

                                                                                    The description of the security group rule.

                                                                                    + *

                                                                                    A new value for the attribute. Use only with the kernel, + * ramdisk, userData, disableApiTermination, or + * instanceInitiatedShutdownBehavior attribute.

                                                                                    */ - Description?: string; + Value?: string; } -export namespace SecurityGroupRuleRequest { +export namespace ModifyInstanceAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: SecurityGroupRuleRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceAttributeRequest): any => ({ ...obj, }); } /** - *

                                                                                    Describes an update to a security group rule.

                                                                                    + *

                                                                                    Describes an instance's Capacity Reservation targeting option. You can specify only one parameter + * at a time. If you specify CapacityReservationPreference and + * CapacityReservationTarget, the request fails.

                                                                                    + *

                                                                                    Use the CapacityReservationPreference parameter to configure the instance + * to run as an On-Demand Instance or to run in any open Capacity Reservation that has + * matching attributes (instance type, platform, Availability Zone). Use the + * CapacityReservationTarget parameter to explicitly target a specific + * Capacity Reservation or a Capacity Reservation group.

                                                                                    */ -export interface SecurityGroupRuleUpdate { +export interface CapacityReservationSpecification { /** - *

                                                                                    The ID of the security group rule.

                                                                                    + *

                                                                                    Indicates the instance's Capacity Reservation preferences. Possible preferences include:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      + * open - The instance can run in any open Capacity Reservation that has matching attributes + * (instance type, platform, Availability Zone).

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * none - The instance avoids running in a Capacity Reservation even if one is available. The + * instance runs as an On-Demand Instance.

                                                                                      + *
                                                                                    • + *
                                                                                    */ - SecurityGroupRuleId?: string; + CapacityReservationPreference?: CapacityReservationPreference | string; /** - *

                                                                                    Information about the security group rule.

                                                                                    + *

                                                                                    Information about the target Capacity Reservation or Capacity Reservation group.

                                                                                    */ - SecurityGroupRule?: SecurityGroupRuleRequest; + CapacityReservationTarget?: CapacityReservationTarget; } -export namespace SecurityGroupRuleUpdate { +export namespace CapacityReservationSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: SecurityGroupRuleUpdate): any => ({ + export const filterSensitiveLog = (obj: CapacityReservationSpecification): any => ({ ...obj, }); } -export interface ModifySecurityGroupRulesRequest { +export interface ModifyInstanceCapacityReservationAttributesRequest { /** - *

                                                                                    The ID of the security group.

                                                                                    + *

                                                                                    The ID of the instance to be modified.

                                                                                    */ - GroupId: string | undefined; + InstanceId: string | undefined; /** - *

                                                                                    Information about the security group properties to update.

                                                                                    + *

                                                                                    Information about the Capacity Reservation targeting option.

                                                                                    */ - SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined; + CapacityReservationSpecification: CapacityReservationSpecification | undefined; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    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; } -export namespace ModifySecurityGroupRulesRequest { +export namespace ModifyInstanceCapacityReservationAttributesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySecurityGroupRulesRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceCapacityReservationAttributesRequest): any => ({ ...obj, }); } -export interface ModifySecurityGroupRulesResult { +export interface ModifyInstanceCapacityReservationAttributesResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, returns an error.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ Return?: boolean; } -export namespace ModifySecurityGroupRulesResult { +export namespace ModifyInstanceCapacityReservationAttributesResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySecurityGroupRulesResult): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceCapacityReservationAttributesResult): any => ({ ...obj, }); } /** - *

                                                                                    Describes modifications to the list of create volume permissions for a volume.

                                                                                    + *

                                                                                    Describes the credit option for CPU usage of a burstable performance instance.

                                                                                    */ -export interface CreateVolumePermissionModifications { +export interface InstanceCreditSpecificationRequest { /** - *

                                                                                    Adds the specified AWS account ID or group to the list.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - Add?: CreateVolumePermission[]; + InstanceId?: string; /** - *

                                                                                    Removes the specified AWS account ID or group from the list.

                                                                                    + *

                                                                                    The credit option for CPU usage of the instance. Valid values are + * standard and unlimited.

                                                                                    */ - Remove?: CreateVolumePermission[]; + CpuCredits?: string; } -export namespace CreateVolumePermissionModifications { +export namespace InstanceCreditSpecificationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CreateVolumePermissionModifications): any => ({ + export const filterSensitiveLog = (obj: InstanceCreditSpecificationRequest): any => ({ ...obj, }); } -export interface ModifySnapshotAttributeRequest { - /** - *

                                                                                    The snapshot attribute to modify. Only volume creation permissions can be modified.

                                                                                    - */ - Attribute?: SnapshotAttributeName | string; - - /** - *

                                                                                    A JSON representation of the snapshot attribute modification.

                                                                                    - */ - CreateVolumePermission?: CreateVolumePermissionModifications; - - /** - *

                                                                                    The group to modify for the snapshot.

                                                                                    - */ - GroupNames?: string[]; - - /** - *

                                                                                    The type of operation to perform to the attribute.

                                                                                    - */ - OperationType?: OperationType | string; - +export interface ModifyInstanceCreditSpecificationRequest { /** - *

                                                                                    The ID of the snapshot.

                                                                                    + *

                                                                                    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.

                                                                                    */ - SnapshotId: string | undefined; + DryRun?: boolean; /** - *

                                                                                    The account ID to modify for the snapshot.

                                                                                    + *

                                                                                    A unique, case-sensitive token that you provide to ensure idempotency of your + * modification request. For more information, see Ensuring + * Idempotency.

                                                                                    */ - UserIds?: string[]; + ClientToken?: string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Information about the credit option for CPU usage.

                                                                                    */ - DryRun?: boolean; + InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined; } -export namespace ModifySnapshotAttributeRequest { +export namespace ModifyInstanceCreditSpecificationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySnapshotAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationRequest): any => ({ ...obj, }); } /** - *

                                                                                    Contains the parameters for ModifySpotFleetRequest.

                                                                                    + *

                                                                                    Describes the burstable performance instance whose credit option for CPU usage was + * successfully modified.

                                                                                    */ -export interface ModifySpotFleetRequestRequest { - /** - *

                                                                                    Indicates whether running Spot Instances should be terminated if the target capacity - * of the Spot Fleet request is decreased below the current size of the Spot Fleet.

                                                                                    - */ - ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; - +export interface SuccessfulInstanceCreditSpecificationItem { /** - *

                                                                                    The launch template and overrides. You can only use this parameter if you specified a - * launch template (LaunchTemplateConfigs) in your Spot Fleet request. If you - * specified LaunchSpecifications in your Spot Fleet request, then omit this - * parameter.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - LaunchTemplateConfigs?: LaunchTemplateConfig[]; + InstanceId?: string; +} +export namespace SuccessfulInstanceCreditSpecificationItem { /** - *

                                                                                    The ID of the Spot Fleet request.

                                                                                    + * @internal */ - SpotFleetRequestId: string | undefined; + export const filterSensitiveLog = (obj: SuccessfulInstanceCreditSpecificationItem): any => ({ + ...obj, + }); +} - /** - *

                                                                                    The size of the fleet.

                                                                                    - */ - TargetCapacity?: number; +export enum UnsuccessfulInstanceCreditSpecificationErrorCode { + INCORRECT_INSTANCE_STATE = "IncorrectInstanceState", + INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = "InstanceCreditSpecification.NotSupported", + INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound", + INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed", +} +/** + *

                                                                                    Information about the error for the burstable performance instance whose credit option + * for CPU usage was not modified.

                                                                                    + */ +export interface UnsuccessfulInstanceCreditSpecificationItemError { /** - *

                                                                                    The number of On-Demand Instances in the fleet.

                                                                                    + *

                                                                                    The error code.

                                                                                    */ - OnDemandTargetCapacity?: number; + Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | string; /** - *

                                                                                    Reserved.

                                                                                    + *

                                                                                    The applicable error message.

                                                                                    */ - Context?: string; + Message?: string; } -export namespace ModifySpotFleetRequestRequest { +export namespace UnsuccessfulInstanceCreditSpecificationItemError { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySpotFleetRequestRequest): any => ({ + export const filterSensitiveLog = (obj: UnsuccessfulInstanceCreditSpecificationItemError): any => ({ ...obj, }); } /** - *

                                                                                    Contains the output of ModifySpotFleetRequest.

                                                                                    + *

                                                                                    Describes the burstable performance instance whose credit option for CPU usage was not + * modified.

                                                                                    */ -export interface ModifySpotFleetRequestResponse { +export interface UnsuccessfulInstanceCreditSpecificationItem { /** - *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - Return?: boolean; + InstanceId?: string; + + /** + *

                                                                                    The applicable error for the burstable performance instance whose credit option for + * CPU usage was not modified.

                                                                                    + */ + Error?: UnsuccessfulInstanceCreditSpecificationItemError; } -export namespace ModifySpotFleetRequestResponse { +export namespace UnsuccessfulInstanceCreditSpecificationItem { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySpotFleetRequestResponse): any => ({ + export const filterSensitiveLog = (obj: UnsuccessfulInstanceCreditSpecificationItem): any => ({ ...obj, }); } -export interface ModifySubnetAttributeRequest { - /** - *

                                                                                    Specify true to indicate that network interfaces created in the - * specified subnet should be assigned an IPv6 address. This includes a network interface - * that's created when launching an instance into the subnet (the instance therefore - * receives an IPv6 address).

                                                                                    - *

                                                                                    If you enable the IPv6 addressing feature for your subnet, your network interface - * or instance only receives an IPv6 address if it's created using version - * 2016-11-15 or later of the Amazon EC2 API.

                                                                                    - */ - AssignIpv6AddressOnCreation?: AttributeBooleanValue; - - /** - *

                                                                                    Specify true to indicate that network interfaces attached to instances created in the - * specified subnet should be assigned a public IPv4 address.

                                                                                    - */ - MapPublicIpOnLaunch?: AttributeBooleanValue; - - /** - *

                                                                                    The ID of the subnet.

                                                                                    - */ - SubnetId: string | undefined; - +export interface ModifyInstanceCreditSpecificationResult { /** - *

                                                                                    Specify true to indicate that network interfaces attached to instances created in the - * specified subnet should be assigned a customer-owned IPv4 address.

                                                                                    - *

                                                                                    When this value is true, you must specify the customer-owned IP pool using CustomerOwnedIpv4Pool.

                                                                                    + *

                                                                                    Information about the instances whose credit option for CPU usage was successfully + * modified.

                                                                                    */ - MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue; + SuccessfulInstanceCreditSpecifications?: SuccessfulInstanceCreditSpecificationItem[]; /** - *

                                                                                    The customer-owned IPv4 address pool associated with the subnet.

                                                                                    - *

                                                                                    You must set this value when you specify true for MapCustomerOwnedIpOnLaunch.

                                                                                    + *

                                                                                    Information about the instances whose credit option for CPU usage was not + * modified.

                                                                                    */ - CustomerOwnedIpv4Pool?: string; + UnsuccessfulInstanceCreditSpecifications?: UnsuccessfulInstanceCreditSpecificationItem[]; } -export namespace ModifySubnetAttributeRequest { +export namespace ModifyInstanceCreditSpecificationResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifySubnetAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationResult): any => ({ ...obj, }); } -export interface ModifyTrafficMirrorFilterNetworkServicesRequest { +export interface ModifyInstanceEventStartTimeRequest { /** - *

                                                                                    The ID of the Traffic Mirror filter.

                                                                                    + *

                                                                                    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.

                                                                                    */ - TrafficMirrorFilterId: string | undefined; + DryRun?: boolean; /** - *

                                                                                    The network service, for example Amazon DNS, that you want to mirror.

                                                                                    + *

                                                                                    The ID of the instance with the scheduled event.

                                                                                    */ - AddNetworkServices?: (TrafficMirrorNetworkService | string)[]; + InstanceId: string | undefined; /** - *

                                                                                    The network service, for example Amazon DNS, that you no longer want to mirror.

                                                                                    + *

                                                                                    The ID of the event whose date and time you are modifying.

                                                                                    */ - RemoveNetworkServices?: (TrafficMirrorNetworkService | string)[]; + InstanceEventId: string | undefined; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The new date and time when the event will take place.

                                                                                    */ - DryRun?: boolean; + NotBefore: Date | undefined; } -export namespace ModifyTrafficMirrorFilterNetworkServicesRequest { +export namespace ModifyInstanceEventStartTimeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterNetworkServicesRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceEventStartTimeRequest): any => ({ ...obj, }); } -export interface ModifyTrafficMirrorFilterNetworkServicesResult { +export interface ModifyInstanceEventStartTimeResult { /** - *

                                                                                    The Traffic Mirror filter that the network service is associated with.

                                                                                    + *

                                                                                    Describes a scheduled event for an instance.

                                                                                    */ - TrafficMirrorFilter?: TrafficMirrorFilter; + Event?: InstanceStatusEvent; } -export namespace ModifyTrafficMirrorFilterNetworkServicesResult { +export namespace ModifyInstanceEventStartTimeResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterNetworkServicesResult): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceEventStartTimeResult): any => ({ ...obj, }); } -export type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range"; +export interface ModifyInstanceEventWindowRequest { + /** + *

                                                                                    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; -export interface ModifyTrafficMirrorFilterRuleRequest { /** - *

                                                                                    The ID of the Traffic Mirror rule.

                                                                                    + *

                                                                                    The name of the event window.

                                                                                    */ - TrafficMirrorFilterRuleId: string | undefined; + Name?: string; /** - *

                                                                                    The type of traffic (ingress | egress) to assign to the rule.

                                                                                    + *

                                                                                    The ID of the event window.

                                                                                    */ - TrafficDirection?: TrafficDirection | string; + InstanceEventWindowId: string | undefined; /** - *

                                                                                    The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given - * direction. The rules are processed in ascending order by rule number.

                                                                                    + *

                                                                                    The time ranges of the event window.

                                                                                    */ - RuleNumber?: number; + TimeRanges?: InstanceEventWindowTimeRangeRequest[]; /** - *

                                                                                    The action to assign to the rule.

                                                                                    + *

                                                                                    The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

                                                                                    + *

                                                                                    Constraints:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      Only hour and day of the week values are supported.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      For day of the week values, you can specify either integers 0 through + * 6, or alternative single values SUN through + * SAT.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      The minute, month, and year must be specified by *.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      The hour value must be one or a multiple range, for example, 0-4 or + * 0-4,20-23.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Each hour range must be >= 2 hours, for example, 0-2 or + * 20-23.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      The event window must be >= 4 hours. The combined total time ranges in the event + * window must be >= 4 hours.

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    For more information about cron expressions, see cron on the Wikipedia + * website.

                                                                                    */ - RuleAction?: TrafficMirrorRuleAction | string; + CronExpression?: string; +} +export namespace ModifyInstanceEventWindowRequest { /** - *

                                                                                    The destination ports that are associated with the Traffic Mirror rule.

                                                                                    + * @internal */ - DestinationPortRange?: TrafficMirrorPortRangeRequest; + export const filterSensitiveLog = (obj: ModifyInstanceEventWindowRequest): any => ({ + ...obj, + }); +} +export interface ModifyInstanceEventWindowResult { /** - *

                                                                                    The port range to assign to the Traffic Mirror rule.

                                                                                    + *

                                                                                    Information about the event window.

                                                                                    */ - SourcePortRange?: TrafficMirrorPortRangeRequest; + InstanceEventWindow?: InstanceEventWindow; +} +export namespace ModifyInstanceEventWindowResult { /** - *

                                                                                    The protocol, for example TCP, to assign to the Traffic Mirror rule.

                                                                                    + * @internal */ - Protocol?: number; + export const filterSensitiveLog = (obj: ModifyInstanceEventWindowResult): any => ({ + ...obj, + }); +} +export interface ModifyInstanceMetadataOptionsRequest { /** - *

                                                                                    The destination CIDR block to assign to the Traffic Mirror rule.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - DestinationCidrBlock?: string; + InstanceId: string | undefined; /** - *

                                                                                    The source CIDR block to assign to the Traffic Mirror rule.

                                                                                    + *

                                                                                    The state of token usage for your instance metadata requests. If the parameter is not + * specified in the request, the default state is optional.

                                                                                    + *

                                                                                    If the state is optional, you can choose to retrieve instance metadata + * with or without a signed token header on your request. If you retrieve the IAM role + * credentials without a token, the version 1.0 role credentials are returned. If you + * retrieve the IAM role credentials using a valid signed token, the version 2.0 role + * credentials are returned.

                                                                                    + *

                                                                                    If the state is required, you must send a signed token header with any + * instance metadata retrieval requests. In this state, retrieving the IAM role credential + * always returns the version 2.0 credentials; the version 1.0 credentials are not + * available.

                                                                                    */ - SourceCidrBlock?: string; + HttpTokens?: HttpTokensState | string; /** - *

                                                                                    The description to assign to the Traffic Mirror rule.

                                                                                    + *

                                                                                    The desired HTTP PUT response hop limit for instance metadata requests. The larger the + * number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.

                                                                                    + *

                                                                                    Possible values: Integers from 1 to 64

                                                                                    */ - Description?: string; + HttpPutResponseHopLimit?: number; /** - *

                                                                                    The properties that you want to remove from the Traffic Mirror filter rule.

                                                                                    - *

                                                                                    When you remove a property from a Traffic Mirror filter rule, the property is set to the default.

                                                                                    + *

                                                                                    This parameter enables or disables the HTTP metadata endpoint on your instances. If + * the parameter is not specified, the existing state is maintained.

                                                                                    + * + *

                                                                                    If you specify a value of disabled, you will not be able to access your + * instance metadata.

                                                                                    + *
                                                                                    */ - RemoveFields?: (TrafficMirrorFilterRuleField | string)[]; + HttpEndpoint?: InstanceMetadataEndpointState | string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    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; } -export namespace ModifyTrafficMirrorFilterRuleRequest { +export namespace ModifyInstanceMetadataOptionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceMetadataOptionsRequest): any => ({ ...obj, }); } -export interface ModifyTrafficMirrorFilterRuleResult { +export interface ModifyInstanceMetadataOptionsResult { /** - *

                                                                                    Modifies a Traffic Mirror rule.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - TrafficMirrorFilterRule?: TrafficMirrorFilterRule; + InstanceId?: string; + + /** + *

                                                                                    The metadata options for the instance.

                                                                                    + */ + InstanceMetadataOptions?: InstanceMetadataOptionsResponse; } -export namespace ModifyTrafficMirrorFilterRuleResult { +export namespace ModifyInstanceMetadataOptionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleResult): any => ({ + export const filterSensitiveLog = (obj: ModifyInstanceMetadataOptionsResult): any => ({ ...obj, }); } -export type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id"; - -export interface ModifyTrafficMirrorSessionRequest { - /** - *

                                                                                    The ID of the Traffic Mirror session.

                                                                                    - */ - TrafficMirrorSessionId: string | undefined; - - /** - *

                                                                                    The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.

                                                                                    - */ - TrafficMirrorTargetId?: string; +export type HostTenancy = "dedicated" | "host"; +export interface ModifyInstancePlacementRequest { /** - *

                                                                                    The ID of the Traffic Mirror filter.

                                                                                    + *

                                                                                    The affinity setting for the instance.

                                                                                    */ - TrafficMirrorFilterId?: string; + Affinity?: Affinity | string; /** - *

                                                                                    The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

                                                                                    + *

                                                                                    The name of the placement group in which to place the instance. For spread placement + * groups, the instance must have a tenancy of default. For cluster and + * partition placement groups, the instance must have a tenancy of default or + * dedicated.

                                                                                    + *

                                                                                    To remove an instance from a placement group, specify an empty string + * ("").

                                                                                    */ - PacketLength?: number; + GroupName?: string; /** - *

                                                                                    The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

                                                                                    - *

                                                                                    Valid values are 1-32766.

                                                                                    + *

                                                                                    The ID of the Dedicated Host with which to associate the instance.

                                                                                    */ - SessionNumber?: number; + HostId?: string; /** - *

                                                                                    The virtual network ID of the Traffic Mirror session.

                                                                                    + *

                                                                                    The ID of the instance that you are modifying.

                                                                                    */ - VirtualNetworkId?: number; + InstanceId: string | undefined; /** - *

                                                                                    The description to assign to the Traffic Mirror session.

                                                                                    + *

                                                                                    The tenancy for the instance.

                                                                                    */ - Description?: string; + Tenancy?: HostTenancy | string; /** - *

                                                                                    The properties that you want to remove from the Traffic Mirror session.

                                                                                    - *

                                                                                    When you remove a property from a Traffic Mirror session, the property is set to the default.

                                                                                    + *

                                                                                    Reserved for future use.

                                                                                    */ - RemoveFields?: (TrafficMirrorSessionField | string)[]; + PartitionNumber?: number; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ARN of the host resource group in which to place the instance.

                                                                                    */ - DryRun?: boolean; + HostResourceGroupArn?: string; } -export namespace ModifyTrafficMirrorSessionRequest { +export namespace ModifyInstancePlacementRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyInstancePlacementRequest): any => ({ ...obj, }); } -export interface ModifyTrafficMirrorSessionResult { +export interface ModifyInstancePlacementResult { /** - *

                                                                                    Information about the Traffic Mirror session.

                                                                                    + *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    */ - TrafficMirrorSession?: TrafficMirrorSession; + Return?: boolean; } -export namespace ModifyTrafficMirrorSessionResult { +export namespace ModifyInstancePlacementResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionResult): any => ({ + export const filterSensitiveLog = (obj: ModifyInstancePlacementResult): any => ({ ...obj, }); } -/** - *

                                                                                    The transit gateway options.

                                                                                    - */ -export interface ModifyTransitGatewayOptions { - /** - *

                                                                                    Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

                                                                                    - */ - AddTransitGatewayCidrBlocks?: string[]; - - /** - *

                                                                                    Removes CIDR blocks for the transit gateway.

                                                                                    - */ - RemoveTransitGatewayCidrBlocks?: string[]; - - /** - *

                                                                                    Enable or disable Equal Cost Multipath Protocol support.

                                                                                    - */ - VpnEcmpSupport?: VpnEcmpSupportValue | string; - - /** - *

                                                                                    Enable or disable DNS support.

                                                                                    - */ - DnsSupport?: DnsSupportValue | string; - +export interface ModifyLaunchTemplateRequest { /** - *

                                                                                    Enable or disable automatic acceptance of attachment requests.

                                                                                    + *

                                                                                    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.

                                                                                    */ - AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | string; + DryRun?: boolean; /** - *

                                                                                    Enable or disable automatic association with the default association route table.

                                                                                    + *

                                                                                    Unique, case-sensitive identifier you provide to ensure the idempotency of the + * request. For more information, see Ensuring + * Idempotency.

                                                                                    + *

                                                                                    Constraint: Maximum 128 ASCII characters.

                                                                                    */ - DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | string; + ClientToken?: string; /** - *

                                                                                    The ID of the default association route table.

                                                                                    + *

                                                                                    The ID of the launch template. You must specify either the launch template ID or + * launch template name in the request.

                                                                                    */ - AssociationDefaultRouteTableId?: string; + LaunchTemplateId?: string; /** - *

                                                                                    Enable or disable automatic propagation of routes to the default propagation route table.

                                                                                    + *

                                                                                    The name of the launch template. You must specify either the launch template ID or + * launch template name in the request.

                                                                                    */ - DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | string; + LaunchTemplateName?: string; /** - *

                                                                                    The ID of the default propagation route table.

                                                                                    + *

                                                                                    The version number of the launch template to set as the default version.

                                                                                    */ - PropagationDefaultRouteTableId?: string; + DefaultVersion?: string; } -export namespace ModifyTransitGatewayOptions { +export namespace ModifyLaunchTemplateRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayOptions): any => ({ + export const filterSensitiveLog = (obj: ModifyLaunchTemplateRequest): any => ({ ...obj, }); } -export interface ModifyTransitGatewayRequest { - /** - *

                                                                                    The ID of the transit gateway.

                                                                                    - */ - TransitGatewayId: string | undefined; - - /** - *

                                                                                    The description for the transit gateway.

                                                                                    - */ - Description?: string; - - /** - *

                                                                                    The options to modify.

                                                                                    - */ - Options?: ModifyTransitGatewayOptions; - +export interface ModifyLaunchTemplateResult { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Information about the launch template.

                                                                                    */ - DryRun?: boolean; + LaunchTemplate?: LaunchTemplate; } -export namespace ModifyTransitGatewayRequest { +export namespace ModifyLaunchTemplateResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyLaunchTemplateResult): any => ({ ...obj, }); } -export interface ModifyTransitGatewayResult { +/** + *

                                                                                    An entry for a prefix list.

                                                                                    + */ +export interface RemovePrefixListEntry { /** - *

                                                                                    Describes a transit gateway.

                                                                                    + *

                                                                                    The CIDR block.

                                                                                    */ - TransitGateway?: TransitGateway; + Cidr: string | undefined; } -export namespace ModifyTransitGatewayResult { +export namespace RemovePrefixListEntry { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayResult): any => ({ + export const filterSensitiveLog = (obj: RemovePrefixListEntry): any => ({ ...obj, }); } -export interface ModifyTransitGatewayPrefixListReferenceRequest { +export interface ModifyManagedPrefixListRequest { /** - *

                                                                                    The ID of the transit gateway route table.

                                                                                    + *

                                                                                    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.

                                                                                    */ - TransitGatewayRouteTableId: string | undefined; + DryRun?: boolean; /** *

                                                                                    The ID of the prefix list.

                                                                                    @@ -7245,254 +7368,283 @@ export interface ModifyTransitGatewayPrefixListReferenceRequest { PrefixListId: string | undefined; /** - *

                                                                                    The ID of the attachment to which traffic is routed.

                                                                                    + *

                                                                                    The current version of the prefix list.

                                                                                    */ - TransitGatewayAttachmentId?: string; + CurrentVersion?: number; /** - *

                                                                                    Indicates whether to drop traffic that matches this route.

                                                                                    + *

                                                                                    A name for the prefix list.

                                                                                    */ - Blackhole?: boolean; + PrefixListName?: string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    One or more entries to add to the prefix list.

                                                                                    */ - DryRun?: boolean; + AddEntries?: AddPrefixListEntry[]; + + /** + *

                                                                                    One or more entries to remove from the prefix list.

                                                                                    + */ + RemoveEntries?: RemovePrefixListEntry[]; } -export namespace ModifyTransitGatewayPrefixListReferenceRequest { +export namespace ModifyManagedPrefixListRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayPrefixListReferenceRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyManagedPrefixListRequest): any => ({ ...obj, }); } -export interface ModifyTransitGatewayPrefixListReferenceResult { +export interface ModifyManagedPrefixListResult { /** - *

                                                                                    Information about the prefix list reference.

                                                                                    + *

                                                                                    Information about the prefix list.

                                                                                    */ - TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference; + PrefixList?: ManagedPrefixList; } -export namespace ModifyTransitGatewayPrefixListReferenceResult { +export namespace ModifyManagedPrefixListResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayPrefixListReferenceResult): any => ({ + export const filterSensitiveLog = (obj: ModifyManagedPrefixListResult): any => ({ ...obj, }); } /** - *

                                                                                    Describes the options for a VPC attachment.

                                                                                    + *

                                                                                    Describes an attachment change.

                                                                                    */ -export interface ModifyTransitGatewayVpcAttachmentRequestOptions { - /** - *

                                                                                    Enable or disable DNS support. The default is enable.

                                                                                    - */ - DnsSupport?: DnsSupportValue | string; - +export interface NetworkInterfaceAttachmentChanges { /** - *

                                                                                    Enable or disable IPv6 support. The default is enable.

                                                                                    + *

                                                                                    The ID of the network interface attachment.

                                                                                    */ - Ipv6Support?: Ipv6SupportValue | string; + AttachmentId?: string; /** - *

                                                                                    Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable.

                                                                                    + *

                                                                                    Indicates whether the network interface is deleted when the instance is terminated.

                                                                                    */ - ApplianceModeSupport?: ApplianceModeSupportValue | string; + DeleteOnTermination?: boolean; } -export namespace ModifyTransitGatewayVpcAttachmentRequestOptions { +export namespace NetworkInterfaceAttachmentChanges { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentRequestOptions): any => ({ + export const filterSensitiveLog = (obj: NetworkInterfaceAttachmentChanges): any => ({ ...obj, }); } -export interface ModifyTransitGatewayVpcAttachmentRequest { +/** + *

                                                                                    Contains the parameters for ModifyNetworkInterfaceAttribute.

                                                                                    + */ +export interface ModifyNetworkInterfaceAttributeRequest { /** - *

                                                                                    The ID of the attachment.

                                                                                    + *

                                                                                    Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

                                                                                    */ - TransitGatewayAttachmentId: string | undefined; + Attachment?: NetworkInterfaceAttachmentChanges; /** - *

                                                                                    The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

                                                                                    + *

                                                                                    A description for the network interface.

                                                                                    */ - AddSubnetIds?: string[]; + Description?: AttributeValue; /** - *

                                                                                    The IDs of one or more subnets to remove.

                                                                                    + *

                                                                                    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.

                                                                                    */ - RemoveSubnetIds?: string[]; + DryRun?: boolean; /** - *

                                                                                    The new VPC attachment options.

                                                                                    - * - *

                                                                                    You cannot modify the IPv6 options.

                                                                                    - *
                                                                                    + *

                                                                                    Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

                                                                                    */ - Options?: ModifyTransitGatewayVpcAttachmentRequestOptions; + Groups?: string[]; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID of the network interface.

                                                                                    */ - DryRun?: boolean; + NetworkInterfaceId: string | undefined; + + /** + *

                                                                                    Enable or disable source/destination checks, which ensure that the instance + * is either the source or the destination of any traffic that it receives. + * If the value is true, source/destination checks are enabled; + * otherwise, they are disabled. The default value is true. + * You must disable source/destination checks if the instance runs services + * such as network address translation, routing, or firewalls.

                                                                                    + */ + SourceDestCheck?: AttributeBooleanValue; } -export namespace ModifyTransitGatewayVpcAttachmentRequest { +export namespace ModifyNetworkInterfaceAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyNetworkInterfaceAttributeRequest): any => ({ ...obj, }); } -export interface ModifyTransitGatewayVpcAttachmentResult { +/** + *

                                                                                    Contains the parameters for ModifyReservedInstances.

                                                                                    + */ +export interface ModifyReservedInstancesRequest { /** - *

                                                                                    Information about the modified attachment.

                                                                                    + *

                                                                                    The IDs of the Reserved Instances to modify.

                                                                                    */ - TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment; + ReservedInstancesIds: string[] | undefined; + + /** + *

                                                                                    A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see + * Ensuring Idempotency.

                                                                                    + */ + ClientToken?: string; + + /** + *

                                                                                    The configuration settings for the Reserved Instances to modify.

                                                                                    + */ + TargetConfigurations: ReservedInstancesConfiguration[] | undefined; } -export namespace ModifyTransitGatewayVpcAttachmentResult { +export namespace ModifyReservedInstancesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentResult): any => ({ + export const filterSensitiveLog = (obj: ModifyReservedInstancesRequest): any => ({ ...obj, }); } -export interface ModifyVolumeRequest { +/** + *

                                                                                    Contains the output of ModifyReservedInstances.

                                                                                    + */ +export interface ModifyReservedInstancesResult { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID for the modification.

                                                                                    */ - DryRun?: boolean; + ReservedInstancesModificationId?: string; +} +export namespace ModifyReservedInstancesResult { /** - *

                                                                                    The ID of the volume.

                                                                                    + * @internal */ - VolumeId: string | undefined; + export const filterSensitiveLog = (obj: ModifyReservedInstancesResult): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Describes a security group rule.

                                                                                    + *

                                                                                    You must specify exactly one of the following parameters, based on the rule type:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      CidrIpv4

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      CidrIpv6

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      PrefixListId

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      ReferencedGroupId

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    When you modify a rule, you cannot change the rule type. For example, if the rule + * uses an IPv4 address range, you must use CidrIpv4 to specify a new IPv4 + * address range.

                                                                                    + */ +export interface SecurityGroupRuleRequest { + /** + *

                                                                                    The IP protocol name (tcp, udp, icmp, + * icmpv6) or number (see Protocol Numbers).

                                                                                    + *

                                                                                    Use -1 to specify all protocols.

                                                                                    + */ + IpProtocol?: string; /** - *

                                                                                    The target size of the volume, in GiB. The target volume size must be greater than or - * equal to the existing size of the volume.

                                                                                    - *

                                                                                    The following are the supported volumes sizes for each volume type:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      - * gp2 and gp3: 1-16,384

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * io1 and io2: 4-16,384

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * st1 and sc1: 125-16,384

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * standard: 1-1,024

                                                                                      - *
                                                                                    • - *
                                                                                    - *

                                                                                    Default: If no size is specified, the existing size is retained.

                                                                                    + *

                                                                                    The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

                                                                                    */ - Size?: number; + FromPort?: number; /** - *

                                                                                    The target EBS volume type of the volume. For more information, see Amazon EBS volume types in the Amazon Elastic Compute Cloud User Guide.

                                                                                    - *

                                                                                    Default: If no type is specified, the existing type is retained.

                                                                                    + *

                                                                                    The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

                                                                                    */ - VolumeType?: VolumeType | string; + ToPort?: number; /** - *

                                                                                    The target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes.

                                                                                    - *

                                                                                    The following are the supported values for each volume type:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      - * gp3: 3,000-16,000 IOPS

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * io1: 100-64,000 IOPS

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * io2: 100-64,000 IOPS

                                                                                      - *
                                                                                    • - *
                                                                                    - *

                                                                                    Default: If no IOPS value is specified, the existing value is retained, unless a volume type is modified that supports different values.

                                                                                    + *

                                                                                    The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length.

                                                                                    + */ + CidrIpv4?: string; + + /** + *

                                                                                    The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.

                                                                                    + */ + CidrIpv6?: string; + + /** + *

                                                                                    The ID of the prefix list.

                                                                                    */ - Iops?: number; + PrefixListId?: string; /** - *

                                                                                    The target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. - * The maximum value is 1,000.

                                                                                    - *

                                                                                    Default: If no throughput value is specified, the existing value is retained.

                                                                                    - *

                                                                                    Valid Range: Minimum value of 125. Maximum value of 1000.

                                                                                    + *

                                                                                    The ID of the security group that is referenced in the security group rule.

                                                                                    */ - Throughput?: number; + ReferencedGroupId?: string; /** - *

                                                                                    Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the - * volume to up to 16 - * Nitro-based instances in the same Availability Zone. This parameter is - * supported with io1 and io2 volumes only. For more information, see - * - * Amazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    The description of the security group rule.

                                                                                    */ - MultiAttachEnabled?: boolean; + Description?: string; } -export namespace ModifyVolumeRequest { +export namespace SecurityGroupRuleRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVolumeRequest): any => ({ + export const filterSensitiveLog = (obj: SecurityGroupRuleRequest): any => ({ ...obj, }); } -export interface ModifyVolumeResult { +/** + *

                                                                                    Describes an update to a security group rule.

                                                                                    + */ +export interface SecurityGroupRuleUpdate { /** - *

                                                                                    Information about the volume modification.

                                                                                    + *

                                                                                    The ID of the security group rule.

                                                                                    */ - VolumeModification?: VolumeModification; + SecurityGroupRuleId?: string; + + /** + *

                                                                                    Information about the security group rule.

                                                                                    + */ + SecurityGroupRule?: SecurityGroupRuleRequest; } -export namespace ModifyVolumeResult { +export namespace SecurityGroupRuleUpdate { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVolumeResult): any => ({ + export const filterSensitiveLog = (obj: SecurityGroupRuleUpdate): any => ({ ...obj, }); } -export interface ModifyVolumeAttributeRequest { +export interface ModifySecurityGroupRulesRequest { /** - *

                                                                                    Indicates whether the volume should be auto-enabled for I/O operations.

                                                                                    + *

                                                                                    The ID of the security group.

                                                                                    */ - AutoEnableIO?: AttributeBooleanValue; + GroupId: string | undefined; /** - *

                                                                                    The ID of the volume.

                                                                                    + *

                                                                                    Information about the security group properties to update.

                                                                                    */ - VolumeId: string | undefined; + SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined; /** *

                                                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -7502,446 +7654,564 @@ export interface ModifyVolumeAttributeRequest { DryRun?: boolean; } -export namespace ModifyVolumeAttributeRequest { +export namespace ModifySecurityGroupRulesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVolumeAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: ModifySecurityGroupRulesRequest): any => ({ ...obj, }); } -export interface ModifyVpcAttributeRequest { +export interface ModifySecurityGroupRulesResult { /** - *

                                                                                    Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

                                                                                    - *

                                                                                    You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, returns an error.

                                                                                    */ - EnableDnsHostnames?: AttributeBooleanValue; + Return?: boolean; +} + +export namespace ModifySecurityGroupRulesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifySecurityGroupRulesResult): any => ({ + ...obj, + }); +} +/** + *

                                                                                    Describes modifications to the list of create volume permissions for a volume.

                                                                                    + */ +export interface CreateVolumePermissionModifications { /** - *

                                                                                    Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to - * the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP - * address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon - * provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is - * not enabled.

                                                                                    - *

                                                                                    You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

                                                                                    + *

                                                                                    Adds the specified AWS account ID or group to the list.

                                                                                    */ - EnableDnsSupport?: AttributeBooleanValue; + Add?: CreateVolumePermission[]; /** - *

                                                                                    The ID of the VPC.

                                                                                    + *

                                                                                    Removes the specified AWS account ID or group from the list.

                                                                                    */ - VpcId: string | undefined; + Remove?: CreateVolumePermission[]; } -export namespace ModifyVpcAttributeRequest { +export namespace CreateVolumePermissionModifications { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: CreateVolumePermissionModifications): any => ({ ...obj, }); } -/** - *

                                                                                    Contains the parameters for ModifyVpcEndpoint.

                                                                                    - */ -export interface ModifyVpcEndpointRequest { +export interface ModifySnapshotAttributeRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The snapshot attribute to modify. Only volume creation permissions can be modified.

                                                                                    */ - DryRun?: boolean; + Attribute?: SnapshotAttributeName | string; /** - *

                                                                                    The ID of the endpoint.

                                                                                    + *

                                                                                    A JSON representation of the snapshot attribute modification.

                                                                                    */ - VpcEndpointId: string | undefined; + CreateVolumePermission?: CreateVolumePermissionModifications; /** - *

                                                                                    (Gateway endpoint) Specify true to reset the policy document to the - * default policy. The default policy allows full access to the service.

                                                                                    + *

                                                                                    The group to modify for the snapshot.

                                                                                    */ - ResetPolicy?: boolean; + GroupNames?: string[]; /** - *

                                                                                    (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must - * be in valid JSON format.

                                                                                    + *

                                                                                    The type of operation to perform to the attribute.

                                                                                    */ - PolicyDocument?: string; + OperationType?: OperationType | string; /** - *

                                                                                    (Gateway endpoint) One or more route tables IDs to associate with the endpoint.

                                                                                    + *

                                                                                    The ID of the snapshot.

                                                                                    */ - AddRouteTableIds?: string[]; + SnapshotId: string | undefined; /** - *

                                                                                    (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.

                                                                                    + *

                                                                                    The account ID to modify for the snapshot.

                                                                                    */ - RemoveRouteTableIds?: string[]; + UserIds?: string[]; /** - *

                                                                                    (Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

                                                                                    + *

                                                                                    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.

                                                                                    */ - AddSubnetIds?: string[]; + DryRun?: boolean; +} +export namespace ModifySnapshotAttributeRequest { /** - *

                                                                                    (Interface endpoint) One or more subnets IDs in which to remove the endpoint.

                                                                                    + * @internal */ - RemoveSubnetIds?: string[]; + export const filterSensitiveLog = (obj: ModifySnapshotAttributeRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                                    Contains the parameters for ModifySpotFleetRequest.

                                                                                    + */ +export interface ModifySpotFleetRequestRequest { /** - *

                                                                                    (Interface endpoint) One or more security group IDs to associate with the network interface.

                                                                                    + *

                                                                                    Indicates whether running Spot Instances should be terminated if the target capacity + * of the Spot Fleet request is decreased below the current size of the Spot Fleet.

                                                                                    */ - AddSecurityGroupIds?: string[]; + ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; /** - *

                                                                                    (Interface endpoint) One or more security group IDs to disassociate from the network interface.

                                                                                    + *

                                                                                    The launch template and overrides. You can only use this parameter if you specified a + * launch template (LaunchTemplateConfigs) in your Spot Fleet request. If you + * specified LaunchSpecifications in your Spot Fleet request, then omit this + * parameter.

                                                                                    */ - RemoveSecurityGroupIds?: string[]; + LaunchTemplateConfigs?: LaunchTemplateConfig[]; /** - *

                                                                                    (Interface endpoint) Indicates whether a private hosted zone is associated with the - * VPC.

                                                                                    + *

                                                                                    The ID of the Spot Fleet request.

                                                                                    */ - PrivateDnsEnabled?: boolean; + SpotFleetRequestId: string | undefined; + + /** + *

                                                                                    The size of the fleet.

                                                                                    + */ + TargetCapacity?: number; + + /** + *

                                                                                    The number of On-Demand Instances in the fleet.

                                                                                    + */ + OnDemandTargetCapacity?: number; + + /** + *

                                                                                    Reserved.

                                                                                    + */ + Context?: string; } -export namespace ModifyVpcEndpointRequest { +export namespace ModifySpotFleetRequestRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointRequest): any => ({ + export const filterSensitiveLog = (obj: ModifySpotFleetRequestRequest): any => ({ ...obj, }); } -export interface ModifyVpcEndpointResult { +/** + *

                                                                                    Contains the output of ModifySpotFleetRequest.

                                                                                    + */ +export interface ModifySpotFleetRequestResponse { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    Is true if the request succeeds, and an error otherwise.

                                                                                    */ Return?: boolean; } -export namespace ModifyVpcEndpointResult { +export namespace ModifySpotFleetRequestResponse { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointResult): any => ({ + export const filterSensitiveLog = (obj: ModifySpotFleetRequestResponse): any => ({ ...obj, }); } -export interface ModifyVpcEndpointConnectionNotificationRequest { +export interface ModifySubnetAttributeRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Specify true to indicate that network interfaces created in the + * specified subnet should be assigned an IPv6 address. This includes a network interface + * that's created when launching an instance into the subnet (the instance therefore + * receives an IPv6 address).

                                                                                    + *

                                                                                    If you enable the IPv6 addressing feature for your subnet, your network interface + * or instance only receives an IPv6 address if it's created using version + * 2016-11-15 or later of the Amazon EC2 API.

                                                                                    */ - DryRun?: boolean; + AssignIpv6AddressOnCreation?: AttributeBooleanValue; /** - *

                                                                                    The ID of the notification.

                                                                                    + *

                                                                                    Specify true to indicate that network interfaces attached to instances created in the + * specified subnet should be assigned a public IPv4 address.

                                                                                    */ - ConnectionNotificationId: string | undefined; + MapPublicIpOnLaunch?: AttributeBooleanValue; /** - *

                                                                                    The ARN for the SNS topic for the notification.

                                                                                    + *

                                                                                    The ID of the subnet.

                                                                                    */ - ConnectionNotificationArn?: string; + SubnetId: string | undefined; /** - *

                                                                                    One or more events for the endpoint. Valid values are Accept, - * Connect, Delete, and Reject.

                                                                                    + *

                                                                                    Specify true to indicate that network interfaces attached to instances created in the + * specified subnet should be assigned a customer-owned IPv4 address.

                                                                                    + *

                                                                                    When this value is true, you must specify the customer-owned IP pool using CustomerOwnedIpv4Pool.

                                                                                    + */ + MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue; + + /** + *

                                                                                    The customer-owned IPv4 address pool associated with the subnet.

                                                                                    + *

                                                                                    You must set this value when you specify true for MapCustomerOwnedIpOnLaunch.

                                                                                    + */ + CustomerOwnedIpv4Pool?: string; +} + +export namespace ModifySubnetAttributeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifySubnetAttributeRequest): any => ({ + ...obj, + }); +} + +export interface ModifyTrafficMirrorFilterNetworkServicesRequest { + /** + *

                                                                                    The ID of the Traffic Mirror filter.

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

                                                                                    The network service, for example Amazon DNS, that you want to mirror.

                                                                                    + */ + AddNetworkServices?: (TrafficMirrorNetworkService | string)[]; + + /** + *

                                                                                    The network service, for example Amazon DNS, that you no longer want to mirror.

                                                                                    + */ + RemoveNetworkServices?: (TrafficMirrorNetworkService | string)[]; + + /** + *

                                                                                    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.

                                                                                    */ - ConnectionEvents?: string[]; + DryRun?: boolean; } -export namespace ModifyVpcEndpointConnectionNotificationRequest { +export namespace ModifyTrafficMirrorFilterNetworkServicesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointConnectionNotificationRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterNetworkServicesRequest): any => ({ ...obj, }); } -export interface ModifyVpcEndpointConnectionNotificationResult { +export interface ModifyTrafficMirrorFilterNetworkServicesResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    The Traffic Mirror filter that the network service is associated with.

                                                                                    */ - ReturnValue?: boolean; + TrafficMirrorFilter?: TrafficMirrorFilter; } -export namespace ModifyVpcEndpointConnectionNotificationResult { +export namespace ModifyTrafficMirrorFilterNetworkServicesResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointConnectionNotificationResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterNetworkServicesResult): any => ({ ...obj, }); } -export interface ModifyVpcEndpointServiceConfigurationRequest { +export type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range"; + +export interface ModifyTrafficMirrorFilterRuleRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID of the Traffic Mirror rule.

                                                                                    */ - DryRun?: boolean; + TrafficMirrorFilterRuleId: string | undefined; /** - *

                                                                                    The ID of the service.

                                                                                    + *

                                                                                    The type of traffic (ingress | egress) to assign to the rule.

                                                                                    */ - ServiceId: string | undefined; + TrafficDirection?: TrafficDirection | string; /** - *

                                                                                    (Interface endpoint configuration) The private DNS name to assign to the endpoint service.

                                                                                    + *

                                                                                    The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given + * direction. The rules are processed in ascending order by rule number.

                                                                                    */ - PrivateDnsName?: string; + RuleNumber?: number; /** - *

                                                                                    (Interface endpoint configuration) Removes the private DNS name of the endpoint service.

                                                                                    + *

                                                                                    The action to assign to the rule.

                                                                                    */ - RemovePrivateDnsName?: boolean; + RuleAction?: TrafficMirrorRuleAction | string; /** - *

                                                                                    Indicates whether requests to create an endpoint to your service must be accepted.

                                                                                    + *

                                                                                    The destination ports that are associated with the Traffic Mirror rule.

                                                                                    */ - AcceptanceRequired?: boolean; + DestinationPortRange?: TrafficMirrorPortRangeRequest; /** - *

                                                                                    The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service - * configuration.

                                                                                    + *

                                                                                    The port range to assign to the Traffic Mirror rule.

                                                                                    */ - AddNetworkLoadBalancerArns?: string[]; + SourcePortRange?: TrafficMirrorPortRangeRequest; /** - *

                                                                                    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service - * configuration.

                                                                                    + *

                                                                                    The protocol, for example TCP, to assign to the Traffic Mirror rule.

                                                                                    */ - RemoveNetworkLoadBalancerArns?: string[]; + Protocol?: number; /** - *

                                                                                    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service - * configuration.

                                                                                    + *

                                                                                    The destination CIDR block to assign to the Traffic Mirror rule.

                                                                                    */ - AddGatewayLoadBalancerArns?: string[]; + DestinationCidrBlock?: string; /** - *

                                                                                    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service - * configuration.

                                                                                    + *

                                                                                    The source CIDR block to assign to the Traffic Mirror rule.

                                                                                    */ - RemoveGatewayLoadBalancerArns?: string[]; + SourceCidrBlock?: string; + + /** + *

                                                                                    The description to assign to the Traffic Mirror rule.

                                                                                    + */ + Description?: string; + + /** + *

                                                                                    The properties that you want to remove from the Traffic Mirror filter rule.

                                                                                    + *

                                                                                    When you remove a property from a Traffic Mirror filter rule, the property is set to the default.

                                                                                    + */ + RemoveFields?: (TrafficMirrorFilterRuleField | string)[]; + + /** + *

                                                                                    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; } -export namespace ModifyVpcEndpointServiceConfigurationRequest { +export namespace ModifyTrafficMirrorFilterRuleRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointServiceConfigurationRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleRequest): any => ({ ...obj, }); } -export interface ModifyVpcEndpointServiceConfigurationResult { +export interface ModifyTrafficMirrorFilterRuleResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    Modifies a Traffic Mirror rule.

                                                                                    */ - Return?: boolean; + TrafficMirrorFilterRule?: TrafficMirrorFilterRule; } -export namespace ModifyVpcEndpointServiceConfigurationResult { +export namespace ModifyTrafficMirrorFilterRuleResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointServiceConfigurationResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleResult): any => ({ ...obj, }); } -export interface ModifyVpcEndpointServicePermissionsRequest { +export type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id"; + +export interface ModifyTrafficMirrorSessionRequest { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The ID of the Traffic Mirror session.

                                                                                    */ - DryRun?: boolean; + TrafficMirrorSessionId: string | undefined; /** - *

                                                                                    The ID of the service.

                                                                                    + *

                                                                                    The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.

                                                                                    */ - ServiceId: string | undefined; + TrafficMirrorTargetId?: string; /** - *

                                                                                    The Amazon Resource Names (ARN) of one or more principals. - * Permissions are granted to the principals in this list. - * To grant permissions to all principals, specify an asterisk (*).

                                                                                    + *

                                                                                    The ID of the Traffic Mirror filter.

                                                                                    */ - AddAllowedPrincipals?: string[]; + TrafficMirrorFilterId?: string; /** - *

                                                                                    The Amazon Resource Names (ARN) of one or more principals. - * Permissions are revoked for principals in this list.

                                                                                    + *

                                                                                    The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

                                                                                    */ - RemoveAllowedPrincipals?: string[]; + PacketLength?: number; + + /** + *

                                                                                    The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

                                                                                    + *

                                                                                    Valid values are 1-32766.

                                                                                    + */ + SessionNumber?: number; + + /** + *

                                                                                    The virtual network ID of the Traffic Mirror session.

                                                                                    + */ + VirtualNetworkId?: number; + + /** + *

                                                                                    The description to assign to the Traffic Mirror session.

                                                                                    + */ + Description?: string; + + /** + *

                                                                                    The properties that you want to remove from the Traffic Mirror session.

                                                                                    + *

                                                                                    When you remove a property from a Traffic Mirror session, the property is set to the default.

                                                                                    + */ + RemoveFields?: (TrafficMirrorSessionField | string)[]; + + /** + *

                                                                                    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; } -export namespace ModifyVpcEndpointServicePermissionsRequest { +export namespace ModifyTrafficMirrorSessionRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointServicePermissionsRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionRequest): any => ({ ...obj, }); } -export interface ModifyVpcEndpointServicePermissionsResult { +export interface ModifyTrafficMirrorSessionResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    + *

                                                                                    Information about the Traffic Mirror session.

                                                                                    */ - ReturnValue?: boolean; + TrafficMirrorSession?: TrafficMirrorSession; } -export namespace ModifyVpcEndpointServicePermissionsResult { +export namespace ModifyTrafficMirrorSessionResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcEndpointServicePermissionsResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionResult): any => ({ ...obj, }); } /** - *

                                                                                    The VPC peering connection options.

                                                                                    + *

                                                                                    The transit gateway options.

                                                                                    */ -export interface PeeringConnectionOptionsRequest { +export interface ModifyTransitGatewayOptions { /** - *

                                                                                    If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

                                                                                    + *

                                                                                    Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

                                                                                    */ - AllowDnsResolutionFromRemoteVpc?: boolean; + AddTransitGatewayCidrBlocks?: string[]; /** - *

                                                                                    If true, enables outbound communication from an EC2-Classic instance that's linked to - * a local VPC using ClassicLink to instances in a peer VPC.

                                                                                    + *

                                                                                    Removes CIDR blocks for the transit gateway.

                                                                                    */ - AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean; + RemoveTransitGatewayCidrBlocks?: string[]; /** - *

                                                                                    If true, enables outbound communication from instances in a local VPC to an - * EC2-Classic instance that's linked to a peer VPC using ClassicLink.

                                                                                    + *

                                                                                    Enable or disable Equal Cost Multipath Protocol support.

                                                                                    */ - AllowEgressFromLocalVpcToRemoteClassicLink?: boolean; -} + VpnEcmpSupport?: VpnEcmpSupportValue | string; -export namespace PeeringConnectionOptionsRequest { /** - * @internal + *

                                                                                    Enable or disable DNS support.

                                                                                    */ - export const filterSensitiveLog = (obj: PeeringConnectionOptionsRequest): any => ({ - ...obj, - }); -} + DnsSupport?: DnsSupportValue | string; -export interface ModifyVpcPeeringConnectionOptionsRequest { /** - *

                                                                                    The VPC peering connection options for the accepter VPC.

                                                                                    + *

                                                                                    Enable or disable automatic acceptance of attachment requests.

                                                                                    */ - AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; + AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    Enable or disable automatic association with the default association route table.

                                                                                    */ - DryRun?: boolean; + DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | string; /** - *

                                                                                    The VPC peering connection options for the requester VPC.

                                                                                    + *

                                                                                    The ID of the default association route table.

                                                                                    */ - RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; + AssociationDefaultRouteTableId?: string; /** - *

                                                                                    The ID of the VPC peering connection.

                                                                                    + *

                                                                                    Enable or disable automatic propagation of routes to the default propagation route table.

                                                                                    */ - VpcPeeringConnectionId: string | undefined; + DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | string; + + /** + *

                                                                                    The ID of the default propagation route table.

                                                                                    + */ + PropagationDefaultRouteTableId?: string; } -export namespace ModifyVpcPeeringConnectionOptionsRequest { +export namespace ModifyTransitGatewayOptions { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcPeeringConnectionOptionsRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayOptions): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the VPC peering connection options.

                                                                                    - */ -export interface PeeringConnectionOptions { +export interface ModifyTransitGatewayRequest { /** - *

                                                                                    If true, the public DNS hostnames of instances in the specified VPC resolve to private - * IP addresses when queried from instances in the peer VPC.

                                                                                    + *

                                                                                    The ID of the transit gateway.

                                                                                    */ - AllowDnsResolutionFromRemoteVpc?: boolean; + TransitGatewayId: string | undefined; /** - *

                                                                                    If true, enables outbound communication from an EC2-Classic instance that's linked to - * a local VPC using ClassicLink to instances in a peer VPC.

                                                                                    + *

                                                                                    The description for the transit gateway.

                                                                                    */ - AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean; + Description?: string; /** - *

                                                                                    If true, enables outbound communication from instances in a local VPC to an - * EC2-Classic instance that's linked to a peer VPC using ClassicLink.

                                                                                    + *

                                                                                    The options to modify.

                                                                                    */ - AllowEgressFromLocalVpcToRemoteClassicLink?: boolean; -} + Options?: ModifyTransitGatewayOptions; -export namespace PeeringConnectionOptions { /** - * @internal + *

                                                                                    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.

                                                                                    */ - export const filterSensitiveLog = (obj: PeeringConnectionOptions): any => ({ - ...obj, - }); + DryRun?: boolean; } -export interface ModifyVpcPeeringConnectionOptionsResult { +export namespace ModifyTransitGatewayRequest { /** - *

                                                                                    Information about the VPC peering connection options for the accepter VPC.

                                                                                    + * @internal */ - AccepterPeeringConnectionOptions?: PeeringConnectionOptions; + export const filterSensitiveLog = (obj: ModifyTransitGatewayRequest): any => ({ + ...obj, + }); +} +export interface ModifyTransitGatewayResult { /** - *

                                                                                    Information about the VPC peering connection options for the requester VPC.

                                                                                    + *

                                                                                    Describes a transit gateway.

                                                                                    */ - RequesterPeeringConnectionOptions?: PeeringConnectionOptions; + TransitGateway?: TransitGateway; } -export namespace ModifyVpcPeeringConnectionOptionsResult { +export namespace ModifyTransitGatewayResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcPeeringConnectionOptionsResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayResult): any => ({ ...obj, }); } -export type VpcTenancy = "default"; +export interface ModifyTransitGatewayPrefixListReferenceRequest { + /** + *

                                                                                    The ID of the transit gateway route table.

                                                                                    + */ + TransitGatewayRouteTableId: string | undefined; -export interface ModifyVpcTenancyRequest { /** - *

                                                                                    The ID of the VPC.

                                                                                    + *

                                                                                    The ID of the prefix list.

                                                                                    */ - VpcId: string | undefined; + PrefixListId: string | undefined; /** - *

                                                                                    The instance tenancy attribute for the VPC.

                                                                                    + *

                                                                                    The ID of the attachment to which traffic is routed.

                                                                                    */ - InstanceTenancy: VpcTenancy | string | undefined; + TransitGatewayAttachmentId?: string; + + /** + *

                                                                                    Indicates whether to drop traffic that matches this route.

                                                                                    + */ + Blackhole?: boolean; /** *

                                                                                    Checks whether you have the required permissions for the action, without actually making the request, @@ -7951,498 +8221,506 @@ export interface ModifyVpcTenancyRequest { DryRun?: boolean; } -export namespace ModifyVpcTenancyRequest { +export namespace ModifyTransitGatewayPrefixListReferenceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcTenancyRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayPrefixListReferenceRequest): any => ({ ...obj, }); } -export interface ModifyVpcTenancyResult { +export interface ModifyTransitGatewayPrefixListReferenceResult { /** - *

                                                                                    Returns true if the request succeeds; otherwise, returns an - * error.

                                                                                    + *

                                                                                    Information about the prefix list reference.

                                                                                    */ - ReturnValue?: boolean; + TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference; } -export namespace ModifyVpcTenancyResult { +export namespace ModifyTransitGatewayPrefixListReferenceResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpcTenancyResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayPrefixListReferenceResult): any => ({ ...obj, }); } -export interface ModifyVpnConnectionRequest { +/** + *

                                                                                    Describes the options for a VPC attachment.

                                                                                    + */ +export interface ModifyTransitGatewayVpcAttachmentRequestOptions { /** - *

                                                                                    The ID of the VPN connection.

                                                                                    + *

                                                                                    Enable or disable DNS support. The default is enable.

                                                                                    */ - VpnConnectionId: string | undefined; + DnsSupport?: DnsSupportValue | string; /** - *

                                                                                    The ID of the transit gateway.

                                                                                    + *

                                                                                    Enable or disable IPv6 support. The default is enable.

                                                                                    */ - TransitGatewayId?: string; + Ipv6Support?: Ipv6SupportValue | string; /** - *

                                                                                    The ID of the customer gateway at your end of the VPN connection.

                                                                                    + *

                                                                                    Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable.

                                                                                    */ - CustomerGatewayId?: string; + ApplianceModeSupport?: ApplianceModeSupportValue | string; +} +export namespace ModifyTransitGatewayVpcAttachmentRequestOptions { /** - *

                                                                                    The ID of the virtual private gateway at the AWS side of the VPN connection.

                                                                                    + * @internal */ - VpnGatewayId?: string; + export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentRequestOptions): any => ({ + ...obj, + }); +} + +export interface ModifyTransitGatewayVpcAttachmentRequest { + /** + *

                                                                                    The ID of the attachment.

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

                                                                                    The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

                                                                                    + */ + AddSubnetIds?: string[]; + + /** + *

                                                                                    The IDs of one or more subnets to remove.

                                                                                    + */ + RemoveSubnetIds?: string[]; + + /** + *

                                                                                    The new VPC attachment options.

                                                                                    + * + *

                                                                                    You cannot modify the IPv6 options.

                                                                                    + *
                                                                                    + */ + Options?: ModifyTransitGatewayVpcAttachmentRequestOptions; /** *

                                                                                    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.

                                                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; } -export namespace ModifyVpnConnectionRequest { +export namespace ModifyTransitGatewayVpcAttachmentRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnConnectionRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentRequest): any => ({ ...obj, }); } -export interface ModifyVpnConnectionResult { +export interface ModifyTransitGatewayVpcAttachmentResult { /** - *

                                                                                    Describes a VPN connection.

                                                                                    + *

                                                                                    Information about the modified attachment.

                                                                                    */ - VpnConnection?: VpnConnection; + TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment; } -export namespace ModifyVpnConnectionResult { +export namespace ModifyTransitGatewayVpcAttachmentResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnConnectionResult): any => ({ + export const filterSensitiveLog = (obj: ModifyTransitGatewayVpcAttachmentResult): any => ({ ...obj, }); } -export interface ModifyVpnConnectionOptionsRequest { +export interface ModifyVolumeRequest { /** - *

                                                                                    The ID of the Site-to-Site VPN connection. - *

                                                                                    + *

                                                                                    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.

                                                                                    */ - VpnConnectionId: string | undefined; + DryRun?: boolean; /** - *

                                                                                    The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

                                                                                    - *

                                                                                    Default: 0.0.0.0/0 - *

                                                                                    + *

                                                                                    The ID of the volume.

                                                                                    */ - LocalIpv4NetworkCidr?: string; + VolumeId: string | undefined; /** - *

                                                                                    The IPv4 CIDR on the AWS side of the VPN connection.

                                                                                    - *

                                                                                    Default: 0.0.0.0/0 - *

                                                                                    + *

                                                                                    The target size of the volume, in GiB. The target volume size must be greater than or + * equal to the existing size of the volume.

                                                                                    + *

                                                                                    The following are the supported volumes sizes for each volume type:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      + * gp2 and gp3: 1-16,384

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * io1 and io2: 4-16,384

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * st1 and sc1: 125-16,384

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * standard: 1-1,024

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    Default: If no size is specified, the existing size is retained.

                                                                                    */ - RemoteIpv4NetworkCidr?: string; + Size?: number; /** - *

                                                                                    The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

                                                                                    - *

                                                                                    Default: ::/0 - *

                                                                                    + *

                                                                                    The target EBS volume type of the volume. For more information, see Amazon EBS volume types in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    Default: If no type is specified, the existing type is retained.

                                                                                    */ - LocalIpv6NetworkCidr?: string; + VolumeType?: VolumeType | string; /** - *

                                                                                    The IPv6 CIDR on the AWS side of the VPN connection.

                                                                                    - *

                                                                                    Default: ::/0 - *

                                                                                    + *

                                                                                    The target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes.

                                                                                    + *

                                                                                    The following are the supported values for each volume type:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      + * gp3: 3,000-16,000 IOPS

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * io1: 100-64,000 IOPS

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * io2: 100-64,000 IOPS

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    Default: If no IOPS value is specified, the existing value is retained, unless a volume type is modified that supports different values.

                                                                                    */ - RemoteIpv6NetworkCidr?: string; + Iops?: number; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. + * The maximum value is 1,000.

                                                                                    + *

                                                                                    Default: If no throughput value is specified, the existing value is retained.

                                                                                    + *

                                                                                    Valid Range: Minimum value of 125. Maximum value of 1000.

                                                                                    */ - DryRun?: boolean; + Throughput?: number; + + /** + *

                                                                                    Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the + * volume to up to 16 + * Nitro-based instances in the same Availability Zone. This parameter is + * supported with io1 and io2 volumes only. For more information, see + * + * Amazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + */ + MultiAttachEnabled?: boolean; } -export namespace ModifyVpnConnectionOptionsRequest { +export namespace ModifyVolumeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnConnectionOptionsRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVolumeRequest): any => ({ ...obj, }); } -export interface ModifyVpnConnectionOptionsResult { +export interface ModifyVolumeResult { /** - *

                                                                                    Describes a VPN connection.

                                                                                    + *

                                                                                    Information about the volume modification.

                                                                                    */ - VpnConnection?: VpnConnection; + VolumeModification?: VolumeModification; } -export namespace ModifyVpnConnectionOptionsResult { +export namespace ModifyVolumeResult { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnConnectionOptionsResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVolumeResult): any => ({ ...obj, }); } -export interface ModifyVpnTunnelCertificateRequest { +export interface ModifyVolumeAttributeRequest { /** - *

                                                                                    The ID of the AWS Site-to-Site VPN connection.

                                                                                    + *

                                                                                    Indicates whether the volume should be auto-enabled for I/O operations.

                                                                                    */ - VpnConnectionId: string | undefined; + AutoEnableIO?: AttributeBooleanValue; /** - *

                                                                                    The external IP address of the VPN tunnel.

                                                                                    + *

                                                                                    The ID of the volume.

                                                                                    */ - VpnTunnelOutsideIpAddress: string | undefined; + VolumeId: string | undefined; /** *

                                                                                    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.

                                                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; } -export namespace ModifyVpnTunnelCertificateRequest { +export namespace ModifyVolumeAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnTunnelCertificateRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVolumeAttributeRequest): any => ({ ...obj, }); } -export interface ModifyVpnTunnelCertificateResult { +export interface ModifyVpcAttributeRequest { /** - *

                                                                                    Describes a VPN connection.

                                                                                    + *

                                                                                    Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

                                                                                    + *

                                                                                    You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

                                                                                    + */ + EnableDnsHostnames?: AttributeBooleanValue; + + /** + *

                                                                                    Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to + * the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP + * address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon + * provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is + * not enabled.

                                                                                    + *

                                                                                    You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

                                                                                    + */ + EnableDnsSupport?: AttributeBooleanValue; + + /** + *

                                                                                    The ID of the VPC.

                                                                                    */ - VpnConnection?: VpnConnection; + VpcId: string | undefined; } -export namespace ModifyVpnTunnelCertificateResult { +export namespace ModifyVpcAttributeRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnTunnelCertificateResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcAttributeRequest): any => ({ ...obj, }); } /** - *

                                                                                    The AWS Site-to-Site VPN tunnel options to modify.

                                                                                    + *

                                                                                    Contains the parameters for ModifyVpcEndpoint.

                                                                                    */ -export interface ModifyVpnTunnelOptionsSpecification { +export interface ModifyVpcEndpointRequest { /** - *

                                                                                    The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks must be unique - * across all VPN connections that use the same virtual private gateway.

                                                                                    - *

                                                                                    Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The - * following CIDR blocks are reserved and cannot be used:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      - * 169.254.0.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.1.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.2.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.3.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.4.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.5.0/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * 169.254.169.252/30 - *

                                                                                      - *
                                                                                    • - *
                                                                                    + *

                                                                                    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.

                                                                                    */ - TunnelInsideCidr?: string; + DryRun?: boolean; /** - *

                                                                                    The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.

                                                                                    - *

                                                                                    Constraints: A size /126 CIDR block from the local fd00::/8 range.

                                                                                    + *

                                                                                    The ID of the endpoint.

                                                                                    */ - TunnelInsideIpv6Cidr?: string; + VpcEndpointId: string | undefined; /** - *

                                                                                    The pre-shared key (PSK) to establish initial authentication between the virtual - * private gateway and the customer gateway.

                                                                                    - *

                                                                                    Constraints: Allowed characters are alphanumeric characters, periods (.), and - * underscores (_). Must be between 8 and 64 characters in length and cannot start with - * zero (0).

                                                                                    + *

                                                                                    (Gateway endpoint) Specify true to reset the policy document to the + * default policy. The default policy allows full access to the service.

                                                                                    */ - PreSharedKey?: string; + ResetPolicy?: boolean; /** - *

                                                                                    The lifetime for phase 1 of the IKE negotiation, in seconds.

                                                                                    - *

                                                                                    Constraints: A value between 900 and 28,800.

                                                                                    - *

                                                                                    Default: 28800 - *

                                                                                    + *

                                                                                    (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must + * be in valid JSON format.

                                                                                    */ - Phase1LifetimeSeconds?: number; + PolicyDocument?: string; /** - *

                                                                                    The lifetime for phase 2 of the IKE negotiation, in seconds.

                                                                                    - *

                                                                                    Constraints: A value between 900 and 3,600. The value must be less than the value for Phase1LifetimeSeconds.

                                                                                    - *

                                                                                    Default: 3600 - *

                                                                                    + *

                                                                                    (Gateway endpoint) One or more route tables IDs to associate with the endpoint.

                                                                                    */ - Phase2LifetimeSeconds?: number; + AddRouteTableIds?: string[]; /** - *

                                                                                    The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for RekeyFuzzPercentage.

                                                                                    - *

                                                                                    Constraints: A value between 60 and half of Phase2LifetimeSeconds.

                                                                                    - *

                                                                                    Default: 540 - *

                                                                                    + *

                                                                                    (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.

                                                                                    */ - RekeyMarginTimeSeconds?: number; + RemoveRouteTableIds?: string[]; /** - *

                                                                                    The percentage of the rekey window (determined by RekeyMarginTimeSeconds) during which the rekey time is randomly selected.

                                                                                    - *

                                                                                    Constraints: A value between 0 and 100.

                                                                                    - *

                                                                                    Default: 100 - *

                                                                                    + *

                                                                                    (Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

                                                                                    */ - RekeyFuzzPercentage?: number; + AddSubnetIds?: string[]; /** - *

                                                                                    The number of packets in an IKE replay window.

                                                                                    - *

                                                                                    Constraints: A value between 64 and 2048.

                                                                                    - *

                                                                                    Default: 1024 - *

                                                                                    + *

                                                                                    (Interface endpoint) One or more subnets IDs in which to remove the endpoint.

                                                                                    */ - ReplayWindowSize?: number; + RemoveSubnetIds?: string[]; /** - *

                                                                                    The number of seconds after which a DPD timeout occurs.

                                                                                    - *

                                                                                    Constraints: A value between 0 and 30.

                                                                                    - *

                                                                                    Default: 30 - *

                                                                                    + *

                                                                                    (Interface endpoint) One or more security group IDs to associate with the network interface.

                                                                                    */ - DPDTimeoutSeconds?: number; + AddSecurityGroupIds?: string[]; /** - *

                                                                                    The action to take after DPD timeout occurs. Specify restart to restart the IKE initiation. Specify clear to end the IKE session.

                                                                                    - *

                                                                                    Valid Values: clear | none | restart - *

                                                                                    - *

                                                                                    Default: clear - *

                                                                                    + *

                                                                                    (Interface endpoint) One or more security group IDs to disassociate from the network interface.

                                                                                    */ - DPDTimeoutAction?: string; + RemoveSecurityGroupIds?: string[]; /** - *

                                                                                    One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - *

                                                                                    + *

                                                                                    (Interface endpoint) Indicates whether a private hosted zone is associated with the + * VPC.

                                                                                    */ - Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[]; + PrivateDnsEnabled?: boolean; +} +export namespace ModifyVpcEndpointRequest { /** - *

                                                                                    One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - *

                                                                                    + * @internal */ - Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[]; + export const filterSensitiveLog = (obj: ModifyVpcEndpointRequest): any => ({ + ...obj, + }); +} +export interface ModifyVpcEndpointResult { /** - *

                                                                                    One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - *

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[]; + Return?: boolean; +} +export namespace ModifyVpcEndpointResult { /** - *

                                                                                    One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - *

                                                                                    + * @internal */ - Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[]; + export const filterSensitiveLog = (obj: ModifyVpcEndpointResult): any => ({ + ...obj, + }); +} +export interface ModifyVpcEndpointConnectionNotificationRequest { /** - *

                                                                                    One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - *

                                                                                    + *

                                                                                    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.

                                                                                    */ - Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[]; + DryRun?: boolean; /** - *

                                                                                    One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    - *

                                                                                    Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - *

                                                                                    + *

                                                                                    The ID of the notification.

                                                                                    */ - Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[]; + ConnectionNotificationId: string | undefined; /** - *

                                                                                    The IKE versions that are permitted for the VPN tunnel.

                                                                                    - *

                                                                                    Valid values: ikev1 | ikev2 - *

                                                                                    + *

                                                                                    The ARN for the SNS topic for the notification.

                                                                                    */ - IKEVersions?: IKEVersionsRequestListValue[]; + ConnectionNotificationArn?: string; /** - *

                                                                                    The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation.

                                                                                    - *

                                                                                    Valid Values: add | start - *

                                                                                    - *

                                                                                    Default: add - *

                                                                                    + *

                                                                                    One or more events for the endpoint. Valid values are Accept, + * Connect, Delete, and Reject.

                                                                                    */ - StartupAction?: string; + ConnectionEvents?: string[]; } -export namespace ModifyVpnTunnelOptionsSpecification { +export namespace ModifyVpcEndpointConnectionNotificationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsSpecification): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcEndpointConnectionNotificationRequest): any => ({ ...obj, }); } -export interface ModifyVpnTunnelOptionsRequest { - /** - *

                                                                                    The ID of the AWS Site-to-Site VPN connection.

                                                                                    - */ - VpnConnectionId: string | undefined; - +export interface ModifyVpcEndpointConnectionNotificationResult { /** - *

                                                                                    The external IP address of the VPN tunnel.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - VpnTunnelOutsideIpAddress: string | undefined; + ReturnValue?: boolean; +} +export namespace ModifyVpcEndpointConnectionNotificationResult { /** - *

                                                                                    The tunnel options to modify.

                                                                                    + * @internal */ - TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined; + export const filterSensitiveLog = (obj: ModifyVpcEndpointConnectionNotificationResult): any => ({ + ...obj, + }); +} +export interface ModifyVpcEndpointServiceConfigurationRequest { /** *

                                                                                    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.

                                                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; -} -export namespace ModifyVpnTunnelOptionsRequest { /** - * @internal + *

                                                                                    The ID of the service.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsRequest): any => ({ - ...obj, - }); -} + ServiceId: string | undefined; -export interface ModifyVpnTunnelOptionsResult { /** - *

                                                                                    Describes a VPN connection.

                                                                                    + *

                                                                                    (Interface endpoint configuration) The private DNS name to assign to the endpoint service.

                                                                                    */ - VpnConnection?: VpnConnection; -} + PrivateDnsName?: string; -export namespace ModifyVpnTunnelOptionsResult { /** - * @internal + *

                                                                                    (Interface endpoint configuration) Removes the private DNS name of the endpoint service.

                                                                                    */ - export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsResult): any => ({ - ...obj, - }); -} + RemovePrivateDnsName?: boolean; -export interface MonitorInstancesRequest { /** - *

                                                                                    The IDs of the instances.

                                                                                    + *

                                                                                    Indicates whether requests to create an endpoint to your service must be accepted.

                                                                                    */ - InstanceIds: string[] | undefined; + AcceptanceRequired?: boolean; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service + * configuration.

                                                                                    */ - DryRun?: boolean; -} + AddNetworkLoadBalancerArns?: string[]; -export namespace MonitorInstancesRequest { /** - * @internal + *

                                                                                    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service + * configuration.

                                                                                    */ - export const filterSensitiveLog = (obj: MonitorInstancesRequest): any => ({ - ...obj, - }); -} + RemoveNetworkLoadBalancerArns?: string[]; -/** - *

                                                                                    Describes the monitoring of an instance.

                                                                                    - */ -export interface InstanceMonitoring { /** - *

                                                                                    The ID of the instance.

                                                                                    + *

                                                                                    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service + * configuration.

                                                                                    */ - InstanceId?: string; + AddGatewayLoadBalancerArns?: string[]; /** - *

                                                                                    The monitoring for the instance.

                                                                                    + *

                                                                                    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service + * configuration.

                                                                                    */ - Monitoring?: Monitoring; + RemoveGatewayLoadBalancerArns?: string[]; } -export namespace InstanceMonitoring { +export namespace ModifyVpcEndpointServiceConfigurationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceMonitoring): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcEndpointServiceConfigurationRequest): any => ({ ...obj, }); } -export interface MonitorInstancesResult { +export interface ModifyVpcEndpointServiceConfigurationResult { /** - *

                                                                                    The monitoring information.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - InstanceMonitorings?: InstanceMonitoring[]; + Return?: boolean; } -export namespace MonitorInstancesResult { +export namespace ModifyVpcEndpointServiceConfigurationResult { /** * @internal */ - export const filterSensitiveLog = (obj: MonitorInstancesResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcEndpointServiceConfigurationResult): any => ({ ...obj, }); } -export interface MoveAddressToVpcRequest { +export interface ModifyVpcEndpointServicePermissionsRequest { /** *

                                                                                    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. @@ -8451,659 +8729,697 @@ export interface MoveAddressToVpcRequest { DryRun?: boolean; /** - *

                                                                                    The Elastic IP address.

                                                                                    + *

                                                                                    The ID of the service.

                                                                                    */ - PublicIp: string | undefined; -} + ServiceId: string | undefined; -export namespace MoveAddressToVpcRequest { /** - * @internal + *

                                                                                    The Amazon Resource Names (ARN) of one or more principals. + * Permissions are granted to the principals in this list. + * To grant permissions to all principals, specify an asterisk (*).

                                                                                    */ - export const filterSensitiveLog = (obj: MoveAddressToVpcRequest): any => ({ - ...obj, - }); -} + AddAllowedPrincipals?: string[]; -export enum Status { - inClassic = "InClassic", - inVpc = "InVpc", - moveInProgress = "MoveInProgress", + /** + *

                                                                                    The Amazon Resource Names (ARN) of one or more principals. + * Permissions are revoked for principals in this list.

                                                                                    + */ + RemoveAllowedPrincipals?: string[]; } -export interface MoveAddressToVpcResult { +export namespace ModifyVpcEndpointServicePermissionsRequest { /** - *

                                                                                    The allocation ID for the Elastic IP address.

                                                                                    + * @internal */ - AllocationId?: string; + export const filterSensitiveLog = (obj: ModifyVpcEndpointServicePermissionsRequest): any => ({ + ...obj, + }); +} +export interface ModifyVpcEndpointServicePermissionsResult { /** - *

                                                                                    The status of the move of the IP address.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, it returns an error.

                                                                                    */ - Status?: Status | string; + ReturnValue?: boolean; } -export namespace MoveAddressToVpcResult { +export namespace ModifyVpcEndpointServicePermissionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: MoveAddressToVpcResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcEndpointServicePermissionsResult): any => ({ ...obj, }); } /** - *

                                                                                    Provides authorization for Amazon to bring a specific IP address range to a specific - * account using bring your own IP addresses (BYOIP). For more information, see Configuring your BYOIP address range in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    The VPC peering connection options.

                                                                                    */ -export interface CidrAuthorizationContext { +export interface PeeringConnectionOptionsRequest { + /** + *

                                                                                    If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

                                                                                    + */ + AllowDnsResolutionFromRemoteVpc?: boolean; + /** - *

                                                                                    The plain-text authorization message for the prefix and account.

                                                                                    + *

                                                                                    If true, enables outbound communication from an EC2-Classic instance that's linked to + * a local VPC using ClassicLink to instances in a peer VPC.

                                                                                    */ - Message: string | undefined; + AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean; /** - *

                                                                                    The signed authorization message for the prefix and account.

                                                                                    + *

                                                                                    If true, enables outbound communication from instances in a local VPC to an + * EC2-Classic instance that's linked to a peer VPC using ClassicLink.

                                                                                    */ - Signature: string | undefined; + AllowEgressFromLocalVpcToRemoteClassicLink?: boolean; } -export namespace CidrAuthorizationContext { +export namespace PeeringConnectionOptionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CidrAuthorizationContext): any => ({ + export const filterSensitiveLog = (obj: PeeringConnectionOptionsRequest): any => ({ ...obj, }); } -export interface ProvisionByoipCidrRequest { +export interface ModifyVpcPeeringConnectionOptionsRequest { /** - *

                                                                                    The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can - * specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've - * brought to this or another Region.

                                                                                    + *

                                                                                    The VPC peering connection options for the accepter VPC.

                                                                                    */ - Cidr: string | undefined; + AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; /** - *

                                                                                    A signed document that proves that you are authorized to bring the specified IP address - * range to Amazon using BYOIP.

                                                                                    + *

                                                                                    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.

                                                                                    */ - CidrAuthorizationContext?: CidrAuthorizationContext; + DryRun?: boolean; /** - *

                                                                                    (IPv6 only) Indicate whether the address range will be publicly advertised to the - * internet.

                                                                                    - *

                                                                                    Default: true

                                                                                    + *

                                                                                    The VPC peering connection options for the requester VPC.

                                                                                    */ - PubliclyAdvertisable?: boolean; + RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; /** - *

                                                                                    A description for the address range and the address pool.

                                                                                    + *

                                                                                    The ID of the VPC peering connection.

                                                                                    */ - Description?: string; + VpcPeeringConnectionId: string | undefined; +} +export namespace ModifyVpcPeeringConnectionOptionsRequest { /** - *

                                                                                    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.

                                                                                    + * @internal */ - DryRun?: boolean; + export const filterSensitiveLog = (obj: ModifyVpcPeeringConnectionOptionsRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Describes the VPC peering connection options.

                                                                                    + */ +export interface PeeringConnectionOptions { + /** + *

                                                                                    If true, the public DNS hostnames of instances in the specified VPC resolve to private + * IP addresses when queried from instances in the peer VPC.

                                                                                    + */ + AllowDnsResolutionFromRemoteVpc?: boolean; /** - *

                                                                                    The tags to apply to the address pool.

                                                                                    + *

                                                                                    If true, enables outbound communication from an EC2-Classic instance that's linked to + * a local VPC using ClassicLink to instances in a peer VPC.

                                                                                    */ - PoolTagSpecifications?: TagSpecification[]; + AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean; /** - * Reserved. + *

                                                                                    If true, enables outbound communication from instances in a local VPC to an + * EC2-Classic instance that's linked to a peer VPC using ClassicLink.

                                                                                    */ - MultiRegion?: boolean; + AllowEgressFromLocalVpcToRemoteClassicLink?: boolean; } -export namespace ProvisionByoipCidrRequest { +export namespace PeeringConnectionOptions { /** * @internal */ - export const filterSensitiveLog = (obj: ProvisionByoipCidrRequest): any => ({ + export const filterSensitiveLog = (obj: PeeringConnectionOptions): any => ({ ...obj, }); } -export interface ProvisionByoipCidrResult { +export interface ModifyVpcPeeringConnectionOptionsResult { + /** + *

                                                                                    Information about the VPC peering connection options for the accepter VPC.

                                                                                    + */ + AccepterPeeringConnectionOptions?: PeeringConnectionOptions; + /** - *

                                                                                    Information about the address range.

                                                                                    + *

                                                                                    Information about the VPC peering connection options for the requester VPC.

                                                                                    */ - ByoipCidr?: ByoipCidr; + RequesterPeeringConnectionOptions?: PeeringConnectionOptions; } -export namespace ProvisionByoipCidrResult { +export namespace ModifyVpcPeeringConnectionOptionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: ProvisionByoipCidrResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcPeeringConnectionOptionsResult): any => ({ ...obj, }); } -export interface PurchaseHostReservationRequest { - /** - *

                                                                                    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                                    - */ - ClientToken?: string; +export type VpcTenancy = "default"; +export interface ModifyVpcTenancyRequest { /** - *

                                                                                    The currency in which the totalUpfrontPrice, LimitPrice, - * and totalHourlyPrice amounts are specified. At this time, the only - * supported currency is USD.

                                                                                    + *

                                                                                    The ID of the VPC.

                                                                                    */ - CurrencyCode?: CurrencyCodeValues | string; + VpcId: string | undefined; /** - *

                                                                                    The IDs of the Dedicated Hosts with which the reservation will be associated.

                                                                                    + *

                                                                                    The instance tenancy attribute for the VPC.

                                                                                    */ - HostIdSet: string[] | undefined; + InstanceTenancy: VpcTenancy | string | undefined; /** - *

                                                                                    The specified limit is checked against the total upfront cost of the reservation - * (calculated as the offering's upfront cost multiplied by the host count). If the total - * upfront cost is greater than the specified price limit, the request fails. This is used - * to ensure that the purchase does not exceed the expected upfront cost of the purchase. - * At this time, the only supported currency is USD. For example, to indicate - * a limit price of USD 100, specify 100.00.

                                                                                    + *

                                                                                    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.

                                                                                    */ - LimitPrice?: string; + DryRun?: boolean; +} +export namespace ModifyVpcTenancyRequest { /** - *

                                                                                    The ID of the offering.

                                                                                    + * @internal */ - OfferingId: string | undefined; + export const filterSensitiveLog = (obj: ModifyVpcTenancyRequest): any => ({ + ...obj, + }); +} +export interface ModifyVpcTenancyResult { /** - *

                                                                                    The tags to apply to the Dedicated Host Reservation during purchase.

                                                                                    + *

                                                                                    Returns true if the request succeeds; otherwise, returns an + * error.

                                                                                    */ - TagSpecifications?: TagSpecification[]; + ReturnValue?: boolean; } -export namespace PurchaseHostReservationRequest { +export namespace ModifyVpcTenancyResult { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseHostReservationRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpcTenancyResult): any => ({ ...obj, }); } -export interface PurchaseHostReservationResult { +export interface ModifyVpnConnectionRequest { /** - *

                                                                                    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                                    + *

                                                                                    The ID of the VPN connection.

                                                                                    */ - ClientToken?: string; + VpnConnectionId: string | undefined; /** - *

                                                                                    The currency in which the totalUpfrontPrice and - * totalHourlyPrice amounts are specified. At this time, the only - * supported currency is USD.

                                                                                    + *

                                                                                    The ID of the transit gateway.

                                                                                    */ - CurrencyCode?: CurrencyCodeValues | string; + TransitGatewayId?: string; /** - *

                                                                                    Describes the details of the purchase.

                                                                                    + *

                                                                                    The ID of the customer gateway at your end of the VPN connection.

                                                                                    */ - Purchase?: Purchase[]; + CustomerGatewayId?: string; /** - *

                                                                                    The total hourly price of the reservation calculated per hour.

                                                                                    + *

                                                                                    The ID of the virtual private gateway at the AWS side of the VPN connection.

                                                                                    */ - TotalHourlyPrice?: string; + VpnGatewayId?: string; /** - *

                                                                                    The total amount charged to your account when you purchase the reservation.

                                                                                    + *

                                                                                    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.

                                                                                    */ - TotalUpfrontPrice?: string; + DryRun?: boolean; } -export namespace PurchaseHostReservationResult { +export namespace ModifyVpnConnectionRequest { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseHostReservationResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnConnectionRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the limit price of a Reserved Instance offering.

                                                                                    - */ -export interface ReservedInstanceLimitPrice { - /** - *

                                                                                    Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

                                                                                    - */ - Amount?: number; - +export interface ModifyVpnConnectionResult { /** - *

                                                                                    The currency in which the limitPrice amount is specified. - * At this time, the only supported currency is USD.

                                                                                    + *

                                                                                    Describes a VPN connection.

                                                                                    */ - CurrencyCode?: CurrencyCodeValues | string; + VpnConnection?: VpnConnection; } -export namespace ReservedInstanceLimitPrice { +export namespace ModifyVpnConnectionResult { /** * @internal */ - export const filterSensitiveLog = (obj: ReservedInstanceLimitPrice): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnConnectionResult): any => ({ ...obj, }); } -/** - *

                                                                                    Contains the parameters for PurchaseReservedInstancesOffering.

                                                                                    - */ -export interface PurchaseReservedInstancesOfferingRequest { - /** - *

                                                                                    The number of Reserved Instances to purchase.

                                                                                    - */ - InstanceCount: number | undefined; - +export interface ModifyVpnConnectionOptionsRequest { /** - *

                                                                                    The ID of the Reserved Instance offering to purchase.

                                                                                    + *

                                                                                    The ID of the Site-to-Site VPN connection. + *

                                                                                    */ - ReservedInstancesOfferingId: string | undefined; + VpnConnectionId: string | undefined; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

                                                                                    + *

                                                                                    Default: 0.0.0.0/0 + *

                                                                                    */ - DryRun?: boolean; + LocalIpv4NetworkCidr?: string; /** - *

                                                                                    Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

                                                                                    + *

                                                                                    The IPv4 CIDR on the AWS side of the VPN connection.

                                                                                    + *

                                                                                    Default: 0.0.0.0/0 + *

                                                                                    */ - LimitPrice?: ReservedInstanceLimitPrice; + RemoteIpv4NetworkCidr?: string; /** - *

                                                                                    The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

                                                                                    + *

                                                                                    The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

                                                                                    + *

                                                                                    Default: ::/0 + *

                                                                                    */ - PurchaseTime?: Date; -} + LocalIpv6NetworkCidr?: string; -export namespace PurchaseReservedInstancesOfferingRequest { /** - * @internal + *

                                                                                    The IPv6 CIDR on the AWS side of the VPN connection.

                                                                                    + *

                                                                                    Default: ::/0 + *

                                                                                    */ - export const filterSensitiveLog = (obj: PurchaseReservedInstancesOfferingRequest): any => ({ - ...obj, - }); -} + RemoteIpv6NetworkCidr?: string; -/** - *

                                                                                    Contains the output of PurchaseReservedInstancesOffering.

                                                                                    - */ -export interface PurchaseReservedInstancesOfferingResult { /** - *

                                                                                    The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted - * pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing - * pricing tiers in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    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.

                                                                                    */ - ReservedInstancesId?: string; + DryRun?: boolean; } -export namespace PurchaseReservedInstancesOfferingResult { +export namespace ModifyVpnConnectionOptionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseReservedInstancesOfferingResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnConnectionOptionsRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Describes a request to purchase Scheduled Instances.

                                                                                    - */ -export interface PurchaseRequest { - /** - *

                                                                                    The number of instances.

                                                                                    - */ - InstanceCount: number | undefined; - +export interface ModifyVpnConnectionOptionsResult { /** - *

                                                                                    The purchase token.

                                                                                    + *

                                                                                    Describes a VPN connection.

                                                                                    */ - PurchaseToken: string | undefined; + VpnConnection?: VpnConnection; } -export namespace PurchaseRequest { +export namespace ModifyVpnConnectionOptionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnConnectionOptionsResult): any => ({ ...obj, }); } -/** - *

                                                                                    Contains the parameters for PurchaseScheduledInstances.

                                                                                    - */ -export interface PurchaseScheduledInstancesRequest { +export interface ModifyVpnTunnelCertificateRequest { + /** + *

                                                                                    The ID of the AWS Site-to-Site VPN connection.

                                                                                    + */ + VpnConnectionId: string | undefined; + /** - *

                                                                                    Unique, case-sensitive identifier that ensures the idempotency of the request. - * For more information, see Ensuring Idempotency.

                                                                                    + *

                                                                                    The external IP address of the VPN tunnel.

                                                                                    */ - ClientToken?: string; + VpnTunnelOutsideIpAddress: string | undefined; /** *

                                                                                    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.

                                                                                    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

                                                                                    */ DryRun?: boolean; - - /** - *

                                                                                    The purchase requests.

                                                                                    - */ - PurchaseRequests: PurchaseRequest[] | undefined; } -export namespace PurchaseScheduledInstancesRequest { +export namespace ModifyVpnTunnelCertificateRequest { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseScheduledInstancesRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnTunnelCertificateRequest): any => ({ ...obj, }); } -/** - *

                                                                                    Contains the output of PurchaseScheduledInstances.

                                                                                    - */ -export interface PurchaseScheduledInstancesResult { +export interface ModifyVpnTunnelCertificateResult { /** - *

                                                                                    Information about the Scheduled Instances.

                                                                                    + *

                                                                                    Describes a VPN connection.

                                                                                    */ - ScheduledInstanceSet?: ScheduledInstance[]; + VpnConnection?: VpnConnection; } -export namespace PurchaseScheduledInstancesResult { +export namespace ModifyVpnTunnelCertificateResult { /** * @internal */ - export const filterSensitiveLog = (obj: PurchaseScheduledInstancesResult): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnTunnelCertificateResult): any => ({ ...obj, }); } -export interface RebootInstancesRequest { +/** + *

                                                                                    The AWS Site-to-Site VPN tunnel options to modify.

                                                                                    + */ +export interface ModifyVpnTunnelOptionsSpecification { + /** + *

                                                                                    The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks must be unique + * across all VPN connections that use the same virtual private gateway.

                                                                                    + *

                                                                                    Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The + * following CIDR blocks are reserved and cannot be used:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      + * 169.254.0.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.1.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.2.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.3.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.4.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.5.0/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      + * 169.254.169.252/30 + *

                                                                                      + *
                                                                                    • + *
                                                                                    + */ + TunnelInsideCidr?: string; + /** - *

                                                                                    The instance IDs.

                                                                                    + *

                                                                                    The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.

                                                                                    + *

                                                                                    Constraints: A size /126 CIDR block from the local fd00::/8 range.

                                                                                    */ - InstanceIds: string[] | undefined; + TunnelInsideIpv6Cidr?: string; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The pre-shared key (PSK) to establish initial authentication between the virtual + * private gateway and the customer gateway.

                                                                                    + *

                                                                                    Constraints: Allowed characters are alphanumeric characters, periods (.), and + * underscores (_). Must be between 8 and 64 characters in length and cannot start with + * zero (0).

                                                                                    */ - DryRun?: boolean; -} + PreSharedKey?: string; -export namespace RebootInstancesRequest { /** - * @internal + *

                                                                                    The lifetime for phase 1 of the IKE negotiation, in seconds.

                                                                                    + *

                                                                                    Constraints: A value between 900 and 28,800.

                                                                                    + *

                                                                                    Default: 28800 + *

                                                                                    */ - export const filterSensitiveLog = (obj: RebootInstancesRequest): any => ({ - ...obj, - }); -} + Phase1LifetimeSeconds?: number; -/** - *

                                                                                    Contains the parameters for RegisterImage.

                                                                                    - */ -export interface RegisterImageRequest { /** - *

                                                                                    The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the - * aws-exec-read canned access control list (ACL) to ensure that it can be accessed - * by Amazon EC2. For more information, see Canned ACLs in the - * Amazon S3 Service Developer Guide.

                                                                                    + *

                                                                                    The lifetime for phase 2 of the IKE negotiation, in seconds.

                                                                                    + *

                                                                                    Constraints: A value between 900 and 3,600. The value must be less than the value for Phase1LifetimeSeconds.

                                                                                    + *

                                                                                    Default: 3600 + *

                                                                                    */ - ImageLocation?: string; + Phase2LifetimeSeconds?: number; /** - *

                                                                                    The architecture of the AMI.

                                                                                    - *

                                                                                    Default: For Amazon EBS-backed AMIs, i386. - * For instance store-backed AMIs, the architecture specified in the manifest file.

                                                                                    + *

                                                                                    The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for RekeyFuzzPercentage.

                                                                                    + *

                                                                                    Constraints: A value between 60 and half of Phase2LifetimeSeconds.

                                                                                    + *

                                                                                    Default: 540 + *

                                                                                    */ - Architecture?: ArchitectureValues | string; + RekeyMarginTimeSeconds?: number; /** - *

                                                                                    The block device mapping entries.

                                                                                    - *

                                                                                    If you specify an EBS volume using the ID of an EBS snapshot, you can't specify the encryption state of the volume.

                                                                                    - *

                                                                                    If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost or in the Region - * of that Outpost. AMIs on an Outpost that include local snapshots can be used to launch instances on the same Outpost - * only. For more information, - * Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    The percentage of the rekey window (determined by RekeyMarginTimeSeconds) during which the rekey time is randomly selected.

                                                                                    + *

                                                                                    Constraints: A value between 0 and 100.

                                                                                    + *

                                                                                    Default: 100 + *

                                                                                    */ - BlockDeviceMappings?: BlockDeviceMapping[]; + RekeyFuzzPercentage?: number; /** - *

                                                                                    A description for your AMI.

                                                                                    + *

                                                                                    The number of packets in an IKE replay window.

                                                                                    + *

                                                                                    Constraints: A value between 64 and 2048.

                                                                                    + *

                                                                                    Default: 1024 + *

                                                                                    */ - Description?: string; + ReplayWindowSize?: number; /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The number of seconds after which a DPD timeout occurs.

                                                                                    + *

                                                                                    Constraints: A value between 0 and 30.

                                                                                    + *

                                                                                    Default: 30 + *

                                                                                    */ - DryRun?: boolean; + DPDTimeoutSeconds?: number; /** - *

                                                                                    Set to true to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.

                                                                                    - *

                                                                                    This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.

                                                                                    + *

                                                                                    The action to take after DPD timeout occurs. Specify restart to restart the IKE initiation. Specify clear to end the IKE session.

                                                                                    + *

                                                                                    Valid Values: clear | none | restart + *

                                                                                    + *

                                                                                    Default: clear + *

                                                                                    */ - EnaSupport?: boolean; + DPDTimeoutAction?: string; /** - *

                                                                                    The ID of the kernel.

                                                                                    + *

                                                                                    One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 + *

                                                                                    */ - KernelId?: string; + Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[]; /** - *

                                                                                    A name for your AMI.

                                                                                    - *

                                                                                    Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)

                                                                                    + *

                                                                                    One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 + *

                                                                                    */ - Name: string | undefined; + Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[]; /** - *

                                                                                    The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, - * you can use the AWS Marketplace to bill for the use of an AMI.

                                                                                    + *

                                                                                    One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 + *

                                                                                    */ - BillingProducts?: string[]; + Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[]; /** - *

                                                                                    The ID of the RAM disk.

                                                                                    + *

                                                                                    One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 + *

                                                                                    */ - RamdiskId?: string; + Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[]; /** - *

                                                                                    The device name of the root device volume (for example, /dev/sda1).

                                                                                    + *

                                                                                    One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 + *

                                                                                    */ - RootDeviceName?: string; + Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[]; /** - *

                                                                                    Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.

                                                                                    - *

                                                                                    There is no way to disable sriovNetSupport at this time.

                                                                                    - *

                                                                                    This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.

                                                                                    + *

                                                                                    One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.

                                                                                    + *

                                                                                    Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 + *

                                                                                    */ - SriovNetSupport?: string; + Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[]; /** - *

                                                                                    The type of virtualization (hvm | paravirtual).

                                                                                    - *

                                                                                    Default: paravirtual + *

                                                                                    The IKE versions that are permitted for the VPN tunnel.

                                                                                    + *

                                                                                    Valid values: ikev1 | ikev2 *

                                                                                    */ - VirtualizationType?: string; + IKEVersions?: IKEVersionsRequestListValue[]; /** - *

                                                                                    The boot mode of the AMI. For more information, see Boot modes in the - * Amazon Elastic Compute Cloud User Guide.

                                                                                    + *

                                                                                    The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation.

                                                                                    + *

                                                                                    Valid Values: add | start + *

                                                                                    + *

                                                                                    Default: add + *

                                                                                    */ - BootMode?: BootModeValues | string; + StartupAction?: string; } -export namespace RegisterImageRequest { +export namespace ModifyVpnTunnelOptionsSpecification { /** * @internal */ - export const filterSensitiveLog = (obj: RegisterImageRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsSpecification): any => ({ ...obj, }); } -/** - *

                                                                                    Contains the output of RegisterImage.

                                                                                    - */ -export interface RegisterImageResult { +export interface ModifyVpnTunnelOptionsRequest { /** - *

                                                                                    The ID of the newly registered AMI.

                                                                                    + *

                                                                                    The ID of the AWS Site-to-Site VPN connection.

                                                                                    */ - ImageId?: string; -} + VpnConnectionId: string | undefined; -export namespace RegisterImageResult { /** - * @internal + *

                                                                                    The external IP address of the VPN tunnel.

                                                                                    */ - export const filterSensitiveLog = (obj: RegisterImageResult): any => ({ - ...obj, - }); -} + VpnTunnelOutsideIpAddress: string | undefined; -/** - *

                                                                                    Information about the tag keys to register for the current Region. You can either specify - * individual tag keys or register all tag keys in the current Region. You must specify either - * IncludeAllTagsOfInstance or InstanceTagKeys in the request

                                                                                    - */ -export interface RegisterInstanceTagAttributeRequest { /** - *

                                                                                    Indicates whether to register all tag keys in the current Region. Specify true - * to register all tag keys.

                                                                                    + *

                                                                                    The tunnel options to modify.

                                                                                    */ - IncludeAllTagsOfInstance?: boolean; + TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined; /** - *

                                                                                    The tag keys to register.

                                                                                    + *

                                                                                    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.

                                                                                    */ - InstanceTagKeys?: string[]; + DryRun?: boolean; } -export namespace RegisterInstanceTagAttributeRequest { +export namespace ModifyVpnTunnelOptionsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: RegisterInstanceTagAttributeRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsRequest): any => ({ ...obj, }); } -export interface RegisterInstanceEventNotificationAttributesRequest { - /** - *

                                                                                    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; - +export interface ModifyVpnTunnelOptionsResult { /** - *

                                                                                    Information about the tag keys to register.

                                                                                    + *

                                                                                    Describes a VPN connection.

                                                                                    */ - InstanceTagAttribute?: RegisterInstanceTagAttributeRequest; + VpnConnection?: VpnConnection; } -export namespace RegisterInstanceEventNotificationAttributesRequest { +export namespace ModifyVpnTunnelOptionsResult { /** * @internal */ - export const filterSensitiveLog = (obj: RegisterInstanceEventNotificationAttributesRequest): any => ({ + export const filterSensitiveLog = (obj: ModifyVpnTunnelOptionsResult): any => ({ ...obj, }); } -export interface RegisterInstanceEventNotificationAttributesResult { +export interface MonitorInstancesRequest { + /** + *

                                                                                    The IDs of the instances.

                                                                                    + */ + InstanceIds: string[] | undefined; + /** - *

                                                                                    The resulting set of tag keys.

                                                                                    + *

                                                                                    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.

                                                                                    */ - InstanceTagAttribute?: InstanceTagNotificationAttribute; + DryRun?: boolean; } -export namespace RegisterInstanceEventNotificationAttributesResult { +export namespace MonitorInstancesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: RegisterInstanceEventNotificationAttributesResult): any => ({ + export const filterSensitiveLog = (obj: MonitorInstancesRequest): any => ({ ...obj, }); } -export interface RegisterTransitGatewayMulticastGroupMembersRequest { +/** + *

                                                                                    Describes the monitoring of an instance.

                                                                                    + */ +export interface InstanceMonitoring { /** - *

                                                                                    The ID of the transit gateway multicast domain.

                                                                                    + *

                                                                                    The ID of the instance.

                                                                                    */ - TransitGatewayMulticastDomainId?: string; + InstanceId?: string; /** - *

                                                                                    The IP address assigned to the transit gateway multicast group.

                                                                                    + *

                                                                                    The monitoring for the instance.

                                                                                    */ - GroupIpAddress?: string; + Monitoring?: Monitoring; +} +export namespace InstanceMonitoring { /** - *

                                                                                    The group members' network interface IDs to register with the transit gateway multicast group.

                                                                                    + * @internal */ - NetworkInterfaceIds?: string[]; + export const filterSensitiveLog = (obj: InstanceMonitoring): any => ({ + ...obj, + }); +} +export interface MonitorInstancesResult { /** - *

                                                                                    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.

                                                                                    + *

                                                                                    The monitoring information.

                                                                                    */ - DryRun?: boolean; + InstanceMonitorings?: InstanceMonitoring[]; } -export namespace RegisterTransitGatewayMulticastGroupMembersRequest { +export namespace MonitorInstancesResult { /** * @internal */ - export const filterSensitiveLog = (obj: RegisterTransitGatewayMulticastGroupMembersRequest): any => ({ + export const filterSensitiveLog = (obj: MonitorInstancesResult): any => ({ ...obj, }); } -/** - *

                                                                                    Describes the registered transit gateway multicast group members.

                                                                                    - */ -export interface TransitGatewayMulticastRegisteredGroupMembers { - /** - *

                                                                                    The ID of the transit gateway multicast domain.

                                                                                    - */ - TransitGatewayMulticastDomainId?: string; - +export interface MoveAddressToVpcRequest { /** - *

                                                                                    The ID of the registered network interfaces.

                                                                                    + *

                                                                                    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.

                                                                                    */ - RegisteredNetworkInterfaceIds?: string[]; + DryRun?: boolean; /** - *

                                                                                    The IP address assigned to the transit gateway multicast group.

                                                                                    + *

                                                                                    The Elastic IP address.

                                                                                    */ - GroupIpAddress?: string; + PublicIp: string | undefined; } -export namespace TransitGatewayMulticastRegisteredGroupMembers { +export namespace MoveAddressToVpcRequest { /** * @internal */ - export const filterSensitiveLog = (obj: TransitGatewayMulticastRegisteredGroupMembers): any => ({ + export const filterSensitiveLog = (obj: MoveAddressToVpcRequest): any => ({ ...obj, }); } diff --git a/clients/client-ec2/models/models_5.ts b/clients/client-ec2/models/models_5.ts index a945e1e05aca9..1de07fed6abc4 100644 --- a/clients/client-ec2/models/models_5.ts +++ b/clients/client-ec2/models/models_5.ts @@ -4,8 +4,7 @@ import { BlockDeviceMapping, ByoipCidr, ClientVpnAuthorizationRuleStatus, - CreditSpecificationRequest, - ElasticGpuSpecification, + CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, @@ -20,6 +19,8 @@ import { _InstanceType, } from "./models_0"; import { + CreditSpecificationRequest, + ElasticGpuSpecification, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, @@ -33,28 +34,670 @@ import { TransitGatewayRoute, } from "./models_1"; import { + ArchitectureValues, + BootModeValues, ClientVpnConnectionStatus, Filter, HttpTokensState, InstanceAttributeName, InstanceMetadataEndpointState, - InstanceState, + InstanceTagNotificationAttribute, } from "./models_2"; import { InstanceNetworkInterfaceSpecification, + InstanceState, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, + ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, } from "./models_3"; -import { - CapacityReservationSpecification, - InstanceMonitoring, - Status, - TransitGatewayMulticastRegisteredGroupMembers, -} from "./models_4"; +import { CapacityReservationSpecification, InstanceMonitoring, Purchase } from "./models_4"; + +export enum Status { + inClassic = "InClassic", + inVpc = "InVpc", + moveInProgress = "MoveInProgress", +} + +export interface MoveAddressToVpcResult { + /** + *

                                                                                    The allocation ID for the Elastic IP address.

                                                                                    + */ + AllocationId?: string; + + /** + *

                                                                                    The status of the move of the IP address.

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

                                                                                    Provides authorization for Amazon to bring a specific IP address range to a specific + * account using bring your own IP addresses (BYOIP). For more information, see Configuring your BYOIP address range in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + */ +export interface CidrAuthorizationContext { + /** + *

                                                                                    The plain-text authorization message for the prefix and account.

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

                                                                                    The signed authorization message for the prefix and account.

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

                                                                                    The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can + * specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've + * brought to this or another Region.

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

                                                                                    A signed document that proves that you are authorized to bring the specified IP address + * range to Amazon using BYOIP.

                                                                                    + */ + CidrAuthorizationContext?: CidrAuthorizationContext; + + /** + *

                                                                                    (IPv6 only) Indicate whether the address range will be publicly advertised to the + * internet.

                                                                                    + *

                                                                                    Default: true

                                                                                    + */ + PubliclyAdvertisable?: boolean; + + /** + *

                                                                                    A description for the address range and the address pool.

                                                                                    + */ + Description?: string; + + /** + *

                                                                                    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; + + /** + *

                                                                                    The tags to apply to the address pool.

                                                                                    + */ + PoolTagSpecifications?: TagSpecification[]; + + /** + * Reserved. + */ + MultiRegion?: boolean; +} + +export namespace ProvisionByoipCidrRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ProvisionByoipCidrRequest): any => ({ + ...obj, + }); +} + +export interface ProvisionByoipCidrResult { + /** + *

                                                                                    Information about the address range.

                                                                                    + */ + ByoipCidr?: ByoipCidr; +} + +export namespace ProvisionByoipCidrResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ProvisionByoipCidrResult): any => ({ + ...obj, + }); +} + +export interface PurchaseHostReservationRequest { + /** + *

                                                                                    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                                    + */ + ClientToken?: string; + + /** + *

                                                                                    The currency in which the totalUpfrontPrice, LimitPrice, + * and totalHourlyPrice amounts are specified. At this time, the only + * supported currency is USD.

                                                                                    + */ + CurrencyCode?: CurrencyCodeValues | string; + + /** + *

                                                                                    The IDs of the Dedicated Hosts with which the reservation will be associated.

                                                                                    + */ + HostIdSet: string[] | undefined; + + /** + *

                                                                                    The specified limit is checked against the total upfront cost of the reservation + * (calculated as the offering's upfront cost multiplied by the host count). If the total + * upfront cost is greater than the specified price limit, the request fails. This is used + * to ensure that the purchase does not exceed the expected upfront cost of the purchase. + * At this time, the only supported currency is USD. For example, to indicate + * a limit price of USD 100, specify 100.00.

                                                                                    + */ + LimitPrice?: string; + + /** + *

                                                                                    The ID of the offering.

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

                                                                                    The tags to apply to the Dedicated Host Reservation during purchase.

                                                                                    + */ + TagSpecifications?: TagSpecification[]; +} + +export namespace PurchaseHostReservationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PurchaseHostReservationRequest): any => ({ + ...obj, + }); +} + +export interface PurchaseHostReservationResult { + /** + *

                                                                                    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                                    + */ + ClientToken?: string; + + /** + *

                                                                                    The currency in which the totalUpfrontPrice and + * totalHourlyPrice amounts are specified. At this time, the only + * supported currency is USD.

                                                                                    + */ + CurrencyCode?: CurrencyCodeValues | string; + + /** + *

                                                                                    Describes the details of the purchase.

                                                                                    + */ + Purchase?: Purchase[]; + + /** + *

                                                                                    The total hourly price of the reservation calculated per hour.

                                                                                    + */ + TotalHourlyPrice?: string; + + /** + *

                                                                                    The total amount charged to your account when you purchase the reservation.

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

                                                                                    Describes the limit price of a Reserved Instance offering.

                                                                                    + */ +export interface ReservedInstanceLimitPrice { + /** + *

                                                                                    Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

                                                                                    + */ + Amount?: number; + + /** + *

                                                                                    The currency in which the limitPrice amount is specified. + * At this time, the only supported currency is USD.

                                                                                    + */ + CurrencyCode?: CurrencyCodeValues | string; +} + +export namespace ReservedInstanceLimitPrice { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ReservedInstanceLimitPrice): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Contains the parameters for PurchaseReservedInstancesOffering.

                                                                                    + */ +export interface PurchaseReservedInstancesOfferingRequest { + /** + *

                                                                                    The number of Reserved Instances to purchase.

                                                                                    + */ + InstanceCount: number | undefined; + + /** + *

                                                                                    The ID of the Reserved Instance offering to purchase.

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

                                                                                    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; + + /** + *

                                                                                    Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

                                                                                    + */ + LimitPrice?: ReservedInstanceLimitPrice; + + /** + *

                                                                                    The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

                                                                                    + */ + PurchaseTime?: Date; +} + +export namespace PurchaseReservedInstancesOfferingRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PurchaseReservedInstancesOfferingRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Contains the output of PurchaseReservedInstancesOffering.

                                                                                    + */ +export interface PurchaseReservedInstancesOfferingResult { + /** + *

                                                                                    The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted + * pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing + * pricing tiers in the Amazon Elastic Compute Cloud User Guide.

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

                                                                                    Describes a request to purchase Scheduled Instances.

                                                                                    + */ +export interface PurchaseRequest { + /** + *

                                                                                    The number of instances.

                                                                                    + */ + InstanceCount: number | undefined; + + /** + *

                                                                                    The purchase token.

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

                                                                                    Contains the parameters for PurchaseScheduledInstances.

                                                                                    + */ +export interface PurchaseScheduledInstancesRequest { + /** + *

                                                                                    Unique, case-sensitive identifier that ensures the idempotency of the request. + * For more information, see Ensuring Idempotency.

                                                                                    + */ + ClientToken?: string; + + /** + *

                                                                                    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; + + /** + *

                                                                                    The purchase requests.

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

                                                                                    Contains the output of PurchaseScheduledInstances.

                                                                                    + */ +export interface PurchaseScheduledInstancesResult { + /** + *

                                                                                    Information about the Scheduled Instances.

                                                                                    + */ + ScheduledInstanceSet?: ScheduledInstance[]; +} + +export namespace PurchaseScheduledInstancesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PurchaseScheduledInstancesResult): any => ({ + ...obj, + }); +} + +export interface RebootInstancesRequest { + /** + *

                                                                                    The instance IDs.

                                                                                    + */ + InstanceIds: string[] | undefined; + + /** + *

                                                                                    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; +} + +export namespace RebootInstancesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RebootInstancesRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Contains the parameters for RegisterImage.

                                                                                    + */ +export interface RegisterImageRequest { + /** + *

                                                                                    The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the + * aws-exec-read canned access control list (ACL) to ensure that it can be accessed + * by Amazon EC2. For more information, see Canned ACLs in the + * Amazon S3 Service Developer Guide.

                                                                                    + */ + ImageLocation?: string; + + /** + *

                                                                                    The architecture of the AMI.

                                                                                    + *

                                                                                    Default: For Amazon EBS-backed AMIs, i386. + * For instance store-backed AMIs, the architecture specified in the manifest file.

                                                                                    + */ + Architecture?: ArchitectureValues | string; + + /** + *

                                                                                    The block device mapping entries.

                                                                                    + *

                                                                                    If you specify an EBS volume using the ID of an EBS snapshot, you can't specify the encryption state of the volume.

                                                                                    + *

                                                                                    If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost or in the Region + * of that Outpost. AMIs on an Outpost that include local snapshots can be used to launch instances on the same Outpost + * only. For more information, + * Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

                                                                                    + */ + BlockDeviceMappings?: BlockDeviceMapping[]; + + /** + *

                                                                                    A description for your AMI.

                                                                                    + */ + Description?: string; + + /** + *

                                                                                    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; + + /** + *

                                                                                    Set to true to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.

                                                                                    + *

                                                                                    This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.

                                                                                    + */ + EnaSupport?: boolean; + + /** + *

                                                                                    The ID of the kernel.

                                                                                    + */ + KernelId?: string; + + /** + *

                                                                                    A name for your AMI.

                                                                                    + *

                                                                                    Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)

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

                                                                                    The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, + * you can use the AWS Marketplace to bill for the use of an AMI.

                                                                                    + */ + BillingProducts?: string[]; + + /** + *

                                                                                    The ID of the RAM disk.

                                                                                    + */ + RamdiskId?: string; + + /** + *

                                                                                    The device name of the root device volume (for example, /dev/sda1).

                                                                                    + */ + RootDeviceName?: string; + + /** + *

                                                                                    Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.

                                                                                    + *

                                                                                    There is no way to disable sriovNetSupport at this time.

                                                                                    + *

                                                                                    This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.

                                                                                    + */ + SriovNetSupport?: string; + + /** + *

                                                                                    The type of virtualization (hvm | paravirtual).

                                                                                    + *

                                                                                    Default: paravirtual + *

                                                                                    + */ + VirtualizationType?: string; + + /** + *

                                                                                    The boot mode of the AMI. For more information, see Boot modes in the + * Amazon Elastic Compute Cloud User Guide.

                                                                                    + */ + BootMode?: BootModeValues | string; +} + +export namespace RegisterImageRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterImageRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Contains the output of RegisterImage.

                                                                                    + */ +export interface RegisterImageResult { + /** + *

                                                                                    The ID of the newly registered AMI.

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

                                                                                    Information about the tag keys to register for the current Region. You can either specify + * individual tag keys or register all tag keys in the current Region. You must specify either + * IncludeAllTagsOfInstance or InstanceTagKeys in the request

                                                                                    + */ +export interface RegisterInstanceTagAttributeRequest { + /** + *

                                                                                    Indicates whether to register all tag keys in the current Region. Specify true + * to register all tag keys.

                                                                                    + */ + IncludeAllTagsOfInstance?: boolean; + + /** + *

                                                                                    The tag keys to register.

                                                                                    + */ + InstanceTagKeys?: string[]; +} + +export namespace RegisterInstanceTagAttributeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterInstanceTagAttributeRequest): any => ({ + ...obj, + }); +} + +export interface RegisterInstanceEventNotificationAttributesRequest { + /** + *

                                                                                    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; + + /** + *

                                                                                    Information about the tag keys to register.

                                                                                    + */ + InstanceTagAttribute?: RegisterInstanceTagAttributeRequest; +} + +export namespace RegisterInstanceEventNotificationAttributesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterInstanceEventNotificationAttributesRequest): any => ({ + ...obj, + }); +} + +export interface RegisterInstanceEventNotificationAttributesResult { + /** + *

                                                                                    The resulting set of tag keys.

                                                                                    + */ + InstanceTagAttribute?: InstanceTagNotificationAttribute; +} + +export namespace RegisterInstanceEventNotificationAttributesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterInstanceEventNotificationAttributesResult): any => ({ + ...obj, + }); +} + +export interface RegisterTransitGatewayMulticastGroupMembersRequest { + /** + *

                                                                                    The ID of the transit gateway multicast domain.

                                                                                    + */ + TransitGatewayMulticastDomainId?: string; + + /** + *

                                                                                    The IP address assigned to the transit gateway multicast group.

                                                                                    + */ + GroupIpAddress?: string; + + /** + *

                                                                                    The group members' network interface IDs to register with the transit gateway multicast group.

                                                                                    + */ + NetworkInterfaceIds?: string[]; + + /** + *

                                                                                    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; +} + +export namespace RegisterTransitGatewayMulticastGroupMembersRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterTransitGatewayMulticastGroupMembersRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Describes the registered transit gateway multicast group members.

                                                                                    + */ +export interface TransitGatewayMulticastRegisteredGroupMembers { + /** + *

                                                                                    The ID of the transit gateway multicast domain.

                                                                                    + */ + TransitGatewayMulticastDomainId?: string; + + /** + *

                                                                                    The ID of the registered network interfaces.

                                                                                    + */ + RegisteredNetworkInterfaceIds?: string[]; + + /** + *

                                                                                    The IP address assigned to the transit gateway multicast group.

                                                                                    + */ + GroupIpAddress?: string; +} + +export namespace TransitGatewayMulticastRegisteredGroupMembers { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TransitGatewayMulticastRegisteredGroupMembers): any => ({ + ...obj, + }); +} export interface RegisterTransitGatewayMulticastGroupMembersResult { /** @@ -1889,16 +2532,7 @@ export interface SpotMarketOptions { SpotInstanceType?: SpotInstanceType | string; /** - *

                                                                                    The required duration for the Spot Instances (also known as Spot blocks), in minutes. - * This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

                                                                                    - *

                                                                                    The duration period starts as soon as your Spot Instance receives its instance ID. At - * the end of the duration period, Amazon EC2 marks the Spot Instance for termination and - * provides a Spot Instance termination notice, which gives the instance a two-minute - * warning before it terminates.

                                                                                    - *

                                                                                    You can't specify an Availability Zone group or a launch group if you specify a - * duration.

                                                                                    - *

                                                                                    New accounts or accounts with no previous billing history with Amazon Web Services are not eligible - * for Spot Instances with a defined duration (also known as Spot blocks).

                                                                                    + *

                                                                                    Deprecated.

                                                                                    */ BlockDurationMinutes?: number; diff --git a/clients/client-ec2/pagination/DescribeInstanceEventWindowsPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceEventWindowsPaginator.ts new file mode 100644 index 0000000000000..7bff29e147d88 --- /dev/null +++ b/clients/client-ec2/pagination/DescribeInstanceEventWindowsPaginator.ts @@ -0,0 +1,58 @@ +import { EC2 } from "../EC2"; +import { EC2Client } from "../EC2Client"; +import { + DescribeInstanceEventWindowsCommand, + DescribeInstanceEventWindowsCommandInput, + DescribeInstanceEventWindowsCommandOutput, +} from "../commands/DescribeInstanceEventWindowsCommand"; +import { EC2PaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: EC2Client, + input: DescribeInstanceEventWindowsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new DescribeInstanceEventWindowsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: EC2, + input: DescribeInstanceEventWindowsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.describeInstanceEventWindows(input, ...args); +}; +export async function* paginateDescribeInstanceEventWindows( + config: EC2PaginationConfiguration, + input: DescribeInstanceEventWindowsCommandInput, + ...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: DescribeInstanceEventWindowsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof EC2) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof EC2Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected EC2 | EC2Client"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-ec2/protocols/Aws_ec2.ts b/clients/client-ec2/protocols/Aws_ec2.ts index d67801c3706ea..b91d8a090a80d 100644 --- a/clients/client-ec2/protocols/Aws_ec2.ts +++ b/clients/client-ec2/protocols/Aws_ec2.ts @@ -54,6 +54,10 @@ import { AssociateIamInstanceProfileCommandInput, AssociateIamInstanceProfileCommandOutput, } from "../commands/AssociateIamInstanceProfileCommand"; +import { + AssociateInstanceEventWindowCommandInput, + AssociateInstanceEventWindowCommandOutput, +} from "../commands/AssociateInstanceEventWindowCommand"; import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput, @@ -169,6 +173,10 @@ import { CreateFleetCommandInput, CreateFleetCommandOutput } from "../commands/C import { CreateFlowLogsCommandInput, CreateFlowLogsCommandOutput } from "../commands/CreateFlowLogsCommand"; import { CreateFpgaImageCommandInput, CreateFpgaImageCommandOutput } from "../commands/CreateFpgaImageCommand"; import { CreateImageCommandInput, CreateImageCommandOutput } from "../commands/CreateImageCommand"; +import { + CreateInstanceEventWindowCommandInput, + CreateInstanceEventWindowCommandOutput, +} from "../commands/CreateInstanceEventWindowCommand"; import { CreateInstanceExportTaskCommandInput, CreateInstanceExportTaskCommandOutput, @@ -350,6 +358,10 @@ import { import { DeleteFleetsCommandInput, DeleteFleetsCommandOutput } from "../commands/DeleteFleetsCommand"; import { DeleteFlowLogsCommandInput, DeleteFlowLogsCommandOutput } from "../commands/DeleteFlowLogsCommand"; import { DeleteFpgaImageCommandInput, DeleteFpgaImageCommandOutput } from "../commands/DeleteFpgaImageCommand"; +import { + DeleteInstanceEventWindowCommandInput, + DeleteInstanceEventWindowCommandOutput, +} from "../commands/DeleteInstanceEventWindowCommand"; import { DeleteInternetGatewayCommandInput, DeleteInternetGatewayCommandOutput, @@ -656,6 +668,10 @@ import { DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstanceEventNotificationAttributesCommandOutput, } from "../commands/DescribeInstanceEventNotificationAttributesCommand"; +import { + DescribeInstanceEventWindowsCommandInput, + DescribeInstanceEventWindowsCommandOutput, +} from "../commands/DescribeInstanceEventWindowsCommand"; import { DescribeInstanceStatusCommandInput, DescribeInstanceStatusCommandOutput, @@ -1015,6 +1031,10 @@ import { DisassociateIamInstanceProfileCommandInput, DisassociateIamInstanceProfileCommandOutput, } from "../commands/DisassociateIamInstanceProfileCommand"; +import { + DisassociateInstanceEventWindowCommandInput, + DisassociateInstanceEventWindowCommandOutput, +} from "../commands/DisassociateInstanceEventWindowCommand"; import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput, @@ -1232,6 +1252,10 @@ import { ModifyInstanceEventStartTimeCommandInput, ModifyInstanceEventStartTimeCommandOutput, } from "../commands/ModifyInstanceEventStartTimeCommand"; +import { + ModifyInstanceEventWindowCommandInput, + ModifyInstanceEventWindowCommandOutput, +} from "../commands/ModifyInstanceEventWindowCommand"; import { ModifyInstanceMetadataOptionsCommandInput, ModifyInstanceMetadataOptionsCommandOutput, @@ -1563,6 +1587,8 @@ import { AssociateEnclaveCertificateIamRoleResult, AssociateIamInstanceProfileRequest, AssociateIamInstanceProfileResult, + AssociateInstanceEventWindowRequest, + AssociateInstanceEventWindowResult, AssociateRouteTableRequest, AssociateRouteTableResult, AssociateSubnetCidrBlockRequest, @@ -1617,7 +1643,6 @@ import { CancelledSpotInstanceRequest, CapacityReservation, CapacityReservationOptionsRequest, - CapacityReservationTarget, CarrierGateway, CertificateAuthenticationRequest, CidrBlock, @@ -1663,19 +1688,17 @@ import { CreateFpgaImageResult, CreateImageRequest, CreateImageResult, + CreateInstanceEventWindowRequest, + CreateInstanceEventWindowResult, CreateInstanceExportTaskRequest, CreateInstanceExportTaskResult, CreateInternetGatewayRequest, - CreateInternetGatewayResult, - CreateKeyPairRequest, - CreditSpecificationRequest, CustomerGateway, DhcpConfiguration, DhcpOptions, DirectoryServiceAuthenticationRequest, EbsBlockDevice, EgressOnlyInternetGateway, - ElasticGpuSpecification, ExportTask, ExportToS3Task, ExportToS3TaskSpecification, @@ -1691,6 +1714,11 @@ import { IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceCount, + InstanceEventWindow, + InstanceEventWindowAssociationRequest, + InstanceEventWindowAssociationTarget, + InstanceEventWindowTimeRange, + InstanceEventWindowTimeRangeRequest, InstanceExportDetails, InternetGateway, InternetGatewayAttachment, @@ -1698,12 +1726,7 @@ import { IpRange, Ipv6CidrBlock, Ipv6Range, - KeyPair, LaunchTemplateAndOverridesResponse, - LaunchTemplateBlockDeviceMappingRequest, - LaunchTemplateCapacityReservationSpecificationRequest, - LaunchTemplateCpuOptionsRequest, - LaunchTemplateEbsBlockDeviceRequest, NewDhcpConfiguration, OnDemandOptionsRequest, PeeringAttachmentStatus, @@ -1751,8 +1774,11 @@ import { _InstanceType, } from "../models/models_0"; import { + CapacityReservationTarget, CapacityReservationTargetResponse, ConnectionNotification, + CreateInternetGatewayResult, + CreateKeyPairRequest, CreateLaunchTemplateRequest, CreateLaunchTemplateResult, CreateLaunchTemplateVersionRequest, @@ -1844,6 +1870,7 @@ import { CreateVpnGatewayRequest, CreateVpnGatewayResult, CreditSpecification, + CreditSpecificationRequest, DeleteCarrierGatewayRequest, DeleteCarrierGatewayResult, DeleteClientVpnEndpointRequest, @@ -1854,19 +1881,10 @@ import { DeleteDhcpOptionsRequest, DeleteEgressOnlyInternetGatewayRequest, DeleteEgressOnlyInternetGatewayResult, - DeleteFleetError, - DeleteFleetErrorItem, DeleteFleetSuccessItem, DeleteFleetsRequest, - DeleteFleetsResult, - DeleteFlowLogsRequest, - DeleteFlowLogsResult, - DeleteFpgaImageRequest, - DeleteFpgaImageResult, - DeleteInternetGatewayRequest, - DeleteKeyPairRequest, - DeleteLaunchTemplateRequest, DnsEntry, + ElasticGpuSpecification, ElasticGpuSpecificationResponse, GroupIdentifier, IKEVersionsListValue, @@ -1875,12 +1893,17 @@ import { InstanceIpv6Address, InstanceIpv6AddressRequest, InstanceSpecification, + KeyPair, LastError, LaunchTemplate, LaunchTemplateBlockDeviceMapping, + LaunchTemplateBlockDeviceMappingRequest, + LaunchTemplateCapacityReservationSpecificationRequest, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, + LaunchTemplateCpuOptionsRequest, LaunchTemplateEbsBlockDevice, + LaunchTemplateEbsBlockDeviceRequest, LaunchTemplateElasticInferenceAccelerator, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, @@ -2013,6 +2036,18 @@ import { ConnectionLogResponseOptions, ConversionTask, CpuOptions, + DeleteFleetError, + DeleteFleetErrorItem, + DeleteFleetsResult, + DeleteFlowLogsRequest, + DeleteFlowLogsResult, + DeleteFpgaImageRequest, + DeleteFpgaImageResult, + DeleteInstanceEventWindowRequest, + DeleteInstanceEventWindowResult, + DeleteInternetGatewayRequest, + DeleteKeyPairRequest, + DeleteLaunchTemplateRequest, DeleteLaunchTemplateResult, DeleteLaunchTemplateVersionsRequest, DeleteLaunchTemplateVersionsResponseErrorItem, @@ -2182,9 +2217,9 @@ import { DescribeInstanceCreditSpecificationsResult, DescribeInstanceEventNotificationAttributesRequest, DescribeInstanceEventNotificationAttributesResult, - DescribeInstanceStatusRequest, + DescribeInstanceEventWindowsRequest, + DescribeInstanceEventWindowsResult, DescribeInstancesRequest, - DescribeInstancesResult, DirectoryServiceAuthentication, DiskImageDescription, DiskImageVolumeDescription, @@ -2224,27 +2259,18 @@ import { ImportInstanceVolumeDetailItem, ImportSnapshotTask, ImportVolumeTaskDetails, - Instance, InstanceAttribute, InstanceBlockDeviceMapping, InstanceCapacity, InstanceCreditSpecification, - InstanceMetadataOptionsResponse, - InstanceNetworkInterface, - InstanceNetworkInterfaceAssociation, - InstanceNetworkInterfaceAttachment, - InstancePrivateIpAddress, - InstanceState, - InstanceStatusEvent, + InstanceEventWindowStateChange, InstanceTagNotificationAttribute, LaunchPermission, LicenseConfiguration, LoadPermission, - Monitoring, OnDemandOptions, PciId, ProductCode, - Reservation, ResponseError, SnapshotDetail, SnapshotTaskDetail, @@ -2272,11 +2298,13 @@ import { ClassicLoadBalancer, ClassicLoadBalancersConfig, CreateVolumePermission, + DescribeInstanceStatusRequest, DescribeInstanceStatusResult, DescribeInstanceTypeOfferingsRequest, DescribeInstanceTypeOfferingsResult, DescribeInstanceTypesRequest, DescribeInstanceTypesResult, + DescribeInstancesResult, DescribeInternetGatewaysRequest, DescribeInternetGatewaysResult, DescribeIpv6PoolsRequest, @@ -2415,22 +2443,8 @@ import { DescribeVpcEndpointConnectionNotificationsResult, DescribeVpcEndpointConnectionsRequest, DescribeVpcEndpointConnectionsResult, - DescribeVpcEndpointServiceConfigurationsRequest, - DescribeVpcEndpointServiceConfigurationsResult, - DescribeVpcEndpointServicePermissionsRequest, - DescribeVpcEndpointServicePermissionsResult, - DescribeVpcEndpointServicesRequest, - DescribeVpcEndpointServicesResult, DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult, - DescribeVpcPeeringConnectionsRequest, - DescribeVpcPeeringConnectionsResult, - DescribeVpcsRequest, - DescribeVpcsResult, - DescribeVpnConnectionsRequest, - DescribeVpnConnectionsResult, - DescribeVpnGatewaysRequest, - DescribeVpnGatewaysResult, DiskInfo, EbsInfo, EbsOptimizedInfo, @@ -2445,9 +2459,17 @@ import { HistoryRecord, InferenceAcceleratorInfo, InferenceDeviceInfo, + Instance, + InstanceMetadataOptionsResponse, + InstanceNetworkInterface, + InstanceNetworkInterfaceAssociation, + InstanceNetworkInterfaceAttachment, InstanceNetworkInterfaceSpecification, + InstancePrivateIpAddress, + InstanceState, InstanceStatus, InstanceStatusDetails, + InstanceStatusEvent, InstanceStatusSummary, InstanceStorageInfo, InstanceTypeInfo, @@ -2464,6 +2486,7 @@ import { LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MemoryInfo, + Monitoring, MovingAddressStatus, NetworkCardInfo, NetworkInfo, @@ -2475,12 +2498,12 @@ import { PrefixList, PricingDetail, PrincipalIdFormat, - PrivateDnsDetails, ProcessorInfo, PublicIpv4Pool, PublicIpv4PoolRange, RecurringCharge, Region, + Reservation, ReservedInstances, ReservedInstancesConfiguration, ReservedInstancesId, @@ -2495,7 +2518,6 @@ import { ScheduledInstanceRecurrenceRequest, SecurityGroup, SecurityGroupReference, - ServiceDetail, SlotDateTimeRangeRequest, SlotStartTimeRangeRequest, SpotCapacityRebalance, @@ -2535,11 +2557,24 @@ import { BlobAttributeValue, CapacityReservationGroup, CapacityReservationSpecification, - CidrAuthorizationContext, ClientCertificateRevocationListStatus, ClientData, CoipAddressUsage, CreateVolumePermissionModifications, + DescribeVpcEndpointServiceConfigurationsRequest, + DescribeVpcEndpointServiceConfigurationsResult, + DescribeVpcEndpointServicePermissionsRequest, + DescribeVpcEndpointServicePermissionsResult, + DescribeVpcEndpointServicesRequest, + DescribeVpcEndpointServicesResult, + DescribeVpcPeeringConnectionsRequest, + DescribeVpcPeeringConnectionsResult, + DescribeVpcsRequest, + DescribeVpcsResult, + DescribeVpnConnectionsRequest, + DescribeVpnConnectionsResult, + DescribeVpnGatewaysRequest, + DescribeVpnGatewaysResult, DetachClassicLinkVpcRequest, DetachClassicLinkVpcResult, DetachInternetGatewayRequest, @@ -2572,6 +2607,8 @@ import { DisassociateEnclaveCertificateIamRoleResult, DisassociateIamInstanceProfileRequest, DisassociateIamInstanceProfileResult, + DisassociateInstanceEventWindowRequest, + DisassociateInstanceEventWindowResult, DisassociateRouteTableRequest, DisassociateSubnetCidrBlockRequest, DisassociateSubnetCidrBlockResult, @@ -2679,6 +2716,7 @@ import { ImportVolumeResult, InstanceBlockDeviceMappingSpecification, InstanceCreditSpecificationRequest, + InstanceEventWindowDisassociationRequest, InstanceFamilyCreditSpecification, InstanceMonitoring, InstanceUsage, @@ -2715,6 +2753,8 @@ import { ModifyInstanceCreditSpecificationResult, ModifyInstanceEventStartTimeRequest, ModifyInstanceEventStartTimeResult, + ModifyInstanceEventWindowRequest, + ModifyInstanceEventWindowResult, ModifyInstanceMetadataOptionsRequest, ModifyInstanceMetadataOptionsResult, ModifyInstancePlacementRequest, @@ -2774,35 +2814,19 @@ import { MonitorInstancesRequest, MonitorInstancesResult, MoveAddressToVpcRequest, - MoveAddressToVpcResult, NetworkInterfaceAttachmentChanges, PeeringConnectionOptions, PeeringConnectionOptionsRequest, PrefixListAssociation, PrefixListEntry, - ProvisionByoipCidrRequest, - ProvisionByoipCidrResult, + PrivateDnsDetails, Purchase, - PurchaseHostReservationRequest, - PurchaseHostReservationResult, - PurchaseRequest, - PurchaseReservedInstancesOfferingRequest, - PurchaseReservedInstancesOfferingResult, - PurchaseScheduledInstancesRequest, - PurchaseScheduledInstancesResult, - RebootInstancesRequest, - RegisterImageRequest, - RegisterImageResult, - RegisterInstanceEventNotificationAttributesRequest, - RegisterInstanceEventNotificationAttributesResult, - RegisterInstanceTagAttributeRequest, - RegisterTransitGatewayMulticastGroupMembersRequest, RemovePrefixListEntry, ReservationValue, - ReservedInstanceLimitPrice, ReservedInstanceReservationValue, SecurityGroupRuleRequest, SecurityGroupRuleUpdate, + ServiceDetail, SnapshotDiskContainer, SuccessfulInstanceCreditSpecificationItem, TargetConfiguration, @@ -2811,7 +2835,6 @@ import { TrafficMirrorSessionField, TransitGatewayAttachmentPropagation, TransitGatewayMulticastDomainAssociation, - TransitGatewayMulticastRegisteredGroupMembers, TransitGatewayPropagation, TransitGatewayRouteTableAssociation, TransitGatewayRouteTablePropagation, @@ -2822,6 +2845,7 @@ import { VolumeDetail, } from "../models/models_4"; import { + CidrAuthorizationContext, CpuOptionsRequest, ElasticInferenceAccelerator, EnclaveOptionsRequest, @@ -2831,6 +2855,23 @@ import { InstanceStateChange, LaunchTemplateSpecification, LicenseConfigurationRequest, + MoveAddressToVpcResult, + ProvisionByoipCidrRequest, + ProvisionByoipCidrResult, + PurchaseHostReservationRequest, + PurchaseHostReservationResult, + PurchaseRequest, + PurchaseReservedInstancesOfferingRequest, + PurchaseReservedInstancesOfferingResult, + PurchaseScheduledInstancesRequest, + PurchaseScheduledInstancesResult, + RebootInstancesRequest, + RegisterImageRequest, + RegisterImageResult, + RegisterInstanceEventNotificationAttributesRequest, + RegisterInstanceEventNotificationAttributesResult, + RegisterInstanceTagAttributeRequest, + RegisterTransitGatewayMulticastGroupMembersRequest, RegisterTransitGatewayMulticastGroupMembersResult, RegisterTransitGatewayMulticastGroupSourcesRequest, RegisterTransitGatewayMulticastGroupSourcesResult, @@ -2864,6 +2905,7 @@ import { RequestSpotInstancesRequest, RequestSpotInstancesResult, RequestSpotLaunchSpecification, + ReservedInstanceLimitPrice, ResetAddressAttributeRequest, ResetAddressAttributeResult, ResetEbsDefaultKmsKeyIdRequest, @@ -2919,6 +2961,7 @@ import { TerminateInstancesRequest, TerminateInstancesResult, TransitGatewayMulticastGroup, + TransitGatewayMulticastRegisteredGroupMembers, TransitGatewayMulticastRegisteredGroupSources, UnassignIpv6AddressesRequest, UnassignIpv6AddressesResult, @@ -3225,6 +3268,22 @@ export const serializeAws_ec2AssociateIamInstanceProfileCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2AssociateInstanceEventWindowCommand = async ( + input: AssociateInstanceEventWindowCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2AssociateInstanceEventWindowRequest(input, context), + Action: "AssociateInstanceEventWindow", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2AssociateRouteTableCommand = async ( input: AssociateRouteTableCommandInput, context: __SerdeContext @@ -3865,6 +3924,22 @@ export const serializeAws_ec2CreateImageCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2CreateInstanceEventWindowCommand = async ( + input: CreateInstanceEventWindowCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2CreateInstanceEventWindowRequest(input, context), + Action: "CreateInstanceEventWindow", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2CreateInstanceExportTaskCommand = async ( input: CreateInstanceExportTaskCommandInput, context: __SerdeContext @@ -4793,6 +4868,22 @@ export const serializeAws_ec2DeleteFpgaImageCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DeleteInstanceEventWindowCommand = async ( + input: DeleteInstanceEventWindowCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DeleteInstanceEventWindowRequest(input, context), + Action: "DeleteInstanceEventWindow", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DeleteInternetGatewayCommand = async ( input: DeleteInternetGatewayCommandInput, context: __SerdeContext @@ -6281,6 +6372,22 @@ export const serializeAws_ec2DescribeInstanceEventNotificationAttributesCommand return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DescribeInstanceEventWindowsCommand = async ( + input: DescribeInstanceEventWindowsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DescribeInstanceEventWindowsRequest(input, context), + Action: "DescribeInstanceEventWindows", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DescribeInstancesCommand = async ( input: DescribeInstancesCommandInput, context: __SerdeContext @@ -7849,6 +7956,22 @@ export const serializeAws_ec2DisassociateIamInstanceProfileCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DisassociateInstanceEventWindowCommand = async ( + input: DisassociateInstanceEventWindowCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DisassociateInstanceEventWindowRequest(input, context), + Action: "DisassociateInstanceEventWindow", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DisassociateRouteTableCommand = async ( input: DisassociateRouteTableCommandInput, context: __SerdeContext @@ -8873,6 +8996,22 @@ export const serializeAws_ec2ModifyInstanceEventStartTimeCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2ModifyInstanceEventWindowCommand = async ( + input: ModifyInstanceEventWindowCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2ModifyInstanceEventWindowRequest(input, context), + Action: "ModifyInstanceEventWindow", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2ModifyInstanceMetadataOptionsCommand = async ( input: ModifyInstanceMetadataOptionsCommandInput, context: __SerdeContext @@ -11028,6 +11167,52 @@ const deserializeAws_ec2AssociateIamInstanceProfileCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_ec2AssociateInstanceEventWindowCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2AssociateInstanceEventWindowCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2AssociateInstanceEventWindowResult(data, context); + const response: AssociateInstanceEventWindowCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2AssociateInstanceEventWindowCommandError = 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: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2AssociateRouteTableCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -12859,27 +13044,73 @@ const deserializeAws_ec2CreateImageCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_ec2CreateInstanceExportTaskCommand = async ( +export const deserializeAws_ec2CreateInstanceEventWindowCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_ec2CreateInstanceExportTaskCommandError(output, context); + return deserializeAws_ec2CreateInstanceEventWindowCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_ec2CreateInstanceExportTaskResult(data, context); - const response: CreateInstanceExportTaskCommandOutput = { + contents = deserializeAws_ec2CreateInstanceEventWindowResult(data, context); + const response: CreateInstanceEventWindowCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_ec2CreateInstanceExportTaskCommandError = async ( +const deserializeAws_ec2CreateInstanceEventWindowCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2CreateInstanceExportTaskCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2CreateInstanceExportTaskCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2CreateInstanceExportTaskResult(data, context); + const response: CreateInstanceExportTaskCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2CreateInstanceExportTaskCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15512,6 +15743,52 @@ const deserializeAws_ec2DeleteFpgaImageCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_ec2DeleteInstanceEventWindowCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DeleteInstanceEventWindowCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DeleteInstanceEventWindowResult(data, context); + const response: DeleteInstanceEventWindowCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DeleteInstanceEventWindowCommandError = 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: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2DeleteInternetGatewayCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -19733,6 +20010,52 @@ const deserializeAws_ec2DescribeInstanceEventNotificationAttributesCommandError return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_ec2DescribeInstanceEventWindowsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DescribeInstanceEventWindowsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DescribeInstanceEventWindowsResult(data, context); + const response: DescribeInstanceEventWindowsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DescribeInstanceEventWindowsCommandError = 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: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2DescribeInstancesCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -24229,6 +24552,52 @@ const deserializeAws_ec2DisassociateIamInstanceProfileCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_ec2DisassociateInstanceEventWindowCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DisassociateInstanceEventWindowCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DisassociateInstanceEventWindowResult(data, context); + const response: DisassociateInstanceEventWindowCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DisassociateInstanceEventWindowCommandError = 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: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2DisassociateRouteTableCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -27152,6 +27521,52 @@ const deserializeAws_ec2ModifyInstanceEventStartTimeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_ec2ModifyInstanceEventWindowCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2ModifyInstanceEventWindowCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2ModifyInstanceEventWindowResult(data, context); + const response: ModifyInstanceEventWindowCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2ModifyInstanceEventWindowCommandError = 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: string = "UnknownError"; + errorCode = loadEc2ErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode; + response = { + ...parsedBody.Errors.Error, + name: `${errorCode}`, + message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.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_ec2ModifyInstanceMetadataOptionsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -31498,6 +31913,27 @@ const serializeAws_ec2AssociateIamInstanceProfileRequest = ( return entries; }; +const serializeAws_ec2AssociateInstanceEventWindowRequest = ( + input: AssociateInstanceEventWindowRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.InstanceEventWindowId !== undefined && input.InstanceEventWindowId !== null) { + entries["InstanceEventWindowId"] = input.InstanceEventWindowId; + } + if (input.AssociationTarget !== undefined && input.AssociationTarget !== null) { + const memberEntries = serializeAws_ec2InstanceEventWindowAssociationRequest(input.AssociationTarget, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}; + const serializeAws_ec2AssociateRouteTableRequest = ( input: AssociateRouteTableRequest, context: __SerdeContext @@ -33036,6 +33472,37 @@ const serializeAws_ec2CreateImageRequest = (input: CreateImageRequest, context: return entries; }; +const serializeAws_ec2CreateInstanceEventWindowRequest = ( + input: CreateInstanceEventWindowRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.Name !== undefined && input.Name !== null) { + entries["Name"] = input.Name; + } + if (input.TimeRanges !== undefined && input.TimeRanges !== null) { + const memberEntries = serializeAws_ec2InstanceEventWindowTimeRangeRequestSet(input.TimeRanges, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.CronExpression !== undefined && input.CronExpression !== null) { + entries["CronExpression"] = input.CronExpression; + } + if (input.TagSpecifications !== undefined && input.TagSpecifications !== null) { + const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + const serializeAws_ec2CreateInstanceExportTaskRequest = ( input: CreateInstanceExportTaskRequest, context: __SerdeContext @@ -34676,6 +35143,19 @@ const serializeAws_ec2CustomerGatewayIdStringList = (input: string[], context: _ return entries; }; +const serializeAws_ec2DedicatedHostIdList = (input: string[], context: __SerdeContext): any => { + const entries: any = {}; + let counter = 1; + for (let entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}; + const serializeAws_ec2DeleteCarrierGatewayRequest = ( input: DeleteCarrierGatewayRequest, context: __SerdeContext @@ -34807,6 +35287,23 @@ const serializeAws_ec2DeleteFpgaImageRequest = (input: DeleteFpgaImageRequest, c return entries; }; +const serializeAws_ec2DeleteInstanceEventWindowRequest = ( + input: DeleteInstanceEventWindowRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.ForceDelete !== undefined && input.ForceDelete !== null) { + entries["ForceDelete"] = input.ForceDelete; + } + if (input.InstanceEventWindowId !== undefined && input.InstanceEventWindowId !== null) { + entries["InstanceEventWindowId"] = input.InstanceEventWindowId; + } + return entries; +}; + const serializeAws_ec2DeleteInternetGatewayRequest = ( input: DeleteInternetGatewayRequest, context: __SerdeContext @@ -36706,6 +37203,37 @@ const serializeAws_ec2DescribeInstanceEventNotificationAttributesRequest = ( return entries; }; +const serializeAws_ec2DescribeInstanceEventWindowsRequest = ( + input: DescribeInstanceEventWindowsRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.InstanceEventWindowIds !== undefined && input.InstanceEventWindowIds !== null) { + const memberEntries = serializeAws_ec2InstanceEventWindowIdSet(input.InstanceEventWindowIds, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceEventWindowId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.Filters !== undefined && input.Filters !== null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.MaxResults !== undefined && input.MaxResults !== null) { + entries["MaxResults"] = input.MaxResults; + } + if (input.NextToken !== undefined && input.NextToken !== null) { + entries["NextToken"] = input.NextToken; + } + return entries; +}; + const serializeAws_ec2DescribeInstancesRequest = (input: DescribeInstancesRequest, context: __SerdeContext): any => { const entries: any = {}; if (input.Filters !== undefined && input.Filters !== null) { @@ -39440,6 +39968,27 @@ const serializeAws_ec2DisassociateIamInstanceProfileRequest = ( return entries; }; +const serializeAws_ec2DisassociateInstanceEventWindowRequest = ( + input: DisassociateInstanceEventWindowRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.InstanceEventWindowId !== undefined && input.InstanceEventWindowId !== null) { + entries["InstanceEventWindowId"] = input.InstanceEventWindowId; + } + if (input.AssociationTarget !== undefined && input.AssociationTarget !== null) { + const memberEntries = serializeAws_ec2InstanceEventWindowDisassociationRequest(input.AssociationTarget, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}; + const serializeAws_ec2DisassociateRouteTableRequest = ( input: DisassociateRouteTableRequest, context: __SerdeContext @@ -41375,6 +41924,129 @@ const serializeAws_ec2InstanceCreditSpecificationRequest = ( return entries; }; +const serializeAws_ec2InstanceEventWindowAssociationRequest = ( + input: InstanceEventWindowAssociationRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.InstanceIds !== undefined && input.InstanceIds !== null) { + const memberEntries = serializeAws_ec2InstanceIdList(input.InstanceIds, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.InstanceTags !== undefined && input.InstanceTags !== null) { + const memberEntries = serializeAws_ec2TagList(input.InstanceTags, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.DedicatedHostIds !== undefined && input.DedicatedHostIds !== null) { + const memberEntries = serializeAws_ec2DedicatedHostIdList(input.DedicatedHostIds, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + +const serializeAws_ec2InstanceEventWindowDisassociationRequest = ( + input: InstanceEventWindowDisassociationRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.InstanceIds !== undefined && input.InstanceIds !== null) { + const memberEntries = serializeAws_ec2InstanceIdList(input.InstanceIds, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.InstanceTags !== undefined && input.InstanceTags !== null) { + const memberEntries = serializeAws_ec2TagList(input.InstanceTags, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.DedicatedHostIds !== undefined && input.DedicatedHostIds !== null) { + const memberEntries = serializeAws_ec2DedicatedHostIdList(input.DedicatedHostIds, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + +const serializeAws_ec2InstanceEventWindowIdSet = (input: string[], context: __SerdeContext): any => { + const entries: any = {}; + let counter = 1; + for (let entry of input) { + if (entry === null) { + continue; + } + entries[`InstanceEventWindowId.${counter}`] = entry; + counter++; + } + return entries; +}; + +const serializeAws_ec2InstanceEventWindowTimeRangeRequest = ( + input: InstanceEventWindowTimeRangeRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.StartWeekDay !== undefined && input.StartWeekDay !== null) { + entries["StartWeekDay"] = input.StartWeekDay; + } + if (input.StartHour !== undefined && input.StartHour !== null) { + entries["StartHour"] = input.StartHour; + } + if (input.EndWeekDay !== undefined && input.EndWeekDay !== null) { + entries["EndWeekDay"] = input.EndWeekDay; + } + if (input.EndHour !== undefined && input.EndHour !== null) { + entries["EndHour"] = input.EndHour; + } + return entries; +}; + +const serializeAws_ec2InstanceEventWindowTimeRangeRequestSet = ( + input: InstanceEventWindowTimeRangeRequest[], + context: __SerdeContext +): any => { + const entries: any = {}; + let counter = 1; + for (let entry of input) { + if (entry === null) { + continue; + } + const memberEntries = serializeAws_ec2InstanceEventWindowTimeRangeRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}; + +const serializeAws_ec2InstanceIdList = (input: string[], context: __SerdeContext): any => { + const entries: any = {}; + let counter = 1; + for (let entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}; + const serializeAws_ec2InstanceIdStringList = (input: string[], context: __SerdeContext): any => { const entries: any = {}; let counter = 1; @@ -43103,6 +43775,33 @@ const serializeAws_ec2ModifyInstanceEventStartTimeRequest = ( return entries; }; +const serializeAws_ec2ModifyInstanceEventWindowRequest = ( + input: ModifyInstanceEventWindowRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } + if (input.Name !== undefined && input.Name !== null) { + entries["Name"] = input.Name; + } + if (input.InstanceEventWindowId !== undefined && input.InstanceEventWindowId !== null) { + entries["InstanceEventWindowId"] = input.InstanceEventWindowId; + } + if (input.TimeRanges !== undefined && input.TimeRanges !== null) { + const memberEntries = serializeAws_ec2InstanceEventWindowTimeRangeRequestSet(input.TimeRanges, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.CronExpression !== undefined && input.CronExpression !== null) { + entries["CronExpression"] = input.CronExpression; + } + return entries; +}; + const serializeAws_ec2ModifyInstanceMetadataOptionsRequest = ( input: ModifyInstanceMetadataOptionsRequest, context: __SerdeContext @@ -49628,6 +50327,19 @@ const deserializeAws_ec2AssociateIamInstanceProfileResult = ( return contents; }; +const deserializeAws_ec2AssociateInstanceEventWindowResult = ( + output: any, + context: __SerdeContext +): AssociateInstanceEventWindowResult => { + let contents: any = { + InstanceEventWindow: undefined, + }; + if (output["instanceEventWindow"] !== undefined) { + contents.InstanceEventWindow = deserializeAws_ec2InstanceEventWindow(output["instanceEventWindow"], context); + } + return contents; +}; + const deserializeAws_ec2AssociateRouteTableResult = ( output: any, context: __SerdeContext @@ -51753,6 +52465,19 @@ const deserializeAws_ec2CreateImageResult = (output: any, context: __SerdeContex return contents; }; +const deserializeAws_ec2CreateInstanceEventWindowResult = ( + output: any, + context: __SerdeContext +): CreateInstanceEventWindowResult => { + let contents: any = { + InstanceEventWindow: undefined, + }; + if (output["instanceEventWindow"] !== undefined) { + contents.InstanceEventWindow = deserializeAws_ec2InstanceEventWindow(output["instanceEventWindow"], context); + } + return contents; +}; + const deserializeAws_ec2CreateInstanceExportTaskResult = ( output: any, context: __SerdeContext @@ -52468,6 +53193,17 @@ const deserializeAws_ec2CustomerGatewayList = (output: any, context: __SerdeCont }); }; +const deserializeAws_ec2DedicatedHostIdList = (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_ec2DeleteCarrierGatewayResult = ( output: any, context: __SerdeContext @@ -52646,6 +53382,22 @@ const deserializeAws_ec2DeleteFpgaImageResult = (output: any, context: __SerdeCo return contents; }; +const deserializeAws_ec2DeleteInstanceEventWindowResult = ( + output: any, + context: __SerdeContext +): DeleteInstanceEventWindowResult => { + let contents: any = { + InstanceEventWindowState: undefined, + }; + if (output["instanceEventWindowState"] !== undefined) { + contents.InstanceEventWindowState = deserializeAws_ec2InstanceEventWindowStateChange( + output["instanceEventWindowState"], + context + ); + } + return contents; +}; + const deserializeAws_ec2DeleteLaunchTemplateResult = ( output: any, context: __SerdeContext @@ -54246,6 +54998,29 @@ const deserializeAws_ec2DescribeInstanceEventNotificationAttributesResult = ( return contents; }; +const deserializeAws_ec2DescribeInstanceEventWindowsResult = ( + output: any, + context: __SerdeContext +): DescribeInstanceEventWindowsResult => { + let contents: any = { + InstanceEventWindows: undefined, + NextToken: undefined, + }; + if (output.instanceEventWindowSet === "") { + contents.InstanceEventWindows = []; + } + if (output["instanceEventWindowSet"] !== undefined && output["instanceEventWindowSet"]["item"] !== undefined) { + contents.InstanceEventWindows = deserializeAws_ec2InstanceEventWindowSet( + __getArrayIfSingleItem(output["instanceEventWindowSet"]["item"]), + context + ); + } + if (output["nextToken"] !== undefined) { + contents.NextToken = __expectString(output["nextToken"]); + } + return contents; +}; + const deserializeAws_ec2DescribeInstancesResult = (output: any, context: __SerdeContext): DescribeInstancesResult => { let contents: any = { Reservations: undefined, @@ -56523,6 +57298,19 @@ const deserializeAws_ec2DisassociateIamInstanceProfileResult = ( return contents; }; +const deserializeAws_ec2DisassociateInstanceEventWindowResult = ( + output: any, + context: __SerdeContext +): DisassociateInstanceEventWindowResult => { + let contents: any = { + InstanceEventWindow: undefined, + }; + if (output["instanceEventWindow"] !== undefined) { + contents.InstanceEventWindow = deserializeAws_ec2InstanceEventWindow(output["instanceEventWindow"], context); + } + return contents; +}; + const deserializeAws_ec2DisassociateSubnetCidrBlockResult = ( output: any, context: __SerdeContext @@ -60658,6 +61446,155 @@ const deserializeAws_ec2InstanceCreditSpecificationList = ( }); }; +const deserializeAws_ec2InstanceEventWindow = (output: any, context: __SerdeContext): InstanceEventWindow => { + let contents: any = { + InstanceEventWindowId: undefined, + TimeRanges: undefined, + Name: undefined, + CronExpression: undefined, + AssociationTarget: undefined, + State: undefined, + Tags: undefined, + }; + if (output["instanceEventWindowId"] !== undefined) { + contents.InstanceEventWindowId = __expectString(output["instanceEventWindowId"]); + } + if (output.timeRangeSet === "") { + contents.TimeRanges = []; + } + if (output["timeRangeSet"] !== undefined && output["timeRangeSet"]["item"] !== undefined) { + contents.TimeRanges = deserializeAws_ec2InstanceEventWindowTimeRangeList( + __getArrayIfSingleItem(output["timeRangeSet"]["item"]), + context + ); + } + if (output["name"] !== undefined) { + contents.Name = __expectString(output["name"]); + } + if (output["cronExpression"] !== undefined) { + contents.CronExpression = __expectString(output["cronExpression"]); + } + if (output["associationTarget"] !== undefined) { + contents.AssociationTarget = deserializeAws_ec2InstanceEventWindowAssociationTarget( + output["associationTarget"], + context + ); + } + if (output["state"] !== undefined) { + contents.State = __expectString(output["state"]); + } + if (output.tagSet === "") { + contents.Tags = []; + } + if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) { + contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context); + } + return contents; +}; + +const deserializeAws_ec2InstanceEventWindowAssociationTarget = ( + output: any, + context: __SerdeContext +): InstanceEventWindowAssociationTarget => { + let contents: any = { + InstanceIds: undefined, + Tags: undefined, + DedicatedHostIds: undefined, + }; + if (output.instanceIdSet === "") { + contents.InstanceIds = []; + } + if (output["instanceIdSet"] !== undefined && output["instanceIdSet"]["item"] !== undefined) { + contents.InstanceIds = deserializeAws_ec2InstanceIdList( + __getArrayIfSingleItem(output["instanceIdSet"]["item"]), + context + ); + } + if (output.tagSet === "") { + contents.Tags = []; + } + if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) { + contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context); + } + if (output.dedicatedHostIdSet === "") { + contents.DedicatedHostIds = []; + } + if (output["dedicatedHostIdSet"] !== undefined && output["dedicatedHostIdSet"]["item"] !== undefined) { + contents.DedicatedHostIds = deserializeAws_ec2DedicatedHostIdList( + __getArrayIfSingleItem(output["dedicatedHostIdSet"]["item"]), + context + ); + } + return contents; +}; + +const deserializeAws_ec2InstanceEventWindowSet = (output: any, context: __SerdeContext): InstanceEventWindow[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_ec2InstanceEventWindow(entry, context); + }); +}; + +const deserializeAws_ec2InstanceEventWindowStateChange = ( + output: any, + context: __SerdeContext +): InstanceEventWindowStateChange => { + let contents: any = { + InstanceEventWindowId: undefined, + State: undefined, + }; + if (output["instanceEventWindowId"] !== undefined) { + contents.InstanceEventWindowId = __expectString(output["instanceEventWindowId"]); + } + if (output["state"] !== undefined) { + contents.State = __expectString(output["state"]); + } + return contents; +}; + +const deserializeAws_ec2InstanceEventWindowTimeRange = ( + output: any, + context: __SerdeContext +): InstanceEventWindowTimeRange => { + let contents: any = { + StartWeekDay: undefined, + StartHour: undefined, + EndWeekDay: undefined, + EndHour: undefined, + }; + if (output["startWeekDay"] !== undefined) { + contents.StartWeekDay = __expectString(output["startWeekDay"]); + } + if (output["startHour"] !== undefined) { + contents.StartHour = parseInt(output["startHour"]); + } + if (output["endWeekDay"] !== undefined) { + contents.EndWeekDay = __expectString(output["endWeekDay"]); + } + if (output["endHour"] !== undefined) { + contents.EndHour = parseInt(output["endHour"]); + } + return contents; +}; + +const deserializeAws_ec2InstanceEventWindowTimeRangeList = ( + output: any, + context: __SerdeContext +): InstanceEventWindowTimeRange[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_ec2InstanceEventWindowTimeRange(entry, context); + }); +}; + const deserializeAws_ec2InstanceExportDetails = (output: any, context: __SerdeContext): InstanceExportDetails => { let contents: any = { InstanceId: undefined, @@ -60689,6 +61626,17 @@ const deserializeAws_ec2InstanceFamilyCreditSpecification = ( return contents; }; +const deserializeAws_ec2InstanceIdList = (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_ec2InstanceIdSet = (output: any, context: __SerdeContext): string[] => { return (output || []) .filter((e: any) => e != null) @@ -63411,6 +64359,19 @@ const deserializeAws_ec2ModifyInstanceEventStartTimeResult = ( return contents; }; +const deserializeAws_ec2ModifyInstanceEventWindowResult = ( + output: any, + context: __SerdeContext +): ModifyInstanceEventWindowResult => { + let contents: any = { + InstanceEventWindow: undefined, + }; + if (output["instanceEventWindow"] !== undefined) { + contents.InstanceEventWindow = deserializeAws_ec2InstanceEventWindow(output["instanceEventWindow"], context); + } + return contents; +}; + const deserializeAws_ec2ModifyInstanceMetadataOptionsResult = ( output: any, context: __SerdeContext diff --git a/clients/client-ecs/ECS.ts b/clients/client-ecs/ECS.ts index 3b3dcc91e2b00..2b463e125182b 100644 --- a/clients/client-ecs/ECS.ts +++ b/clients/client-ecs/ECS.ts @@ -246,7 +246,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; *

                                                                                    Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that 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 - * services or tasks on AWS Fargate. For more control, you can host your tasks on a cluster + * 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 @@ -262,9 +262,9 @@ export class ECS extends ECSClient { * 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 - * AWS Fargate use the FARGATE and FARGATE_SPOT capacity providers + * Fargate use the FARGATE and FARGATE_SPOT capacity providers * which are already created and available to all accounts in Regions supported by - * AWS Fargate.

                                                                                    + * Fargate.

                                                                                    */ public createCapacityProvider( args: CreateCapacityProviderCommandInput, @@ -302,7 +302,7 @@ export class ECS extends ECSClient { * *

                                                                                    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 AWS services can be managed on your behalf. However, if the IAM user that + * 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 * Service-Linked Roles for Amazon ECS in the @@ -1651,7 +1651,7 @@ export class ECS extends ECSClient { * Definitions in the Amazon Elastic Container Service Developer Guide.

                                                                                    *

                                                                                    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 AWS CLI or SDKs to make API requests to the AWS services that are specified in + * 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 * 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 @@ -2220,8 +2220,8 @@ export class ECS extends ECSClient { *

                                                                                    For services using the blue/green (CODE_DEPLOY) deployment controller, * 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 AWS CodeDeploy - * deployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

                                                                                    + * 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.

                                                                                    *

                                                                                    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 diff --git a/clients/client-ecs/ECSClient.ts b/clients/client-ecs/ECSClient.ts index ed929cc101340..825c23b0a2d8e 100644 --- a/clients/client-ecs/ECSClient.ts +++ b/clients/client-ecs/ECSClient.ts @@ -432,7 +432,7 @@ export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {} *

                                                                                    Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that 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 - * services or tasks on AWS Fargate. For more control, you can host your tasks on a cluster + * 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 diff --git a/clients/client-ecs/README.md b/clients/client-ecs/README.md index 6a749958d81dd..5d13d13f04239 100644 --- a/clients/client-ecs/README.md +++ b/clients/client-ecs/README.md @@ -12,7 +12,7 @@ AWS SDK for JavaScript ECS Client for Node.js, Browser and React Native.

                                                                                    Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that 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 -services or tasks on AWS Fargate. For more control, you can host your tasks on a cluster +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 diff --git a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts index 59121af1f47c1..82a8335b23625 100644 --- a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts @@ -25,9 +25,9 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi * 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 - * AWS Fargate use the FARGATE and FARGATE_SPOT capacity providers + * Fargate use the FARGATE and FARGATE_SPOT capacity providers * which are already created and available to all accounts in Regions supported by - * AWS Fargate.

                                                                                    + * Fargate.

                                                                                    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/commands/CreateClusterCommand.ts b/clients/client-ecs/commands/CreateClusterCommand.ts index 34d7bdfbbd7f0..247cbde46fbd4 100644 --- a/clients/client-ecs/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/commands/CreateClusterCommand.ts @@ -27,7 +27,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * *

                                                                                    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 AWS services can be managed on your behalf. However, if the IAM user that + * 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 * Service-Linked Roles for Amazon ECS in the diff --git a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts index e00453b4f2cd8..988026a6695aa 100644 --- a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts @@ -28,7 +28,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * Definitions in the Amazon Elastic Container Service Developer Guide.

                                                                                    *

                                                                                    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 AWS CLI or SDKs to make API requests to the AWS services that are specified in + * 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 * 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 diff --git a/clients/client-ecs/commands/UpdateServiceCommand.ts b/clients/client-ecs/commands/UpdateServiceCommand.ts index 84b468ceb5c46..7b0aa9d7d9211 100644 --- a/clients/client-ecs/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/commands/UpdateServiceCommand.ts @@ -34,8 +34,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

                                                                                    For services using the blue/green (CODE_DEPLOY) deployment controller, * 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 AWS CodeDeploy - * deployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

                                                                                    + * 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.

                                                                                    *

                                                                                    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 diff --git a/clients/client-ecs/models/models_0.ts b/clients/client-ecs/models/models_0.ts index a59521728300f..16e06463deb1a 100644 --- a/clients/client-ecs/models/models_0.ts +++ b/clients/client-ecs/models/models_0.ts @@ -136,7 +136,7 @@ export interface AutoScalingGroupProvider { *

                                                                                    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 AWS Auto Scaling User Guide.

                                                                                    + * 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.

                                                                                    */ @@ -182,7 +182,7 @@ export namespace AutoScalingGroupProvider { *
                                                                                  • *

                                                                                    Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                                    *
                                                                                  • *
                                                                                  @@ -254,7 +254,7 @@ export interface CreateCapacityProviderRequest { *
                                                                                • *

                                                                                  Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                                  *
                                                                                • *
                                                                                @@ -370,7 +370,7 @@ export interface CapacityProvider { *
                                                                              • *

                                                                                Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                                *
                                                                              • *
                                                                              @@ -539,8 +539,8 @@ export enum ExecuteCommandLogging { */ export interface ExecuteCommandConfiguration { /** - *

                                                                              Specify an AWS Key Management Service key ID to encrypt the data between the local - * client and the container.

                                                                              + *

                                                                              Specify an Key Management Service key ID to encrypt the data between the local client + * and the container.

                                                                              */ kmsKeyId?: string; @@ -616,8 +616,8 @@ export namespace ClusterConfiguration { *

                                                                              If specifying a capacity provider that uses an Auto Scaling group, the capacity * provider must already be created. New Auto Scaling group capacity providers can be * created with the CreateCapacityProvider API operation.

                                                                              - *

                                                                              To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                                              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 used in a * capacity provider strategy.

                                                                              */ @@ -740,7 +740,7 @@ export interface CreateClusterRequest { *
                                                                            • *

                                                                              Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                              *
                                                                            • *
                                                                            @@ -769,8 +769,8 @@ export interface CreateClusterRequest { *

                                                                            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.

                                                                            - *

                                                                            To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                                            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 * used.

                                                                            *

                                                                            The PutClusterCapacityProviders API operation is used to update the @@ -870,7 +870,7 @@ export namespace Attachment { */ export interface Cluster { /** - *

                                                                            The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the Region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

                                                                            + *

                                                                            The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the Region of the cluster, the account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

                                                                            */ clusterArn?: string; @@ -1003,7 +1003,7 @@ export interface Cluster { *
                                                                          • *

                                                                            Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                            *
                                                                          • *
                                                                          @@ -1237,7 +1237,7 @@ export interface DeploymentController { *
                                                                          CODE_DEPLOY
                                                                          *
                                                                          *

                                                                          The blue/green (CODE_DEPLOY) deployment type uses the - * blue/green deployment model powered by AWS CodeDeploy, which allows you to verify a + * blue/green deployment model powered by CodeDeploy, which allows you to verify a * new deployment of a service before sending production traffic to it.

                                                                          *
                                                                          *
                                                                          EXTERNAL
                                                                          @@ -1495,7 +1495,7 @@ export enum SchedulingStrategy { export interface ServiceRegistry { /** *

                                                                          The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is - * AWS Cloud Map. For more information, see CreateService.

                                                                          + * Cloud Map. For more information, see CreateService.

                                                                          */ registryArn?: string; @@ -1573,9 +1573,9 @@ export interface CreateServiceRequest { * 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 AWS CodeDeploy deployment + * 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, AWS CodeDeploy determines which task set in your service has the status + * 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 @@ -1633,12 +1633,12 @@ export interface CreateServiceRequest { /** *

                                                                          The infrastructure on which to run your service. For more information, see Amazon ECS * launch types in the Amazon Elastic Container Service Developer Guide.

                                                                          - *

                                                                          The FARGATE launch type runs your tasks on AWS Fargate On-Demand + *

                                                                          The FARGATE launch type runs your tasks on Fargate On-Demand * infrastructure.

                                                                          * *

                                                                          Fargate Spot infrastructure is available for use but a capacity provider - * strategy must be used. For more information, see AWS Fargate capacity providers in the - * Amazon ECS User Guide for AWS Fargate.

                                                                          + * strategy must be used. For more information, see Fargate capacity providers in the + * Amazon ECS User Guide for Fargate.

                                                                          *
                                                                          *

                                                                          The EC2 launch type runs your tasks on Amazon EC2 instances registered to your * cluster.

                                                                          @@ -1663,7 +1663,7 @@ 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 AWS Fargate platform + * information, see Fargate platform * versions in the Amazon Elastic Container Service Developer Guide.

                                                                          */ platformVersion?: string; @@ -1804,7 +1804,7 @@ export interface CreateServiceRequest { *
                                                                        • *

                                                                          Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                          *
                                                                        • *
                                                                        @@ -1941,7 +1941,7 @@ export interface Deployment { *

                                                                        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 AWS Fargate Platform + * information, see Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                        */ platformVersion?: string; @@ -2047,7 +2047,7 @@ export enum StabilityStatus { } /** - *

                                                                        Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL + *

                                                                        Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how * many tasks are running, and whether the task set serves production traffic.

                                                                        */ @@ -2074,7 +2074,7 @@ export interface TaskSet { clusterArn?: string; /** - *

                                                                        The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy + *

                                                                        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.

                                                                        */ @@ -2082,11 +2082,11 @@ export interface TaskSet { /** *

                                                                        The external ID associated with the task set.

                                                                        - *

                                                                        If a task set is created by an AWS CodeDeploy deployment, the externalId parameter - * contains the AWS CodeDeploy deployment ID.

                                                                        + *

                                                                        If a task set is created by an CodeDeploy deployment, 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 - * ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.

                                                                        + * ECS_TASK_SET_EXTERNAL_ID Cloud Map attribute.

                                                                        */ externalId?: string; @@ -2161,9 +2161,9 @@ export interface TaskSet { capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                                                        The AWS Fargate platform version on which the tasks in the task set are running. A - * platform version is only specified for tasks run on AWS Fargate. For more information, see - * AWS Fargate platform + *

                                                                        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.

                                                                        */ platformVersion?: string; @@ -2252,7 +2252,7 @@ export interface TaskSet { *
                                                                      • *

                                                                        Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                        *
                                                                      • *
                                                                      @@ -2274,7 +2274,7 @@ export namespace TaskSet { */ export interface Service { /** - *

                                                                      The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                                                      + *

                                                                      The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                                                      */ serviceArn?: string; @@ -2327,21 +2327,22 @@ export interface Service { pendingCount?: number; /** - *

                                                                      The infrastructure on which your service is running. For more information, see Amazon ECS - * launch types in the Amazon Elastic Container Service Developer Guide.

                                                                      + *

                                                                      The launch type the service is using. When using the DescribeServices API, this field + * is omitted if the service was created using a capacity provider strategy.

                                                                      */ launchType?: LaunchType | string; /** - *

                                                                      The capacity provider strategy associated with the service.

                                                                      + *

                                                                      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.

                                                                      */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** *

                                                                      The platform version on which to run your service. 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 AWS Fargate Platform + * 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.

                                                                      */ platformVersion?: string; @@ -2360,7 +2361,7 @@ export interface Service { deploymentConfiguration?: DeploymentConfiguration; /** - *

                                                                      Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL + *

                                                                      Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how * many tasks are running, and whether the task set serves production traffic.

                                                                      */ @@ -2475,7 +2476,7 @@ export interface Service { *
                                                                    • *

                                                                      Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                      *
                                                                    • *
                                                                    @@ -2520,6 +2521,9 @@ export namespace Service { 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.

                                                                    *

                                                                    If a service is using the ECS deployment controller, the * deploymentController and taskSets parameters will not be * returned.

                                                                    @@ -2610,7 +2614,7 @@ export interface CreateTaskSetRequest { /** *

                                                                    An optional non-unique tag that identifies this task set in external systems. If the * task set is associated with a service discovery registry, the tasks in this task set - * will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided + * will have the ECS_TASK_SET_EXTERNAL_ID Cloud Map attribute set to the provided * value.

                                                                    */ externalId?: string; @@ -2660,8 +2664,8 @@ export interface CreateTaskSetRequest { * defaultCapacityProviderStrategy for the cluster is used.

                                                                    *

                                                                    If specifying a capacity provider that uses an Auto Scaling group, the capacity * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                    - *

                                                                    To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                                    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 * used.

                                                                    *

                                                                    The PutClusterCapacityProviders API operation is used to update the @@ -2719,7 +2723,7 @@ export interface CreateTaskSetRequest { *

                                                                  • *

                                                                    Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                    *
                                                                  • *
                                                                  @@ -2738,7 +2742,7 @@ export namespace CreateTaskSetRequest { export interface CreateTaskSetResponse { /** - *

                                                                  Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an + *

                                                                  Information about a set of Amazon ECS tasks in either an CodeDeploy or an * EXTERNAL deployment. A task set includes details such as the desired * number of tasks, how many tasks are running, and whether the task set serves production * traffic.

                                                                  @@ -3233,7 +3237,7 @@ export interface DeregisterContainerInstanceRequest { /** *

                                                                  The container instance ID or full ARN of the container instance to deregister. - * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                  + * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                  */ containerInstance: string | undefined; @@ -3348,13 +3352,13 @@ export namespace VersionInfo { */ export interface ContainerInstance { /** - *

                                                                  The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                  + *

                                                                  The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                  */ containerInstanceArn?: string; /** *

                                                                  The ID of the container instance. For Amazon EC2 instances, this value is the Amazon EC2 - * instance ID. For external instances, this value is the AWS Systems Manager managed instance ID.

                                                                  + * instance ID. For external instances, this value is the Amazon Web Services Systems Manager managed instance ID.

                                                                  */ ec2InstanceId?: string; @@ -3502,7 +3506,7 @@ export interface ContainerInstance { *
                                                                • *

                                                                  Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                  *
                                                                • *
                                                                @@ -3730,7 +3734,7 @@ export interface FirelensConfiguration { * a Task Definition that Uses a FireLens Configuration in the * Amazon Elastic Container Service Developer Guide.

                                                                * - *

                                                                Tasks hosted on AWS Fargate only support the file configuration file + *

                                                                Tasks hosted on Fargate only support the file configuration file * type.

                                                                *
                                                                */ @@ -3805,7 +3809,7 @@ export namespace FirelensConfiguration { * *
                                                              • *

                                                                Container health checks are supported for Fargate tasks if you - * are using platform version 1.1.0 or greater. For more information, see AWS Fargate + * are using platform version 1.1.0 or greater. For more information, see Fargate * Platform Versions.

                                                                *
                                                              • *
                                                              • @@ -3885,7 +3889,7 @@ export interface KernelCapabilities { * --cap-add option to docker * run.

                                                                * - *

                                                                Tasks launched on AWS Fargate only support adding the SYS_PTRACE kernel + *

                                                                Tasks launched on Fargate only support adding the SYS_PTRACE kernel * capability.

                                                                *
                                                                *

                                                                Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | @@ -4133,9 +4137,9 @@ export interface Secret { /** *

                                                                The secret to expose to the container. The supported values are either the full ARN of - * the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

                                                                + * the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

                                                                * - *

                                                                If the AWS Systems Manager Parameter Store parameter exists in the same Region as the task you + *

                                                                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.

                                                                *
                                                                @@ -4185,7 +4189,7 @@ export namespace Secret { * Amazon Elastic Container Service Developer Guide.

                                                                *
                                                              • *
                                                              • - *

                                                                For tasks on AWS Fargate, because you do not have access to the underlying + *

                                                                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 * aggregators or a remote host running Logstash to send Gelf logs to.

                                                                @@ -4195,7 +4199,7 @@ export namespace Secret { export interface LogConfiguration { /** *

                                                                The log driver to use for the container.

                                                                - *

                                                                For tasks on AWS Fargate, the supported log drivers are awslogs, + *

                                                                For tasks on Fargate, the supported log drivers are awslogs, * splunk, and awsfirelens.

                                                                *

                                                                For tasks hosted on Amazon EC2 instances, the supported log drivers are * awslogs, fluentd, gelf, @@ -4362,9 +4366,9 @@ export interface RepositoryCredentials { *

                                                                The Amazon Resource Name (ARN) of the secret containing the private repository * credentials.

                                                                * - *

                                                                When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the + *

                                                                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 AWS Management Console, you must specify the + * 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.

                                                                *
                                                                */ @@ -5009,7 +5013,7 @@ export interface ContainerDefinition { * 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 AWS Fargate.

                                                                + *

                                                                This parameter is not supported for Windows containers or tasks run on Fargate.

                                                                *
                                                                */ privileged?: boolean; @@ -5211,10 +5215,10 @@ export namespace ContainerDefinition { /** *

                                                                The amount of ephemeral storage to allocate for the task. This parameter is used to * expand the total amount of ephemeral storage available, beyond the default amount, for - * tasks hosted on AWS Fargate. For more information, see Fargate task - * storage in the Amazon ECS User Guide for AWS Fargate.

                                                                + * 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 AWS Fargate using platform + *

                                                                This parameter is only supported for tasks hosted on Fargate using platform * version 1.4.0 or later.

                                                                *
                                                                */ @@ -5290,7 +5294,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 AWS Fargate.

                                                                + *

                                                                Task placement constraints are not supported for tasks run on Fargate.

                                                                *
                                                                */ export interface TaskDefinitionPlacementConstraint { @@ -5582,13 +5586,13 @@ export namespace EFSVolumeConfiguration { export interface FSxWindowsFileServerAuthorizationConfig { /** *

                                                                The authorization credential option to use. The authorization credential options can - * be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager + * be provided using either the Amazon Resource Name (ARN) of an Secrets Manager secret or SSM * Parameter Store parameter. The ARNs refer to the stored credentials.

                                                                */ credentialsParameter: string | undefined; /** - *

                                                                A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on + *

                                                                A fully qualified domain name hosted by an Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on * Amazon EC2.

                                                                */ domain: string | undefined; @@ -5702,7 +5706,7 @@ export interface Volume { *

                                                                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 AWS Fargate.

                                                                + *

                                                                Docker volumes are not supported by tasks run on Fargate.

                                                                *
                                                                */ dockerVolumeConfiguration?: DockerVolumeConfiguration; @@ -5759,8 +5763,8 @@ export interface TaskDefinition { family?: string; /** - *

                                                                The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the - * task permission to call AWS APIs on your behalf. For more information, see Amazon ECS + *

                                                                The short name or full Amazon Resource Name (ARN) of the Identity and Access Management role that grants containers in the + * task permission to call Amazon Web Services APIs on your behalf. For more information, see Amazon ECS * 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 @@ -5772,7 +5776,7 @@ export interface TaskDefinition { /** *

                                                                The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent - * permission to make AWS API calls on your behalf. The task execution IAM role is required + * permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required * depending on the requirements of your task. For more information, see Amazon ECS task * execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                                */ @@ -5783,7 +5787,7 @@ export interface TaskDefinition { * none, bridge, awsvpc, and host. * If no network mode is specified, the default is bridge.

                                                                *

                                                                For Amazon ECS tasks on Fargate, the awsvpc network mode is required. - * For Amazon ECS tasks on Amazon EC2 instances, any network mode can be used. If the network + * For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network * mode is set to none, you cannot specify port mappings in your container * definitions, and the tasks containers do not have external connectivity. The * host and awsvpc network modes offer the highest networking @@ -5803,17 +5807,8 @@ export interface TaskDefinition { * interface, and you must specify a NetworkConfiguration value when you create * a service or run a task with the task definition. For more information, see Task Networking in the * Amazon Elastic Container Service Developer Guide.

                                                                - * - *

                                                                Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the - * ecs-init package, or AWS Fargate infrastructure support the - * awsvpc network mode.

                                                                - *
                                                                *

                                                                If the network mode is host, you cannot run multiple instantiations of the * same task on a single container instance when port mappings are used.

                                                                - *

                                                                Docker for Windows uses different network modes than Docker for Linux. When you - * register a task definition with Windows containers, you must not specify a network mode. - * If you use the console to register a task definition with Windows containers, you must - * choose the network mode object.

                                                                *

                                                                For more information, see Network * settings in the Docker run reference.

                                                                */ @@ -5833,7 +5828,7 @@ export interface TaskDefinition { * Amazon Elastic Container Service Developer Guide.

                                                                * *

                                                                The host and sourcePath parameters are not supported for - * tasks run on AWS Fargate.

                                                                + * tasks run on Fargate.

                                                                *
                                                                */ volumes?: Volume[]; @@ -5851,7 +5846,7 @@ export interface TaskDefinition { * considering 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 AWS Fargate.

                                                                + *

                                                                This parameter is not supported for tasks run on Fargate.

                                                                *
                                                                */ requiresAttributes?: Attribute[]; @@ -5859,7 +5854,7 @@ export interface TaskDefinition { /** *

                                                                An array of placement constraint objects to use for tasks.

                                                                * - *

                                                                This parameter is not supported for tasks run on AWS Fargate.

                                                                + *

                                                                This parameter is not supported for tasks run on Fargate.

                                                                *
                                                                */ placementConstraints?: TaskDefinitionPlacementConstraint[]; @@ -5909,7 +5904,7 @@ export interface TaskDefinition { * 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 AWS Fargate, this field is required and you must use one of + *

                                                                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:

                                                                *
                                                                  @@ -5952,7 +5947,7 @@ export interface TaskDefinition { * information, see Docker * security.

                                                                  * - *

                                                                  This parameter is not supported for Windows containers or tasks run on AWS Fargate.

                                                                  + *

                                                                  This parameter is not supported for Windows containers or tasks run on Fargate.

                                                                  *
                                                                  */ pidMode?: PidMode | string; @@ -5988,7 +5983,7 @@ export interface TaskDefinition { * *
                                                                * - *

                                                                This parameter is not supported for Windows containers or tasks run on AWS Fargate.

                                                                + *

                                                                This parameter is not supported for Windows containers or tasks run on Fargate.

                                                                *
                                                                */ ipcMode?: IpcMode | string; @@ -6403,7 +6398,7 @@ export interface DescribeTaskDefinitionResponse { *
                                                              • *

                                                                Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                                *
                                                              • *
                                                              @@ -6813,7 +6808,7 @@ export interface TaskOverride { /** *

                                                              The ephemeral storage setting override for the task.

                                                              * - *

                                                              This parameter is only supported for tasks hosted on AWS Fargate using platform + *

                                                              This parameter is only supported for tasks hosted on Fargate using platform * version 1.4.0 or later.

                                                              *
                                                              */ @@ -7020,7 +7015,7 @@ export interface Task { *

                                                              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 AWS Fargate Platform + * information, see Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

                                                              */ platformVersion?: string; @@ -7101,7 +7096,7 @@ export interface Task { *
                                                            • *

                                                              Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                              *
                                                            • *
                                                            @@ -7227,7 +7222,7 @@ export namespace DescribeTaskSetsResponse { export interface DiscoverPollEndpointRequest { /** *

                                                            The container instance ID or full ARN of the container instance. - * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                            + * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                            */ containerInstance?: string; @@ -8323,8 +8318,8 @@ export interface PutClusterCapacityProvidersRequest { *

                                                            The name of one or more capacity providers to associate with the cluster.

                                                            *

                                                            If specifying a capacity provider that uses an Auto Scaling group, the capacity * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                            - *

                                                            To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                            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 * used.

                                                            */ @@ -8343,8 +8338,8 @@ export interface PutClusterCapacityProvidersRequest { * UPDATING status can be used.

                                                            *

                                                            If specifying a capacity provider that uses an Auto Scaling group, the capacity * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                            - *

                                                            To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                            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 * used.

                                                            */ @@ -8507,7 +8502,7 @@ export interface RegisterContainerInstanceRequest { *
                                                          • *

                                                            Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                            *
                                                          • *
                                                          @@ -8558,7 +8553,7 @@ export interface RegisterTaskDefinitionRequest { /** *

                                                          The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent - * permission to make AWS API calls on your behalf. The task execution IAM role is required + * permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required * depending on the requirements of your task. For more information, see Amazon ECS task * execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                          */ @@ -8569,7 +8564,7 @@ export interface RegisterTaskDefinitionRequest { * none, bridge, awsvpc, and host. * If no network mode is specified, the default is bridge.

                                                          *

                                                          For Amazon ECS tasks on Fargate, the awsvpc network mode is required. - * For Amazon ECS tasks on Amazon EC2 instances, any network mode can be used. If the network + * For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network * mode is set to none, you cannot specify port mappings in your container * definitions, and the tasks containers do not have external connectivity. The * host and awsvpc network modes offer the highest networking @@ -8589,17 +8584,8 @@ export interface RegisterTaskDefinitionRequest { * interface, and you must specify a NetworkConfiguration value when you create * a service or run a task with the task definition. For more information, see Task Networking in the * Amazon Elastic Container Service Developer Guide.

                                                          - * - *

                                                          Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the - * ecs-init package, or AWS Fargate infrastructure support the - * awsvpc network mode.

                                                          - *
                                                          *

                                                          If the network mode is host, you cannot run multiple instantiations of the * same task on a single container instance when port mappings are used.

                                                          - *

                                                          Docker for Windows uses different network modes than Docker for Linux. When you - * register a task definition with Windows containers, you must not specify a network mode. - * If you use the console to register a task definition with Windows containers, you must - * choose the network mode object.

                                                          *

                                                          For more information, see Network * settings in the Docker run reference.

                                                          */ @@ -8732,7 +8718,7 @@ export interface RegisterTaskDefinitionRequest { *
                                                        • *

                                                          Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                          *
                                                        • *
                                                        @@ -8754,7 +8740,7 @@ export interface RegisterTaskDefinitionRequest { * information, see Docker * security.

                                                        * - *

                                                        This parameter is not supported for Windows containers or tasks run on AWS Fargate.

                                                        + *

                                                        This parameter is not supported for Windows containers or tasks run on Fargate.

                                                        *
                                                        */ pidMode?: PidMode | string; @@ -8790,7 +8776,7 @@ export interface RegisterTaskDefinitionRequest { * *
                                                      * - *

                                                      This parameter is not supported for Windows containers or tasks run on AWS Fargate.

                                                      + *

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      *
                                                      */ ipcMode?: IpcMode | string; @@ -8815,10 +8801,10 @@ export interface RegisterTaskDefinitionRequest { /** *

                                                      The amount of ephemeral storage to allocate for the task. This parameter is used to * expand the total amount of ephemeral storage available, beyond the default amount, for - * tasks hosted on AWS Fargate. For more information, see Fargate task - * storage in the Amazon ECS User Guide for AWS Fargate.

                                                      + * 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 AWS Fargate using platform + *

                                                      This parameter is only supported for tasks hosted on Fargate using platform * version 1.4.0 or later.

                                                      *
                                                      */ @@ -8856,7 +8842,8 @@ export namespace RegisterTaskDefinitionResponse { } /** - *

                                                      Your AWS account has been blocked. For more information, contact AWS Support.

                                                      + *

                                                      Your Amazon Web Services account has been blocked. For more information, contact + * Amazon Web Services Support.

                                                      */ export interface BlockedException extends __SmithyException, $MetadataBearer { name: "BlockedException"; @@ -8880,6 +8867,7 @@ 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.

                                                      */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; @@ -8918,12 +8906,12 @@ export interface RunTaskRequest { /** *

                                                      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 FARGATE launch type runs your tasks on AWS Fargate On-Demand + *

                                                      The FARGATE launch type runs your tasks on Fargate On-Demand * infrastructure.

                                                      * *

                                                      Fargate Spot infrastructure is available for use but a capacity provider - * strategy must be used. For more information, see AWS Fargate capacity providers in the - * Amazon ECS User Guide for AWS Fargate.

                                                      + * strategy must be used. For more information, see Fargate capacity providers in the + * Amazon ECS User Guide for Fargate.

                                                      *
                                                      *

                                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your * cluster.

                                                      @@ -8932,6 +8920,7 @@ export interface RunTaskRequest { *

                                                      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.

                                                      */ launchType?: LaunchType | string; @@ -8975,7 +8964,7 @@ export interface RunTaskRequest { *

                                                      The platform version the task should run. 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 - * AWS Fargate Platform + * Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

                                                      */ platformVersion?: string; @@ -9038,7 +9027,7 @@ export interface RunTaskRequest { *
                                                    • *

                                                      Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                      *
                                                    • *
                                                    @@ -9190,7 +9179,7 @@ export interface StartTaskRequest { *
                                                  • *

                                                    Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                    *
                                                  • *
                                                  @@ -9627,7 +9616,7 @@ export interface TagResourceRequest { *
                                                • *

                                                  Do not use aws:, AWS:, or any upper or lowercase * combination of such as a prefix for either keys or values as it is reserved for - * AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with + * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with * this prefix do not count against your tags per resource limit.

                                                  *
                                                • *
                                                @@ -9709,7 +9698,7 @@ export interface AutoScalingGroupProviderUpdate { *

                                                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 AWS Auto Scaling User Guide.

                                                + * 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.

                                                */ @@ -10021,8 +10010,8 @@ export interface UpdateServiceRequest { * UPDATING status can be used.

                                                *

                                                If specifying a capacity provider that uses an Auto Scaling group, the capacity * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                - *

                                                To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + *

                                                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 * used.

                                                *

                                                The PutClusterCapacityProviders API operation is used to update the @@ -10066,7 +10055,7 @@ export interface UpdateServiceRequest { *

                                                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 AWS Fargate Platform + * default. For more information, see Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

                                                */ platformVersion?: string; diff --git a/clients/client-eks/EKS.ts b/clients/client-eks/EKS.ts index 72c9fa085dedf..82986bee0ded2 100644 --- a/clients/client-eks/EKS.ts +++ b/clients/client-eks/EKS.ts @@ -139,7 +139,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** *

                                                Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on - * AWS without needing to stand up or maintain your own Kubernetes control plane. + * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane. * Kubernetes is an open-source system for automating the deployment, scaling, and * management of containerized applications.

                                                *

                                                Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use @@ -154,7 +154,7 @@ export class EKS extends EKSClient { *

                                                Associate encryption configuration to an existing cluster.

                                                *

                                                You can use this API to enable encryption on existing clusters which do not have * encryption already enabled. This allows you to implement a defense-in-depth security - * strategy without migrating applications to new EKS clusters.

                                                + * strategy without migrating applications to new Amazon EKS clusters.

                                                */ public associateEncryptionConfig( args: AssociateEncryptionConfigCommandInput, @@ -259,7 +259,7 @@ export class EKS extends EKSClient { *

                                                Creates an Amazon EKS control plane.

                                                *

                                                The Amazon EKS control plane consists of control plane instances that run the Kubernetes * software, such as etcd and the API server. The control plane runs in an - * account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server + * account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server * endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its * own set of Amazon EC2 instances.

                                                *

                                                The cluster control plane is provisioned across multiple Availability Zones and @@ -267,7 +267,7 @@ export class EKS extends EKSClient { * subnets to provide connectivity from the control plane instances to the nodes (for * example, to support kubectl exec, logs, and proxy * data flows).

                                                - *

                                                Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via + *

                                                Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via * the Kubernetes API server endpoint and a certificate file that is created for your * cluster.

                                                * @@ -306,7 +306,7 @@ export class EKS extends EKSClient { } /** - *

                                                Creates an AWS Fargate profile for your Amazon EKS cluster. You must have at least one Fargate + *

                                                Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate * profile in a cluster to be able to run pods on Fargate.

                                                *

                                                The Fargate profile allows an administrator to declare which pods run on Fargate and specify * which pods run on which Fargate profile. This declaration is done through the profile’s @@ -329,7 +329,7 @@ export class EKS extends EKSClient { *

                                                If any Fargate profiles in a cluster are in the DELETING status, you must * wait for that Fargate profile to finish deleting before you can create any other profiles * in that cluster.

                                                - *

                                                For more information, see AWS Fargate Profile in the Amazon EKS User Guide.

                                                + *

                                                For more information, see Fargate Profile in the Amazon EKS User Guide.

                                                */ public createFargateProfile( args: CreateFargateProfileCommandInput, @@ -368,7 +368,7 @@ export class EKS extends EKSClient { * template. For more information about using launch templates, see Launch * template support.

                                                *

                                                An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that - * are managed by AWS for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS + * are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS * optimized Amazon Linux 2 AMI. For more information, see Managed * Node Groups in the Amazon EKS User Guide.

                                                */ @@ -469,7 +469,7 @@ export class EKS extends EKSClient { } /** - *

                                                Deletes an AWS Fargate profile.

                                                + *

                                                Deletes an Fargate profile.

                                                *

                                                When you delete a Fargate profile, any pods running on Fargate that were created with the * profile are deleted. If those pods match another Fargate profile, then they are scheduled * on Fargate with that profile. If they no longer match any Fargate profiles, then they are not @@ -644,7 +644,7 @@ export class EKS extends EKSClient { } /** - *

                                                Returns descriptive information about an AWS Fargate profile.

                                                + *

                                                Returns descriptive information about an Fargate profile.

                                                */ public describeFargateProfile( args: DescribeFargateProfileCommandInput, @@ -778,7 +778,7 @@ export class EKS extends EKSClient { /** *

                                                Disassociates an identity provider configuration from a cluster. If you disassociate * an identity provider from your cluster, users included in the provider can no longer - * access the cluster. However, you can still access the cluster with AWS IAM + * access the cluster. However, you can still access the cluster with Amazon Web Services IAM * users.

                                                */ public disassociateIdentityProviderConfig( @@ -837,7 +837,7 @@ export class EKS extends EKSClient { } /** - *

                                                Lists the Amazon EKS clusters in your AWS account in the specified Region.

                                                + *

                                                Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.

                                                */ public listClusters( args: ListClustersCommandInput, @@ -866,7 +866,7 @@ export class EKS extends EKSClient { } /** - *

                                                Lists the AWS Fargate profiles associated with the specified cluster in your AWS + *

                                                Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services * account in the specified Region.

                                                */ public listFargateProfiles( @@ -932,7 +932,7 @@ export class EKS extends EKSClient { /** *

                                                Lists the Amazon EKS managed node groups associated with the specified cluster in your - * AWS account in the specified Region. Self-managed node groups are not listed.

                                                + * Amazon Web Services account in the specified Region. Self-managed node groups are not listed.

                                                */ public listNodegroups( args: ListNodegroupsCommandInput, @@ -996,7 +996,7 @@ export class EKS extends EKSClient { } /** - *

                                                Lists the updates associated with an Amazon EKS cluster or managed node group in your AWS + *

                                                Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services * account, in the specified Region.

                                                */ public listUpdates(args: ListUpdatesCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1125,12 +1125,12 @@ export class EKS extends EKSClient { * .

                                                * *

                                                CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported - * control plane logs. For more information, see Amazon CloudWatch Pricing.

                                                + * control plane logs. For more information, see CloudWatch Pricing.

                                                *
                                                *

                                                You can also use this API operation to enable or disable public and private access to * your cluster's Kubernetes API server endpoint. By default, public access is enabled, and - * private access is disabled. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * private access is disabled. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                * diff --git a/clients/client-eks/EKSClient.ts b/clients/client-eks/EKSClient.ts index d6e94fa230cee..9c7e8f790dec4 100644 --- a/clients/client-eks/EKSClient.ts +++ b/clients/client-eks/EKSClient.ts @@ -336,7 +336,7 @@ export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {} /** *

                                                Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on - * AWS without needing to stand up or maintain your own Kubernetes control plane. + * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane. * Kubernetes is an open-source system for automating the deployment, scaling, and * management of containerized applications.

                                                *

                                                Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use diff --git a/clients/client-eks/README.md b/clients/client-eks/README.md index 0033716210891..d10762cc615db 100644 --- a/clients/client-eks/README.md +++ b/clients/client-eks/README.md @@ -8,7 +8,7 @@ AWS SDK for JavaScript EKS Client for Node.js, Browser and React Native.

                                                Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on -AWS without needing to stand up or maintain your own Kubernetes control plane. +Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications.

                                                Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use diff --git a/clients/client-eks/commands/AssociateEncryptionConfigCommand.ts b/clients/client-eks/commands/AssociateEncryptionConfigCommand.ts index a68fa5cc1fe13..707958493ea49 100644 --- a/clients/client-eks/commands/AssociateEncryptionConfigCommand.ts +++ b/clients/client-eks/commands/AssociateEncryptionConfigCommand.ts @@ -24,7 +24,7 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt *

                                                Associate encryption configuration to an existing cluster.

                                                *

                                                You can use this API to enable encryption on existing clusters which do not have * encryption already enabled. This allows you to implement a defense-in-depth security - * strategy without migrating applications to new EKS clusters.

                                                + * strategy without migrating applications to new Amazon EKS clusters.

                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-eks/commands/CreateClusterCommand.ts b/clients/client-eks/commands/CreateClusterCommand.ts index f26498de96bc6..11bed582b74a9 100644 --- a/clients/client-eks/commands/CreateClusterCommand.ts +++ b/clients/client-eks/commands/CreateClusterCommand.ts @@ -24,7 +24,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met *

                                                Creates an Amazon EKS control plane.

                                                *

                                                The Amazon EKS control plane consists of control plane instances that run the Kubernetes * software, such as etcd and the API server. The control plane runs in an - * account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server + * account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server * endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its * own set of Amazon EC2 instances.

                                                *

                                                The cluster control plane is provisioned across multiple Availability Zones and @@ -32,7 +32,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * subnets to provide connectivity from the control plane instances to the nodes (for * example, to support kubectl exec, logs, and proxy * data flows).

                                                - *

                                                Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via + *

                                                Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via * the Kubernetes API server endpoint and a certificate file that is created for your * cluster.

                                                * diff --git a/clients/client-eks/commands/CreateFargateProfileCommand.ts b/clients/client-eks/commands/CreateFargateProfileCommand.ts index ea7738e50623b..db823404991fa 100644 --- a/clients/client-eks/commands/CreateFargateProfileCommand.ts +++ b/clients/client-eks/commands/CreateFargateProfileCommand.ts @@ -21,7 +21,7 @@ export interface CreateFargateProfileCommandInput extends CreateFargateProfileRe export interface CreateFargateProfileCommandOutput extends CreateFargateProfileResponse, __MetadataBearer {} /** - *

                                                Creates an AWS Fargate profile for your Amazon EKS cluster. You must have at least one Fargate + *

                                                Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate * profile in a cluster to be able to run pods on Fargate.

                                                *

                                                The Fargate profile allows an administrator to declare which pods run on Fargate and specify * which pods run on which Fargate profile. This declaration is done through the profile’s @@ -44,7 +44,7 @@ export interface CreateFargateProfileCommandOutput extends CreateFargateProfileR *

                                                If any Fargate profiles in a cluster are in the DELETING status, you must * wait for that Fargate profile to finish deleting before you can create any other profiles * in that cluster.

                                                - *

                                                For more information, see AWS Fargate Profile in the Amazon EKS User Guide.

                                                + *

                                                For more information, see Fargate Profile in the Amazon EKS User Guide.

                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-eks/commands/CreateNodegroupCommand.ts b/clients/client-eks/commands/CreateNodegroupCommand.ts index f9e081cf0b0f2..05d73f0438559 100644 --- a/clients/client-eks/commands/CreateNodegroupCommand.ts +++ b/clients/client-eks/commands/CreateNodegroupCommand.ts @@ -28,7 +28,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _ * template. For more information about using launch templates, see Launch * template support.

                                                *

                                                An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that - * are managed by AWS for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS + * are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS * optimized Amazon Linux 2 AMI. For more information, see Managed * Node Groups in the Amazon EKS User Guide.

                                                * @example diff --git a/clients/client-eks/commands/DeleteFargateProfileCommand.ts b/clients/client-eks/commands/DeleteFargateProfileCommand.ts index c69d9f1090e90..98b359f3bfd77 100644 --- a/clients/client-eks/commands/DeleteFargateProfileCommand.ts +++ b/clients/client-eks/commands/DeleteFargateProfileCommand.ts @@ -21,7 +21,7 @@ export interface DeleteFargateProfileCommandInput extends DeleteFargateProfileRe export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileResponse, __MetadataBearer {} /** - *

                                                Deletes an AWS Fargate profile.

                                                + *

                                                Deletes an Fargate profile.

                                                *

                                                When you delete a Fargate profile, any pods running on Fargate that were created with the * profile are deleted. If those pods match another Fargate profile, then they are scheduled * on Fargate with that profile. If they no longer match any Fargate profiles, then they are not diff --git a/clients/client-eks/commands/DescribeFargateProfileCommand.ts b/clients/client-eks/commands/DescribeFargateProfileCommand.ts index c930ccb015c21..46eb9256c701c 100644 --- a/clients/client-eks/commands/DescribeFargateProfileCommand.ts +++ b/clients/client-eks/commands/DescribeFargateProfileCommand.ts @@ -21,7 +21,7 @@ export interface DescribeFargateProfileCommandInput extends DescribeFargateProfi export interface DescribeFargateProfileCommandOutput extends DescribeFargateProfileResponse, __MetadataBearer {} /** - *

                                                Returns descriptive information about an AWS Fargate profile.

                                                + *

                                                Returns descriptive information about an Fargate profile.

                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-eks/commands/DisassociateIdentityProviderConfigCommand.ts b/clients/client-eks/commands/DisassociateIdentityProviderConfigCommand.ts index 2be0fa94cbdc0..88bc390f5aa73 100644 --- a/clients/client-eks/commands/DisassociateIdentityProviderConfigCommand.ts +++ b/clients/client-eks/commands/DisassociateIdentityProviderConfigCommand.ts @@ -28,7 +28,7 @@ export interface DisassociateIdentityProviderConfigCommandOutput /** *

                                                Disassociates an identity provider configuration from a cluster. If you disassociate * an identity provider from your cluster, users included in the provider can no longer - * access the cluster. However, you can still access the cluster with AWS IAM + * access the cluster. However, you can still access the cluster with Amazon Web Services IAM * users.

                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-eks/commands/ListClustersCommand.ts b/clients/client-eks/commands/ListClustersCommand.ts index 52fb1b850dcb1..b712155dcde32 100644 --- a/clients/client-eks/commands/ListClustersCommand.ts +++ b/clients/client-eks/commands/ListClustersCommand.ts @@ -21,7 +21,7 @@ export interface ListClustersCommandInput extends ListClustersRequest {} export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer {} /** - *

                                                Lists the Amazon EKS clusters in your AWS account in the specified Region.

                                                + *

                                                Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.

                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-eks/commands/ListFargateProfilesCommand.ts b/clients/client-eks/commands/ListFargateProfilesCommand.ts index 0a2b521d35baf..3919e183b02c7 100644 --- a/clients/client-eks/commands/ListFargateProfilesCommand.ts +++ b/clients/client-eks/commands/ListFargateProfilesCommand.ts @@ -21,7 +21,7 @@ export interface ListFargateProfilesCommandInput extends ListFargateProfilesRequ export interface ListFargateProfilesCommandOutput extends ListFargateProfilesResponse, __MetadataBearer {} /** - *

                                                Lists the AWS Fargate profiles associated with the specified cluster in your AWS + *

                                                Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services * account in the specified Region.

                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-eks/commands/ListNodegroupsCommand.ts b/clients/client-eks/commands/ListNodegroupsCommand.ts index fa0ad7a5ac572..3fa4213576c20 100644 --- a/clients/client-eks/commands/ListNodegroupsCommand.ts +++ b/clients/client-eks/commands/ListNodegroupsCommand.ts @@ -22,7 +22,7 @@ export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __M /** *

                                                Lists the Amazon EKS managed node groups associated with the specified cluster in your - * AWS account in the specified Region. Self-managed node groups are not listed.

                                                + * Amazon Web Services account in the specified Region. Self-managed node groups are not listed.

                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-eks/commands/ListUpdatesCommand.ts b/clients/client-eks/commands/ListUpdatesCommand.ts index 896949766f7fa..4f9d14ec24372 100644 --- a/clients/client-eks/commands/ListUpdatesCommand.ts +++ b/clients/client-eks/commands/ListUpdatesCommand.ts @@ -21,7 +21,7 @@ export interface ListUpdatesCommandInput extends ListUpdatesRequest {} export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __MetadataBearer {} /** - *

                                                Lists the updates associated with an Amazon EKS cluster or managed node group in your AWS + *

                                                Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services * account, in the specified Region.

                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-eks/commands/UpdateClusterConfigCommand.ts b/clients/client-eks/commands/UpdateClusterConfigCommand.ts index e10942450ced4..e482c389b96d2 100644 --- a/clients/client-eks/commands/UpdateClusterConfigCommand.ts +++ b/clients/client-eks/commands/UpdateClusterConfigCommand.ts @@ -33,12 +33,12 @@ export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigRes *
                                                .

                                                * *

                                                CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported - * control plane logs. For more information, see Amazon CloudWatch Pricing.

                                                + * control plane logs. For more information, see CloudWatch Pricing.

                                                *
                                                *

                                                You can also use this API operation to enable or disable public and private access to * your cluster's Kubernetes API server endpoint. By default, public access is enabled, and - * private access is disabled. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * private access is disabled. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                * diff --git a/clients/client-eks/models/models_0.ts b/clients/client-eks/models/models_0.ts index 3300bbe5764a6..63cbea268abe2 100644 --- a/clients/client-eks/models/models_0.ts +++ b/clients/client-eks/models/models_0.ts @@ -226,14 +226,14 @@ export namespace AddonInfo { export type AMITypes = "AL2_ARM_64" | "AL2_x86_64" | "AL2_x86_64_GPU" | "CUSTOM"; /** - *

                                                Identifies the AWS Key Management Service (AWS KMS) key used to encrypt the secrets.

                                                + *

                                                Identifies the Key Management Service (KMS) key used to encrypt the secrets.

                                                */ export interface Provider { /** *

                                                Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same * region as the cluster, and if the KMS key was created in a different account, the user * must have access to the KMS key. For more information, see Allowing - * Users in Other Accounts to Use a KMS key in the AWS Key Management Service + * Users in Other Accounts to Use a KMS key in the Key Management Service * Developer Guide.

                                                */ keyArn?: string; @@ -258,7 +258,7 @@ export interface EncryptionConfig { resources?: string[]; /** - *

                                                AWS Key Management Service (AWS KMS) key. Either the ARN or the alias can be used.

                                                + *

                                                Key Management Service (KMS) key. Either the ARN or the alias can be used.

                                                */ provider?: Provider; } @@ -865,8 +865,8 @@ export interface CreateAddonRequest { clusterName: string | undefined; /** - *

                                                The name of the add-on. The name must match one of the names returned by - * ListAddons + *

                                                The name of the add-on. The name must match one of the names returned by + * DescribeAddonVersions * .

                                                */ addonName: string | undefined; @@ -1041,7 +1041,7 @@ export interface VpcConfigRequest { /** *

                                                Specify one or more security groups for the cross-account elastic network interfaces - * that Amazon EKS creates to use to allow communication between your nodes and the Kubernetes + * that Amazon EKS creates to use that allow communication between your nodes and the Kubernetes * control plane. If you don't specify any security groups, then familiarize yourself with * the difference between Amazon EKS defaults for clusters deployed with Kubernetes:

                                                *
                                                  @@ -1064,8 +1064,8 @@ export interface VpcConfigRequest { * Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes * API server can only receive requests from within the cluster VPC. The default value for * this parameter is true, which enables public access for your Kubernetes API - * server. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * server. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                  */ @@ -1076,10 +1076,10 @@ export interface VpcConfigRequest { * Kubernetes API server endpoint. If you enable private access, Kubernetes API requests * from within your cluster's VPC use the private VPC endpoint. The default value for this * parameter is false, which disables private access for your Kubernetes API - * server. If you disable private access and you have nodes or AWS Fargate pods in the + * server. If you disable private access and you have nodes or Fargate pods in the * cluster, then ensure that publicAccessCidrs includes the necessary CIDR - * blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                  */ @@ -1089,9 +1089,9 @@ export interface VpcConfigRequest { *

                                                  The CIDR blocks that are allowed access to your cluster's public Kubernetes API server * endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that * you specify is denied. The default value is 0.0.0.0/0. If you've disabled - * private endpoint access and you have nodes or AWS Fargate pods in the cluster, then ensure - * that you specify the necessary CIDR blocks. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * private endpoint access and you have nodes or Fargate pods in the cluster, then ensure + * that you specify the necessary CIDR blocks. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                  */ @@ -1121,7 +1121,7 @@ export interface CreateClusterRequest { /** *

                                                  The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control - * plane to make calls to AWS API operations on your behalf. For more information, see + * plane to make calls to Amazon Web Services API operations on your behalf. For more information, see * Amazon EKS * Service IAM Role in the * Amazon EKS User Guide @@ -1147,13 +1147,13 @@ export interface CreateClusterRequest { /** *

                                                  Enable or disable exporting the Kubernetes control plane logs for your cluster to * CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more - * information, see Amazon EKS Cluster Control Plane Logs in the + * information, see Amazon EKS Cluster control plane logs in the * * Amazon EKS User Guide * .

                                                  * *

                                                  CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported - * control plane logs. For more information, see Amazon CloudWatch Pricing.

                                                  + * control plane logs. For more information, see CloudWatch Pricing.

                                                  *
                                                  */ logging?: Logging; @@ -1307,10 +1307,10 @@ export interface VpcConfigResponse { *

                                                  This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If * the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate * from within your cluster's VPC use the private VPC endpoint instead of traversing the - * internet. If this value is disabled and you have nodes or AWS Fargate pods in the cluster, + * internet. If this value is disabled and you have nodes or Fargate pods in the cluster, * then ensure that publicAccessCidrs includes the necessary CIDR blocks for - * communication with the nodes or Fargate pods. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                  */ @@ -1320,9 +1320,9 @@ export interface VpcConfigResponse { *

                                                  The CIDR blocks that are allowed access to your cluster's public Kubernetes API server * endpoint. Communication to the endpoint from addresses outside of the listed CIDR blocks * is denied. The default value is 0.0.0.0/0. If you've disabled private - * endpoint access and you have nodes or AWS Fargate pods in the cluster, then ensure that the - * necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster - * Endpoint Access Control in the + * endpoint access and you have nodes or Fargate pods in the cluster, then ensure that the + * necessary CIDR blocks are listed. For more information, see Amazon EKS cluster + * endpoint access control in the * Amazon EKS User Guide * .

                                                  */ @@ -1371,7 +1371,7 @@ export interface Cluster { /** *

                                                  The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control - * plane to make calls to AWS API operations on your behalf.

                                                  + * plane to make calls to Amazon Web Services API operations on your behalf.

                                                  */ roleArn?: string; @@ -1543,7 +1543,7 @@ export namespace UnsupportedAvailabilityZoneException { } /** - *

                                                  An object representing an AWS Fargate profile selector.

                                                  + *

                                                  An object representing an Fargate profile selector.

                                                  */ export interface FargateProfileSelector { /** @@ -1628,7 +1628,7 @@ export namespace CreateFargateProfileRequest { export type FargateProfileStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DELETE_FAILED" | "DELETING"; /** - *

                                                  An object representing an AWS Fargate profile.

                                                  + *

                                                  An object representing an Fargate profile.

                                                  */ export interface FargateProfile { /** @@ -1762,8 +1762,8 @@ export namespace LaunchTemplateSpecification { export interface RemoteAccessConfig { /** *

                                                  The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the - * managed node group. For more information, see Amazon EC2 Key - * Pairs in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

                                                  + * managed node group. For more information, see Amazon EC2 key + * pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

                                                  */ ec2SshKey?: string; @@ -1794,8 +1794,7 @@ export namespace RemoteAccessConfig { */ export interface NodegroupScalingConfig { /** - *

                                                  The minimum number of nodes that the managed node group can scale in to. This number - * must be greater than zero.

                                                  + *

                                                  The minimum number of nodes that the managed node group can scale in to.

                                                  */ minSize?: number; @@ -1856,8 +1855,21 @@ export namespace Taint { }); } +/** + *

                                                  The node group update configuration.

                                                  + */ export interface NodegroupUpdateConfig { + /** + *

                                                  The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. + * This value or maxUnavailablePercentage is required to have a value.The maximum number + * is 100.

                                                  + */ maxUnavailable?: number; + + /** + *

                                                  The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be + * updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.

                                                  + */ maxUnavailablePercentage?: number; } @@ -1937,7 +1949,7 @@ export interface CreateNodegroupRequest { /** *

                                                  The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker - * node kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive + * node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive * permissions for these API calls through an IAM instance profile and associated * policies. Before you can launch nodes and register them into a cluster, you must create * an IAM role for those nodes to use when they are launched. For more information, see @@ -1984,7 +1996,11 @@ export interface CreateNodegroupRequest { */ launchTemplate?: LaunchTemplateSpecification; + /** + *

                                                  The node group update configuration.

                                                  + */ updateConfig?: NodegroupUpdateConfig; + /** *

                                                  The capacity type for your node group.

                                                  */ @@ -2119,7 +2135,7 @@ export interface Issue { * *
                                                • *

                                                  - * InstanceLimitExceeded: Your AWS account is + * InstanceLimitExceeded: Your Amazon Web Services account is * unable to launch any more instances of the specified instance type. You may be * able to request an Amazon EC2 instance limit increase to recover.

                                                  *
                                                • @@ -2151,7 +2167,7 @@ export interface Issue { message?: string; /** - *

                                                  The AWS resources that are afflicted by this issue.

                                                  + *

                                                  The Amazon Web Services resources that are afflicted by this issue.

                                                  */ resourceIds?: string[]; } @@ -2308,7 +2324,7 @@ export interface Nodegroup { /** *

                                                  The IAM role associated with your node group. The Amazon EKS node kubelet - * daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for these API + * daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API * calls through an IAM instance profile and associated policies.

                                                  */ nodeRole?: string; @@ -2324,7 +2340,7 @@ export interface Nodegroup { /** *

                                                  The Kubernetes taints to be applied to the nodes in the node group when they are - * created. Effect is one of NoSchedule, PreferNoSchedule, or NoExecute. Kubernetes taints + * created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints * can be used together with tolerations to control how workloads are scheduled to your * nodes.

                                                  */ @@ -2349,7 +2365,11 @@ export interface Nodegroup { */ health?: NodegroupHealth; + /** + *

                                                  The node group update configuration.

                                                  + */ updateConfig?: NodegroupUpdateConfig; + /** *

                                                  If a launch template was used to create the node group, then this is the launch * template that was used.

                                                  @@ -3145,7 +3165,7 @@ export namespace ListClustersResponse { export interface ListFargateProfilesRequest { /** - *

                                                  The name of the Amazon EKS cluster that you would like to listFargate profiles in.

                                                  + *

                                                  The name of the Amazon EKS cluster that you would like to list Fargate profiles in.

                                                  */ clusterName: string | undefined; @@ -3620,13 +3640,13 @@ export interface UpdateClusterConfigRequest { /** *

                                                  Enable or disable exporting the Kubernetes control plane logs for your cluster to * CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more - * information, see Amazon EKS Cluster Control Plane Logs in the + * information, see Amazon EKS cluster control plane logs in the * * Amazon EKS User Guide * .

                                                  * *

                                                  CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported - * control plane logs. For more information, see Amazon CloudWatch Pricing.

                                                  + * control plane logs. For more information, see CloudWatch Pricing.

                                                  *
                                                  */ logging?: Logging; @@ -3782,7 +3802,11 @@ export interface UpdateNodegroupConfigRequest { */ scalingConfig?: NodegroupScalingConfig; + /** + *

                                                  The node group update configuration.

                                                  + */ updateConfig?: NodegroupUpdateConfig; + /** *

                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the * request.

                                                  diff --git a/clients/client-frauddetector/models/models_0.ts b/clients/client-frauddetector/models/models_0.ts index 561d7e6f27b54..a138f350fc31a 100644 --- a/clients/client-frauddetector/models/models_0.ts +++ b/clients/client-frauddetector/models/models_0.ts @@ -1619,6 +1619,54 @@ export namespace TrainingMetrics { }); } +/** + *

                                                  The logit metric details.

                                                  + */ +export interface LogitMetric { + /** + *

                                                  The name of the variable.

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

                                                  The type of variable.

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

                                                  The relative importance of the variable.

                                                  + */ + variableImportance: number | undefined; +} + +export namespace LogitMetric { + /** + * @internal + */ + export const filterSensitiveLog = (obj: LogitMetric): any => ({ + ...obj, + }); +} + +/** + *

                                                  The variable importance metrics details.

                                                  + */ +export interface VariableImportanceMetrics { + /** + *

                                                  List of variable metrics.

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

                                                  The training result details.

                                                  */ @@ -1632,6 +1680,11 @@ export interface TrainingResult { *

                                                  The training metric details.

                                                  */ trainingMetrics?: TrainingMetrics; + + /** + *

                                                  The variable importance metrics.

                                                  + */ + variableImportanceMetrics?: VariableImportanceMetrics; } export namespace TrainingResult { @@ -2218,7 +2271,32 @@ export interface GetEventPredictionRequest { eventTimestamp: string | undefined; /** - *

                                                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

                                                  + *

                                                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and + * their corresponding values for the event you are sending for evaluation.

                                                  + * + *
                                                    + *
                                                  • + *

                                                    You must provide at least one eventVariable

                                                    + *
                                                  • + *
                                                  • + *

                                                    If detectorVersion is associated with a modelVersion, you must provide at least one associated eventVariable

                                                    + *
                                                  • + *
                                                  + *
                                                  + * + *

                                                  To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

                                                  + * + *

                                                  + * For Amazon Fraud Detector trained models: + *

                                                  + *

                                                  If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) + * with calculated default mean/medians for numeric variables and with special values for categorical variables.

                                                  + * + *

                                                  + * For External models ( for example, imported SageMaker): + *

                                                  + *

                                                  If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules + * will use the default value that is provided for the variable.

                                                  */ eventVariables: { [key: string]: string } | undefined; diff --git a/clients/client-frauddetector/protocols/Aws_json1_1.ts b/clients/client-frauddetector/protocols/Aws_json1_1.ts index 13839847fba09..7f0d7f43db7b5 100644 --- a/clients/client-frauddetector/protocols/Aws_json1_1.ts +++ b/clients/client-frauddetector/protocols/Aws_json1_1.ts @@ -200,6 +200,7 @@ import { LabelSchema, ListTagsForResourceRequest, ListTagsForResourceResult, + LogitMetric, MetricDataPoint, Model, ModelEndpointDataBlob, @@ -257,6 +258,7 @@ import { ValidationException, Variable, VariableEntry, + VariableImportanceMetrics, } from "../models/models_0"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { @@ -1293,6 +1295,14 @@ const deserializeAws_json1_1CreateBatchPredictionJobCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ValidationException": case "com.amazonaws.frauddetector#ValidationException": response = { @@ -7243,6 +7253,17 @@ const deserializeAws_json1_1LabelSchema = (output: any, context: __SerdeContext) } as any; }; +const deserializeAws_json1_1ListOfLogitMetrics = (output: any, context: __SerdeContext): LogitMetric[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1LogitMetric(entry, context); + }); +}; + const deserializeAws_json1_1ListOfModelScores = (output: any, context: __SerdeContext): ModelScores[] => { return (output || []) .filter((e: any) => e != null) @@ -7300,6 +7321,14 @@ const deserializeAws_json1_1ListTagsForResourceResult = ( } as any; }; +const deserializeAws_json1_1LogitMetric = (output: any, context: __SerdeContext): LogitMetric => { + return { + variableImportance: __handleFloat(output.variableImportance), + variableName: __expectString(output.variableName), + variableType: __expectString(output.variableType), + } as any; +}; + const deserializeAws_json1_1MetricDataPoint = (output: any, context: __SerdeContext): MetricDataPoint => { return { fpr: __handleFloat(output.fpr), @@ -7634,6 +7663,10 @@ const deserializeAws_json1_1TrainingResult = (output: any, context: __SerdeConte output.trainingMetrics !== undefined && output.trainingMetrics !== null ? deserializeAws_json1_1TrainingMetrics(output.trainingMetrics, context) : undefined, + variableImportanceMetrics: + output.variableImportanceMetrics !== undefined && output.variableImportanceMetrics !== null + ? deserializeAws_json1_1VariableImportanceMetrics(output.variableImportanceMetrics, context) + : undefined, } as any; }; @@ -7726,6 +7759,18 @@ const deserializeAws_json1_1Variable = (output: any, context: __SerdeContext): V } as any; }; +const deserializeAws_json1_1VariableImportanceMetrics = ( + output: any, + context: __SerdeContext +): VariableImportanceMetrics => { + return { + LogitMetrics: + output.LogitMetrics !== undefined && output.LogitMetrics !== null + ? deserializeAws_json1_1ListOfLogitMetrics(output.LogitMetrics, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1VariableList = (output: any, context: __SerdeContext): Variable[] => { return (output || []) .filter((e: any) => e != null) diff --git a/clients/client-glue/commands/GetJobBookmarkCommand.ts b/clients/client-glue/commands/GetJobBookmarkCommand.ts index c3a2799e769b2..a01a38a1410e2 100644 --- a/clients/client-glue/commands/GetJobBookmarkCommand.ts +++ b/clients/client-glue/commands/GetJobBookmarkCommand.ts @@ -1,6 +1,5 @@ import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { GetJobBookmarkRequest } from "../models/models_0"; -import { GetJobBookmarkResponse } from "../models/models_1"; +import { GetJobBookmarkRequest, GetJobBookmarkResponse } from "../models/models_1"; import { deserializeAws_json1_1GetJobBookmarkCommand, serializeAws_json1_1GetJobBookmarkCommand, diff --git a/clients/client-glue/models/models_0.ts b/clients/client-glue/models/models_0.ts index 8144663e4ec4d..438364db6d5d7 100644 --- a/clients/client-glue/models/models_0.ts +++ b/clients/client-glue/models/models_0.ts @@ -2093,6 +2093,31 @@ export namespace BatchGetTriggersRequest { }); } +/** + *

                                                  Batch condition that must be met (specified number of events received or batch time window expired) + * before EventBridge event trigger fires.

                                                  + */ +export interface EventBatchingCondition { + /** + *

                                                  Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

                                                  + */ + BatchSize: number | undefined; + + /** + *

                                                  Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.

                                                  + */ + BatchWindow?: number; +} + +export namespace EventBatchingCondition { + /** + * @internal + */ + export const filterSensitiveLog = (obj: EventBatchingCondition): any => ({ + ...obj, + }); +} + export enum CrawlState { CANCELLED = "CANCELLED", CANCELLING = "CANCELLING", @@ -2198,6 +2223,7 @@ export enum TriggerState { export enum TriggerType { CONDITIONAL = "CONDITIONAL", + EVENT = "EVENT", ON_DEMAND = "ON_DEMAND", SCHEDULED = "SCHEDULED", } @@ -2253,6 +2279,12 @@ export interface Trigger { *

                                                  The predicate of this trigger, which defines when it will fire.

                                                  */ Predicate?: Predicate; + + /** + *

                                                  Batch condition that must be met (specified number of events received or batch time window expired) + * before EventBridge event trigger fires.

                                                  + */ + EventBatchingCondition?: EventBatchingCondition; } export namespace Trigger { @@ -2307,8 +2339,8 @@ export namespace BatchGetWorkflowsRequest { } /** - *

                                                  An edge represents a directed connection between two Glue components that are part of the workflow the - * edge belongs to.

                                                  + *

                                                  An edge represents a directed connection between two components + * on a workflow graph.

                                                  */ export interface Edge { /** @@ -2643,7 +2675,7 @@ export enum NodeType { } /** - *

                                                  A node represents an Glue component such as a trigger, or job, etc., that is part of a workflow.

                                                  + *

                                                  A node represents an Glue component (trigger, crawler, or job) on a workflow graph.

                                                  */ export interface Node { /** @@ -2711,6 +2743,32 @@ export namespace WorkflowGraph { }); } +/** + *

                                                  The batch condition that started the workflow run. Either the number of events in the batch size arrived, + * in which case the BatchSize member is non-zero, or the batch window expired, in which case the BatchWindow + * member is non-zero.

                                                  + */ +export interface StartingEventBatchCondition { + /** + *

                                                  Number of events in the batch.

                                                  + */ + BatchSize?: number; + + /** + *

                                                  Duration of the batch window in seconds.

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

                                                  Workflow run statistics provides statistics about the workflow run.

                                                  */ @@ -2817,6 +2875,11 @@ export interface WorkflowRun { * connections between them as edges.

                                                  */ Graph?: WorkflowGraph; + + /** + *

                                                  The batch condition that started the workflow run.

                                                  + */ + StartingEventBatchCondition?: StartingEventBatchCondition; } export namespace WorkflowRun { @@ -2829,12 +2892,13 @@ export namespace WorkflowRun { } /** - *

                                                  A workflow represents a flow in which Glue components should be run to complete a logical - * task.

                                                  + *

                                                  A workflow is a collection of multiple dependent Glue + * jobs and crawlers that are run to complete a complex ETL task. A + * workflow manages the execution and monitoring of all its jobs and crawlers.

                                                  */ export interface Workflow { /** - *

                                                  The name of the workflow representing the flow.

                                                  + *

                                                  The name of the workflow.

                                                  */ Name?: string; @@ -2844,7 +2908,9 @@ export interface Workflow { Description?: string; /** - *

                                                  A collection of properties to be used as part of each execution of the workflow.

                                                  + *

                                                  A collection of properties to be used as part of each execution of the workflow. + * The run properties are made available to each job in the workflow. A job can modify + * the properties for the next jobs in the flow.

                                                  */ DefaultRunProperties?: { [key: string]: string }; @@ -5566,6 +5632,12 @@ export interface CreateTriggerRequest { * Amazon Web Services Tags in Glue in the developer guide.

                                                  */ Tags?: { [key: string]: string }; + + /** + *

                                                  Batch condition that must be met (specified number of events received or batch time window expired) + * before EventBridge event trigger fires.

                                                  + */ + EventBatchingCondition?: EventBatchingCondition; } export namespace CreateTriggerRequest { @@ -8472,73 +8544,3 @@ export namespace GetJobResponse { ...obj, }); } - -export interface GetJobBookmarkRequest { - /** - *

                                                  The name of the job in question.

                                                  - */ - JobName: string | undefined; - - /** - *

                                                  The unique run identifier associated with this job run.

                                                  - */ - RunId?: string; -} - -export namespace GetJobBookmarkRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetJobBookmarkRequest): any => ({ - ...obj, - }); -} - -/** - *

                                                  Defines a point that a job can resume processing.

                                                  - */ -export interface JobBookmarkEntry { - /** - *

                                                  The name of the job in question.

                                                  - */ - JobName?: string; - - /** - *

                                                  The version of the job.

                                                  - */ - Version?: number; - - /** - *

                                                  The run ID number.

                                                  - */ - Run?: number; - - /** - *

                                                  The attempt ID number.

                                                  - */ - Attempt?: number; - - /** - *

                                                  The unique run identifier associated with the previous job run.

                                                  - */ - PreviousRunId?: string; - - /** - *

                                                  The run ID number.

                                                  - */ - RunId?: string; - - /** - *

                                                  The bookmark itself.

                                                  - */ - JobBookmark?: string; -} - -export namespace JobBookmarkEntry { - /** - * @internal - */ - export const filterSensitiveLog = (obj: JobBookmarkEntry): any => ({ - ...obj, - }); -} diff --git a/clients/client-glue/models/models_1.ts b/clients/client-glue/models/models_1.ts index 782e31de14935..7faa02c8bdccb 100644 --- a/clients/client-glue/models/models_1.ts +++ b/clients/client-glue/models/models_1.ts @@ -13,10 +13,10 @@ import { DatabaseInput, EncryptionConfiguration, ErrorDetail, + EventBatchingCondition, ExecutionProperty, GlueTable, Job, - JobBookmarkEntry, JobCommand, JobRun, Language, @@ -51,6 +51,76 @@ import { } from "./models_0"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; +export interface GetJobBookmarkRequest { + /** + *

                                                  The name of the job in question.

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

                                                  The unique run identifier associated with this job run.

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

                                                  Defines a point that a job can resume processing.

                                                  + */ +export interface JobBookmarkEntry { + /** + *

                                                  The name of the job in question.

                                                  + */ + JobName?: string; + + /** + *

                                                  The version of the job.

                                                  + */ + Version?: number; + + /** + *

                                                  The run ID number.

                                                  + */ + Run?: number; + + /** + *

                                                  The attempt ID number.

                                                  + */ + Attempt?: number; + + /** + *

                                                  The unique run identifier associated with the previous job run.

                                                  + */ + PreviousRunId?: string; + + /** + *

                                                  The run ID number.

                                                  + */ + RunId?: string; + + /** + *

                                                  The bookmark itself.

                                                  + */ + JobBookmark?: string; +} + +export namespace JobBookmarkEntry { + /** + * @internal + */ + export const filterSensitiveLog = (obj: JobBookmarkEntry): any => ({ + ...obj, + }); +} + export interface GetJobBookmarkResponse { /** *

                                                  A structure that defines a point that a job can resume processing.

                                                  @@ -6595,6 +6665,12 @@ export interface TriggerUpdate { *

                                                  The predicate of this trigger, which defines when it will fire.

                                                  */ Predicate?: Predicate; + + /** + *

                                                  Batch condition that must be met (specified number of events received or batch time window expired) + * before EventBridge event trigger fires.

                                                  + */ + EventBatchingCondition?: EventBatchingCondition; } export namespace TriggerUpdate { diff --git a/clients/client-glue/protocols/Aws_json1_1.ts b/clients/client-glue/protocols/Aws_json1_1.ts index dde550b8f3309..244fde6e384c4 100644 --- a/clients/client-glue/protocols/Aws_json1_1.ts +++ b/clients/client-glue/protocols/Aws_json1_1.ts @@ -460,6 +460,7 @@ import { EntityNotFoundException, ErrorDetail, ErrorDetails, + EventBatchingCondition, ExecutionProperty, FindMatchesParameters, GetCatalogImportStatusRequest, @@ -495,7 +496,6 @@ import { GetDevEndpointResponse, GetDevEndpointsRequest, GetDevEndpointsResponse, - GetJobBookmarkRequest, GetJobRequest, GetJobResponse, GlueEncryptionException, @@ -506,7 +506,6 @@ import { InvalidInputException, JdbcTarget, Job, - JobBookmarkEntry, JobBookmarksEncryption, JobCommand, JobNodeDetails, @@ -545,6 +544,7 @@ import { SchemaVersionErrorItem, SerDeInfo, SkewedInfo, + StartingEventBatchCondition, StorageDescriptor, StringColumnStatisticsData, TableError, @@ -577,6 +577,7 @@ import { ExportLabelsTaskRunProperties, FindMatchesMetrics, FindMatchesTaskRunProperties, + GetJobBookmarkRequest, GetJobBookmarkResponse, GetJobRunRequest, GetJobRunResponse, @@ -651,6 +652,7 @@ import { ImportCatalogToGlueRequest, ImportCatalogToGlueResponse, ImportLabelsTaskRunProperties, + JobBookmarkEntry, JobUpdate, KeySchemaElement, LabelingSetGenerationTaskRunProperties, @@ -16831,6 +16833,10 @@ const serializeAws_json1_1CreateTriggerRequest = (input: CreateTriggerRequest, c ...(input.Actions !== undefined && input.Actions !== null && { Actions: serializeAws_json1_1ActionList(input.Actions, context) }), ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + ...(input.EventBatchingCondition !== undefined && + input.EventBatchingCondition !== null && { + EventBatchingCondition: serializeAws_json1_1EventBatchingCondition(input.EventBatchingCondition, context), + }), ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), ...(input.Predicate !== undefined && input.Predicate !== null && { Predicate: serializeAws_json1_1Predicate(input.Predicate, context) }), @@ -17293,6 +17299,13 @@ const serializeAws_json1_1EncryptionConfiguration = (input: EncryptionConfigurat }; }; +const serializeAws_json1_1EventBatchingCondition = (input: EventBatchingCondition, context: __SerdeContext): any => { + return { + ...(input.BatchSize !== undefined && input.BatchSize !== null && { BatchSize: input.BatchSize }), + ...(input.BatchWindow !== undefined && input.BatchWindow !== null && { BatchWindow: input.BatchWindow }), + }; +}; + const serializeAws_json1_1ExecutionProperty = (input: ExecutionProperty, context: __SerdeContext): any => { return { ...(input.MaxConcurrentRuns !== undefined && @@ -19076,6 +19089,10 @@ const serializeAws_json1_1TriggerUpdate = (input: TriggerUpdate, context: __Serd ...(input.Actions !== undefined && input.Actions !== null && { Actions: serializeAws_json1_1ActionList(input.Actions, context) }), ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + ...(input.EventBatchingCondition !== undefined && + input.EventBatchingCondition !== null && { + EventBatchingCondition: serializeAws_json1_1EventBatchingCondition(input.EventBatchingCondition, context), + }), ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), ...(input.Predicate !== undefined && input.Predicate !== null && { Predicate: serializeAws_json1_1Predicate(input.Predicate, context) }), @@ -21173,6 +21190,13 @@ const deserializeAws_json1_1EvaluationMetrics = (output: any, context: __SerdeCo } as any; }; +const deserializeAws_json1_1EventBatchingCondition = (output: any, context: __SerdeContext): EventBatchingCondition => { + return { + BatchSize: __expectNumber(output.BatchSize), + BatchWindow: __expectNumber(output.BatchWindow), + } as any; +}; + const deserializeAws_json1_1ExecutionProperty = (output: any, context: __SerdeContext): ExecutionProperty => { return { MaxConcurrentRuns: __expectNumber(output.MaxConcurrentRuns), @@ -23316,6 +23340,16 @@ const deserializeAws_json1_1StartImportLabelsTaskRunResponse = ( } as any; }; +const deserializeAws_json1_1StartingEventBatchCondition = ( + output: any, + context: __SerdeContext +): StartingEventBatchCondition => { + return { + BatchSize: __expectNumber(output.BatchSize), + BatchWindow: __expectNumber(output.BatchWindow), + } as any; +}; + const deserializeAws_json1_1StartJobRunResponse = (output: any, context: __SerdeContext): StartJobRunResponse => { return { JobRunId: __expectString(output.JobRunId), @@ -23701,6 +23735,10 @@ const deserializeAws_json1_1Trigger = (output: any, context: __SerdeContext): Tr ? deserializeAws_json1_1ActionList(output.Actions, context) : undefined, Description: __expectString(output.Description), + EventBatchingCondition: + output.EventBatchingCondition !== undefined && output.EventBatchingCondition !== null + ? deserializeAws_json1_1EventBatchingCondition(output.EventBatchingCondition, context) + : undefined, Id: __expectString(output.Id), Name: __expectString(output.Name), Predicate: @@ -23997,6 +24035,10 @@ const deserializeAws_json1_1WorkflowRun = (output: any, context: __SerdeContext) output.StartedOn !== undefined && output.StartedOn !== null ? new Date(Math.round(output.StartedOn * 1000)) : undefined, + StartingEventBatchCondition: + output.StartingEventBatchCondition !== undefined && output.StartingEventBatchCondition !== null + ? deserializeAws_json1_1StartingEventBatchCondition(output.StartingEventBatchCondition, context) + : undefined, Statistics: output.Statistics !== undefined && output.Statistics !== null ? deserializeAws_json1_1WorkflowRunStatistics(output.Statistics, context) diff --git a/clients/client-healthlake/HealthLake.ts b/clients/client-healthlake/HealthLake.ts index d9cf05a15f53d..56d8c902da76d 100644 --- a/clients/client-healthlake/HealthLake.ts +++ b/clients/client-healthlake/HealthLake.ts @@ -29,6 +29,21 @@ import { ListFHIRDatastoresCommandInput, ListFHIRDatastoresCommandOutput, } from "./commands/ListFHIRDatastoresCommand"; +import { + ListFHIRExportJobsCommand, + ListFHIRExportJobsCommandInput, + ListFHIRExportJobsCommandOutput, +} from "./commands/ListFHIRExportJobsCommand"; +import { + ListFHIRImportJobsCommand, + ListFHIRImportJobsCommandInput, + ListFHIRImportJobsCommandOutput, +} from "./commands/ListFHIRImportJobsCommand"; +import { + ListTagsForResourceCommand, + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; import { StartFHIRExportJobCommand, StartFHIRExportJobCommandInput, @@ -39,6 +54,12 @@ import { StartFHIRImportJobCommandInput, StartFHIRImportJobCommandOutput, } from "./commands/StartFHIRImportJobCommand"; +import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { + UntagResourceCommand, + UntagResourceCommandInput, + UntagResourceCommandOutput, +} from "./commands/UntagResourceCommand"; import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** @@ -177,7 +198,7 @@ export class HealthLake extends HealthLakeClient { } /** - *

                                                  Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                  + *

                                                  Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                  */ public describeFHIRImportJob( args: DescribeFHIRImportJobCommandInput, @@ -241,6 +262,108 @@ export class HealthLake extends HealthLakeClient { } } + /** + *

                                                  + * Lists all FHIR export jobs associated with an account and their statuses. + *

                                                  + */ + public listFHIRExportJobs( + args: ListFHIRExportJobsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listFHIRExportJobs( + args: ListFHIRExportJobsCommandInput, + cb: (err: any, data?: ListFHIRExportJobsCommandOutput) => void + ): void; + public listFHIRExportJobs( + args: ListFHIRExportJobsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListFHIRExportJobsCommandOutput) => void + ): void; + public listFHIRExportJobs( + args: ListFHIRExportJobsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFHIRExportJobsCommandOutput) => void), + cb?: (err: any, data?: ListFHIRExportJobsCommandOutput) => void + ): Promise | void { + const command = new ListFHIRExportJobsCommand(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 FHIR import jobs associated with an account and their statuses. + *

                                                  + */ + public listFHIRImportJobs( + args: ListFHIRImportJobsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listFHIRImportJobs( + args: ListFHIRImportJobsCommandInput, + cb: (err: any, data?: ListFHIRImportJobsCommandOutput) => void + ): void; + public listFHIRImportJobs( + args: ListFHIRImportJobsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListFHIRImportJobsCommandOutput) => void + ): void; + public listFHIRImportJobs( + args: ListFHIRImportJobsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFHIRImportJobsCommandOutput) => void), + cb?: (err: any, data?: ListFHIRImportJobsCommandOutput) => void + ): Promise | void { + const command = new ListFHIRImportJobsCommand(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 all existing tags associated with a Data Store. + *

                                                  + */ + 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); + } + } + /** *

                                                  Begins a FHIR export job.

                                                  */ @@ -304,4 +427,66 @@ export class HealthLake extends HealthLakeClient { return this.send(command, optionsOrCb); } } + + /** + *

                                                  + * Adds a user specifed key and value tag to a Data Store. + *

                                                  + */ + 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 tags from a Data Store. + *

                                                  + */ + 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); + } + } } diff --git a/clients/client-healthlake/HealthLakeClient.ts b/clients/client-healthlake/HealthLakeClient.ts index 936ed7b7c60c4..2478ef92e01b6 100644 --- a/clients/client-healthlake/HealthLakeClient.ts +++ b/clients/client-healthlake/HealthLakeClient.ts @@ -19,8 +19,16 @@ import { DescribeFHIRImportJobCommandOutput, } from "./commands/DescribeFHIRImportJobCommand"; import { ListFHIRDatastoresCommandInput, ListFHIRDatastoresCommandOutput } from "./commands/ListFHIRDatastoresCommand"; +import { ListFHIRExportJobsCommandInput, ListFHIRExportJobsCommandOutput } from "./commands/ListFHIRExportJobsCommand"; +import { ListFHIRImportJobsCommandInput, ListFHIRImportJobsCommandOutput } from "./commands/ListFHIRImportJobsCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; import { StartFHIRExportJobCommandInput, StartFHIRExportJobCommandOutput } from "./commands/StartFHIRExportJobCommand"; import { StartFHIRImportJobCommandInput, StartFHIRImportJobCommandOutput } from "./commands/StartFHIRImportJobCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; import { EndpointsInputConfig, @@ -80,8 +88,13 @@ export type ServiceInputTypes = | DescribeFHIRExportJobCommandInput | DescribeFHIRImportJobCommandInput | ListFHIRDatastoresCommandInput + | ListFHIRExportJobsCommandInput + | ListFHIRImportJobsCommandInput + | ListTagsForResourceCommandInput | StartFHIRExportJobCommandInput - | StartFHIRImportJobCommandInput; + | StartFHIRImportJobCommandInput + | TagResourceCommandInput + | UntagResourceCommandInput; export type ServiceOutputTypes = | CreateFHIRDatastoreCommandOutput @@ -90,8 +103,13 @@ export type ServiceOutputTypes = | DescribeFHIRExportJobCommandOutput | DescribeFHIRImportJobCommandOutput | ListFHIRDatastoresCommandOutput + | ListFHIRExportJobsCommandOutput + | ListFHIRImportJobsCommandOutput + | ListTagsForResourceCommandOutput | StartFHIRExportJobCommandOutput - | StartFHIRImportJobCommandOutput; + | StartFHIRImportJobCommandOutput + | TagResourceCommandOutput + | UntagResourceCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { /** diff --git a/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts b/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts index 5907a4bcfead1..f139dab18df1e 100644 --- a/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts +++ b/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts @@ -21,7 +21,7 @@ export interface DescribeFHIRImportJobCommandInput extends DescribeFHIRImportJob export interface DescribeFHIRImportJobCommandOutput extends DescribeFHIRImportJobResponse, __MetadataBearer {} /** - *

                                                  Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                  + *

                                                  Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-healthlake/commands/ListFHIRExportJobsCommand.ts b/clients/client-healthlake/commands/ListFHIRExportJobsCommand.ts new file mode 100644 index 0000000000000..ddf9438293d67 --- /dev/null +++ b/clients/client-healthlake/commands/ListFHIRExportJobsCommand.ts @@ -0,0 +1,96 @@ +import { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient"; +import { ListFHIRExportJobsRequest, ListFHIRExportJobsResponse } from "../models/models_0"; +import { + deserializeAws_json1_0ListFHIRExportJobsCommand, + serializeAws_json1_0ListFHIRExportJobsCommand, +} from "../protocols/Aws_json1_0"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ListFHIRExportJobsCommandInput extends ListFHIRExportJobsRequest {} +export interface ListFHIRExportJobsCommandOutput extends ListFHIRExportJobsResponse, __MetadataBearer {} + +/** + *

                                                  + * Lists all FHIR export jobs associated with an account and their statuses. + *

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { HealthLakeClient, ListFHIRExportJobsCommand } from "@aws-sdk/client-healthlake"; // ES Modules import + * // const { HealthLakeClient, ListFHIRExportJobsCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import + * const client = new HealthLakeClient(config); + * const command = new ListFHIRExportJobsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListFHIRExportJobsCommandInput} for command's `input` shape. + * @see {@link ListFHIRExportJobsCommandOutput} for command's `response` shape. + * @see {@link HealthLakeClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListFHIRExportJobsCommand extends $Command< + ListFHIRExportJobsCommandInput, + ListFHIRExportJobsCommandOutput, + HealthLakeClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListFHIRExportJobsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: HealthLakeClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "HealthLakeClient"; + const commandName = "ListFHIRExportJobsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListFHIRExportJobsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListFHIRExportJobsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListFHIRExportJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_0ListFHIRExportJobsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0ListFHIRExportJobsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-healthlake/commands/ListFHIRImportJobsCommand.ts b/clients/client-healthlake/commands/ListFHIRImportJobsCommand.ts new file mode 100644 index 0000000000000..5e3b274bc8f89 --- /dev/null +++ b/clients/client-healthlake/commands/ListFHIRImportJobsCommand.ts @@ -0,0 +1,96 @@ +import { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient"; +import { ListFHIRImportJobsRequest, ListFHIRImportJobsResponse } from "../models/models_0"; +import { + deserializeAws_json1_0ListFHIRImportJobsCommand, + serializeAws_json1_0ListFHIRImportJobsCommand, +} from "../protocols/Aws_json1_0"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ListFHIRImportJobsCommandInput extends ListFHIRImportJobsRequest {} +export interface ListFHIRImportJobsCommandOutput extends ListFHIRImportJobsResponse, __MetadataBearer {} + +/** + *

                                                  + * Lists all FHIR import jobs associated with an account and their statuses. + *

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { HealthLakeClient, ListFHIRImportJobsCommand } from "@aws-sdk/client-healthlake"; // ES Modules import + * // const { HealthLakeClient, ListFHIRImportJobsCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import + * const client = new HealthLakeClient(config); + * const command = new ListFHIRImportJobsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListFHIRImportJobsCommandInput} for command's `input` shape. + * @see {@link ListFHIRImportJobsCommandOutput} for command's `response` shape. + * @see {@link HealthLakeClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListFHIRImportJobsCommand extends $Command< + ListFHIRImportJobsCommandInput, + ListFHIRImportJobsCommandOutput, + HealthLakeClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListFHIRImportJobsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: HealthLakeClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "HealthLakeClient"; + const commandName = "ListFHIRImportJobsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListFHIRImportJobsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListFHIRImportJobsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListFHIRImportJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_0ListFHIRImportJobsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0ListFHIRImportJobsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-healthlake/commands/ListTagsForResourceCommand.ts b/clients/client-healthlake/commands/ListTagsForResourceCommand.ts new file mode 100644 index 0000000000000..bd454c6b89d08 --- /dev/null +++ b/clients/client-healthlake/commands/ListTagsForResourceCommand.ts @@ -0,0 +1,96 @@ +import { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient"; +import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; +import { + deserializeAws_json1_0ListTagsForResourceCommand, + serializeAws_json1_0ListTagsForResourceCommand, +} from "../protocols/Aws_json1_0"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} +export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} + +/** + *

                                                  + * Returns a list of all existing tags associated with a Data Store. + *

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { HealthLakeClient, ListTagsForResourceCommand } from "@aws-sdk/client-healthlake"; // ES Modules import + * // const { HealthLakeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import + * const client = new HealthLakeClient(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 HealthLakeClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListTagsForResourceCommand extends $Command< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + HealthLakeClientResolvedConfig +> { + // 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: HealthLakeClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "HealthLakeClient"; + 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_json1_0ListTagsForResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0ListTagsForResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-healthlake/commands/TagResourceCommand.ts b/clients/client-healthlake/commands/TagResourceCommand.ts new file mode 100644 index 0000000000000..159d1e54cf345 --- /dev/null +++ b/clients/client-healthlake/commands/TagResourceCommand.ts @@ -0,0 +1,96 @@ +import { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient"; +import { TagResourceRequest, TagResourceResponse } from "../models/models_0"; +import { + deserializeAws_json1_0TagResourceCommand, + serializeAws_json1_0TagResourceCommand, +} from "../protocols/Aws_json1_0"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface TagResourceCommandInput extends TagResourceRequest {} +export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} + +/** + *

                                                  + * Adds a user specifed key and value tag to a Data Store. + *

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { HealthLakeClient, TagResourceCommand } from "@aws-sdk/client-healthlake"; // ES Modules import + * // const { HealthLakeClient, TagResourceCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import + * const client = new HealthLakeClient(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 HealthLakeClientResolvedConfig | config} for command's `input` shape. + * + */ +export class TagResourceCommand extends $Command< + TagResourceCommandInput, + TagResourceCommandOutput, + HealthLakeClientResolvedConfig +> { + // 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: HealthLakeClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "HealthLakeClient"; + 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_json1_0TagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0TagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-healthlake/commands/UntagResourceCommand.ts b/clients/client-healthlake/commands/UntagResourceCommand.ts new file mode 100644 index 0000000000000..4b81b3f80880a --- /dev/null +++ b/clients/client-healthlake/commands/UntagResourceCommand.ts @@ -0,0 +1,96 @@ +import { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient"; +import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; +import { + deserializeAws_json1_0UntagResourceCommand, + serializeAws_json1_0UntagResourceCommand, +} from "../protocols/Aws_json1_0"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface UntagResourceCommandInput extends UntagResourceRequest {} +export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} + +/** + *

                                                  + * Removes tags from a Data Store. + *

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { HealthLakeClient, UntagResourceCommand } from "@aws-sdk/client-healthlake"; // ES Modules import + * // const { HealthLakeClient, UntagResourceCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import + * const client = new HealthLakeClient(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 HealthLakeClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UntagResourceCommand extends $Command< + UntagResourceCommandInput, + UntagResourceCommandOutput, + HealthLakeClientResolvedConfig +> { + // 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: HealthLakeClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "HealthLakeClient"; + 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_json1_0UntagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0UntagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-healthlake/index.ts b/clients/client-healthlake/index.ts index f7c222dc27482..abd915867cf82 100644 --- a/clients/client-healthlake/index.ts +++ b/clients/client-healthlake/index.ts @@ -7,7 +7,14 @@ export * from "./commands/DescribeFHIRExportJobCommand"; export * from "./commands/DescribeFHIRImportJobCommand"; export * from "./commands/ListFHIRDatastoresCommand"; export * from "./pagination/ListFHIRDatastoresPaginator"; +export * from "./commands/ListFHIRExportJobsCommand"; +export * from "./pagination/ListFHIRExportJobsPaginator"; +export * from "./commands/ListFHIRImportJobsCommand"; +export * from "./pagination/ListFHIRImportJobsPaginator"; +export * from "./commands/ListTagsForResourceCommand"; export * from "./commands/StartFHIRExportJobCommand"; export * from "./commands/StartFHIRImportJobCommand"; +export * from "./commands/TagResourceCommand"; +export * from "./commands/UntagResourceCommand"; export * from "./pagination/Interfaces"; export * from "./models/index"; diff --git a/clients/client-healthlake/models/models_0.ts b/clients/client-healthlake/models/models_0.ts index 3f4b7420121da..9d3615ad8c652 100644 --- a/clients/client-healthlake/models/models_0.ts +++ b/clients/client-healthlake/models/models_0.ts @@ -18,6 +18,11 @@ export namespace AccessDeniedException { }); } +export enum CmkType { + AO_CMK = "AWS_OWNED_KMS_KEY", + CM_CMK = "CUSTOMER_MANAGED_KMS_KEY", +} + /** *

                                                  The Data Store is in a transition state and the user requested action can not be performed.

                                                  */ @@ -63,6 +68,89 @@ export namespace PreloadDataConfig { }); } +/** + *

                                                  + * The customer-managed-key(CMK) used when creating a Data Store. If a customer owned key is not specified, an AWS owned key will be used for encryption. + *

                                                  + */ +export interface KmsEncryptionConfig { + /** + *

                                                  + * The type of customer-managed-key(CMK) used for encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs. + *

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

                                                  + * The KMS encryption key id/alias used to encrypt the Data Store contents at rest. + *

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

                                                  + * The server-side encryption key configuration for a customer provided encryption key. + *

                                                  + */ +export interface SseConfiguration { + /** + *

                                                  + * The KMS encryption configuration used to provide details for data encryption. + *

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

                                                  + * A tag is a label consisting of a user-defined key and value. The form for tags is {"Key", "Value"} + *

                                                  + */ +export interface Tag { + /** + *

                                                  + * The key portion of a tag. Tag keys are case sensitive. + *

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

                                                  + * The value portion of tag. Tag values are case sensitive. + *

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

                                                  The user generated name for the Data Store.

                                                  @@ -74,6 +162,13 @@ export interface CreateFHIRDatastoreRequest { */ DatastoreTypeVersion: FHIRVersion | string | undefined; + /** + *

                                                  + * The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store. + *

                                                  + */ + SseConfiguration?: SseConfiguration; + /** *

                                                  Optional parameter to preload data upon creation of the Data Store. Currently, the only * supported preloaded data is synthetic data generated from Synthea.

                                                  @@ -84,6 +179,13 @@ export interface CreateFHIRDatastoreRequest { *

                                                  Optional user provided token used for ensuring idempotency.

                                                  */ ClientToken?: string; + + /** + *

                                                  + * Resource tags that are applied to a Data Store when it is created. + *

                                                  + */ + Tags?: Tag[]; } export namespace CreateFHIRDatastoreRequest { @@ -266,6 +368,13 @@ export interface DatastoreProperties { */ DatastoreEndpoint: string | undefined; + /** + *

                                                  + * The server-side encryption key configuration for a customer provided encryption key (CMK). + *

                                                  + */ + SseConfiguration?: SseConfiguration; + /** *

                                                  The preloaded data configuration for the Data Store. Only data preloaded from Synthea is supported.

                                                  */ @@ -404,37 +513,70 @@ export namespace DescribeFHIRExportJobRequest { export enum JobStatus { COMPLETED = "COMPLETED", + COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS", FAILED = "FAILED", IN_PROGRESS = "IN_PROGRESS", SUBMITTED = "SUBMITTED", } +/** + *

                                                  + * The configuration of the S3 bucket for either an import or export job. This includes assigning permissions for access. + *

                                                  + */ +export interface S3Configuration { + /** + *

                                                  + * The S3Uri is the user specified S3 location of the FHIR data to be imported into Amazon HealthLake. + *

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

                                                  + * The KMS key ID used to access the S3 bucket. + *

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

                                                  The output data configuration that was supplied when the export job was created.

                                                  */ -export type OutputDataConfig = OutputDataConfig.S3UriMember | OutputDataConfig.$UnknownMember; +export type OutputDataConfig = OutputDataConfig.S3ConfigurationMember | OutputDataConfig.$UnknownMember; export namespace OutputDataConfig { /** - *

                                                  The S3Uri is the user specified S3 location to which data will be exported from a FHIR Data Store.

                                                  + *

                                                  + * The output data configuration that was supplied when the export job was created. + *

                                                  */ - export interface S3UriMember { - S3Uri: string; + export interface S3ConfigurationMember { + S3Configuration: S3Configuration; $unknown?: never; } export interface $UnknownMember { - S3Uri?: never; + S3Configuration?: never; $unknown: [string, any]; } export interface Visitor { - S3Uri: (value: string) => T; + S3Configuration: (value: S3Configuration) => T; _: (name: string, value: any) => T; } export const visit = (value: OutputDataConfig, visitor: Visitor): T => { - if (value.S3Uri !== undefined) return visitor.S3Uri(value.S3Uri); + if (value.S3Configuration !== undefined) return visitor.S3Configuration(value.S3Configuration); return visitor._(value.$unknown[0], value.$unknown[1]); }; @@ -442,7 +584,8 @@ export namespace OutputDataConfig { * @internal */ export const filterSensitiveLog = (obj: OutputDataConfig): any => { - if (obj.S3Uri !== undefined) return { S3Uri: obj.S3Uri }; + if (obj.S3Configuration !== undefined) + return { S3Configuration: S3Configuration.filterSensitiveLog(obj.S3Configuration) }; if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" }; }; } @@ -620,10 +763,15 @@ export interface ImportJobProperties { DatastoreId: string | undefined; /** - *

                                                  The input data configuration that was supplied when the Import job was created.

                                                  + *

                                                  The input data configuration that was supplied when the Import job was created.

                                                  */ InputDataConfig: InputDataConfig | undefined; + /** + *

                                                  The output data configuration that was supplied when the export job was created.

                                                  + */ + JobOutputDataConfig?: OutputDataConfig; + /** *

                                                  The Amazon Resource Name (ARN) that gives Amazon HealthLake access to your input data.

                                                  */ @@ -642,6 +790,9 @@ export namespace ImportJobProperties { export const filterSensitiveLog = (obj: ImportJobProperties): any => ({ ...obj, ...(obj.InputDataConfig && { InputDataConfig: InputDataConfig.filterSensitiveLog(obj.InputDataConfig) }), + ...(obj.JobOutputDataConfig && { + JobOutputDataConfig: OutputDataConfig.filterSensitiveLog(obj.JobOutputDataConfig), + }), }); } @@ -712,6 +863,218 @@ export namespace ListFHIRDatastoresResponse { }); } +export interface ListFHIRExportJobsRequest { + /** + *

                                                  + * This parameter limits the response to the export job with the specified Data Store ID. + *

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

                                                  + * A pagination token used to identify the next page of results to return for a ListFHIRExportJobs query. + *

                                                  + */ + NextToken?: string; + + /** + *

                                                  + * This parameter limits the number of results returned for a ListFHIRExportJobs to a maximum quantity specified by the user. + *

                                                  + */ + MaxResults?: number; + + /** + *

                                                  + * This parameter limits the response to the export job with the specified job name. + *

                                                  + */ + JobName?: string; + + /** + *

                                                  + * This parameter limits the response to the export jobs with the specified job status. + *

                                                  + */ + JobStatus?: JobStatus | string; + + /** + *

                                                  + * This parameter limits the response to FHIR export jobs submitted before a user specified date. + *

                                                  + */ + SubmittedBefore?: Date; + + /** + *

                                                  + * This parameter limits the response to FHIR export jobs submitted after a user specified date. + *

                                                  + */ + SubmittedAfter?: Date; +} + +export namespace ListFHIRExportJobsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListFHIRExportJobsRequest): any => ({ + ...obj, + }); +} + +export interface ListFHIRExportJobsResponse { + /** + *

                                                  + * The properties of listed FHIR export jobs, including the ID, ARN, name, and the status of the job. + *

                                                  + */ + ExportJobPropertiesList: ExportJobProperties[] | undefined; + + /** + *

                                                  + * A pagination token used to identify the next page of results to return for a ListFHIRExportJobs query. + *

                                                  + */ + NextToken?: string; +} + +export namespace ListFHIRExportJobsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListFHIRExportJobsResponse): any => ({ + ...obj, + ...(obj.ExportJobPropertiesList && { + ExportJobPropertiesList: obj.ExportJobPropertiesList.map((item) => ExportJobProperties.filterSensitiveLog(item)), + }), + }); +} + +export interface ListFHIRImportJobsRequest { + /** + *

                                                  + * This parameter limits the response to the import job with the specified Data Store ID. + *

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

                                                  + * A pagination token used to identify the next page of results to return for a ListFHIRImportJobs query. + *

                                                  + */ + NextToken?: string; + + /** + *

                                                  + * This parameter limits the number of results returned for a ListFHIRImportJobs to a maximum quantity specified by the user. + *

                                                  + */ + MaxResults?: number; + + /** + *

                                                  + * This parameter limits the response to the import job with the specified job name. + *

                                                  + */ + JobName?: string; + + /** + *

                                                  + * This parameter limits the response to the import job with the specified job status. + *

                                                  + */ + JobStatus?: JobStatus | string; + + /** + *

                                                  + * This parameter limits the response to FHIR import jobs submitted before a user specified date. + *

                                                  + */ + SubmittedBefore?: Date; + + /** + *

                                                  + * This parameter limits the response to FHIR import jobs submitted after a user specified date. + *

                                                  + */ + SubmittedAfter?: Date; +} + +export namespace ListFHIRImportJobsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListFHIRImportJobsRequest): any => ({ + ...obj, + }); +} + +export interface ListFHIRImportJobsResponse { + /** + *

                                                  + * The properties of a listed FHIR import jobs, including the ID, ARN, name, and the status of the job. + *

                                                  + */ + ImportJobPropertiesList: ImportJobProperties[] | undefined; + + /** + *

                                                  + * A pagination token used to identify the next page of results to return for a ListFHIRImportJobs query. + *

                                                  + */ + NextToken?: string; +} + +export namespace ListFHIRImportJobsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListFHIRImportJobsResponse): any => ({ + ...obj, + ...(obj.ImportJobPropertiesList && { + ImportJobPropertiesList: obj.ImportJobPropertiesList.map((item) => ImportJobProperties.filterSensitiveLog(item)), + }), + }); +} + +export interface ListTagsForResourceRequest { + /** + *

                                                  + * The Amazon Resource Name(ARN) of the Data Store for which tags are being added. + *

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

                                                  + * Returns a list of tags associated with a Data Store. + *

                                                  + */ + Tags?: Tag[]; +} + +export namespace ListTagsForResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ + ...obj, + }); +} + export interface StartFHIRExportJobRequest { /** *

                                                  The user generated name for an export job.

                                                  @@ -786,6 +1149,11 @@ export interface StartFHIRImportJobRequest { */ InputDataConfig: InputDataConfig | undefined; + /** + *

                                                  The output data configuration that was supplied when the export job was created.

                                                  + */ + JobOutputDataConfig: OutputDataConfig | undefined; + /** *

                                                  The AWS-generated Data Store ID.

                                                  */ @@ -809,6 +1177,9 @@ export namespace StartFHIRImportJobRequest { export const filterSensitiveLog = (obj: StartFHIRImportJobRequest): any => ({ ...obj, ...(obj.InputDataConfig && { InputDataConfig: InputDataConfig.filterSensitiveLog(obj.InputDataConfig) }), + ...(obj.JobOutputDataConfig && { + JobOutputDataConfig: OutputDataConfig.filterSensitiveLog(obj.JobOutputDataConfig), + }), }); } @@ -837,3 +1208,75 @@ export namespace StartFHIRImportJobResponse { ...obj, }); } + +export interface TagResourceRequest { + /** + *

                                                  + * The Amazon Resource Name(ARN)that gives Amazon HealthLake access to the Data Store which tags are being added to. + *

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

                                                  + * The user specified key and value pair tags being added to a Data Store. + *

                                                  + */ + Tags: Tag[] | undefined; +} + +export namespace TagResourceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TagResourceRequest): any => ({ + ...obj, + }); +} + +export interface TagResourceResponse {} + +export namespace TagResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TagResourceResponse): any => ({ + ...obj, + }); +} + +export interface UntagResourceRequest { + /** + *

                                                  + * "The Amazon Resource Name(ARN) of the Data Store for which tags are being removed + *

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

                                                  + * The keys for the tags to be removed from the Healthlake Data Store. + *

                                                  + */ + TagKeys: string[] | undefined; +} + +export namespace UntagResourceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({ + ...obj, + }); +} + +export interface UntagResourceResponse {} + +export namespace UntagResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-healthlake/pagination/ListFHIRExportJobsPaginator.ts b/clients/client-healthlake/pagination/ListFHIRExportJobsPaginator.ts new file mode 100644 index 0000000000000..67b0ecc5e66c2 --- /dev/null +++ b/clients/client-healthlake/pagination/ListFHIRExportJobsPaginator.ts @@ -0,0 +1,58 @@ +import { HealthLake } from "../HealthLake"; +import { HealthLakeClient } from "../HealthLakeClient"; +import { + ListFHIRExportJobsCommand, + ListFHIRExportJobsCommandInput, + ListFHIRExportJobsCommandOutput, +} from "../commands/ListFHIRExportJobsCommand"; +import { HealthLakePaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: HealthLakeClient, + input: ListFHIRExportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListFHIRExportJobsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: HealthLake, + input: ListFHIRExportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listFHIRExportJobs(input, ...args); +}; +export async function* paginateListFHIRExportJobs( + config: HealthLakePaginationConfiguration, + input: ListFHIRExportJobsCommandInput, + ...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: ListFHIRExportJobsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof HealthLake) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof HealthLakeClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected HealthLake | HealthLakeClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-healthlake/pagination/ListFHIRImportJobsPaginator.ts b/clients/client-healthlake/pagination/ListFHIRImportJobsPaginator.ts new file mode 100644 index 0000000000000..aedc1038e5ad0 --- /dev/null +++ b/clients/client-healthlake/pagination/ListFHIRImportJobsPaginator.ts @@ -0,0 +1,58 @@ +import { HealthLake } from "../HealthLake"; +import { HealthLakeClient } from "../HealthLakeClient"; +import { + ListFHIRImportJobsCommand, + ListFHIRImportJobsCommandInput, + ListFHIRImportJobsCommandOutput, +} from "../commands/ListFHIRImportJobsCommand"; +import { HealthLakePaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: HealthLakeClient, + input: ListFHIRImportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListFHIRImportJobsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: HealthLake, + input: ListFHIRImportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listFHIRImportJobs(input, ...args); +}; +export async function* paginateListFHIRImportJobs( + config: HealthLakePaginationConfiguration, + input: ListFHIRImportJobsCommandInput, + ...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: ListFHIRImportJobsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof HealthLake) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof HealthLakeClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected HealthLake | HealthLakeClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-healthlake/protocols/Aws_json1_0.ts b/clients/client-healthlake/protocols/Aws_json1_0.ts index 1743a21003533..2b5c610ea556d 100644 --- a/clients/client-healthlake/protocols/Aws_json1_0.ts +++ b/clients/client-healthlake/protocols/Aws_json1_0.ts @@ -19,8 +19,16 @@ import { DescribeFHIRImportJobCommandOutput, } from "../commands/DescribeFHIRImportJobCommand"; import { ListFHIRDatastoresCommandInput, ListFHIRDatastoresCommandOutput } from "../commands/ListFHIRDatastoresCommand"; +import { ListFHIRExportJobsCommandInput, ListFHIRExportJobsCommandOutput } from "../commands/ListFHIRExportJobsCommand"; +import { ListFHIRImportJobsCommandInput, ListFHIRImportJobsCommandOutput } from "../commands/ListFHIRImportJobsCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "../commands/ListTagsForResourceCommand"; import { StartFHIRExportJobCommandInput, StartFHIRExportJobCommandOutput } from "../commands/StartFHIRExportJobCommand"; import { StartFHIRImportJobCommandInput, StartFHIRImportJobCommandOutput } from "../commands/StartFHIRImportJobCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { AccessDeniedException, ConflictException, @@ -40,16 +48,30 @@ import { ImportJobProperties, InputDataConfig, InternalServerException, + KmsEncryptionConfig, ListFHIRDatastoresRequest, ListFHIRDatastoresResponse, + ListFHIRExportJobsRequest, + ListFHIRExportJobsResponse, + ListFHIRImportJobsRequest, + ListFHIRImportJobsResponse, + ListTagsForResourceRequest, + ListTagsForResourceResponse, OutputDataConfig, PreloadDataConfig, ResourceNotFoundException, + S3Configuration, + SseConfiguration, StartFHIRExportJobRequest, StartFHIRExportJobResponse, StartFHIRImportJobRequest, StartFHIRImportJobResponse, + Tag, + TagResourceRequest, + TagResourceResponse, ThrottlingException, + UntagResourceRequest, + UntagResourceResponse, ValidationException, } from "../models/models_0"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; @@ -142,6 +164,45 @@ export const serializeAws_json1_0ListFHIRDatastoresCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_0ListFHIRExportJobsCommand = async ( + input: ListFHIRExportJobsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "HealthLake.ListFHIRExportJobs", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0ListFHIRExportJobsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_0ListFHIRImportJobsCommand = async ( + input: ListFHIRImportJobsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "HealthLake.ListFHIRImportJobs", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0ListFHIRImportJobsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_0ListTagsForResourceCommand = async ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "HealthLake.ListTagsForResource", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0ListTagsForResourceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_0StartFHIRExportJobCommand = async ( input: StartFHIRExportJobCommandInput, context: __SerdeContext @@ -168,6 +229,32 @@ export const serializeAws_json1_0StartFHIRImportJobCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_0TagResourceCommand = async ( + input: TagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "HealthLake.TagResource", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0TagResourceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_0UntagResourceCommand = async ( + input: UntagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "HealthLake.UntagResource", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0UntagResourceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const deserializeAws_json1_0CreateFHIRDatastoreCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -197,6 +284,14 @@ const deserializeAws_json1_0CreateFHIRDatastoreCommandError = async ( let errorCode: string = "UnknownError"; errorCode = loadRestJsonErrorCode(output, parsedOutput.body); switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.healthlake#AccessDeniedException": + response = { + ...(await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InternalServerException": case "com.amazonaws.healthlake#InternalServerException": response = { @@ -636,27 +731,27 @@ const deserializeAws_json1_0ListFHIRDatastoresCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_0StartFHIRExportJobCommand = async ( +export const deserializeAws_json1_0ListFHIRExportJobsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_0StartFHIRExportJobCommandError(output, context); + return deserializeAws_json1_0ListFHIRExportJobsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_0StartFHIRExportJobResponse(data, context); - const response: StartFHIRExportJobCommandOutput = { + contents = deserializeAws_json1_0ListFHIRExportJobsResponse(data, context); + const response: ListFHIRExportJobsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_0StartFHIRExportJobCommandError = async ( +const deserializeAws_json1_0ListFHIRExportJobsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -722,27 +817,27 @@ const deserializeAws_json1_0StartFHIRExportJobCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_0StartFHIRImportJobCommand = async ( +export const deserializeAws_json1_0ListFHIRImportJobsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_0StartFHIRImportJobCommandError(output, context); + return deserializeAws_json1_0ListFHIRImportJobsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_0StartFHIRImportJobResponse(data, context); - const response: StartFHIRImportJobCommandOutput = { + contents = deserializeAws_json1_0ListFHIRImportJobsResponse(data, context); + const response: ListFHIRImportJobsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_0StartFHIRImportJobCommandError = async ( +const deserializeAws_json1_0ListFHIRImportJobsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -808,83 +903,441 @@ const deserializeAws_json1_0StartFHIRImportJobCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -const deserializeAws_json1_0AccessDeniedExceptionResponse = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_json1_0AccessDeniedException(body, context); - const contents: AccessDeniedException = { - name: "AccessDeniedException", - $fault: "client", - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, - }; - return contents; -}; - -const deserializeAws_json1_0ConflictExceptionResponse = async ( - parsedOutput: any, +export const deserializeAws_json1_0ListTagsForResourceCommand = async ( + output: __HttpResponse, context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_json1_0ConflictException(body, context); - const contents: ConflictException = { - name: "ConflictException", - $fault: "client", - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0ListTagsForResourceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0ListTagsForResourceResponse(data, context); + const response: ListTagsForResourceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, }; - return contents; + return Promise.resolve(response); }; -const deserializeAws_json1_0InternalServerExceptionResponse = async ( - parsedOutput: any, +const deserializeAws_json1_0ListTagsForResourceCommandError = async ( + output: __HttpResponse, context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_json1_0InternalServerException(body, context); - const contents: InternalServerException = { - name: "InternalServerException", - $fault: "server", - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), }; - return contents; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.healthlake#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.healthlake#ValidationException": + response = { + ...(await deserializeAws_json1_0ValidationExceptionResponse(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_json1_0ResourceNotFoundExceptionResponse = async ( - parsedOutput: any, +export const deserializeAws_json1_0StartFHIRExportJobCommand = async ( + output: __HttpResponse, context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_json1_0ResourceNotFoundException(body, context); - const contents: ResourceNotFoundException = { - name: "ResourceNotFoundException", - $fault: "client", - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0StartFHIRExportJobCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0StartFHIRExportJobResponse(data, context); + const response: StartFHIRExportJobCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, }; - return contents; + return Promise.resolve(response); }; -const deserializeAws_json1_0ThrottlingExceptionResponse = async ( - parsedOutput: any, +const deserializeAws_json1_0StartFHIRExportJobCommandError = async ( + output: __HttpResponse, context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_json1_0ThrottlingException(body, context); - const contents: ThrottlingException = { - name: "ThrottlingException", - $fault: "client", - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), }; - return contents; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.healthlake#AccessDeniedException": + response = { + ...(await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.healthlake#InternalServerException": + response = { + ...(await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.healthlake#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.healthlake#ThrottlingException": + response = { + ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.healthlake#ValidationException": + response = { + ...(await deserializeAws_json1_0ValidationExceptionResponse(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_json1_0ValidationExceptionResponse = async ( - parsedOutput: any, +export const deserializeAws_json1_0StartFHIRImportJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0StartFHIRImportJobCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0StartFHIRImportJobResponse(data, context); + const response: StartFHIRImportJobCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0StartFHIRImportJobCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.healthlake#AccessDeniedException": + response = { + ...(await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.healthlake#InternalServerException": + response = { + ...(await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.healthlake#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.healthlake#ThrottlingException": + response = { + ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.healthlake#ValidationException": + response = { + ...(await deserializeAws_json1_0ValidationExceptionResponse(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_json1_0TagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0TagResourceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0TagResourceResponse(data, context); + const response: TagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0TagResourceCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.healthlake#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.healthlake#ValidationException": + response = { + ...(await deserializeAws_json1_0ValidationExceptionResponse(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_json1_0UntagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0UntagResourceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0UntagResourceResponse(data, context); + const response: UntagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0UntagResourceCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.healthlake#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.healthlake#ValidationException": + response = { + ...(await deserializeAws_json1_0ValidationExceptionResponse(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_json1_0AccessDeniedExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0AccessDeniedException(body, context); + const contents: AccessDeniedException = { + name: "AccessDeniedException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0ConflictExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0ConflictException(body, context); + const contents: ConflictException = { + name: "ConflictException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0InternalServerExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0InternalServerException(body, context); + const contents: InternalServerException = { + name: "InternalServerException", + $fault: "server", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0ResourceNotFoundException(body, context); + const contents: ResourceNotFoundException = { + name: "ResourceNotFoundException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0ThrottlingExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0ThrottlingException(body, context); + const contents: ThrottlingException = { + name: "ThrottlingException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0ValidationExceptionResponse = async ( + parsedOutput: any, context: __SerdeContext ): Promise => { const body = parsedOutput.body; @@ -911,6 +1364,11 @@ const serializeAws_json1_0CreateFHIRDatastoreRequest = ( input.PreloadDataConfig !== null && { PreloadDataConfig: serializeAws_json1_0PreloadDataConfig(input.PreloadDataConfig, context), }), + ...(input.SseConfiguration !== undefined && + input.SseConfiguration !== null && { + SseConfiguration: serializeAws_json1_0SseConfiguration(input.SseConfiguration, context), + }), + ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }), }; }; @@ -971,6 +1429,13 @@ const serializeAws_json1_0InputDataConfig = (input: InputDataConfig, context: __ }); }; +const serializeAws_json1_0KmsEncryptionConfig = (input: KmsEncryptionConfig, context: __SerdeContext): any => { + return { + ...(input.CmkType !== undefined && input.CmkType !== null && { CmkType: input.CmkType }), + ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }), + }; +}; + const serializeAws_json1_0ListFHIRDatastoresRequest = ( input: ListFHIRDatastoresRequest, context: __SerdeContext @@ -983,9 +1448,52 @@ const serializeAws_json1_0ListFHIRDatastoresRequest = ( }; }; +const serializeAws_json1_0ListFHIRExportJobsRequest = ( + input: ListFHIRExportJobsRequest, + context: __SerdeContext +): any => { + return { + ...(input.DatastoreId !== undefined && input.DatastoreId !== null && { DatastoreId: input.DatastoreId }), + ...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }), + ...(input.JobStatus !== undefined && input.JobStatus !== null && { JobStatus: input.JobStatus }), + ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }), + ...(input.SubmittedAfter !== undefined && + input.SubmittedAfter !== null && { SubmittedAfter: Math.round(input.SubmittedAfter.getTime() / 1000) }), + ...(input.SubmittedBefore !== undefined && + input.SubmittedBefore !== null && { SubmittedBefore: Math.round(input.SubmittedBefore.getTime() / 1000) }), + }; +}; + +const serializeAws_json1_0ListFHIRImportJobsRequest = ( + input: ListFHIRImportJobsRequest, + context: __SerdeContext +): any => { + return { + ...(input.DatastoreId !== undefined && input.DatastoreId !== null && { DatastoreId: input.DatastoreId }), + ...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }), + ...(input.JobStatus !== undefined && input.JobStatus !== null && { JobStatus: input.JobStatus }), + ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }), + ...(input.SubmittedAfter !== undefined && + input.SubmittedAfter !== null && { SubmittedAfter: Math.round(input.SubmittedAfter.getTime() / 1000) }), + ...(input.SubmittedBefore !== undefined && + input.SubmittedBefore !== null && { SubmittedBefore: Math.round(input.SubmittedBefore.getTime() / 1000) }), + }; +}; + +const serializeAws_json1_0ListTagsForResourceRequest = ( + input: ListTagsForResourceRequest, + context: __SerdeContext +): any => { + return { + ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }), + }; +}; + const serializeAws_json1_0OutputDataConfig = (input: OutputDataConfig, context: __SerdeContext): any => { return OutputDataConfig.visit(input, { - S3Uri: (value) => ({ S3Uri: value }), + S3Configuration: (value) => ({ S3Configuration: serializeAws_json1_0S3Configuration(value, context) }), _: (name, value) => ({ name: value } as any), }); }; @@ -997,6 +1505,22 @@ const serializeAws_json1_0PreloadDataConfig = (input: PreloadDataConfig, context }; }; +const serializeAws_json1_0S3Configuration = (input: S3Configuration, context: __SerdeContext): any => { + return { + ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }), + ...(input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri }), + }; +}; + +const serializeAws_json1_0SseConfiguration = (input: SseConfiguration, context: __SerdeContext): any => { + return { + ...(input.KmsEncryptionConfig !== undefined && + input.KmsEncryptionConfig !== null && { + KmsEncryptionConfig: serializeAws_json1_0KmsEncryptionConfig(input.KmsEncryptionConfig, context), + }), + }; +}; + const serializeAws_json1_0StartFHIRExportJobRequest = ( input: StartFHIRExportJobRequest, context: __SerdeContext @@ -1028,6 +1552,54 @@ const serializeAws_json1_0StartFHIRImportJobRequest = ( InputDataConfig: serializeAws_json1_0InputDataConfig(input.InputDataConfig, context), }), ...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }), + ...(input.JobOutputDataConfig !== undefined && + input.JobOutputDataConfig !== null && { + JobOutputDataConfig: serializeAws_json1_0OutputDataConfig(input.JobOutputDataConfig, context), + }), + }; +}; + +const serializeAws_json1_0Tag = (input: Tag, context: __SerdeContext): any => { + return { + ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }), + ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }), + }; +}; + +const serializeAws_json1_0TagKeyList = (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_json1_0TagList = (input: Tag[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_json1_0Tag(entry, context); + }); +}; + +const serializeAws_json1_0TagResourceRequest = (input: TagResourceRequest, context: __SerdeContext): any => { + return { + ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }), + ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }), + }; +}; + +const serializeAws_json1_0UntagResourceRequest = (input: UntagResourceRequest, context: __SerdeContext): any => { + return { + ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }), + ...(input.TagKeys !== undefined && + input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }), }; }; @@ -1071,6 +1643,10 @@ const deserializeAws_json1_0DatastoreProperties = (output: any, context: __Serde output.PreloadDataConfig !== undefined && output.PreloadDataConfig !== null ? deserializeAws_json1_0PreloadDataConfig(output.PreloadDataConfig, context) : undefined, + SseConfiguration: + output.SseConfiguration !== undefined && output.SseConfiguration !== null + ? deserializeAws_json1_0SseConfiguration(output.SseConfiguration, context) + : undefined, } as any; }; @@ -1154,6 +1730,17 @@ const deserializeAws_json1_0ExportJobProperties = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_0ExportJobPropertiesList = (output: any, context: __SerdeContext): ExportJobProperties[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_0ExportJobProperties(entry, context); + }); +}; + const deserializeAws_json1_0ImportJobProperties = (output: any, context: __SerdeContext): ImportJobProperties => { return { DataAccessRoleArn: __expectString(output.DataAccessRoleArn), @@ -1166,6 +1753,10 @@ const deserializeAws_json1_0ImportJobProperties = (output: any, context: __Serde : undefined, JobId: __expectString(output.JobId), JobName: __expectString(output.JobName), + JobOutputDataConfig: + output.JobOutputDataConfig !== undefined && output.JobOutputDataConfig !== null + ? deserializeAws_json1_0OutputDataConfig(output.JobOutputDataConfig, context) + : undefined, JobStatus: __expectString(output.JobStatus), Message: __expectString(output.Message), SubmitTime: @@ -1175,6 +1766,17 @@ const deserializeAws_json1_0ImportJobProperties = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_0ImportJobPropertiesList = (output: any, context: __SerdeContext): ImportJobProperties[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_0ImportJobProperties(entry, context); + }); +}; + const deserializeAws_json1_0InputDataConfig = (output: any, context: __SerdeContext): InputDataConfig => { if (__expectString(output.S3Uri) !== undefined) { return { S3Uri: __expectString(output.S3Uri) as any }; @@ -1191,6 +1793,13 @@ const deserializeAws_json1_0InternalServerException = ( } as any; }; +const deserializeAws_json1_0KmsEncryptionConfig = (output: any, context: __SerdeContext): KmsEncryptionConfig => { + return { + CmkType: __expectString(output.CmkType), + KmsKeyId: __expectString(output.KmsKeyId), + } as any; +}; + const deserializeAws_json1_0ListFHIRDatastoresResponse = ( output: any, context: __SerdeContext @@ -1204,9 +1813,49 @@ const deserializeAws_json1_0ListFHIRDatastoresResponse = ( } as any; }; +const deserializeAws_json1_0ListFHIRExportJobsResponse = ( + output: any, + context: __SerdeContext +): ListFHIRExportJobsResponse => { + return { + ExportJobPropertiesList: + output.ExportJobPropertiesList !== undefined && output.ExportJobPropertiesList !== null + ? deserializeAws_json1_0ExportJobPropertiesList(output.ExportJobPropertiesList, context) + : undefined, + NextToken: __expectString(output.NextToken), + } as any; +}; + +const deserializeAws_json1_0ListFHIRImportJobsResponse = ( + output: any, + context: __SerdeContext +): ListFHIRImportJobsResponse => { + return { + ImportJobPropertiesList: + output.ImportJobPropertiesList !== undefined && output.ImportJobPropertiesList !== null + ? deserializeAws_json1_0ImportJobPropertiesList(output.ImportJobPropertiesList, context) + : undefined, + NextToken: __expectString(output.NextToken), + } as any; +}; + +const deserializeAws_json1_0ListTagsForResourceResponse = ( + output: any, + context: __SerdeContext +): ListTagsForResourceResponse => { + return { + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_json1_0TagList(output.Tags, context) + : undefined, + } as any; +}; + const deserializeAws_json1_0OutputDataConfig = (output: any, context: __SerdeContext): OutputDataConfig => { - if (__expectString(output.S3Uri) !== undefined) { - return { S3Uri: __expectString(output.S3Uri) as any }; + if (output.S3Configuration !== undefined && output.S3Configuration !== null) { + return { + S3Configuration: deserializeAws_json1_0S3Configuration(output.S3Configuration, context), + }; } return { $unknown: Object.entries(output)[0] }; }; @@ -1226,6 +1875,22 @@ const deserializeAws_json1_0ResourceNotFoundException = ( } as any; }; +const deserializeAws_json1_0S3Configuration = (output: any, context: __SerdeContext): S3Configuration => { + return { + KmsKeyId: __expectString(output.KmsKeyId), + S3Uri: __expectString(output.S3Uri), + } as any; +}; + +const deserializeAws_json1_0SseConfiguration = (output: any, context: __SerdeContext): SseConfiguration => { + return { + KmsEncryptionConfig: + output.KmsEncryptionConfig !== undefined && output.KmsEncryptionConfig !== null + ? deserializeAws_json1_0KmsEncryptionConfig(output.KmsEncryptionConfig, context) + : undefined, + } as any; +}; + const deserializeAws_json1_0StartFHIRExportJobResponse = ( output: any, context: __SerdeContext @@ -1248,12 +1913,38 @@ const deserializeAws_json1_0StartFHIRImportJobResponse = ( } as any; }; +const deserializeAws_json1_0Tag = (output: any, context: __SerdeContext): Tag => { + return { + Key: __expectString(output.Key), + Value: __expectString(output.Value), + } as any; +}; + +const deserializeAws_json1_0TagList = (output: any, context: __SerdeContext): Tag[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_0Tag(entry, context); + }); +}; + +const deserializeAws_json1_0TagResourceResponse = (output: any, context: __SerdeContext): TagResourceResponse => { + return {} as any; +}; + const deserializeAws_json1_0ThrottlingException = (output: any, context: __SerdeContext): ThrottlingException => { return { Message: __expectString(output.Message), } as any; }; +const deserializeAws_json1_0UntagResourceResponse = (output: any, context: __SerdeContext): UntagResourceResponse => { + return {} as any; +}; + const deserializeAws_json1_0ValidationException = (output: any, context: __SerdeContext): ValidationException => { return { Message: __expectString(output.Message), diff --git a/clients/client-iotsitewise/protocols/Aws_restJson1.ts b/clients/client-iotsitewise/protocols/Aws_restJson1.ts index 5b7e8abcbd927..23b47badd236d 100644 --- a/clients/client-iotsitewise/protocols/Aws_restJson1.ts +++ b/clients/client-iotsitewise/protocols/Aws_restJson1.ts @@ -245,7 +245,7 @@ export const serializeAws_restJson1AssociateAssetsCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -441,7 +441,7 @@ export const serializeAws_restJson1CreateAssetCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -495,7 +495,7 @@ export const serializeAws_restJson1CreateAssetModelCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -569,7 +569,7 @@ export const serializeAws_restJson1CreateGatewayCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -731,7 +731,7 @@ export const serializeAws_restJson1DeleteAssetCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -771,7 +771,7 @@ export const serializeAws_restJson1DeleteAssetModelCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -848,7 +848,7 @@ export const serializeAws_restJson1DeleteGatewayCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -997,7 +997,7 @@ export const serializeAws_restJson1DescribeAssetCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1033,7 +1033,7 @@ export const serializeAws_restJson1DescribeAssetModelCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1078,7 +1078,7 @@ export const serializeAws_restJson1DescribeAssetPropertyCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1142,9 +1142,16 @@ export const serializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration/account/encryption"; let body: any; body = ""; + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "GET", headers, @@ -1173,7 +1180,7 @@ export const serializeAws_restJson1DescribeGatewayCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1219,7 +1226,7 @@ export const serializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1248,7 +1255,7 @@ export const serializeAws_restJson1DescribeLoggingOptionsCommand = async ( body = ""; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1346,9 +1353,16 @@ export const serializeAws_restJson1DescribeStorageConfigurationCommand = async ( `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration/account/storage"; let body: any; body = ""; + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "GET", headers, @@ -1384,7 +1398,7 @@ export const serializeAws_restJson1DisassociateAssetsCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1603,7 +1617,7 @@ export const serializeAws_restJson1ListAssetModelsCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1645,7 +1659,7 @@ export const serializeAws_restJson1ListAssetRelationshipsCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1678,7 +1692,7 @@ export const serializeAws_restJson1ListAssetsCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1721,7 +1735,7 @@ export const serializeAws_restJson1ListAssociatedAssetsCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1784,7 +1798,7 @@ export const serializeAws_restJson1ListGatewaysCommand = async ( let body: any; let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -1916,9 +1930,16 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async ( ...(input.resourceArn !== undefined && { resourceArn: input.resourceArn }), }; let body: any; + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "GET", headers, @@ -1944,9 +1965,16 @@ export const serializeAws_restJson1PutDefaultEncryptionConfigurationCommand = as input.encryptionType !== null && { encryptionType: input.encryptionType }), ...(input.kmsKeyId !== undefined && input.kmsKeyId !== null && { kmsKeyId: input.kmsKeyId }), }); + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "POST", headers, @@ -1973,7 +2001,7 @@ export const serializeAws_restJson1PutLoggingOptionsCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -2007,9 +2035,16 @@ export const serializeAws_restJson1PutStorageConfigurationCommand = async ( }), ...(input.storageType !== undefined && input.storageType !== null && { storageType: input.storageType }), }); + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "POST", headers, @@ -2034,9 +2069,16 @@ export const serializeAws_restJson1TagResourceCommand = async ( body = JSON.stringify({ ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), }); + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "POST", headers, @@ -2058,9 +2100,16 @@ export const serializeAws_restJson1UntagResourceCommand = async ( ...(input.tagKeys !== undefined && { tagKeys: (input.tagKeys || []).map((_entry) => _entry) }), }; let body: any; + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "api." + resolvedHostname; + if (!__isValidHostname(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } return new __HttpRequest({ protocol, - hostname, + hostname: resolvedHostname, port, method: "DELETE", headers, @@ -2146,7 +2195,7 @@ export const serializeAws_restJson1UpdateAssetCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -2206,7 +2255,7 @@ export const serializeAws_restJson1UpdateAssetModelCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -2259,7 +2308,7 @@ export const serializeAws_restJson1UpdateAssetPropertyCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "model." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -2346,7 +2395,7 @@ export const serializeAws_restJson1UpdateGatewayCommand = async ( }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } @@ -2390,7 +2439,7 @@ export const serializeAws_restJson1UpdateGatewayCapabilityConfigurationCommand = }); let { hostname: resolvedHostname } = await context.endpoint(); if (context.disableHostPrefix !== true) { - resolvedHostname = "edge." + resolvedHostname; + resolvedHostname = "api." + resolvedHostname; if (!__isValidHostname(resolvedHostname)) { throw new Error("ValidationError: prefixed hostname must be hostname compatible."); } diff --git a/clients/client-kendra/Kendra.ts b/clients/client-kendra/Kendra.ts index 80dc44dc196ff..2ea8c42302dca 100644 --- a/clients/client-kendra/Kendra.ts +++ b/clients/client-kendra/Kendra.ts @@ -43,6 +43,11 @@ import { } from "./commands/DeleteDataSourceCommand"; import { DeleteFaqCommand, DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand"; import { DeleteIndexCommand, DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand"; +import { + DeletePrincipalMappingCommand, + DeletePrincipalMappingCommandInput, + DeletePrincipalMappingCommandOutput, +} from "./commands/DeletePrincipalMappingCommand"; import { DeleteQuerySuggestionsBlockListCommand, DeleteQuerySuggestionsBlockListCommandInput, @@ -64,6 +69,11 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput, } from "./commands/DescribeIndexCommand"; +import { + DescribePrincipalMappingCommand, + DescribePrincipalMappingCommandInput, + DescribePrincipalMappingCommandOutput, +} from "./commands/DescribePrincipalMappingCommand"; import { DescribeQuerySuggestionsBlockListCommand, DescribeQuerySuggestionsBlockListCommandInput, @@ -95,6 +105,11 @@ import { ListDataSourcesCommandOutput, } from "./commands/ListDataSourcesCommand"; import { ListFaqsCommand, ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand"; +import { + ListGroupsOlderThanOrderingIdCommand, + ListGroupsOlderThanOrderingIdCommandInput, + ListGroupsOlderThanOrderingIdCommandOutput, +} from "./commands/ListGroupsOlderThanOrderingIdCommand"; import { ListIndicesCommand, ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand"; import { ListQuerySuggestionsBlockListsCommand, @@ -111,6 +126,11 @@ import { ListThesauriCommandInput, ListThesauriCommandOutput, } from "./commands/ListThesauriCommand"; +import { + PutPrincipalMappingCommand, + PutPrincipalMappingCommandInput, + PutPrincipalMappingCommandOutput, +} from "./commands/PutPrincipalMappingCommand"; import { QueryCommand, QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; import { StartDataSourceSyncJobCommand, @@ -164,7 +184,7 @@ export class Kendra extends KendraClient { *

                                                  Removes one or more documents from an index. The documents must have * been added with the BatchPutDocument operation.

                                                  *

                                                  The documents are deleted asynchronously. You can see the progress of - * the deletion by using AWS CloudWatch. Any error messages related to the + * the deletion by using Amazon Web Services CloudWatch. Any error messages related to the * processing of the batch are sent to you CloudWatch log.

                                                  */ public batchDeleteDocument( @@ -248,8 +268,8 @@ export class Kendra extends KendraClient { * add custom attributes to the documents, and to attach an access control * list to the documents added to the index.

                                                  *

                                                  The documents are indexed asynchronously. You can see the progress of - * the batch using AWS CloudWatch. Any error messages related to processing - * the batch are sent to your AWS CloudWatch log.

                                                  + * the batch using Amazon Web Services CloudWatch. Any error messages related to processing + * the batch are sent to your Amazon Web Services CloudWatch log.

                                                  */ public batchPutDocument( args: BatchPutDocumentCommandInput, @@ -582,6 +602,49 @@ export class Kendra extends KendraClient { } } + /** + *

                                                  Deletes a group so that all users and sub groups that belong to the group can + * no longer access documents only available to that group.

                                                  + *

                                                  For example, after deleting the group "Summer Interns", all interns who + * belonged to that group no longer see intern-only documents in their search + * results.

                                                  + *

                                                  If you want to delete or replace users or sub groups of a group, you need to + * use the PutPrincipalMapping operation. For example, if a user in + * the group "Engineering" leaves the engineering team and another user takes + * their place, you provide an updated list of users or sub groups that belong + * to the "Engineering" group when calling PutPrincipalMapping. You + * can update your internal list of users or sub groups and input this list + * when calling PutPrincipalMapping.

                                                  + */ + public deletePrincipalMapping( + args: DeletePrincipalMappingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deletePrincipalMapping( + args: DeletePrincipalMappingCommandInput, + cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void + ): void; + public deletePrincipalMapping( + args: DeletePrincipalMappingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void + ): void; + public deletePrincipalMapping( + args: DeletePrincipalMappingCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePrincipalMappingCommandOutput) => void), + cb?: (err: any, data?: DeletePrincipalMappingCommandOutput) => void + ): Promise | void { + const command = new DeletePrincipalMappingCommand(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 block list used for query suggestions for an index.

                                                  *

                                                  A deleted block list might not take effect right away. Amazon Kendra @@ -740,6 +803,43 @@ export class Kendra extends KendraClient { } } + /** + *

                                                  Describes the processing of PUT and DELETE actions + * for mapping users to their groups. This includes information on the status of + * actions currently processing or yet to be processed, when actions were last updated, + * when actions were received by Amazon Kendra, the latest action that should process + * and apply after other actions, and useful error messages if an action could + * not be processed.

                                                  + */ + public describePrincipalMapping( + args: DescribePrincipalMappingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describePrincipalMapping( + args: DescribePrincipalMappingCommandInput, + cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void + ): void; + public describePrincipalMapping( + args: DescribePrincipalMappingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void + ): void; + public describePrincipalMapping( + args: DescribePrincipalMappingCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePrincipalMappingCommandOutput) => void), + cb?: (err: any, data?: DescribePrincipalMappingCommandOutput) => void + ): Promise | void { + const command = new DescribePrincipalMappingCommand(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 block list used for query suggestions for an index.

                                                  *

                                                  This is used to check the current settings that are applied to a @@ -963,6 +1063,39 @@ export class Kendra extends KendraClient { } } + /** + *

                                                  Provides a list of groups that are mapped to users before a + * given ordering or timestamp identifier.

                                                  + */ + public listGroupsOlderThanOrderingId( + args: ListGroupsOlderThanOrderingIdCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listGroupsOlderThanOrderingId( + args: ListGroupsOlderThanOrderingIdCommandInput, + cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void + ): void; + public listGroupsOlderThanOrderingId( + args: ListGroupsOlderThanOrderingIdCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void + ): void; + public listGroupsOlderThanOrderingId( + args: ListGroupsOlderThanOrderingIdCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void), + cb?: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void + ): Promise | void { + const command = new ListGroupsOlderThanOrderingIdCommand(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 Amazon Kendra indexes that you have created.

                                                  */ @@ -1086,6 +1219,51 @@ export class Kendra extends KendraClient { } } + /** + *

                                                  Maps users to their groups. You can also map sub groups to groups. + * For example, the group "Company Intellectual Property Teams" includes + * sub groups "Research" and "Engineering". These sub groups include their + * own list of users or people who work in these teams. Only users who work + * in research and engineering, and therefore belong in the intellectual + * property group, can see top-secret company documents in their search + * results.

                                                  + *

                                                  You map users to their groups when you want to filter search results + * for different users based on their group’s access to documents. For more + * information on filtering search results for different users, see + * Filtering + * on user context.

                                                  + *

                                                  If more than five PUT actions for a group are currently + * processing, a validation exception is thrown.

                                                  + */ + public putPrincipalMapping( + args: PutPrincipalMappingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public putPrincipalMapping( + args: PutPrincipalMappingCommandInput, + cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void + ): void; + public putPrincipalMapping( + args: PutPrincipalMappingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void + ): void; + public putPrincipalMapping( + args: PutPrincipalMappingCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPrincipalMappingCommandOutput) => void), + cb?: (err: any, data?: PutPrincipalMappingCommandOutput) => void + ): Promise | void { + const command = new PutPrincipalMappingCommand(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); + } + } + /** *

                                                  Searches an active index. Use this API to search your documents * using query. The Query operation enables to do faceted diff --git a/clients/client-kendra/KendraClient.ts b/clients/client-kendra/KendraClient.ts index 08460d2e596f9..4ecd5ebab87de 100644 --- a/clients/client-kendra/KendraClient.ts +++ b/clients/client-kendra/KendraClient.ts @@ -22,6 +22,10 @@ import { CreateThesaurusCommandInput, CreateThesaurusCommandOutput } from "./com import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand"; import { DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand"; import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand"; +import { + DeletePrincipalMappingCommandInput, + DeletePrincipalMappingCommandOutput, +} from "./commands/DeletePrincipalMappingCommand"; import { DeleteQuerySuggestionsBlockListCommandInput, DeleteQuerySuggestionsBlockListCommandOutput, @@ -30,6 +34,10 @@ import { DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput } from "./com import { DescribeDataSourceCommandInput, DescribeDataSourceCommandOutput } from "./commands/DescribeDataSourceCommand"; import { DescribeFaqCommandInput, DescribeFaqCommandOutput } from "./commands/DescribeFaqCommand"; import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./commands/DescribeIndexCommand"; +import { + DescribePrincipalMappingCommandInput, + DescribePrincipalMappingCommandOutput, +} from "./commands/DescribePrincipalMappingCommand"; import { DescribeQuerySuggestionsBlockListCommandInput, DescribeQuerySuggestionsBlockListCommandOutput, @@ -49,6 +57,10 @@ import { } from "./commands/ListDataSourceSyncJobsCommand"; import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand"; import { ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand"; +import { + ListGroupsOlderThanOrderingIdCommandInput, + ListGroupsOlderThanOrderingIdCommandOutput, +} from "./commands/ListGroupsOlderThanOrderingIdCommand"; import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand"; import { ListQuerySuggestionsBlockListsCommandInput, @@ -59,6 +71,10 @@ import { ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { ListThesauriCommandInput, ListThesauriCommandOutput } from "./commands/ListThesauriCommand"; +import { + PutPrincipalMappingCommandInput, + PutPrincipalMappingCommandOutput, +} from "./commands/PutPrincipalMappingCommand"; import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; import { StartDataSourceSyncJobCommandInput, @@ -147,11 +163,13 @@ export type ServiceInputTypes = | DeleteDataSourceCommandInput | DeleteFaqCommandInput | DeleteIndexCommandInput + | DeletePrincipalMappingCommandInput | DeleteQuerySuggestionsBlockListCommandInput | DeleteThesaurusCommandInput | DescribeDataSourceCommandInput | DescribeFaqCommandInput | DescribeIndexCommandInput + | DescribePrincipalMappingCommandInput | DescribeQuerySuggestionsBlockListCommandInput | DescribeQuerySuggestionsConfigCommandInput | DescribeThesaurusCommandInput @@ -159,10 +177,12 @@ export type ServiceInputTypes = | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListFaqsCommandInput + | ListGroupsOlderThanOrderingIdCommandInput | ListIndicesCommandInput | ListQuerySuggestionsBlockListsCommandInput | ListTagsForResourceCommandInput | ListThesauriCommandInput + | PutPrincipalMappingCommandInput | QueryCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput @@ -188,11 +208,13 @@ export type ServiceOutputTypes = | DeleteDataSourceCommandOutput | DeleteFaqCommandOutput | DeleteIndexCommandOutput + | DeletePrincipalMappingCommandOutput | DeleteQuerySuggestionsBlockListCommandOutput | DeleteThesaurusCommandOutput | DescribeDataSourceCommandOutput | DescribeFaqCommandOutput | DescribeIndexCommandOutput + | DescribePrincipalMappingCommandOutput | DescribeQuerySuggestionsBlockListCommandOutput | DescribeQuerySuggestionsConfigCommandOutput | DescribeThesaurusCommandOutput @@ -200,10 +222,12 @@ export type ServiceOutputTypes = | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListFaqsCommandOutput + | ListGroupsOlderThanOrderingIdCommandOutput | ListIndicesCommandOutput | ListQuerySuggestionsBlockListsCommandOutput | ListTagsForResourceCommandOutput | ListThesauriCommandOutput + | PutPrincipalMappingCommandOutput | QueryCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput diff --git a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts index fd24e784bed75..93b71b11d461b 100644 --- a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts @@ -24,7 +24,7 @@ export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentRes *

                                                  Removes one or more documents from an index. The documents must have * been added with the BatchPutDocument operation.

                                                  *

                                                  The documents are deleted asynchronously. You can see the progress of - * the deletion by using AWS CloudWatch. Any error messages related to the + * the deletion by using Amazon Web Services CloudWatch. Any error messages related to the * processing of the batch are sent to you CloudWatch log.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-kendra/commands/BatchPutDocumentCommand.ts b/clients/client-kendra/commands/BatchPutDocumentCommand.ts index fe448aa35d792..0f3f4df0faf5e 100644 --- a/clients/client-kendra/commands/BatchPutDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchPutDocumentCommand.ts @@ -28,8 +28,8 @@ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse, * add custom attributes to the documents, and to attach an access control * list to the documents added to the index.

                                                  *

                                                  The documents are indexed asynchronously. You can see the progress of - * the batch using AWS CloudWatch. Any error messages related to processing - * the batch are sent to your AWS CloudWatch log.

                                                  + * the batch using Amazon Web Services CloudWatch. Any error messages related to processing + * the batch are sent to your Amazon Web Services CloudWatch log.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-kendra/commands/DeletePrincipalMappingCommand.ts b/clients/client-kendra/commands/DeletePrincipalMappingCommand.ts new file mode 100644 index 0000000000000..64327d7d82e4e --- /dev/null +++ b/clients/client-kendra/commands/DeletePrincipalMappingCommand.ts @@ -0,0 +1,105 @@ +import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; +import { DeletePrincipalMappingRequest } from "../models/models_0"; +import { + deserializeAws_json1_1DeletePrincipalMappingCommand, + serializeAws_json1_1DeletePrincipalMappingCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DeletePrincipalMappingCommandInput extends DeletePrincipalMappingRequest {} +export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {} + +/** + *

                                                  Deletes a group so that all users and sub groups that belong to the group can + * no longer access documents only available to that group.

                                                  + *

                                                  For example, after deleting the group "Summer Interns", all interns who + * belonged to that group no longer see intern-only documents in their search + * results.

                                                  + *

                                                  If you want to delete or replace users or sub groups of a group, you need to + * use the PutPrincipalMapping operation. For example, if a user in + * the group "Engineering" leaves the engineering team and another user takes + * their place, you provide an updated list of users or sub groups that belong + * to the "Engineering" group when calling PutPrincipalMapping. You + * can update your internal list of users or sub groups and input this list + * when calling PutPrincipalMapping.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { KendraClient, DeletePrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import + * // const { KendraClient, DeletePrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import + * const client = new KendraClient(config); + * const command = new DeletePrincipalMappingCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeletePrincipalMappingCommandInput} for command's `input` shape. + * @see {@link DeletePrincipalMappingCommandOutput} for command's `response` shape. + * @see {@link KendraClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeletePrincipalMappingCommand extends $Command< + DeletePrincipalMappingCommandInput, + DeletePrincipalMappingCommandOutput, + KendraClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeletePrincipalMappingCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: KendraClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "KendraClient"; + const commandName = "DeletePrincipalMappingCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeletePrincipalMappingRequest.filterSensitiveLog, + outputFilterSensitiveLog: (output: any) => output, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeletePrincipalMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeletePrincipalMappingCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeletePrincipalMappingCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-kendra/commands/DescribePrincipalMappingCommand.ts b/clients/client-kendra/commands/DescribePrincipalMappingCommand.ts new file mode 100644 index 0000000000000..4feb0bb6eb13a --- /dev/null +++ b/clients/client-kendra/commands/DescribePrincipalMappingCommand.ts @@ -0,0 +1,99 @@ +import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; +import { DescribePrincipalMappingRequest, DescribePrincipalMappingResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DescribePrincipalMappingCommand, + serializeAws_json1_1DescribePrincipalMappingCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DescribePrincipalMappingCommandInput extends DescribePrincipalMappingRequest {} +export interface DescribePrincipalMappingCommandOutput extends DescribePrincipalMappingResponse, __MetadataBearer {} + +/** + *

                                                  Describes the processing of PUT and DELETE actions + * for mapping users to their groups. This includes information on the status of + * actions currently processing or yet to be processed, when actions were last updated, + * when actions were received by Amazon Kendra, the latest action that should process + * and apply after other actions, and useful error messages if an action could + * not be processed.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { KendraClient, DescribePrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import + * // const { KendraClient, DescribePrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import + * const client = new KendraClient(config); + * const command = new DescribePrincipalMappingCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribePrincipalMappingCommandInput} for command's `input` shape. + * @see {@link DescribePrincipalMappingCommandOutput} for command's `response` shape. + * @see {@link KendraClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DescribePrincipalMappingCommand extends $Command< + DescribePrincipalMappingCommandInput, + DescribePrincipalMappingCommandOutput, + KendraClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribePrincipalMappingCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: KendraClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "KendraClient"; + const commandName = "DescribePrincipalMappingCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribePrincipalMappingRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribePrincipalMappingResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribePrincipalMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DescribePrincipalMappingCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DescribePrincipalMappingCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-kendra/commands/ListGroupsOlderThanOrderingIdCommand.ts b/clients/client-kendra/commands/ListGroupsOlderThanOrderingIdCommand.ts new file mode 100644 index 0000000000000..cf93eba412e4d --- /dev/null +++ b/clients/client-kendra/commands/ListGroupsOlderThanOrderingIdCommand.ts @@ -0,0 +1,100 @@ +import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; +import { ListGroupsOlderThanOrderingIdRequest, ListGroupsOlderThanOrderingIdResponse } from "../models/models_0"; +import { + deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand, + serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ListGroupsOlderThanOrderingIdCommandInput extends ListGroupsOlderThanOrderingIdRequest {} +export interface ListGroupsOlderThanOrderingIdCommandOutput + extends ListGroupsOlderThanOrderingIdResponse, + __MetadataBearer {} + +/** + *

                                                  Provides a list of groups that are mapped to users before a + * given ordering or timestamp identifier.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { KendraClient, ListGroupsOlderThanOrderingIdCommand } from "@aws-sdk/client-kendra"; // ES Modules import + * // const { KendraClient, ListGroupsOlderThanOrderingIdCommand } = require("@aws-sdk/client-kendra"); // CommonJS import + * const client = new KendraClient(config); + * const command = new ListGroupsOlderThanOrderingIdCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListGroupsOlderThanOrderingIdCommandInput} for command's `input` shape. + * @see {@link ListGroupsOlderThanOrderingIdCommandOutput} for command's `response` shape. + * @see {@link KendraClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListGroupsOlderThanOrderingIdCommand extends $Command< + ListGroupsOlderThanOrderingIdCommandInput, + ListGroupsOlderThanOrderingIdCommandOutput, + KendraClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListGroupsOlderThanOrderingIdCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: KendraClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "KendraClient"; + const commandName = "ListGroupsOlderThanOrderingIdCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListGroupsOlderThanOrderingIdRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListGroupsOlderThanOrderingIdResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListGroupsOlderThanOrderingIdCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-kendra/commands/PutPrincipalMappingCommand.ts b/clients/client-kendra/commands/PutPrincipalMappingCommand.ts new file mode 100644 index 0000000000000..7408844c09eed --- /dev/null +++ b/clients/client-kendra/commands/PutPrincipalMappingCommand.ts @@ -0,0 +1,107 @@ +import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; +import { PutPrincipalMappingRequest } from "../models/models_0"; +import { + deserializeAws_json1_1PutPrincipalMappingCommand, + serializeAws_json1_1PutPrincipalMappingCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface PutPrincipalMappingCommandInput extends PutPrincipalMappingRequest {} +export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {} + +/** + *

                                                  Maps users to their groups. You can also map sub groups to groups. + * For example, the group "Company Intellectual Property Teams" includes + * sub groups "Research" and "Engineering". These sub groups include their + * own list of users or people who work in these teams. Only users who work + * in research and engineering, and therefore belong in the intellectual + * property group, can see top-secret company documents in their search + * results.

                                                  + *

                                                  You map users to their groups when you want to filter search results + * for different users based on their group’s access to documents. For more + * information on filtering search results for different users, see + * Filtering + * on user context.

                                                  + *

                                                  If more than five PUT actions for a group are currently + * processing, a validation exception is thrown.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { KendraClient, PutPrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import + * // const { KendraClient, PutPrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import + * const client = new KendraClient(config); + * const command = new PutPrincipalMappingCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link PutPrincipalMappingCommandInput} for command's `input` shape. + * @see {@link PutPrincipalMappingCommandOutput} for command's `response` shape. + * @see {@link KendraClientResolvedConfig | config} for command's `input` shape. + * + */ +export class PutPrincipalMappingCommand extends $Command< + PutPrincipalMappingCommandInput, + PutPrincipalMappingCommandOutput, + KendraClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PutPrincipalMappingCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: KendraClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "KendraClient"; + const commandName = "PutPrincipalMappingCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PutPrincipalMappingRequest.filterSensitiveLog, + outputFilterSensitiveLog: (output: any) => output, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: PutPrincipalMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1PutPrincipalMappingCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1PutPrincipalMappingCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-kendra/index.ts b/clients/client-kendra/index.ts index 58df769281463..b5620c9a78d74 100644 --- a/clients/client-kendra/index.ts +++ b/clients/client-kendra/index.ts @@ -12,11 +12,13 @@ export * from "./commands/CreateThesaurusCommand"; export * from "./commands/DeleteDataSourceCommand"; export * from "./commands/DeleteFaqCommand"; export * from "./commands/DeleteIndexCommand"; +export * from "./commands/DeletePrincipalMappingCommand"; export * from "./commands/DeleteQuerySuggestionsBlockListCommand"; export * from "./commands/DeleteThesaurusCommand"; export * from "./commands/DescribeDataSourceCommand"; export * from "./commands/DescribeFaqCommand"; export * from "./commands/DescribeIndexCommand"; +export * from "./commands/DescribePrincipalMappingCommand"; export * from "./commands/DescribeQuerySuggestionsBlockListCommand"; export * from "./commands/DescribeQuerySuggestionsConfigCommand"; export * from "./commands/DescribeThesaurusCommand"; @@ -26,11 +28,13 @@ export * from "./pagination/ListDataSourcesPaginator"; export * from "./commands/ListDataSourceSyncJobsCommand"; export * from "./pagination/ListDataSourceSyncJobsPaginator"; export * from "./commands/ListFaqsCommand"; +export * from "./commands/ListGroupsOlderThanOrderingIdCommand"; export * from "./commands/ListIndicesCommand"; export * from "./pagination/ListIndicesPaginator"; export * from "./commands/ListQuerySuggestionsBlockListsCommand"; export * from "./commands/ListTagsForResourceCommand"; export * from "./commands/ListThesauriCommand"; +export * from "./commands/PutPrincipalMappingCommand"; export * from "./commands/QueryCommand"; export * from "./commands/StartDataSourceSyncJobCommand"; export * from "./commands/StopDataSourceSyncJobCommand"; diff --git a/clients/client-kendra/models/models_0.ts b/clients/client-kendra/models/models_0.ts index 453e2b7837ff5..1adb407a0167d 100644 --- a/clients/client-kendra/models/models_0.ts +++ b/clients/client-kendra/models/models_0.ts @@ -8,7 +8,7 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException */ export interface AccessControlListConfiguration { /** - *

                                                  Path to the AWS S3 bucket that contains the ACL files.

                                                  + *

                                                  Path to the Amazon Web Services S3 bucket that contains the ACL files.

                                                  */ KeyPath?: string; } @@ -792,6 +792,12 @@ export interface Principal { *

                                                  Whether to allow or deny access to the principal.

                                                  */ Access: ReadAccessType | string | undefined; + + /** + *

                                                  The identifier of the data source the principal should + * access documents from.

                                                  + */ + DataSourceId?: string; } export namespace Principal { @@ -811,6 +817,30 @@ export enum ContentType { PPT = "PPT", } +/** + *

                                                  + * Information to define the hierarchy for which documents users should have access to. + *

                                                  + */ +export interface HierarchicalPrincipal { + /** + *

                                                  A list of principal lists + * that define the hierarchy for which documents users should have access to. + * Each hierarchical list specifies which user or group has allow or deny + * access for each document.

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

                                                  Information required to find a specific file in an Amazon S3 * bucket.

                                                  @@ -854,7 +884,7 @@ export interface Document { *

                                                  The contents of the document.

                                                  *

                                                  Documents passed to the Blob parameter must be base64 * encoded. Your code might not need to encode the document file bytes - * if you're using an AWS SDK to call Amazon Kendra operations. If you are + * if you're using an Amazon Web Services SDK to call Amazon Kendra operations. If you are * calling the Amazon Kendra endpoint directly using REST, you must base64 * encode the contents before sending.

                                                  */ @@ -875,10 +905,17 @@ export interface Document { Attributes?: DocumentAttribute[]; /** - *

                                                  Information to use for user context filtering.

                                                  + *

                                                  Information on user and group access rights, which is used for + * user context filtering.

                                                  */ AccessControlList?: Principal[]; + /** + *

                                                  The list of principal lists + * that define the hierarchy for which documents users should have access to.

                                                  + */ + HierarchicalAccessControlList?: HierarchicalPrincipal[]; + /** *

                                                  The file type of the document in the Blob * field.

                                                  @@ -986,7 +1023,7 @@ export interface BatchPutDocumentResponse { * message that indicates why the document couldn't be added to the * index.

                                                  *

                                                  If there was an error adding a document to an index the error is - * reported in your AWS CloudWatch log. For more information, see Monitoring + * reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring * Amazon Kendra with Amazon CloudWatch Logs *

                                                  */ @@ -1423,7 +1460,7 @@ export interface ConfluenceConfiguration { ServerUrl: string | undefined; /** - *

                                                  The Amazon Resource Name (ARN) of an AWS Secrets Manager secret + *

                                                  The Amazon Resource Name (ARN) of an Secrets Managersecret * that contains the key/value pairs required to connect to your * Confluence server. The secret must contain a JSON structure with the * following keys:

                                                  @@ -1613,8 +1650,8 @@ export interface ConnectionConfiguration { * more information, see Using a * Database Data Source. For more information about AWS * Secrets Manager, see What Is AWS - * Secrets Manager in the AWS Secrets - * Manager user guide.

                                                  + * Secrets Manager in the Secrets Manager + * user guide.

                                                  */ SecretArn: string | undefined; } @@ -1725,7 +1762,7 @@ export namespace DatabaseConfiguration { */ export interface GoogleDriveConfiguration { /** - *

                                                  The Amazon Resource Name (ARN) of a AWS Secrets Manager secret + *

                                                  The Amazon Resource Name (ARN) of a Secrets Managersecret * that contains the credentials required to connect to Google Drive. * For more information, see Using a Google Workspace Drive data * source.

                                                  @@ -1835,7 +1872,7 @@ export interface OneDriveConfiguration { TenantDomain: string | undefined; /** - *

                                                  The Amazon Resource Name (ARN) of an AWS Secrets Manager secret + *

                                                  The Amazon Resource Name (ARN) of an Secrets Managersecret * that contains the user name and password to connect to OneDrive. The * user namd should be the application ID for the OneDrive application, * and the password is the application key for the OneDrive @@ -1900,7 +1937,7 @@ export namespace OneDriveConfiguration { */ export interface DocumentsMetadataConfiguration { /** - *

                                                  A prefix used to filter metadata configuration files in the AWS S3 + *

                                                  A prefix used to filter metadata configuration files in the Amazon Web Services S3 * bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata * files.

                                                  @@ -2274,7 +2311,7 @@ export interface SalesforceConfiguration { ServerUrl: string | undefined; /** - *

                                                  The Amazon Resource Name (ARN) of an AWS Secrets Manager secret + *

                                                  The Amazon Resource Name (ARN) of an Secrets Managersecret * that contains the key/value pairs required to connect to your * Salesforce instance. The secret must contain a JSON structure with * the following keys:

                                                  @@ -2518,7 +2555,7 @@ export interface ServiceNowConfiguration { HostUrl: string | undefined; /** - *

                                                  The Amazon Resource Name (ARN) of the AWS Secret Manager secret + *

                                                  The Amazon Resource Name (ARN) of the Secrets Manager secret * that contains the user name and password required to connect to the * ServiceNow instance.

                                                  */ @@ -2594,12 +2631,14 @@ export interface SharePointConfiguration { /** *

                                                  The Amazon Resource Name (ARN) of credentials stored in AWS - * Secrets Manager. The credentials should be a user/password pair. For + * Secrets Manager. The credentials should be a user/password pair. + * If you use SharePoint Sever, you also need to provide the sever + * domain name as part of the credentials. For * more information, see Using a * Microsoft SharePoint Data Source. For more information * about AWS Secrets Manager, see What Is AWS - * Secrets Manager in the AWS Secrets - * Manager user guide.

                                                  + * Secrets Manager in the Secrets Manager + * user guide.

                                                  */ SecretArn: string | undefined; @@ -3268,13 +3307,13 @@ export enum IndexEdition { } /** - *

                                                  Provides the identifier of the AWS KMS customer master key (CMK) + *

                                                  Provides the identifier of the KMScustomer master key (CMK) * used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support * asymmetric CMKs.

                                                  */ export interface ServerSideEncryptionConfiguration { /** - *

                                                  The identifier of the AWS KMS customer master key (CMK). Amazon Kendra + *

                                                  The identifier of the KMScustomer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.

                                                  */ KmsKeyId?: string; @@ -3411,13 +3450,11 @@ export interface CreateIndexRequest { * changed.

                                                  *

                                                  The Edition parameter is optional. If you don't supply a * value, the default is ENTERPRISE_EDITION.

                                                  - *

                                                  For more information on quota limits for enterprise and developer editions, - * see Quotas.

                                                  */ Edition?: IndexEdition | string; /** - *

                                                  An AWS Identity and Access Management (IAM) role that gives + *

                                                  An Identity and Access Management(IAM) role that gives * Amazon Kendra permissions to access your Amazon CloudWatch logs and * metrics. This is also the role used when you use the * BatchPutDocument operation to index documents from an @@ -3426,7 +3463,7 @@ export interface CreateIndexRequest { RoleArn: string | undefined; /** - *

                                                  The identifier of the AWS KMS customer managed key (CMK) to use to + *

                                                  The identifier of the KMScustomer managed key (CMK) to use to * encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support * asymmetric CMKs.

                                                  */ @@ -3720,6 +3757,58 @@ export namespace DeleteIndexRequest { }); } +export interface DeletePrincipalMappingRequest { + /** + *

                                                  The identifier of the index you want to delete a group from.

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

                                                  The identifier of the data source you want to delete a group from.

                                                  + *

                                                  This is useful if a group is tied to multiple data sources and you want + * to delete a group from accessing documents in a certain data source. For example, + * the groups "Research", "Engineering", and "Sales and Marketing" are all tied to + * the company's documents stored in the data sources Confluence and Salesforce. + * You want to delete "Research" and "Engineering" groups from Salesforce, so that + * these groups cannot access customer-related documents stored in Salesforce. + * Only "Sales and Marketing" should access documents in the Salesforce data source.

                                                  + */ + DataSourceId?: string; + + /** + *

                                                  The identifier of the group you want to delete.

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

                                                  The timestamp identifier you specify to ensure Amazon Kendra does not + * override the latest DELETE action with previous actions. + * The highest number ID, which is the ordering ID, is the latest action + * you want to process and apply on top of other actions with lower number + * IDs. This prevents previous actions with lower number IDs from possibly + * overriding the latest action.

                                                  + *

                                                  The ordering ID can be the UNIX time of the last update you made to a group + * members list. You would then provide this list when calling + * PutPrincipalMapping. This ensures your DELETE action + * for that updated group with the latest members list doesn't get overwritten + * by earlier DELETE actions for the same group which are yet to + * be processed.

                                                  + *

                                                  The default ordering ID is the current UNIX time in milliseconds that the + * action was received by Amazon Kendra. + *

                                                  + */ + OrderingId?: number; +} + +export namespace DeletePrincipalMappingRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeletePrincipalMappingRequest): any => ({ + ...obj, + }); +} + export interface DeleteQuerySuggestionsBlockListRequest { /** *

                                                  The identifier of the you want to delete a block list from.

                                                  @@ -3992,9 +4081,9 @@ export namespace DescribeIndexRequest { */ export interface CapacityUnitsConfiguration { /** - *

                                                  The amount of extra storage capacity for an index. - * A single capacity unit provides 30 GB of storage space or 100,000 documents, - * whichever is reached first.

                                                  + *

                                                  The amount of extra storage capacity for an index. A single capacity + * unit for an index provides 150 GB of storage space or + * 500,000 documents, whichever is reached first.

                                                  */ StorageCapacityUnits: number | undefined; @@ -4002,16 +4091,14 @@ export interface CapacityUnitsConfiguration { *

                                                  The amount of extra query capacity for an index and * GetQuerySuggestions * capacity.

                                                  - *

                                                  A single extra capacity unit for an index provides 0.1 queries per second or approximately - * 8,000 queries per day.

                                                  + *

                                                  A single extra capacity unit for an index provides 0.5 queries per second or + * approximately 40,000 queries per day.

                                                  *

                                                  - * GetQuerySuggestions capacity is five times the - * provisioned query capacity for an index, or the base capacity of 2.5 calls per second, - * whichever is higher. For example, the base capacity for an index is 0.1 queries per - * second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. - * If you add another 0.1 queries per second to total 0.2 queries per second for an index, the - * GetQuerySuggestions capacity is 2.5 calls per second - * (higher than five times 0.2 queries per second).

                                                  + * GetQuerySuggestions capacity is 5 times the provisioned query + * capacity for an index. For example, the base capacity for an index is 0.5 + * queries per second, so GetQuerySuggestions capacity is 2.5 calls per second. + * If adding another 0.5 queries per second to total 1 queries per second for an + * index, the GetQuerySuggestions capacity is 5 calls per second.

                                                  */ QueryCapacityUnits: number | undefined; } @@ -4297,7 +4384,7 @@ export interface DescribeIndexResponse { RoleArn?: string; /** - *

                                                  The identifier of the AWS KMS customer master key (CMK) used to + *

                                                  The identifier of the KMScustomer master key (CMK) used to * encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

                                                  */ ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration; @@ -4379,6 +4466,154 @@ export namespace DescribeIndexResponse { }); } +export interface DescribePrincipalMappingRequest { + /** + *

                                                  The identifier of the index required to check the processing of + * PUT and DELETE actions for mapping users + * to their groups.

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

                                                  The identifier of the data source to check the processing of + * PUT and DELETE actions for mapping + * users to their groups.

                                                  + */ + DataSourceId?: string; + + /** + *

                                                  The identifier of the group required to check the processing of + * PUT and DELETE actions for mapping users + * to their groups.

                                                  + */ + GroupId: string | undefined; +} + +export namespace DescribePrincipalMappingRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribePrincipalMappingRequest): any => ({ + ...obj, + }); +} + +export enum PrincipalMappingStatus { + DELETED = "DELETED", + DELETING = "DELETING", + FAILED = "FAILED", + PROCESSING = "PROCESSING", + SUCCEEDED = "SUCCEEDED", +} + +/** + *

                                                  Information on the processing of PUT and DELETE actions + * for mapping users to their groups.

                                                  + */ +export interface GroupOrderingIdSummary { + /** + *

                                                  The current processing status of actions for mapping users to their groups. + * The status can be either PROCESSING, SUCCEEDED, + * DELETING, DELETED, or FAILED.

                                                  + */ + Status?: PrincipalMappingStatus | string; + + /** + *

                                                  The last date-time an action was updated. An action can be a + * PUT or DELETE action for mapping users + * to their groups.

                                                  + */ + LastUpdatedAt?: Date; + + /** + *

                                                  The date-time an action was received by Amazon Kendra. An action can be a + * PUT or DELETE action for mapping users to + * their groups.

                                                  + */ + ReceivedAt?: Date; + + /** + *

                                                  The order in which actions should complete processing. An action can + * be a PUT or DELETE action for mapping users + * to their groups.

                                                  + */ + OrderingId?: number; + + /** + *

                                                  The reason an action could not be processed. An action can be a + * PUT or DELETE action for mapping users + * to their groups.

                                                  + */ + FailureReason?: string; +} + +export namespace GroupOrderingIdSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GroupOrderingIdSummary): any => ({ + ...obj, + }); +} + +export interface DescribePrincipalMappingResponse { + /** + *

                                                  Shows the identifier of the index to see information on the + * processing of PUT and DELETE actions + * for mapping users to their groups.

                                                  + */ + IndexId?: string; + + /** + *

                                                  Shows the identifier of the data source to see information on + * the processing of PUT and DELETE actions + * for mapping users to their groups.

                                                  + */ + DataSourceId?: string; + + /** + *

                                                  Shows the identifier of the group to see information on the + * processing of PUT and DELETE actions + * for mapping users to their groups.

                                                  + */ + GroupId?: string; + + /** + *

                                                  Shows the following information on the processing of PUT and + * DELETE actions for mapping users to their groups:

                                                  + *
                                                    + *
                                                  • + *

                                                    Status – the status can be either + * PROCESSING, SUCCEEDED, DELETING, + * DELETED, or FAILED.

                                                    + *
                                                  • + *
                                                  • + *

                                                    Last updated – the last date-time an action was updated.

                                                    + *
                                                  • + *
                                                  • + *

                                                    Received – the last date-time an action was received or submitted.

                                                    + *
                                                  • + *
                                                  • + *

                                                    Ordering ID – the latest action that should process and apply + * after other actions.

                                                    + *
                                                  • + *
                                                  • + *

                                                    Failure reason – the reason an action could not be processed.

                                                    + *
                                                  • + *
                                                  + */ + GroupOrderingIdSummaries?: GroupOrderingIdSummary[]; +} + +export namespace DescribePrincipalMappingResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribePrincipalMappingResponse): any => ({ + ...obj, + }); +} + export interface DescribeQuerySuggestionsBlockListRequest { /** *

                                                  The identifier of the index for the block list.

                                                  @@ -5283,6 +5518,107 @@ export namespace ListFaqsResponse { }); } +export interface ListGroupsOlderThanOrderingIdRequest { + /** + *

                                                  The identifier of the index for getting a list of groups mapped + * to users before a given ordering or timestamp identifier.

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

                                                  The identifier of the data source for getting a list of groups mapped + * to users before a given ordering timestamp identifier.

                                                  + */ + DataSourceId?: string; + + /** + *

                                                  The timestamp identifier used for the latest PUT or + * DELETE action for mapping users to their groups.

                                                  + */ + OrderingId: number | undefined; + + /** + *

                                                  + * The next items in the list of groups that go beyond the maximum. + *

                                                  + */ + NextToken?: string; + + /** + *

                                                  + * The maximum results shown for a list of groups that are mapped to users before a + * given ordering or timestamp identifier. + *

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

                                                  + * Group summary information. + *

                                                  + */ +export interface GroupSummary { + /** + *

                                                  + * The identifier of the group you want group summary information on. + *

                                                  + */ + GroupId?: string; + + /** + *

                                                  + * The timestamp identifier used for the latest PUT or DELETE + * action. + *

                                                  + */ + OrderingId?: number; +} + +export namespace GroupSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GroupSummary): any => ({ + ...obj, + }); +} + +export interface ListGroupsOlderThanOrderingIdResponse { + /** + *

                                                  + * Summary information for list of groups that are mapped to users before a + * given ordering or timestamp identifier. + *

                                                  + */ + GroupsSummaries?: GroupSummary[]; + + /** + *

                                                  + * The next items in the list of groups that go beyond the maximum. + *

                                                  + */ + NextToken?: string; +} + +export namespace ListGroupsOlderThanOrderingIdResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListGroupsOlderThanOrderingIdResponse): any => ({ + ...obj, + }); +} + export interface ListIndicesRequest { /** *

                                                  If the previous response was incomplete (because there is more data to @@ -5634,6 +5970,157 @@ export namespace ListThesauriResponse { }); } +/** + *

                                                  The sub groups that belong to a group.

                                                  + */ +export interface MemberGroup { + /** + *

                                                  The identifier of the sub group you want to map to a group.

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

                                                  The identifier of the data source for the sub group + * you want to map to a group.

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

                                                  The users that belong to a group.

                                                  + */ +export interface MemberUser { + /** + *

                                                  The identifier of the user you want to map to a group.

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

                                                  A list of users or sub groups that belong to a group. Users and groups + * are useful for filtering search results to different users based on their + * group's access to documents.

                                                  + */ +export interface GroupMembers { + /** + *

                                                  A list of sub groups that belong to a group. For example, the sub + * groups "Research", "Engineering", and "Sales and Marketing" all belong + * to the group "Company".

                                                  + */ + MemberGroups?: MemberGroup[]; + + /** + *

                                                  A list of users that belong to a group. For example, a list of interns + * all belong to the "Interns" group.

                                                  + */ + MemberUsers?: MemberUser[]; + + /** + *

                                                  If you have more than 1000 users and/or sub groups for a single group, + * you need to provide the path to the S3 file that lists your users and sub + * groups for a group. Your sub groups can contain more than 1000 users, but + * the list of sub groups that belong to a group (and/or users) must be no + * more than 1000.

                                                  + */ + S3PathforGroupMembers?: S3Path; +} + +export namespace GroupMembers { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GroupMembers): any => ({ + ...obj, + }); +} + +export interface PutPrincipalMappingRequest { + /** + *

                                                  The identifier of the index you want to map users to their groups.

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

                                                  The identifier of the data source you want to map users to their groups.

                                                  + *

                                                  This is useful if a group is tied to multiple data sources, but you only want + * the group to access documents of a certain data source. For example, the groups + * "Research", "Engineering", and "Sales and Marketing" are all tied to the company's + * documents stored in the data sources Confluence and Salesforce. However, + * "Sales and Marketing" team only needs access to customer-related documents + * stored in Salesforce.

                                                  + */ + DataSourceId?: string; + + /** + *

                                                  The identifier of the group you want to map its users to.

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

                                                  The list that contains your users or sub groups that belong + * the same group.

                                                  + *

                                                  For example, the group "Company" includes the user "CEO" and the + * sub groups "Research", "Engineering", and "Sales and Marketing".

                                                  + *

                                                  If you have more than 1000 users and/or sub groups for a single group, + * you need to provide the path to the S3 file that lists your users and + * sub groups for a group. Your sub groups can contain more than 1000 users, + * but the list of sub groups that belong to a group (and/or users) must be + * no more than 1000.

                                                  + */ + GroupMembers: GroupMembers | undefined; + + /** + *

                                                  The timestamp identifier you specify to ensure Amazon Kendra does not override + * the latest PUT action with previous actions. The highest number + * ID, which is the ordering ID, is the latest action you want to process and + * apply on top of other actions with lower number IDs. This prevents previous + * actions with lower number IDs from possibly overriding the latest action.

                                                  + *

                                                  The ordering ID can be the UNIX time of the last update you made to a + * group members list. You would then provide this list when calling + * PutPrincipalMapping. This ensures your PUT action + * for that updated group with the latest members list doesn't get overwritten + * by earlier PUT actions for the same group which are yet to + * be processed.

                                                  + *

                                                  The default ordering ID is the current UNIX time in milliseconds that the + * action was received by Amazon Kendra.

                                                  + */ + OrderingId?: number; + + /** + *

                                                  The Amazon Resource Name (ARN) of a role that has access to the S3 file + * that contains your list of users or sub groups that belong to a group.

                                                  + *

                                                  For more information, see IAM roles for Amazon Kendra.

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

                                                  Overrides the document relevance properties of a custom index field.

                                                  */ @@ -5760,14 +6247,77 @@ export namespace SortingConfiguration { }); } +/** + *

                                                  + * Data source information for user context filtering. + *

                                                  + */ +export interface DataSourceGroup { + /** + *

                                                  The identifier of the group you want to add to your list + * of groups. This is for filtering search results based on the + * groups' access to documents.

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

                                                  The identifier of the data source group you want to add + * to your list of data source groups. This is for filtering + * search results based on the groups' access to documents in + * that data source.

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

                                                  Provides information about the user context for a Amazon Kendra index.

                                                  + *

                                                  This is used for filtering search results for different users based on their access + * to documents.

                                                  + *

                                                  You provide one of the following:

                                                  + *
                                                    + *
                                                  • + *

                                                    User token

                                                    + *
                                                  • + *
                                                  • + *

                                                    User ID, the groups the user belongs to, and the data sources + * the groups can access

                                                    + *
                                                  • + *
                                                  + *

                                                  If you provide both, an exception is thrown.

                                                  */ export interface UserContext { /** - *

                                                  The user context token. It must be a JWT or a JSON token.

                                                  + *

                                                  The user context token for filtering search results for a user. It must + * be a JWT or a JSON token.

                                                  */ Token?: string; + + /** + *

                                                  The identifier of the user you want to filter search results based on their + * access to documents.

                                                  + */ + UserId?: string; + + /** + *

                                                  The list of groups you want to filter search results based on the + * groups' access to documents.

                                                  + */ + Groups?: string[]; + + /** + *

                                                  The list of data source groups you want to filter search results + * based on groups' access to documents in that data source.

                                                  + */ + DataSourceGroups?: DataSourceGroup[]; } export namespace UserContext { diff --git a/clients/client-kendra/protocols/Aws_json1_1.ts b/clients/client-kendra/protocols/Aws_json1_1.ts index acb90a276fa71..1ee75f331165a 100644 --- a/clients/client-kendra/protocols/Aws_json1_1.ts +++ b/clients/client-kendra/protocols/Aws_json1_1.ts @@ -22,6 +22,10 @@ import { CreateThesaurusCommandInput, CreateThesaurusCommandOutput } from "../co import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand"; import { DeleteFaqCommandInput, DeleteFaqCommandOutput } from "../commands/DeleteFaqCommand"; import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "../commands/DeleteIndexCommand"; +import { + DeletePrincipalMappingCommandInput, + DeletePrincipalMappingCommandOutput, +} from "../commands/DeletePrincipalMappingCommand"; import { DeleteQuerySuggestionsBlockListCommandInput, DeleteQuerySuggestionsBlockListCommandOutput, @@ -30,6 +34,10 @@ import { DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput } from "../co import { DescribeDataSourceCommandInput, DescribeDataSourceCommandOutput } from "../commands/DescribeDataSourceCommand"; import { DescribeFaqCommandInput, DescribeFaqCommandOutput } from "../commands/DescribeFaqCommand"; import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "../commands/DescribeIndexCommand"; +import { + DescribePrincipalMappingCommandInput, + DescribePrincipalMappingCommandOutput, +} from "../commands/DescribePrincipalMappingCommand"; import { DescribeQuerySuggestionsBlockListCommandInput, DescribeQuerySuggestionsBlockListCommandOutput, @@ -49,6 +57,10 @@ import { } from "../commands/ListDataSourceSyncJobsCommand"; import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand"; import { ListFaqsCommandInput, ListFaqsCommandOutput } from "../commands/ListFaqsCommand"; +import { + ListGroupsOlderThanOrderingIdCommandInput, + ListGroupsOlderThanOrderingIdCommandOutput, +} from "../commands/ListGroupsOlderThanOrderingIdCommand"; import { ListIndicesCommandInput, ListIndicesCommandOutput } from "../commands/ListIndicesCommand"; import { ListQuerySuggestionsBlockListsCommandInput, @@ -59,6 +71,10 @@ import { ListTagsForResourceCommandOutput, } from "../commands/ListTagsForResourceCommand"; import { ListThesauriCommandInput, ListThesauriCommandOutput } from "../commands/ListThesauriCommand"; +import { + PutPrincipalMappingCommandInput, + PutPrincipalMappingCommandOutput, +} from "../commands/PutPrincipalMappingCommand"; import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand"; import { StartDataSourceSyncJobCommandInput, @@ -126,6 +142,7 @@ import { CreateThesaurusRequest, CreateThesaurusResponse, DataSourceConfiguration, + DataSourceGroup, DataSourceSummary, DataSourceSyncJob, DataSourceSyncJobMetricTarget, @@ -136,6 +153,7 @@ import { DeleteDataSourceRequest, DeleteFaqRequest, DeleteIndexRequest, + DeletePrincipalMappingRequest, DeleteQuerySuggestionsBlockListRequest, DeleteThesaurusRequest, DescribeDataSourceRequest, @@ -144,6 +162,8 @@ import { DescribeFaqResponse, DescribeIndexRequest, DescribeIndexResponse, + DescribePrincipalMappingRequest, + DescribePrincipalMappingResponse, DescribeQuerySuggestionsBlockListRequest, DescribeQuerySuggestionsBlockListResponse, DescribeQuerySuggestionsConfigRequest, @@ -165,6 +185,10 @@ import { GetQuerySuggestionsRequest, GetQuerySuggestionsResponse, GoogleDriveConfiguration, + GroupMembers, + GroupOrderingIdSummary, + GroupSummary, + HierarchicalPrincipal, Highlight, IndexConfigurationSummary, IndexStatistics, @@ -177,6 +201,8 @@ import { ListDataSourcesResponse, ListFaqsRequest, ListFaqsResponse, + ListGroupsOlderThanOrderingIdRequest, + ListGroupsOlderThanOrderingIdResponse, ListIndicesRequest, ListIndicesResponse, ListQuerySuggestionsBlockListsRequest, @@ -185,10 +211,13 @@ import { ListTagsForResourceResponse, ListThesauriRequest, ListThesauriResponse, + MemberGroup, + MemberUser, OneDriveConfiguration, OneDriveUsers, Principal, ProxyConfiguration, + PutPrincipalMappingRequest, QueryRequest, QueryResult, QueryResultItem, @@ -426,6 +455,19 @@ export const serializeAws_json1_1DeleteIndexCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeletePrincipalMappingCommand = async ( + input: DeletePrincipalMappingCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSKendraFrontendService.DeletePrincipalMapping", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeletePrincipalMappingRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteQuerySuggestionsBlockListCommand = async ( input: DeleteQuerySuggestionsBlockListCommandInput, context: __SerdeContext @@ -491,6 +533,19 @@ export const serializeAws_json1_1DescribeIndexCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DescribePrincipalMappingCommand = async ( + input: DescribePrincipalMappingCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSKendraFrontendService.DescribePrincipalMapping", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DescribePrincipalMappingRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeQuerySuggestionsBlockListCommand = async ( input: DescribeQuerySuggestionsBlockListCommandInput, context: __SerdeContext @@ -582,6 +637,19 @@ export const serializeAws_json1_1ListFaqsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand = async ( + input: ListGroupsOlderThanOrderingIdCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSKendraFrontendService.ListGroupsOlderThanOrderingId", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1ListGroupsOlderThanOrderingIdRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1ListIndicesCommand = async ( input: ListIndicesCommandInput, context: __SerdeContext @@ -634,6 +702,19 @@ export const serializeAws_json1_1ListThesauriCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1PutPrincipalMappingCommand = async ( + input: PutPrincipalMappingCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSKendraFrontendService.PutPrincipalMapping", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1PutPrincipalMappingRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1QueryCommand = async ( input: QueryCommandInput, context: __SerdeContext @@ -1949,6 +2030,97 @@ const deserializeAws_json1_1DeleteIndexCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DeletePrincipalMappingCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeletePrincipalMappingCommandError(output, context); + } + await collectBody(output.body, context); + const response: DeletePrincipalMappingCommandOutput = { + $metadata: deserializeMetadata(output), + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeletePrincipalMappingCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.kendra#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.kendra#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.kendra#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.kendra#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.kendra#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.kendra#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1DeleteQuerySuggestionsBlockListCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2389,6 +2561,92 @@ const deserializeAws_json1_1DescribeIndexCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DescribePrincipalMappingCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribePrincipalMappingCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribePrincipalMappingResponse(data, context); + const response: DescribePrincipalMappingCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribePrincipalMappingCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.kendra#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.kendra#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.kendra#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.kendra#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.kendra#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1DescribeQuerySuggestionsBlockListCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2961,7 +3219,101 @@ const deserializeAws_json1_1ListFaqsCommandError = async ( case "AccessDeniedException": case "com.amazonaws.kendra#AccessDeniedException": response = { - ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.kendra#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.kendra#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.kendra#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.kendra#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1ListGroupsOlderThanOrderingIdCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse(data, context); + const response: ListGroupsOlderThanOrderingIdCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.kendra#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.kendra#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), name: errorCode, $metadata: deserializeMetadata(output), }; @@ -3351,6 +3703,105 @@ const deserializeAws_json1_1ListThesauriCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1PutPrincipalMappingCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1PutPrincipalMappingCommandError(output, context); + } + await collectBody(output.body, context); + const response: PutPrincipalMappingCommandOutput = { + $metadata: deserializeMetadata(output), + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1PutPrincipalMappingCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.kendra#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.kendra#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.kendra#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.kendra#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.kendra#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.kendra#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.kendra#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1QueryCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5115,6 +5566,24 @@ const serializeAws_json1_1DataSourceConfiguration = (input: DataSourceConfigurat }; }; +const serializeAws_json1_1DataSourceGroup = (input: DataSourceGroup, context: __SerdeContext): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), + }; +}; + +const serializeAws_json1_1DataSourceGroups = (input: DataSourceGroup[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_json1_1DataSourceGroup(entry, context); + }); +}; + const serializeAws_json1_1DataSourceInclusionsExclusionsStrings = (input: string[], context: __SerdeContext): any => { return input .filter((e: any) => e != null) @@ -5199,6 +5668,18 @@ const serializeAws_json1_1DeleteIndexRequest = (input: DeleteIndexRequest, conte }; }; +const serializeAws_json1_1DeletePrincipalMappingRequest = ( + input: DeletePrincipalMappingRequest, + context: __SerdeContext +): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), + ...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }), + ...(input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId }), + }; +}; + const serializeAws_json1_1DeleteQuerySuggestionsBlockListRequest = ( input: DeleteQuerySuggestionsBlockListRequest, context: __SerdeContext @@ -5239,6 +5720,17 @@ const serializeAws_json1_1DescribeIndexRequest = (input: DescribeIndexRequest, c }; }; +const serializeAws_json1_1DescribePrincipalMappingRequest = ( + input: DescribePrincipalMappingRequest, + context: __SerdeContext +): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), + ...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }), + }; +}; + const serializeAws_json1_1DescribeQuerySuggestionsBlockListRequest = ( input: DescribeQuerySuggestionsBlockListRequest, context: __SerdeContext @@ -5280,6 +5772,13 @@ const serializeAws_json1_1Document = (input: Document, context: __SerdeContext): }), ...(input.Blob !== undefined && input.Blob !== null && { Blob: context.base64Encoder(input.Blob) }), ...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }), + ...(input.HierarchicalAccessControlList !== undefined && + input.HierarchicalAccessControlList !== null && { + HierarchicalAccessControlList: serializeAws_json1_1HierarchicalPrincipalList( + input.HierarchicalAccessControlList, + context + ), + }), ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }), ...(input.S3Path !== undefined && input.S3Path !== null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) }), @@ -5541,6 +6040,53 @@ const serializeAws_json1_1GoogleDriveConfiguration = ( }; }; +const serializeAws_json1_1GroupMembers = (input: GroupMembers, context: __SerdeContext): any => { + return { + ...(input.MemberGroups !== undefined && + input.MemberGroups !== null && { MemberGroups: serializeAws_json1_1MemberGroups(input.MemberGroups, context) }), + ...(input.MemberUsers !== undefined && + input.MemberUsers !== null && { MemberUsers: serializeAws_json1_1MemberUsers(input.MemberUsers, context) }), + ...(input.S3PathforGroupMembers !== undefined && + input.S3PathforGroupMembers !== null && { + S3PathforGroupMembers: serializeAws_json1_1S3Path(input.S3PathforGroupMembers, context), + }), + }; +}; + +const serializeAws_json1_1Groups = (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_json1_1HierarchicalPrincipal = (input: HierarchicalPrincipal, context: __SerdeContext): any => { + return { + ...(input.PrincipalList !== undefined && + input.PrincipalList !== null && { + PrincipalList: serializeAws_json1_1PrincipalList(input.PrincipalList, context), + }), + }; +}; + +const serializeAws_json1_1HierarchicalPrincipalList = ( + input: HierarchicalPrincipal[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_json1_1HierarchicalPrincipal(entry, context); + }); +}; + const serializeAws_json1_1JsonTokenTypeConfiguration = ( input: JsonTokenTypeConfiguration, context: __SerdeContext @@ -5604,6 +6150,19 @@ const serializeAws_json1_1ListFaqsRequest = (input: ListFaqsRequest, context: __ }; }; +const serializeAws_json1_1ListGroupsOlderThanOrderingIdRequest = ( + input: ListGroupsOlderThanOrderingIdRequest, + context: __SerdeContext +): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }), + ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }), + ...(input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId }), + }; +}; + const serializeAws_json1_1ListIndicesRequest = (input: ListIndicesRequest, context: __SerdeContext): any => { return { ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), @@ -5639,6 +6198,41 @@ const serializeAws_json1_1ListThesauriRequest = (input: ListThesauriRequest, con }; }; +const serializeAws_json1_1MemberGroup = (input: MemberGroup, context: __SerdeContext): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), + }; +}; + +const serializeAws_json1_1MemberGroups = (input: MemberGroup[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_json1_1MemberGroup(entry, context); + }); +}; + +const serializeAws_json1_1MemberUser = (input: MemberUser, context: __SerdeContext): any => { + return { + ...(input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }), + }; +}; + +const serializeAws_json1_1MemberUsers = (input: MemberUser[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_json1_1MemberUser(entry, context); + }); +}; + const serializeAws_json1_1OneDriveConfiguration = (input: OneDriveConfiguration, context: __SerdeContext): any => { return { ...(input.DisableLocalGroups !== undefined && @@ -5691,6 +6285,7 @@ const serializeAws_json1_1OneDriveUsers = (input: OneDriveUsers, context: __Serd const serializeAws_json1_1Principal = (input: Principal, context: __SerdeContext): any => { return { ...(input.Access !== undefined && input.Access !== null && { Access: input.Access }), + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), }; @@ -5715,6 +6310,21 @@ const serializeAws_json1_1ProxyConfiguration = (input: ProxyConfiguration, conte }; }; +const serializeAws_json1_1PutPrincipalMappingRequest = ( + input: PutPrincipalMappingRequest, + context: __SerdeContext +): any => { + return { + ...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }), + ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), + ...(input.GroupMembers !== undefined && + input.GroupMembers !== null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) }), + ...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }), + ...(input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId }), + ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }), + }; +}; + const serializeAws_json1_1QueryRequest = (input: QueryRequest, context: __SerdeContext): any => { return { ...(input.AttributeFilter !== undefined && @@ -6477,7 +7087,14 @@ const serializeAws_json1_1Urls = (input: Urls, context: __SerdeContext): any => const serializeAws_json1_1UserContext = (input: UserContext, context: __SerdeContext): any => { return { + ...(input.DataSourceGroups !== undefined && + input.DataSourceGroups !== null && { + DataSourceGroups: serializeAws_json1_1DataSourceGroups(input.DataSourceGroups, context), + }), + ...(input.Groups !== undefined && + input.Groups !== null && { Groups: serializeAws_json1_1Groups(input.Groups, context) }), ...(input.Token !== undefined && input.Token !== null && { Token: input.Token }), + ...(input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }), }; }; @@ -7378,6 +7995,21 @@ const deserializeAws_json1_1DescribeIndexResponse = (output: any, context: __Ser } as any; }; +const deserializeAws_json1_1DescribePrincipalMappingResponse = ( + output: any, + context: __SerdeContext +): DescribePrincipalMappingResponse => { + return { + DataSourceId: __expectString(output.DataSourceId), + GroupId: __expectString(output.GroupId), + GroupOrderingIdSummaries: + output.GroupOrderingIdSummaries !== undefined && output.GroupOrderingIdSummaries !== null + ? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context) + : undefined, + IndexId: __expectString(output.IndexId), + } as any; +}; + const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = ( output: any, context: __SerdeContext @@ -7726,6 +8358,43 @@ const deserializeAws_json1_1GoogleDriveConfiguration = ( } as any; }; +const deserializeAws_json1_1GroupOrderingIdSummaries = ( + output: any, + context: __SerdeContext +): GroupOrderingIdSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1GroupOrderingIdSummary(entry, context); + }); +}; + +const deserializeAws_json1_1GroupOrderingIdSummary = (output: any, context: __SerdeContext): GroupOrderingIdSummary => { + return { + FailureReason: __expectString(output.FailureReason), + LastUpdatedAt: + output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null + ? new Date(Math.round(output.LastUpdatedAt * 1000)) + : undefined, + OrderingId: __expectNumber(output.OrderingId), + ReceivedAt: + output.ReceivedAt !== undefined && output.ReceivedAt !== null + ? new Date(Math.round(output.ReceivedAt * 1000)) + : undefined, + Status: __expectString(output.Status), + } as any; +}; + +const deserializeAws_json1_1GroupSummary = (output: any, context: __SerdeContext): GroupSummary => { + return { + GroupId: __expectString(output.GroupId), + OrderingId: __expectNumber(output.OrderingId), + } as any; +}; + const deserializeAws_json1_1Highlight = (output: any, context: __SerdeContext): Highlight => { return { BeginOffset: __expectNumber(output.BeginOffset), @@ -7863,6 +8532,19 @@ const deserializeAws_json1_1ListFaqsResponse = (output: any, context: __SerdeCon } as any; }; +const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = ( + output: any, + context: __SerdeContext +): ListGroupsOlderThanOrderingIdResponse => { + return { + GroupsSummaries: + output.GroupsSummaries !== undefined && output.GroupsSummaries !== null + ? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context) + : undefined, + NextToken: __expectString(output.NextToken), + } as any; +}; + const deserializeAws_json1_1ListIndicesResponse = (output: any, context: __SerdeContext): ListIndicesResponse => { return { IndexConfigurationSummaryItems: @@ -7873,6 +8555,17 @@ const deserializeAws_json1_1ListIndicesResponse = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_1ListOfGroupSummaries = (output: any, context: __SerdeContext): GroupSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1GroupSummary(entry, context); + }); +}; + const deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = ( output: any, context: __SerdeContext diff --git a/clients/client-lex-model-building-service/LexModelBuildingService.ts b/clients/client-lex-model-building-service/LexModelBuildingService.ts index 9673588a85fe2..6466697567144 100644 --- a/clients/client-lex-model-building-service/LexModelBuildingService.ts +++ b/clients/client-lex-model-building-service/LexModelBuildingService.ts @@ -102,6 +102,16 @@ import { GetIntentVersionsCommandOutput, } from "./commands/GetIntentVersionsCommand"; import { GetIntentsCommand, GetIntentsCommandInput, GetIntentsCommandOutput } from "./commands/GetIntentsCommand"; +import { + GetMigrationCommand, + GetMigrationCommandInput, + GetMigrationCommandOutput, +} from "./commands/GetMigrationCommand"; +import { + GetMigrationsCommand, + GetMigrationsCommandInput, + GetMigrationsCommandOutput, +} from "./commands/GetMigrationsCommand"; import { GetSlotTypeCommand, GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "./commands/GetSlotTypeCommand"; import { GetSlotTypeVersionsCommand, @@ -128,6 +138,11 @@ import { PutBotCommand, PutBotCommandInput, PutBotCommandOutput } from "./comman import { PutIntentCommand, PutIntentCommandInput, PutIntentCommandOutput } from "./commands/PutIntentCommand"; import { PutSlotTypeCommand, PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "./commands/PutSlotTypeCommand"; import { StartImportCommand, StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand"; +import { + StartMigrationCommand, + StartMigrationCommandInput, + StartMigrationCommandOutput, +} from "./commands/StartMigrationCommand"; import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommand, @@ -1155,6 +1170,69 @@ export class LexModelBuildingService extends LexModelBuildingServiceClient { } } + /** + *

                                                  Provides details about an ongoing or complete migration from an + * Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration + * alerts and warnings related to the migration.

                                                  + */ + public getMigration( + args: GetMigrationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getMigration(args: GetMigrationCommandInput, cb: (err: any, data?: GetMigrationCommandOutput) => void): void; + public getMigration( + args: GetMigrationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMigrationCommandOutput) => void + ): void; + public getMigration( + args: GetMigrationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMigrationCommandOutput) => void), + cb?: (err: any, data?: GetMigrationCommandOutput) => void + ): Promise | void { + const command = new GetMigrationCommand(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); + } + } + + /** + *

                                                  Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

                                                  + */ + public getMigrations( + args: GetMigrationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getMigrations( + args: GetMigrationsCommandInput, + cb: (err: any, data?: GetMigrationsCommandOutput) => void + ): void; + public getMigrations( + args: GetMigrationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMigrationsCommandOutput) => void + ): void; + public getMigrations( + args: GetMigrationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMigrationsCommandOutput) => void), + cb?: (err: any, data?: GetMigrationsCommandOutput) => void + ): Promise | void { + const command = new GetMigrationsCommand(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 information about a specific version of a slot type. In * addition to specifying the slot type name, you must specify the slot type @@ -1290,8 +1368,9 @@ export class LexModelBuildingService extends LexModelBuildingServiceClient { * received by the bot in the last 15 days. The response contains information * about a maximum of 100 utterances for each version.

                                                  *

                                                  If you set childDirected field to true when you - * created your bot, or if you opted out of participating in improving Amazon Lex, - * utterances are not available.

                                                  + * created your bot, if you are using slot obfuscation with one or more + * slots, or if you opted out of participating in improving Amazon Lex, utterances + * are not available.

                                                  *

                                                  This operation requires permissions for the * lex:GetUtterancesView action.

                                                  */ @@ -1581,6 +1660,41 @@ export class LexModelBuildingService extends LexModelBuildingServiceClient { } } + /** + *

                                                  Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when + * you want to take advantage of the new features of Amazon Lex V2.

                                                  + *

                                                  For more information, see Migrating a bot in the Amazon Lex + * developer guide.

                                                  + */ + public startMigration( + args: StartMigrationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public startMigration( + args: StartMigrationCommandInput, + cb: (err: any, data?: StartMigrationCommandOutput) => void + ): void; + public startMigration( + args: StartMigrationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartMigrationCommandOutput) => void + ): void; + public startMigration( + args: StartMigrationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartMigrationCommandOutput) => void), + cb?: (err: any, data?: StartMigrationCommandOutput) => void + ): Promise | void { + const command = new StartMigrationCommand(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 the specified tags to the specified resource. If a tag key * already exists, the existing value is replaced with the new value.

                                                  diff --git a/clients/client-lex-model-building-service/LexModelBuildingServiceClient.ts b/clients/client-lex-model-building-service/LexModelBuildingServiceClient.ts index 27c8f2673aacd..e5e4f4063e77a 100644 --- a/clients/client-lex-model-building-service/LexModelBuildingServiceClient.ts +++ b/clients/client-lex-model-building-service/LexModelBuildingServiceClient.ts @@ -49,6 +49,8 @@ import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImp import { GetIntentCommandInput, GetIntentCommandOutput } from "./commands/GetIntentCommand"; import { GetIntentVersionsCommandInput, GetIntentVersionsCommandOutput } from "./commands/GetIntentVersionsCommand"; import { GetIntentsCommandInput, GetIntentsCommandOutput } from "./commands/GetIntentsCommand"; +import { GetMigrationCommandInput, GetMigrationCommandOutput } from "./commands/GetMigrationCommand"; +import { GetMigrationsCommandInput, GetMigrationsCommandOutput } from "./commands/GetMigrationsCommand"; import { GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "./commands/GetSlotTypeCommand"; import { GetSlotTypeVersionsCommandInput, @@ -65,6 +67,7 @@ import { PutBotCommandInput, PutBotCommandOutput } from "./commands/PutBotComman import { PutIntentCommandInput, PutIntentCommandOutput } from "./commands/PutIntentCommand"; import { PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "./commands/PutSlotTypeCommand"; import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand"; +import { StartMigrationCommandInput, StartMigrationCommandOutput } from "./commands/StartMigrationCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; @@ -147,6 +150,8 @@ export type ServiceInputTypes = | GetIntentCommandInput | GetIntentVersionsCommandInput | GetIntentsCommandInput + | GetMigrationCommandInput + | GetMigrationsCommandInput | GetSlotTypeCommandInput | GetSlotTypeVersionsCommandInput | GetSlotTypesCommandInput @@ -157,6 +162,7 @@ export type ServiceInputTypes = | PutIntentCommandInput | PutSlotTypeCommandInput | StartImportCommandInput + | StartMigrationCommandInput | TagResourceCommandInput | UntagResourceCommandInput; @@ -188,6 +194,8 @@ export type ServiceOutputTypes = | GetIntentCommandOutput | GetIntentVersionsCommandOutput | GetIntentsCommandOutput + | GetMigrationCommandOutput + | GetMigrationsCommandOutput | GetSlotTypeCommandOutput | GetSlotTypeVersionsCommandOutput | GetSlotTypesCommandOutput @@ -198,6 +206,7 @@ export type ServiceOutputTypes = | PutIntentCommandOutput | PutSlotTypeCommandOutput | StartImportCommandOutput + | StartMigrationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput; diff --git a/clients/client-lex-model-building-service/commands/GetMigrationCommand.ts b/clients/client-lex-model-building-service/commands/GetMigrationCommand.ts new file mode 100644 index 0000000000000..d4746de3c404a --- /dev/null +++ b/clients/client-lex-model-building-service/commands/GetMigrationCommand.ts @@ -0,0 +1,100 @@ +import { + LexModelBuildingServiceClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LexModelBuildingServiceClient"; +import { GetMigrationRequest, GetMigrationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetMigrationCommand, + serializeAws_restJson1GetMigrationCommand, +} from "../protocols/Aws_restJson1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetMigrationCommandInput extends GetMigrationRequest {} +export interface GetMigrationCommandOutput extends GetMigrationResponse, __MetadataBearer {} + +/** + *

                                                  Provides details about an ongoing or complete migration from an + * Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration + * alerts and warnings related to the migration.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LexModelBuildingServiceClient, GetMigrationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import + * // const { LexModelBuildingServiceClient, GetMigrationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import + * const client = new LexModelBuildingServiceClient(config); + * const command = new GetMigrationCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetMigrationCommandInput} for command's `input` shape. + * @see {@link GetMigrationCommandOutput} for command's `response` shape. + * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetMigrationCommand extends $Command< + GetMigrationCommandInput, + GetMigrationCommandOutput, + LexModelBuildingServiceClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetMigrationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LexModelBuildingServiceClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LexModelBuildingServiceClient"; + const commandName = "GetMigrationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetMigrationRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetMigrationResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetMigrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetMigrationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetMigrationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lex-model-building-service/commands/GetMigrationsCommand.ts b/clients/client-lex-model-building-service/commands/GetMigrationsCommand.ts new file mode 100644 index 0000000000000..689b9e8321824 --- /dev/null +++ b/clients/client-lex-model-building-service/commands/GetMigrationsCommand.ts @@ -0,0 +1,98 @@ +import { + LexModelBuildingServiceClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LexModelBuildingServiceClient"; +import { GetMigrationsRequest, GetMigrationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetMigrationsCommand, + serializeAws_restJson1GetMigrationsCommand, +} from "../protocols/Aws_restJson1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetMigrationsCommandInput extends GetMigrationsRequest {} +export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __MetadataBearer {} + +/** + *

                                                  Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LexModelBuildingServiceClient, GetMigrationsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import + * // const { LexModelBuildingServiceClient, GetMigrationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import + * const client = new LexModelBuildingServiceClient(config); + * const command = new GetMigrationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetMigrationsCommandInput} for command's `input` shape. + * @see {@link GetMigrationsCommandOutput} for command's `response` shape. + * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetMigrationsCommand extends $Command< + GetMigrationsCommandInput, + GetMigrationsCommandOutput, + LexModelBuildingServiceClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetMigrationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LexModelBuildingServiceClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LexModelBuildingServiceClient"; + const commandName = "GetMigrationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetMigrationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetMigrationsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetMigrationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetMigrationsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetMigrationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts index 74d80c603a12f..1f78c42715084 100644 --- a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts @@ -44,8 +44,9 @@ export interface GetUtterancesViewCommandOutput extends GetUtterancesViewRespons * received by the bot in the last 15 days. The response contains information * about a maximum of 100 utterances for each version.

                                                  *

                                                  If you set childDirected field to true when you - * created your bot, or if you opted out of participating in improving Amazon Lex, - * utterances are not available.

                                                  + * created your bot, if you are using slot obfuscation with one or more + * slots, or if you opted out of participating in improving Amazon Lex, utterances + * are not available.

                                                  *

                                                  This operation requires permissions for the * lex:GetUtterancesView action.

                                                  * @example diff --git a/clients/client-lex-model-building-service/commands/StartMigrationCommand.ts b/clients/client-lex-model-building-service/commands/StartMigrationCommand.ts new file mode 100644 index 0000000000000..0474c11e4aed7 --- /dev/null +++ b/clients/client-lex-model-building-service/commands/StartMigrationCommand.ts @@ -0,0 +1,101 @@ +import { + LexModelBuildingServiceClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LexModelBuildingServiceClient"; +import { StartMigrationRequest, StartMigrationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1StartMigrationCommand, + serializeAws_restJson1StartMigrationCommand, +} from "../protocols/Aws_restJson1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface StartMigrationCommandInput extends StartMigrationRequest {} +export interface StartMigrationCommandOutput extends StartMigrationResponse, __MetadataBearer {} + +/** + *

                                                  Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when + * you want to take advantage of the new features of Amazon Lex V2.

                                                  + *

                                                  For more information, see Migrating a bot in the Amazon Lex + * developer guide.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LexModelBuildingServiceClient, StartMigrationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import + * // const { LexModelBuildingServiceClient, StartMigrationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import + * const client = new LexModelBuildingServiceClient(config); + * const command = new StartMigrationCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link StartMigrationCommandInput} for command's `input` shape. + * @see {@link StartMigrationCommandOutput} for command's `response` shape. + * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape. + * + */ +export class StartMigrationCommand extends $Command< + StartMigrationCommandInput, + StartMigrationCommandOutput, + LexModelBuildingServiceClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: StartMigrationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LexModelBuildingServiceClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LexModelBuildingServiceClient"; + const commandName = "StartMigrationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: StartMigrationRequest.filterSensitiveLog, + outputFilterSensitiveLog: StartMigrationResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: StartMigrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1StartMigrationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1StartMigrationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lex-model-building-service/index.ts b/clients/client-lex-model-building-service/index.ts index 76d6da2f4cccc..c70421e978ff7 100644 --- a/clients/client-lex-model-building-service/index.ts +++ b/clients/client-lex-model-building-service/index.ts @@ -35,6 +35,9 @@ export * from "./commands/GetIntentsCommand"; export * from "./pagination/GetIntentsPaginator"; export * from "./commands/GetIntentVersionsCommand"; export * from "./pagination/GetIntentVersionsPaginator"; +export * from "./commands/GetMigrationCommand"; +export * from "./commands/GetMigrationsCommand"; +export * from "./pagination/GetMigrationsPaginator"; export * from "./commands/GetSlotTypeCommand"; export * from "./commands/GetSlotTypesCommand"; export * from "./pagination/GetSlotTypesPaginator"; @@ -47,6 +50,7 @@ export * from "./commands/PutBotAliasCommand"; export * from "./commands/PutIntentCommand"; export * from "./commands/PutSlotTypeCommand"; export * from "./commands/StartImportCommand"; +export * from "./commands/StartMigrationCommand"; export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; export * from "./pagination/Interfaces"; diff --git a/clients/client-lex-model-building-service/models/models_0.ts b/clients/client-lex-model-building-service/models/models_0.ts index acb1f9ee60200..f9ba2e95bc581 100644 --- a/clients/client-lex-model-building-service/models/models_0.ts +++ b/clients/client-lex-model-building-service/models/models_0.ts @@ -1,6 +1,25 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; +/** + *

                                                  Your IAM user or role does not have permission to call the Amazon Lex V2 APIs + * required to migrate your bot.

                                                  + */ +export interface AccessDeniedException extends __SmithyException, $MetadataBearer { + name: "AccessDeniedException"; + $fault: "client"; + message?: string; +} + +export namespace AccessDeniedException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AccessDeniedException): any => ({ + ...obj, + }); +} + /** *

                                                  The request is not well formed. For example, a value is invalid or * a required field is missing. Check the field values, and try @@ -197,6 +216,7 @@ export enum Locale { DE_DE = "de-DE", EN_AU = "en-AU", EN_GB = "en-GB", + EN_IN = "en-IN", EN_US = "en-US", ES_419 = "es-419", ES_ES = "es-ES", @@ -3024,6 +3044,319 @@ export namespace GetIntentVersionsResponse { }); } +export interface GetMigrationRequest { + /** + *

                                                  The unique identifier of the migration to view. The + * migrationID is returned by the operation.

                                                  + */ + migrationId: string | undefined; +} + +export namespace GetMigrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetMigrationRequest): any => ({ + ...obj, + }); +} + +export enum MigrationAlertType { + ERROR = "ERROR", + WARN = "WARN", +} + +/** + *

                                                  Provides information about alerts and warnings that Amazon Lex sends during + * a migration. The alerts include information about how to resolve the + * issue.

                                                  + */ +export interface MigrationAlert { + /** + *

                                                  The type of alert. There are two kinds of alerts:

                                                  + *
                                                    + *
                                                  • + *

                                                    + * ERROR - There was an issue with the migration that + * can't be resolved. The migration stops.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * WARN - There was an issue with the migration that + * requires manual changes to the new Amazon Lex V2 bot. The migration + * continues.

                                                    + *
                                                  • + *
                                                  + */ + type?: MigrationAlertType | string; + + /** + *

                                                  A message that describes why the alert was issued.

                                                  + */ + message?: string; + + /** + *

                                                  Additional details about the alert.

                                                  + */ + details?: string[]; + + /** + *

                                                  A link to the Amazon Lex documentation that describes how to resolve + * the alert.

                                                  + */ + referenceURLs?: string[]; +} + +export namespace MigrationAlert { + /** + * @internal + */ + export const filterSensitiveLog = (obj: MigrationAlert): any => ({ + ...obj, + }); +} + +export enum MigrationStatus { + COMPLETED = "COMPLETED", + FAILED = "FAILED", + IN_PROGRESS = "IN_PROGRESS", +} + +export enum MigrationStrategy { + CREATE_NEW = "CREATE_NEW", + UPDATE_EXISTING = "UPDATE_EXISTING", +} + +export interface GetMigrationResponse { + /** + *

                                                  The unique identifier of the migration. This is the same as the + * identifier used when calling the GetMigration + * operation.

                                                  + */ + migrationId?: string; + + /** + *

                                                  The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                  + */ + v1BotName?: string; + + /** + *

                                                  The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                  + */ + v1BotVersion?: string; + + /** + *

                                                  The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                  + */ + v1BotLocale?: Locale | string; + + /** + *

                                                  The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being + * migrated to.

                                                  + */ + v2BotId?: string; + + /** + *

                                                  The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                  + */ + v2BotRole?: string; + + /** + *

                                                  Indicates the status of the migration. When the status is + * COMPLETE the migration is finished and the bot is available + * in Amazon Lex V2. There may be alerts and warnings that need to be resolved to + * complete the migration.

                                                  + */ + migrationStatus?: MigrationStatus | string; + + /** + *

                                                  The strategy used to conduct the migration.

                                                  + *
                                                    + *
                                                  • + *

                                                    + * CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates + * the Amazon Lex V1 bot to the new bot.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot + * metadata and the locale being migrated. It doesn't change any other + * locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale + * is created in the Amazon Lex V2 bot.

                                                    + *
                                                  • + *
                                                  + */ + migrationStrategy?: MigrationStrategy | string; + + /** + *

                                                  The date and time that the migration started.

                                                  + */ + migrationTimestamp?: Date; + + /** + *

                                                  A list of alerts and warnings that indicate issues with the migration + * for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 + * feature has a different implementation if Amazon Lex V2.

                                                  + *

                                                  For more information, see Migrating a bot in the Amazon Lex V2 + * developer guide.

                                                  + */ + alerts?: MigrationAlert[]; +} + +export namespace GetMigrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetMigrationResponse): any => ({ + ...obj, + }); +} + +export enum MigrationSortAttribute { + MIGRATION_DATE_TIME = "MIGRATION_DATE_TIME", + V1_BOT_NAME = "V1_BOT_NAME", +} + +export enum SortOrder { + ASCENDING = "ASCENDING", + DESCENDING = "DESCENDING", +} + +export interface GetMigrationsRequest { + /** + *

                                                  The field to sort the list of migrations by. You can sort by the + * Amazon Lex V1 bot name or the date and time that the migration was + * started.

                                                  + */ + sortByAttribute?: MigrationSortAttribute | string; + + /** + *

                                                  The order so sort the list.

                                                  + */ + sortByOrder?: SortOrder | string; + + /** + *

                                                  Filters the list to contain only bots whose name contains the + * specified string. The string is matched anywhere in bot name.

                                                  + */ + v1BotNameContains?: string; + + /** + *

                                                  Filters the list to contain only migrations in the specified state.

                                                  + */ + migrationStatusEquals?: MigrationStatus | string; + + /** + *

                                                  The maximum number of migrations to return in the response. The + * default is 10.

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

                                                  A pagination token that fetches the next page of migrations. If the + * response to this operation is truncated, Amazon Lex returns a pagination token + * in the response. To fetch the next page of migrations, specify the + * pagination token in the request.

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

                                                  Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.

                                                  + */ +export interface MigrationSummary { + /** + *

                                                  The unique identifier that Amazon Lex assigned to the migration.

                                                  + */ + migrationId?: string; + + /** + *

                                                  The name of the Amazon Lex V1 bot that is the source of the migration.

                                                  + */ + v1BotName?: string; + + /** + *

                                                  The version of the Amazon Lex V1 bot that is the source of the migration.

                                                  + */ + v1BotVersion?: string; + + /** + *

                                                  The locale of the Amazon Lex V1 bot that is the source of the migration.

                                                  + */ + v1BotLocale?: Locale | string; + + /** + *

                                                  The unique identifier of the Amazon Lex V2 that is the destination of the migration.

                                                  + */ + v2BotId?: string; + + /** + *

                                                  The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                  + */ + v2BotRole?: string; + + /** + *

                                                  The status of the operation. When the status is COMPLETE + * the bot is available in Amazon Lex V2. There may be alerts and warnings that + * need to be resolved to complete the migration.

                                                  + */ + migrationStatus?: MigrationStatus | string; + + /** + *

                                                  The strategy used to conduct the migration.

                                                  + */ + migrationStrategy?: MigrationStrategy | string; + + /** + *

                                                  The date and time that the migration started.

                                                  + */ + migrationTimestamp?: Date; +} + +export namespace MigrationSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: MigrationSummary): any => ({ + ...obj, + }); +} + +export interface GetMigrationsResponse { + /** + *

                                                  An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see + * details of the migration, use the migrationId from the + * summary in a call to the + * operation.

                                                  + */ + migrationSummaries?: MigrationSummary[]; + + /** + *

                                                  If the response is truncated, it includes a pagination token that you + * can specify in your next request to fetch the next page of + * migrations.

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

                                                  The name of the slot type. The name is case sensitive.

                                                  @@ -4725,6 +5058,119 @@ export namespace StartImportResponse { }); } +export interface StartMigrationRequest { + /** + *

                                                  The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

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

                                                  The version of the bot to migrate to Amazon Lex V2. You can migrate the + * $LATEST version as well as any numbered version.

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

                                                  The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.

                                                  + *
                                                    + *
                                                  • + *

                                                    If the Amazon Lex V2 bot doesn't exist, you must use the + * CREATE_NEW migration strategy.

                                                    + *
                                                  • + *
                                                  • + *

                                                    If the Amazon Lex V2 bot exists, you must use the + * UPDATE_EXISTING migration strategy to change the + * contents of the Amazon Lex V2 bot.

                                                    + *
                                                  • + *
                                                  + */ + v2BotName: string | undefined; + + /** + *

                                                  The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

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

                                                  The strategy used to conduct the migration.

                                                  + *
                                                    + *
                                                  • + *

                                                    + * CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates + * the Amazon Lex V1 bot to the new bot.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot + * metadata and the locale being migrated. It doesn't change any other + * locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale + * is created in the Amazon Lex V2 bot.

                                                    + *
                                                  • + *
                                                  + */ + migrationStrategy: MigrationStrategy | string | undefined; +} + +export namespace StartMigrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StartMigrationRequest): any => ({ + ...obj, + }); +} + +export interface StartMigrationResponse { + /** + *

                                                  The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

                                                  + */ + v1BotName?: string; + + /** + *

                                                  The version of the bot to migrate to Amazon Lex V2.

                                                  + */ + v1BotVersion?: string; + + /** + *

                                                  The locale used for the Amazon Lex V1 bot.

                                                  + */ + v1BotLocale?: Locale | string; + + /** + *

                                                  The unique identifier for the Amazon Lex V2 bot.

                                                  + */ + v2BotId?: string; + + /** + *

                                                  The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                  + */ + v2BotRole?: string; + + /** + *

                                                  The unique identifier that Amazon Lex assigned to the migration.

                                                  + */ + migrationId?: string; + + /** + *

                                                  The strategy used to conduct the migration.

                                                  + */ + migrationStrategy?: MigrationStrategy | string; + + /** + *

                                                  The date and time that the migration started.

                                                  + */ + migrationTimestamp?: Date; +} + +export namespace StartMigrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StartMigrationResponse): any => ({ + ...obj, + }); +} + export interface TagResourceRequest { /** *

                                                  The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel diff --git a/clients/client-lex-model-building-service/pagination/GetMigrationsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetMigrationsPaginator.ts new file mode 100644 index 0000000000000..6c94d17e864b4 --- /dev/null +++ b/clients/client-lex-model-building-service/pagination/GetMigrationsPaginator.ts @@ -0,0 +1,58 @@ +import { LexModelBuildingService } from "../LexModelBuildingService"; +import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient"; +import { + GetMigrationsCommand, + GetMigrationsCommandInput, + GetMigrationsCommandOutput, +} from "../commands/GetMigrationsCommand"; +import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: LexModelBuildingServiceClient, + input: GetMigrationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new GetMigrationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: LexModelBuildingService, + input: GetMigrationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.getMigrations(input, ...args); +}; +export async function* paginateGetMigrations( + config: LexModelBuildingServicePaginationConfiguration, + input: GetMigrationsCommandInput, + ...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: GetMigrationsCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof LexModelBuildingService) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof LexModelBuildingServiceClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts b/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts index 0e002f839b035..a8f84ceff5f2f 100644 --- a/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts +++ b/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts @@ -49,6 +49,8 @@ import { GetImportCommandInput, GetImportCommandOutput } from "../commands/GetIm import { GetIntentCommandInput, GetIntentCommandOutput } from "../commands/GetIntentCommand"; import { GetIntentVersionsCommandInput, GetIntentVersionsCommandOutput } from "../commands/GetIntentVersionsCommand"; import { GetIntentsCommandInput, GetIntentsCommandOutput } from "../commands/GetIntentsCommand"; +import { GetMigrationCommandInput, GetMigrationCommandOutput } from "../commands/GetMigrationCommand"; +import { GetMigrationsCommandInput, GetMigrationsCommandOutput } from "../commands/GetMigrationsCommand"; import { GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "../commands/GetSlotTypeCommand"; import { GetSlotTypeVersionsCommandInput, @@ -65,9 +67,11 @@ import { PutBotCommandInput, PutBotCommandOutput } from "../commands/PutBotComma import { PutIntentCommandInput, PutIntentCommandOutput } from "../commands/PutIntentCommand"; import { PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "../commands/PutSlotTypeCommand"; import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand"; +import { StartMigrationCommandInput, StartMigrationCommandOutput } from "../commands/StartMigrationCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { + AccessDeniedException, BadRequestException, BotAliasMetadata, BotChannelAssociation, @@ -92,6 +96,8 @@ import { LogSettingsRequest, LogSettingsResponse, Message, + MigrationAlert, + MigrationSummary, NotFoundException, OutputContext, PreconditionFailedException, @@ -1040,6 +1046,63 @@ export const serializeAws_restJson1GetIntentVersionsCommand = async ( }); }; +export const serializeAws_restJson1GetMigrationCommand = async ( + input: GetMigrationCommandInput, + 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 || ""}` + "/migrations/{migrationId}"; + if (input.migrationId !== undefined) { + const labelValue: string = input.migrationId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: migrationId."); + } + resolvedPath = resolvedPath.replace("{migrationId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: migrationId."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1GetMigrationsCommand = async ( + input: GetMigrationsCommandInput, + 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 || ""}` + "/migrations"; + const query: any = { + ...(input.sortByAttribute !== undefined && { sortByAttribute: input.sortByAttribute }), + ...(input.sortByOrder !== undefined && { sortByOrder: input.sortByOrder }), + ...(input.v1BotNameContains !== undefined && { v1BotNameContains: input.v1BotNameContains }), + ...(input.migrationStatusEquals !== undefined && { migrationStatusEquals: input.migrationStatusEquals }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restJson1GetSlotTypeCommand = async ( input: GetSlotTypeCommandInput, context: __SerdeContext @@ -1470,6 +1533,35 @@ export const serializeAws_restJson1StartImportCommand = async ( }); }; +export const serializeAws_restJson1StartMigrationCommand = async ( + input: StartMigrationCommandInput, + 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 || ""}` + "/migrations"; + let body: any; + body = JSON.stringify({ + ...(input.migrationStrategy !== undefined && + input.migrationStrategy !== null && { migrationStrategy: input.migrationStrategy }), + ...(input.v1BotName !== undefined && input.v1BotName !== null && { v1BotName: input.v1BotName }), + ...(input.v1BotVersion !== undefined && input.v1BotVersion !== null && { v1BotVersion: input.v1BotVersion }), + ...(input.v2BotName !== undefined && input.v2BotName !== null && { v2BotName: input.v2BotName }), + ...(input.v2BotRole !== undefined && input.v2BotRole !== null && { v2BotRole: input.v2BotRole }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1TagResourceCommand = async ( input: TagResourceCommandInput, context: __SerdeContext @@ -4227,6 +4319,196 @@ const deserializeAws_restJson1GetIntentVersionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1GetMigrationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetMigrationCommandError(output, context); + } + const contents: GetMigrationCommandOutput = { + $metadata: deserializeMetadata(output), + alerts: undefined, + migrationId: undefined, + migrationStatus: undefined, + migrationStrategy: undefined, + migrationTimestamp: undefined, + v1BotLocale: undefined, + v1BotName: undefined, + v1BotVersion: undefined, + v2BotId: undefined, + v2BotRole: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.alerts !== undefined && data.alerts !== null) { + contents.alerts = deserializeAws_restJson1MigrationAlerts(data.alerts, context); + } + if (data.migrationId !== undefined && data.migrationId !== null) { + contents.migrationId = __expectString(data.migrationId); + } + if (data.migrationStatus !== undefined && data.migrationStatus !== null) { + contents.migrationStatus = __expectString(data.migrationStatus); + } + if (data.migrationStrategy !== undefined && data.migrationStrategy !== null) { + contents.migrationStrategy = __expectString(data.migrationStrategy); + } + if (data.migrationTimestamp !== undefined && data.migrationTimestamp !== null) { + contents.migrationTimestamp = new Date(Math.round(data.migrationTimestamp * 1000)); + } + if (data.v1BotLocale !== undefined && data.v1BotLocale !== null) { + contents.v1BotLocale = __expectString(data.v1BotLocale); + } + if (data.v1BotName !== undefined && data.v1BotName !== null) { + contents.v1BotName = __expectString(data.v1BotName); + } + if (data.v1BotVersion !== undefined && data.v1BotVersion !== null) { + contents.v1BotVersion = __expectString(data.v1BotVersion); + } + if (data.v2BotId !== undefined && data.v2BotId !== null) { + contents.v2BotId = __expectString(data.v2BotId); + } + if (data.v2BotRole !== undefined && data.v2BotRole !== null) { + contents.v2BotRole = __expectString(data.v2BotRole); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetMigrationCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.lexmodelbuildingservice#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalFailureException": + case "com.amazonaws.lexmodelbuildingservice#InternalFailureException": + response = { + ...(await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.lexmodelbuildingservice#LimitExceededException": + response = { + ...(await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lexmodelbuildingservice#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(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_restJson1GetMigrationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetMigrationsCommandError(output, context); + } + const contents: GetMigrationsCommandOutput = { + $metadata: deserializeMetadata(output), + migrationSummaries: undefined, + nextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.migrationSummaries !== undefined && data.migrationSummaries !== null) { + contents.migrationSummaries = deserializeAws_restJson1MigrationSummaryList(data.migrationSummaries, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetMigrationsCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.lexmodelbuildingservice#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalFailureException": + case "com.amazonaws.lexmodelbuildingservice#InternalFailureException": + response = { + ...(await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.lexmodelbuildingservice#LimitExceededException": + response = { + ...(await deserializeAws_restJson1LimitExceededExceptionResponse(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_restJson1GetSlotTypeCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5331,6 +5613,121 @@ const deserializeAws_restJson1StartImportCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1StartMigrationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 202 && output.statusCode >= 300) { + return deserializeAws_restJson1StartMigrationCommandError(output, context); + } + const contents: StartMigrationCommandOutput = { + $metadata: deserializeMetadata(output), + migrationId: undefined, + migrationStrategy: undefined, + migrationTimestamp: undefined, + v1BotLocale: undefined, + v1BotName: undefined, + v1BotVersion: undefined, + v2BotId: undefined, + v2BotRole: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.migrationId !== undefined && data.migrationId !== null) { + contents.migrationId = __expectString(data.migrationId); + } + if (data.migrationStrategy !== undefined && data.migrationStrategy !== null) { + contents.migrationStrategy = __expectString(data.migrationStrategy); + } + if (data.migrationTimestamp !== undefined && data.migrationTimestamp !== null) { + contents.migrationTimestamp = new Date(Math.round(data.migrationTimestamp * 1000)); + } + if (data.v1BotLocale !== undefined && data.v1BotLocale !== null) { + contents.v1BotLocale = __expectString(data.v1BotLocale); + } + if (data.v1BotName !== undefined && data.v1BotName !== null) { + contents.v1BotName = __expectString(data.v1BotName); + } + if (data.v1BotVersion !== undefined && data.v1BotVersion !== null) { + contents.v1BotVersion = __expectString(data.v1BotVersion); + } + if (data.v2BotId !== undefined && data.v2BotId !== null) { + contents.v2BotId = __expectString(data.v2BotId); + } + if (data.v2BotRole !== undefined && data.v2BotRole !== null) { + contents.v2BotRole = __expectString(data.v2BotRole); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1StartMigrationCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lexmodelbuildingservice#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "BadRequestException": + case "com.amazonaws.lexmodelbuildingservice#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalFailureException": + case "com.amazonaws.lexmodelbuildingservice#InternalFailureException": + response = { + ...(await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.lexmodelbuildingservice#LimitExceededException": + response = { + ...(await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lexmodelbuildingservice#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(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 @@ -5497,6 +5894,23 @@ const deserializeAws_restJson1UntagResourceCommandError = async ( 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_restJson1BadRequestExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -6347,6 +6761,82 @@ const deserializeAws_restJson1MessageList = (output: any, context: __SerdeContex }); }; +const deserializeAws_restJson1MigrationAlert = (output: any, context: __SerdeContext): MigrationAlert => { + return { + details: + output.details !== undefined && output.details !== null + ? deserializeAws_restJson1MigrationAlertDetails(output.details, context) + : undefined, + message: __expectString(output.message), + referenceURLs: + output.referenceURLs !== undefined && output.referenceURLs !== null + ? deserializeAws_restJson1MigrationAlertReferenceURLs(output.referenceURLs, context) + : undefined, + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_restJson1MigrationAlertDetails = (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_restJson1MigrationAlertReferenceURLs = (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_restJson1MigrationAlerts = (output: any, context: __SerdeContext): MigrationAlert[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1MigrationAlert(entry, context); + }); +}; + +const deserializeAws_restJson1MigrationSummary = (output: any, context: __SerdeContext): MigrationSummary => { + return { + migrationId: __expectString(output.migrationId), + migrationStatus: __expectString(output.migrationStatus), + migrationStrategy: __expectString(output.migrationStrategy), + migrationTimestamp: + output.migrationTimestamp !== undefined && output.migrationTimestamp !== null + ? new Date(Math.round(output.migrationTimestamp * 1000)) + : undefined, + v1BotLocale: __expectString(output.v1BotLocale), + v1BotName: __expectString(output.v1BotName), + v1BotVersion: __expectString(output.v1BotVersion), + v2BotId: __expectString(output.v2BotId), + v2BotRole: __expectString(output.v2BotRole), + } as any; +}; + +const deserializeAws_restJson1MigrationSummaryList = (output: any, context: __SerdeContext): MigrationSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1MigrationSummary(entry, context); + }); +}; + const deserializeAws_restJson1OutputContext = (output: any, context: __SerdeContext): OutputContext => { return { name: __expectString(output.name), diff --git a/clients/client-lightsail/Lightsail.ts b/clients/client-lightsail/Lightsail.ts index 11a92e6f99e76..51f1dc83783c1 100644 --- a/clients/client-lightsail/Lightsail.ts +++ b/clients/client-lightsail/Lightsail.ts @@ -35,6 +35,16 @@ import { CopySnapshotCommandInput, CopySnapshotCommandOutput, } from "./commands/CopySnapshotCommand"; +import { + CreateBucketAccessKeyCommand, + CreateBucketAccessKeyCommandInput, + CreateBucketAccessKeyCommandOutput, +} from "./commands/CreateBucketAccessKeyCommand"; +import { + CreateBucketCommand, + CreateBucketCommandInput, + CreateBucketCommandOutput, +} from "./commands/CreateBucketCommand"; import { CreateCertificateCommand, CreateCertificateCommandInput, @@ -142,6 +152,16 @@ import { DeleteAutoSnapshotCommandInput, DeleteAutoSnapshotCommandOutput, } from "./commands/DeleteAutoSnapshotCommand"; +import { + DeleteBucketAccessKeyCommand, + DeleteBucketAccessKeyCommandInput, + DeleteBucketAccessKeyCommandOutput, +} from "./commands/DeleteBucketAccessKeyCommand"; +import { + DeleteBucketCommand, + DeleteBucketCommandInput, + DeleteBucketCommandOutput, +} from "./commands/DeleteBucketCommand"; import { DeleteCertificateCommand, DeleteCertificateCommandInput, @@ -271,6 +291,22 @@ import { GetBlueprintsCommandInput, GetBlueprintsCommandOutput, } from "./commands/GetBlueprintsCommand"; +import { + GetBucketAccessKeysCommand, + GetBucketAccessKeysCommandInput, + GetBucketAccessKeysCommandOutput, +} from "./commands/GetBucketAccessKeysCommand"; +import { + GetBucketBundlesCommand, + GetBucketBundlesCommandInput, + GetBucketBundlesCommandOutput, +} from "./commands/GetBucketBundlesCommand"; +import { + GetBucketMetricDataCommand, + GetBucketMetricDataCommandInput, + GetBucketMetricDataCommandOutput, +} from "./commands/GetBucketMetricDataCommand"; +import { GetBucketsCommand, GetBucketsCommandInput, GetBucketsCommandOutput } from "./commands/GetBucketsCommand"; import { GetBundlesCommand, GetBundlesCommandInput, GetBundlesCommandOutput } from "./commands/GetBundlesCommand"; import { GetCertificatesCommand, @@ -554,6 +590,11 @@ import { SetIpAddressTypeCommandInput, SetIpAddressTypeCommandOutput, } from "./commands/SetIpAddressTypeCommand"; +import { + SetResourceAccessForBucketCommand, + SetResourceAccessForBucketCommandInput, + SetResourceAccessForBucketCommandOutput, +} from "./commands/SetResourceAccessForBucketCommand"; import { StartInstanceCommand, StartInstanceCommandInput, @@ -582,6 +623,16 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; +import { + UpdateBucketBundleCommand, + UpdateBucketBundleCommandInput, + UpdateBucketBundleCommandOutput, +} from "./commands/UpdateBucketBundleCommand"; +import { + UpdateBucketCommand, + UpdateBucketCommandInput, + UpdateBucketCommandOutput, +} from "./commands/UpdateBucketCommand"; import { UpdateContainerServiceCommand, UpdateContainerServiceCommandInput, @@ -622,14 +673,14 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** *

                                                  Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers * who need to build websites or web applications. It includes everything you need to launch your - * project quickly - instances (virtual private servers), container services, managed databases, - * SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) - * distributions, DNS management of registered domains, and resource snapshots (backups) - for a - * low, predictable monthly price.

                                                  + * project quickly - instances (virtual private servers), container services, storage buckets, + * managed databases, SSD-based block storage, static IP addresses, load balancers, content + * delivery network (CDN) distributions, DNS management of registered domains, and resource + * snapshots (backups) - for a low, predictable monthly price.

                                                  * *

                                                  You can manage your Lightsail resources using the Lightsail console, Lightsail API, * AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts - * and tasks, see the Lightsail Dev Guide.

                                                  + * and tasks, see the Amazon Lightsail Developer Guide.

                                                  * *

                                                  This API Reference provides detailed information about the actions, data types, * parameters, and errors of the Lightsail service. For more information about the supported @@ -717,7 +768,7 @@ export class Lightsail extends LightsailClient { * to the instance with the specified disk name.

                                                  *

                                                  The attach disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  */ public attachDisk(args: AttachDiskCommandInput, options?: __HttpHandlerOptions): Promise; public attachDisk(args: AttachDiskCommandInput, cb: (err: any, data?: AttachDiskCommandOutput) => void): void; @@ -748,7 +799,7 @@ export class Lightsail extends LightsailClient { * status is available.

                                                  *

                                                  The attach instances to load balancer operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name
                                                  . For more information, see the Lightsail Developer Guide.

                                                  */ public attachInstancesToLoadBalancer( args: AttachInstancesToLoadBalancerCommandInput, @@ -788,7 +839,7 @@ export class Lightsail extends LightsailClient { * it will replace the existing one and become the attached certificate.

                                                  *

                                                  The AttachLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public attachLoadBalancerTlsCertificate( args: AttachLoadBalancerTlsCertificateCommandInput, @@ -855,7 +906,7 @@ export class Lightsail extends LightsailClient { *

                                                  Closes ports for a specific Amazon Lightsail instance.

                                                  *

                                                  The CloseInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public closeInstancePublicPorts( args: CloseInstancePublicPortsCommandInput, @@ -925,6 +976,85 @@ export class Lightsail extends LightsailClient { } } + /** + *

                                                  Creates an Amazon Lightsail bucket.

                                                  + * + *

                                                  A bucket is a cloud storage resource available in the Lightsail object storage service. + * Use buckets to store objects such as data and its descriptive metadata. For more information + * about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer + * Guide.

                                                  + */ + public createBucket( + args: CreateBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createBucket(args: CreateBucketCommandInput, cb: (err: any, data?: CreateBucketCommandOutput) => void): void; + public createBucket( + args: CreateBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateBucketCommandOutput) => void + ): void; + public createBucket( + args: CreateBucketCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBucketCommandOutput) => void), + cb?: (err: any, data?: CreateBucketCommandOutput) => void + ): Promise | void { + const command = new CreateBucketCommand(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 access key for the specified Amazon Lightsail bucket. Access keys consist of + * an access key ID and corresponding secret access key.

                                                  + * + *

                                                  Access keys grant full programmatic access to the specified bucket and its objects. You + * can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information + * about access keys, see Creating access keys for a bucket in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  + * + * + *

                                                  The secretAccessKey value is returned only in response to the + * CreateBucketAccessKey action. You can get a secret access key only when you + * first create an access key; you cannot get the secret access key later. If you lose the + * secret access key, you must create a new access key.

                                                  + *
                                                  + */ + public createBucketAccessKey( + args: CreateBucketAccessKeyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createBucketAccessKey( + args: CreateBucketAccessKeyCommandInput, + cb: (err: any, data?: CreateBucketAccessKeyCommandOutput) => void + ): void; + public createBucketAccessKey( + args: CreateBucketAccessKeyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateBucketAccessKeyCommandOutput) => void + ): void; + public createBucketAccessKey( + args: CreateBucketAccessKeyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBucketAccessKeyCommandOutput) => void), + cb?: (err: any, data?: CreateBucketAccessKeyCommandOutput) => void + ): Promise | void { + const command = new CreateBucketAccessKeyCommand(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 an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) * distribution and a container service.

                                                  @@ -1090,7 +1220,7 @@ export class Lightsail extends LightsailClient { * *

                                                  You can deploy containers to your container service using container images from a public * registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  */ public createContainerServiceDeployment( args: CreateContainerServiceDeploymentCommandInput, @@ -1143,7 +1273,7 @@ export class Lightsail extends LightsailClient { *

                                                  This action is not required if you install and use the Lightsail Control * (lightsailctl) plugin to push container images to your Lightsail container service. For * more information, see Pushing and managing container images on your Amazon Lightsail container services - * in the Lightsail Dev Guide.

                                                  + * in the Amazon Lightsail Developer Guide.

                                                  * */ public createContainerServiceRegistryLogin( @@ -1179,7 +1309,7 @@ export class Lightsail extends LightsailClient { *

                                                  Creates a block storage disk that can be attached to an Amazon Lightsail instance in the * same Availability Zone (e.g., us-east-2a).

                                                  *

                                                  The create disk operation supports tag-based access control via request tags. - * For more information, see the Lightsail Dev Guide.

                                                  + * For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createDisk(args: CreateDiskCommandInput, options?: __HttpHandlerOptions): Promise; public createDisk(args: CreateDiskCommandInput, cb: (err: any, data?: CreateDiskCommandOutput) => void): void; @@ -1210,7 +1340,7 @@ export class Lightsail extends LightsailClient { * us-east-2a).

                                                  *

                                                  The create disk from snapshot operation supports tag-based access control via * request tags and resource tags applied to the resource identified by disk snapshot - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createDiskFromSnapshot( args: CreateDiskFromSnapshotCommandInput, @@ -1261,7 +1391,7 @@ export class Lightsail extends LightsailClient { * snapshot and attach it to a running instance to access the data on the disk.

                                                  * *

                                                  The create disk snapshot operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createDiskSnapshot( args: CreateDiskSnapshotCommandInput, @@ -1330,7 +1460,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Creates a domain resource for the specified domain (e.g., example.com).

                                                  *

                                                  The create domain operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createDomain( args: CreateDomainCommandInput, @@ -1367,7 +1497,7 @@ export class Lightsail extends LightsailClient { * *

                                                  The create domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public createDomainEntry( args: CreateDomainEntryCommandInput, @@ -1401,7 +1531,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Creates one or more Amazon Lightsail instances.

                                                  *

                                                  The create instances operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Lightsail Developer Guide.

                                                  */ public createInstances( args: CreateInstancesCommandInput, @@ -1437,7 +1567,7 @@ export class Lightsail extends LightsailClient { * instance.

                                                  *

                                                  The create instances from snapshot operation supports tag-based access * control via request tags and resource tags applied to the resource identified by - * instance snapshot name. For more information, see the Lightsail Dev Guide.

                                                  + * instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createInstancesFromSnapshot( args: CreateInstancesFromSnapshotCommandInput, @@ -1472,7 +1602,7 @@ export class Lightsail extends LightsailClient { *

                                                  Creates a snapshot of a specific virtual private server, or instance. * You can use a snapshot to create a new instance that is based on that snapshot.

                                                  *

                                                  The create instance snapshot operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createInstanceSnapshot( args: CreateInstanceSnapshotCommandInput, @@ -1506,7 +1636,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Creates an SSH key pair.

                                                  *

                                                  The create key pair operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createKeyPair( args: CreateKeyPairCommandInput, @@ -1539,13 +1669,13 @@ export class Lightsail extends LightsailClient { /** *

                                                  Creates a Lightsail load balancer. To learn more about deciding whether to load balance - * your application, see Configure your Lightsail instances for load balancing. You can create up to 5 + * your application, see Configure your Lightsail instances for load balancing. You can create up to 5 * load balancers per AWS Region in your account.

                                                  *

                                                  When you create a load balancer, you can specify a unique name and port settings. To * change additional load balancer settings, use the UpdateLoadBalancerAttribute * operation.

                                                  *

                                                  The create load balancer operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createLoadBalancer( args: CreateLoadBalancerCommandInput, @@ -1581,7 +1711,7 @@ export class Lightsail extends LightsailClient { *

                                                  TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                                                  *

                                                  The CreateLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createLoadBalancerTlsCertificate( args: CreateLoadBalancerTlsCertificateCommandInput, @@ -1615,7 +1745,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Creates a new database in Amazon Lightsail.

                                                  *

                                                  The create relational database operation supports tag-based access control - * via request tags. For more information, see the Lightsail Dev Guide.

                                                  + * via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createRelationalDatabase( args: CreateRelationalDatabaseCommandInput, @@ -1653,7 +1783,7 @@ export class Lightsail extends LightsailClient { * standard plan.

                                                  *

                                                  The create relational database from snapshot operation supports tag-based * access control via request tags and resource tags applied to the resource identified by - * relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide.

                                                  + * relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createRelationalDatabaseFromSnapshot( args: CreateRelationalDatabaseFromSnapshotCommandInput, @@ -1688,7 +1818,7 @@ export class Lightsail extends LightsailClient { *

                                                  Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, * to make copies of a database, and to save data before deleting a database.

                                                  *

                                                  The create relational database snapshot operation supports tag-based access - * control via request tags. For more information, see the Lightsail Dev Guide.

                                                  + * control via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public createRelationalDatabaseSnapshot( args: CreateRelationalDatabaseSnapshotCommandInput, @@ -1750,7 +1880,7 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.

                                                  + *

                                                  Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteAutoSnapshot( args: DeleteAutoSnapshotCommandInput, @@ -1781,6 +1911,77 @@ export class Lightsail extends LightsailClient { } } + /** + *

                                                  Deletes a Amazon Lightsail bucket.

                                                  + * + * + *

                                                  When you delete your bucket, the bucket name is released and can be reused for a new + * bucket in your account or another AWS account.

                                                  + *
                                                  + */ + public deleteBucket( + args: DeleteBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteBucket(args: DeleteBucketCommandInput, cb: (err: any, data?: DeleteBucketCommandOutput) => void): void; + public deleteBucket( + args: DeleteBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketCommandOutput) => void + ): void; + public deleteBucket( + args: DeleteBucketCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBucketCommandOutput) => void), + cb?: (err: any, data?: DeleteBucketCommandOutput) => void + ): Promise | void { + const command = new DeleteBucketCommand(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 access key for the specified Amazon Lightsail bucket.

                                                  + * + *

                                                  We recommend that you delete an access key if the secret access key is compromised.

                                                  + * + *

                                                  For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  + */ + public deleteBucketAccessKey( + args: DeleteBucketAccessKeyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteBucketAccessKey( + args: DeleteBucketAccessKeyCommandInput, + cb: (err: any, data?: DeleteBucketAccessKeyCommandOutput) => void + ): void; + public deleteBucketAccessKey( + args: DeleteBucketAccessKeyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketAccessKeyCommandOutput) => void + ): void; + public deleteBucketAccessKey( + args: DeleteBucketAccessKeyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBucketAccessKeyCommandOutput) => void), + cb?: (err: any, data?: DeleteBucketAccessKeyCommandOutput) => void + ): Promise | void { + const command = new DeleteBucketAccessKeyCommand(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 SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) * distribution.

                                                  @@ -1926,7 +2127,7 @@ export class Lightsail extends LightsailClient { * *

                                                  The delete disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  */ public deleteDisk(args: DeleteDiskCommandInput, options?: __HttpHandlerOptions): Promise; public deleteDisk(args: DeleteDiskCommandInput, cb: (err: any, data?: DeleteDiskCommandOutput) => void): void; @@ -1960,7 +2161,7 @@ export class Lightsail extends LightsailClient { * to all the information needed to restore the disk.

                                                  *

                                                  The delete disk snapshot operation supports tag-based access control via * resource tags applied to the resource identified by disk snapshot name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteDiskSnapshot( args: DeleteDiskSnapshotCommandInput, @@ -2027,7 +2228,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes the specified domain recordset and all of its domain records.

                                                  *

                                                  The delete domain operation supports tag-based access control via resource * tags applied to the resource identified by domain name. For more information, see - * the Lightsail Dev Guide.

                                                  + * the Amazon Lightsail Developer Guide.

                                                  */ public deleteDomain( args: DeleteDomainCommandInput, @@ -2059,7 +2260,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes a specific domain entry.

                                                  *

                                                  The delete domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteDomainEntry( args: DeleteDomainEntryCommandInput, @@ -2094,7 +2295,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes an Amazon Lightsail instance.

                                                  *

                                                  The delete instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public deleteInstance( args: DeleteInstanceCommandInput, @@ -2130,7 +2331,7 @@ export class Lightsail extends LightsailClient { * instance).

                                                  *

                                                  The delete instance snapshot operation supports tag-based access control via * resource tags applied to the resource identified by instance snapshot name. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteInstanceSnapshot( args: DeleteInstanceSnapshotCommandInput, @@ -2165,7 +2366,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes a specific SSH key pair.

                                                  *

                                                  The delete key pair operation supports tag-based access control via resource * tags applied to the resource identified by key pair name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public deleteKeyPair( args: DeleteKeyPairCommandInput, @@ -2203,7 +2404,7 @@ export class Lightsail extends LightsailClient { * *

                                                  Perform this operation only if you were expecting the host key or certificate mismatch * or if you are familiar with the new host key or certificate on the instance. For more - * information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP + * information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP * client.

                                                  *
                                                  */ @@ -2242,7 +2443,7 @@ export class Lightsail extends LightsailClient { * certificate, and verify domain ownership again.

                                                  *

                                                  The delete load balancer operation supports tag-based access control via * resource tags applied to the resource identified by load balancer name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteLoadBalancer( args: DeleteLoadBalancerCommandInput, @@ -2277,7 +2478,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                                                  *

                                                  The DeleteLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteLoadBalancerTlsCertificate( args: DeleteLoadBalancerTlsCertificateCommandInput, @@ -2312,7 +2513,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes a database in Amazon Lightsail.

                                                  *

                                                  The delete relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteRelationalDatabase( args: DeleteRelationalDatabaseCommandInput, @@ -2347,7 +2548,7 @@ export class Lightsail extends LightsailClient { *

                                                  Deletes a database snapshot in Amazon Lightsail.

                                                  *

                                                  The delete relational database snapshot operation supports tag-based access * control via resource tags applied to the resource identified by relationalDatabaseName. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  */ public deleteRelationalDatabaseSnapshot( args: DeleteRelationalDatabaseSnapshotCommandInput, @@ -2419,7 +2620,7 @@ export class Lightsail extends LightsailClient { * detaching the disk.

                                                  *

                                                  The detach disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  */ public detachDisk(args: DetachDiskCommandInput, options?: __HttpHandlerOptions): Promise; public detachDisk(args: DetachDiskCommandInput, cb: (err: any, data?: DetachDiskCommandOutput) => void): void; @@ -2450,7 +2651,7 @@ export class Lightsail extends LightsailClient { * from the load balancer.

                                                  *

                                                  The detach instances from load balancer operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public detachInstancesFromLoadBalancer( args: DetachInstancesFromLoadBalancerCommandInput, @@ -2514,7 +2715,7 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.

                                                  + *

                                                  Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public disableAddOn( args: DisableAddOnCommandInput, @@ -2576,7 +2777,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see - * the Lightsail Dev Guide.

                                                  + * the Amazon Lightsail Developer Guide.

                                                  */ public enableAddOn(args: EnableAddOnCommandInput, options?: __HttpHandlerOptions): Promise; public enableAddOn(args: EnableAddOnCommandInput, cb: (err: any, data?: EnableAddOnCommandOutput) => void): void; @@ -2612,7 +2813,7 @@ export class Lightsail extends LightsailClient { *

                                                  *

                                                  The export snapshot operation supports tag-based access control via resource * tags applied to the resource identified by source snapshot name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * *

                                                  Use the get instance snapshots or get disk snapshots * operations to get a list of snapshots that you can export to Amazon EC2.

                                                  @@ -2713,7 +2914,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Returns the available automatic snapshots for an instance or disk. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public getAutoSnapshots( args: GetAutoSnapshotsCommandInput, @@ -2785,6 +2986,147 @@ export class Lightsail extends LightsailClient { } } + /** + *

                                                  Returns the existing access key IDs for the specified Amazon Lightsail bucket.

                                                  + * + * + *

                                                  This action does not return the secret access key value of an access key. You can get a + * secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must + * create a new access key.

                                                  + *
                                                  + */ + public getBucketAccessKeys( + args: GetBucketAccessKeysCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getBucketAccessKeys( + args: GetBucketAccessKeysCommandInput, + cb: (err: any, data?: GetBucketAccessKeysCommandOutput) => void + ): void; + public getBucketAccessKeys( + args: GetBucketAccessKeysCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketAccessKeysCommandOutput) => void + ): void; + public getBucketAccessKeys( + args: GetBucketAccessKeysCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBucketAccessKeysCommandOutput) => void), + cb?: (err: any, data?: GetBucketAccessKeysCommandOutput) => void + ): Promise | void { + const command = new GetBucketAccessKeysCommand(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 bundles that you can apply to a Amazon Lightsail bucket.

                                                  + * + *

                                                  The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a + * bucket.

                                                  + * + *

                                                  Use the UpdateBucketBundle action to update the bundle for a + * bucket.

                                                  + */ + public getBucketBundles( + args: GetBucketBundlesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getBucketBundles( + args: GetBucketBundlesCommandInput, + cb: (err: any, data?: GetBucketBundlesCommandOutput) => void + ): void; + public getBucketBundles( + args: GetBucketBundlesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketBundlesCommandOutput) => void + ): void; + public getBucketBundles( + args: GetBucketBundlesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBucketBundlesCommandOutput) => void), + cb?: (err: any, data?: GetBucketBundlesCommandOutput) => void + ): Promise | void { + const command = new GetBucketBundlesCommand(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 data points of a specific metric for an Amazon Lightsail bucket.

                                                  + * + *

                                                  Metrics report the utilization of a bucket. View and collect metric data regularly to + * monitor the number of objects stored in a bucket (including object versions) and the storage + * space used by those objects.

                                                  + */ + public getBucketMetricData( + args: GetBucketMetricDataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getBucketMetricData( + args: GetBucketMetricDataCommandInput, + cb: (err: any, data?: GetBucketMetricDataCommandOutput) => void + ): void; + public getBucketMetricData( + args: GetBucketMetricDataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketMetricDataCommandOutput) => void + ): void; + public getBucketMetricData( + args: GetBucketMetricDataCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBucketMetricDataCommandOutput) => void), + cb?: (err: any, data?: GetBucketMetricDataCommandOutput) => void + ): Promise | void { + const command = new GetBucketMetricDataCommand(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 information about one or more Amazon Lightsail buckets.

                                                  + * + *

                                                  For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer + * Guide..

                                                  + */ + public getBuckets(args: GetBucketsCommandInput, options?: __HttpHandlerOptions): Promise; + public getBuckets(args: GetBucketsCommandInput, cb: (err: any, data?: GetBucketsCommandOutput) => void): void; + public getBuckets( + args: GetBucketsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketsCommandOutput) => void + ): void; + public getBuckets( + args: GetBucketsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBucketsCommandOutput) => void), + cb?: (err: any, data?: GetBucketsCommandOutput) => void + ): Promise | void { + const command = new GetBucketsCommand(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 list of bundles that are available for purchase. A bundle describes the specs * for your virtual private server (or instance).

                                                  @@ -3301,8 +3643,8 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Returns the list bundles that can be applied to you Amazon Lightsail content delivery - * network (CDN) distributions.

                                                  + *

                                                  Returns the bundles that can be applied to your Amazon Lightsail content delivery network + * (CDN) distributions.

                                                  *

                                                  A distribution bundle specifies the monthly network transfer quota and monthly cost of * your dsitribution.

                                                  */ @@ -3490,10 +3832,10 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Returns the export snapshot record created as a result of the export snapshot - * operation.

                                                  + *

                                                  Returns all export snapshot records created as a result of the export + * snapshot operation.

                                                  *

                                                  An export snapshot record can be used to create a new Amazon EC2 instance and its related - * resources with the create cloud formation stack operation.

                                                  + * resources with the CreateCloudFormationStack action.

                                                  */ public getExportSnapshotRecords( args: GetExportSnapshotRecordsCommandInput, @@ -3556,7 +3898,7 @@ export class Lightsail extends LightsailClient { * instance.

                                                  *

                                                  The get instance access details operation supports tag-based access control * via resource tags applied to the resource identified by instance name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public getInstanceAccessDetails( args: GetInstanceAccessDetailsCommandInput, @@ -4615,7 +4957,7 @@ export class Lightsail extends LightsailClient { * allowed to connect to the instance through the ports, and the protocol.

                                                  *

                                                  The OpenInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public openInstancePublicPorts( args: OpenInstancePublicPortsCommandInput, @@ -4647,7 +4989,7 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Tries to peer the Lightsail VPC with the user's default VPC.

                                                  + *

                                                  Peers the Lightsail VPC with the user's default VPC.

                                                  */ public peerVpc(args: PeerVpcCommandInput, options?: __HttpHandlerOptions): Promise; public peerVpc(args: PeerVpcCommandInput, cb: (err: any, data?: PeerVpcCommandOutput) => void): void; @@ -4717,7 +5059,7 @@ export class Lightsail extends LightsailClient { * ports.

                                                  *

                                                  The PutInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public putInstancePublicPorts( args: PutInstancePublicPortsCommandInput, @@ -4752,7 +5094,7 @@ export class Lightsail extends LightsailClient { *

                                                  Restarts a specific instance.

                                                  *

                                                  The reboot instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public rebootInstance( args: RebootInstanceCommandInput, @@ -4787,7 +5129,7 @@ export class Lightsail extends LightsailClient { *

                                                  Restarts a specific database in Amazon Lightsail.

                                                  *

                                                  The reboot relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public rebootRelationalDatabase( args: RebootRelationalDatabaseCommandInput, @@ -4825,7 +5167,7 @@ export class Lightsail extends LightsailClient { *

                                                  This action is not required if you install and use the Lightsail Control * (lightsailctl) plugin to push container images to your Lightsail container service. For * more information, see Pushing and managing container images on your Amazon Lightsail container services - * in the Lightsail Dev Guide.

                                                  + * in the Amazon Lightsail Developer Guide.

                                                  *
                                                  */ public registerContainerImage( @@ -5004,17 +5346,53 @@ export class Lightsail extends LightsailClient { } } + /** + *

                                                  Sets the Amazon Lightsail resources that can access the specified Lightsail + * bucket.

                                                  + * + *

                                                  Lightsail buckets currently support setting access for Lightsail instances in the same + * AWS Region.

                                                  + */ + public setResourceAccessForBucket( + args: SetResourceAccessForBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public setResourceAccessForBucket( + args: SetResourceAccessForBucketCommandInput, + cb: (err: any, data?: SetResourceAccessForBucketCommandOutput) => void + ): void; + public setResourceAccessForBucket( + args: SetResourceAccessForBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SetResourceAccessForBucketCommandOutput) => void + ): void; + public setResourceAccessForBucket( + args: SetResourceAccessForBucketCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetResourceAccessForBucketCommandOutput) => void), + cb?: (err: any, data?: SetResourceAccessForBucketCommandOutput) => void + ): Promise | void { + const command = new SetResourceAccessForBucketCommand(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); + } + } + /** *

                                                  Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, * use the reboot instance operation.

                                                  * *

                                                  When you start a stopped instance, Lightsail assigns a new public IP address to the * instance. To use the same IP address after stopping and starting an instance, create a - * static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                  + * static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                  *
                                                  *

                                                  The start instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public startInstance( args: StartInstanceCommandInput, @@ -5050,7 +5428,7 @@ export class Lightsail extends LightsailClient { * use the reboot relational database operation.

                                                  *

                                                  The start relational database operation supports tag-based access control via * resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public startRelationalDatabase( args: StartRelationalDatabaseCommandInput, @@ -5086,11 +5464,11 @@ export class Lightsail extends LightsailClient { * *

                                                  When you start a stopped instance, Lightsail assigns a new public IP address to the * instance. To use the same IP address after stopping and starting an instance, create a - * static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                  + * static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                  *
                                                  *

                                                  The stop instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  */ public stopInstance( args: StopInstanceCommandInput, @@ -5122,7 +5500,7 @@ export class Lightsail extends LightsailClient { *

                                                  Stops a specific database that is currently running in Amazon Lightsail.

                                                  *

                                                  The stop relational database operation supports tag-based access control via * resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public stopRelationalDatabase( args: StopRelationalDatabaseCommandInput, @@ -5156,11 +5534,10 @@ export class Lightsail extends LightsailClient { /** *

                                                  Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a * maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique - * per resource. For more information about tags, see the Lightsail - * Dev Guide.

                                                  + * per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

                                                  *

                                                  The tag resource operation supports tag-based access control via request tags * and resource tags applied to the resource identified by resource name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; @@ -5219,7 +5596,7 @@ export class Lightsail extends LightsailClient { } /** - *

                                                  Attempts to unpeer the Lightsail VPC from the user's default VPC.

                                                  + *

                                                  Unpeers the Lightsail VPC from the user's default VPC.

                                                  */ public unpeerVpc(args: UnpeerVpcCommandInput, options?: __HttpHandlerOptions): Promise; public unpeerVpc(args: UnpeerVpcCommandInput, cb: (err: any, data?: UnpeerVpcCommandOutput) => void): void; @@ -5249,7 +5626,7 @@ export class Lightsail extends LightsailClient { * resource.

                                                  *

                                                  The untag resource operation supports tag-based access control via request * tags and resource tags applied to the resource identified by resource name. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  */ public untagResource( args: UntagResourceCommandInput, @@ -5280,6 +5657,84 @@ export class Lightsail extends LightsailClient { } } + /** + *

                                                  Updates an existing Amazon Lightsail bucket.

                                                  + * + *

                                                  Use this action to update the configuration of an existing bucket, such as versioning, + * public accessibility, and the AWS accounts that can access the bucket.

                                                  + */ + public updateBucket( + args: UpdateBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateBucket(args: UpdateBucketCommandInput, cb: (err: any, data?: UpdateBucketCommandOutput) => void): void; + public updateBucket( + args: UpdateBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateBucketCommandOutput) => void + ): void; + public updateBucket( + args: UpdateBucketCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBucketCommandOutput) => void), + cb?: (err: any, data?: UpdateBucketCommandOutput) => void + ): Promise | void { + const command = new UpdateBucketCommand(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 the bundle, or storage plan, of an existing Amazon Lightsail bucket.

                                                  + * + *

                                                  A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a + * bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To + * determine if you can update a bucket's bundle, use the GetBuckets action. + * The ableToUpdateBundle parameter in the response will indicate whether you can + * currently update a bucket's bundle.

                                                  + * + *

                                                  Update a bucket's bundle if it's consistently going over its storage space or data + * transfer quota, or if a bucket's usage is consistently in the lower range of its storage space + * or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might + * experience, we strongly recommend that you update a bucket's bundle only as a long-term + * strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle + * that will provide the bucket with ample storage space and data transfer for a long time to + * come.

                                                  + */ + public updateBucketBundle( + args: UpdateBucketBundleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateBucketBundle( + args: UpdateBucketBundleCommandInput, + cb: (err: any, data?: UpdateBucketBundleCommandOutput) => void + ): void; + public updateBucketBundle( + args: UpdateBucketBundleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateBucketBundleCommandOutput) => void + ): void; + public updateBucketBundle( + args: UpdateBucketBundleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBucketBundleCommandOutput) => void), + cb?: (err: any, data?: UpdateBucketBundleCommandOutput) => void + ): Promise | void { + const command = new UpdateBucketBundleCommand(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 the configuration of your Amazon Lightsail container service, such as its power, * scale, and public domain names.

                                                  @@ -5315,7 +5770,7 @@ export class Lightsail extends LightsailClient { /** *

                                                  Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                                                  - *

                                                  Use this action to update the configuration of your existing distribution

                                                  + *

                                                  Use this action to update the configuration of your existing distribution.

                                                  */ public updateDistribution( args: UpdateDistributionCommandInput, @@ -5391,7 +5846,7 @@ export class Lightsail extends LightsailClient { *

                                                  Updates a domain recordset after it is created.

                                                  *

                                                  The update domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public updateDomainEntry( args: UpdateDomainEntryCommandInput, @@ -5427,7 +5882,7 @@ export class Lightsail extends LightsailClient { * a time.

                                                  *

                                                  The update load balancer attribute operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  */ public updateLoadBalancerAttribute( args: UpdateLoadBalancerAttributeCommandInput, @@ -5464,7 +5919,7 @@ export class Lightsail extends LightsailClient { * are applied during the database's predefined maintenance window.

                                                  *

                                                  The update relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  */ public updateRelationalDatabase( args: UpdateRelationalDatabaseCommandInput, @@ -5505,7 +5960,7 @@ export class Lightsail extends LightsailClient { * the reboot relational database operation.

                                                  *

                                                  The update relational database parameters operation supports tag-based access * control via resource tags applied to the resource identified by relationalDatabaseName. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  */ public updateRelationalDatabaseParameters( args: UpdateRelationalDatabaseParametersCommandInput, diff --git a/clients/client-lightsail/LightsailClient.ts b/clients/client-lightsail/LightsailClient.ts index 6c89ea05f1279..a4c6c17481e59 100644 --- a/clients/client-lightsail/LightsailClient.ts +++ b/clients/client-lightsail/LightsailClient.ts @@ -18,6 +18,11 @@ import { CloseInstancePublicPortsCommandOutput, } from "./commands/CloseInstancePublicPortsCommand"; import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "./commands/CopySnapshotCommand"; +import { + CreateBucketAccessKeyCommandInput, + CreateBucketAccessKeyCommandOutput, +} from "./commands/CreateBucketAccessKeyCommand"; +import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand"; import { CreateCertificateCommandInput, CreateCertificateCommandOutput } from "./commands/CreateCertificateCommand"; import { CreateCloudFormationStackCommandInput, @@ -77,6 +82,11 @@ import { } from "./commands/CreateRelationalDatabaseSnapshotCommand"; import { DeleteAlarmCommandInput, DeleteAlarmCommandOutput } from "./commands/DeleteAlarmCommand"; import { DeleteAutoSnapshotCommandInput, DeleteAutoSnapshotCommandOutput } from "./commands/DeleteAutoSnapshotCommand"; +import { + DeleteBucketAccessKeyCommandInput, + DeleteBucketAccessKeyCommandOutput, +} from "./commands/DeleteBucketAccessKeyCommand"; +import { DeleteBucketCommandInput, DeleteBucketCommandOutput } from "./commands/DeleteBucketCommand"; import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand"; import { DeleteContactMethodCommandInput, @@ -139,6 +149,16 @@ import { GetActiveNamesCommandInput, GetActiveNamesCommandOutput } from "./comma import { GetAlarmsCommandInput, GetAlarmsCommandOutput } from "./commands/GetAlarmsCommand"; import { GetAutoSnapshotsCommandInput, GetAutoSnapshotsCommandOutput } from "./commands/GetAutoSnapshotsCommand"; import { GetBlueprintsCommandInput, GetBlueprintsCommandOutput } from "./commands/GetBlueprintsCommand"; +import { + GetBucketAccessKeysCommandInput, + GetBucketAccessKeysCommandOutput, +} from "./commands/GetBucketAccessKeysCommand"; +import { GetBucketBundlesCommandInput, GetBucketBundlesCommandOutput } from "./commands/GetBucketBundlesCommand"; +import { + GetBucketMetricDataCommandInput, + GetBucketMetricDataCommandOutput, +} from "./commands/GetBucketMetricDataCommand"; +import { GetBucketsCommandInput, GetBucketsCommandOutput } from "./commands/GetBucketsCommand"; import { GetBundlesCommandInput, GetBundlesCommandOutput } from "./commands/GetBundlesCommand"; import { GetCertificatesCommandInput, GetCertificatesCommandOutput } from "./commands/GetCertificatesCommand"; import { @@ -314,6 +334,10 @@ import { SendContactMethodVerificationCommandOutput, } from "./commands/SendContactMethodVerificationCommand"; import { SetIpAddressTypeCommandInput, SetIpAddressTypeCommandOutput } from "./commands/SetIpAddressTypeCommand"; +import { + SetResourceAccessForBucketCommandInput, + SetResourceAccessForBucketCommandOutput, +} from "./commands/SetResourceAccessForBucketCommand"; import { StartInstanceCommandInput, StartInstanceCommandOutput } from "./commands/StartInstanceCommand"; import { StartRelationalDatabaseCommandInput, @@ -328,6 +352,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta import { TestAlarmCommandInput, TestAlarmCommandOutput } from "./commands/TestAlarmCommand"; import { UnpeerVpcCommandInput, UnpeerVpcCommandOutput } from "./commands/UnpeerVpcCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { UpdateBucketBundleCommandInput, UpdateBucketBundleCommandOutput } from "./commands/UpdateBucketBundleCommand"; +import { UpdateBucketCommandInput, UpdateBucketCommandOutput } from "./commands/UpdateBucketCommand"; import { UpdateContainerServiceCommandInput, UpdateContainerServiceCommandOutput, @@ -411,6 +437,8 @@ export type ServiceInputTypes = | AttachStaticIpCommandInput | CloseInstancePublicPortsCommandInput | CopySnapshotCommandInput + | CreateBucketAccessKeyCommandInput + | CreateBucketCommandInput | CreateCertificateCommandInput | CreateCloudFormationStackCommandInput | CreateContactMethodCommandInput @@ -434,6 +462,8 @@ export type ServiceInputTypes = | CreateRelationalDatabaseSnapshotCommandInput | DeleteAlarmCommandInput | DeleteAutoSnapshotCommandInput + | DeleteBucketAccessKeyCommandInput + | DeleteBucketCommandInput | DeleteCertificateCommandInput | DeleteContactMethodCommandInput | DeleteContainerImageCommandInput @@ -463,6 +493,10 @@ export type ServiceInputTypes = | GetAlarmsCommandInput | GetAutoSnapshotsCommandInput | GetBlueprintsCommandInput + | GetBucketAccessKeysCommandInput + | GetBucketBundlesCommandInput + | GetBucketMetricDataCommandInput + | GetBucketsCommandInput | GetBundlesCommandInput | GetCertificatesCommandInput | GetCloudFormationStackRecordsCommandInput @@ -530,6 +564,7 @@ export type ServiceInputTypes = | ResetDistributionCacheCommandInput | SendContactMethodVerificationCommandInput | SetIpAddressTypeCommandInput + | SetResourceAccessForBucketCommandInput | StartInstanceCommandInput | StartRelationalDatabaseCommandInput | StopInstanceCommandInput @@ -538,6 +573,8 @@ export type ServiceInputTypes = | TestAlarmCommandInput | UnpeerVpcCommandInput | UntagResourceCommandInput + | UpdateBucketBundleCommandInput + | UpdateBucketCommandInput | UpdateContainerServiceCommandInput | UpdateDistributionBundleCommandInput | UpdateDistributionCommandInput @@ -555,6 +592,8 @@ export type ServiceOutputTypes = | AttachStaticIpCommandOutput | CloseInstancePublicPortsCommandOutput | CopySnapshotCommandOutput + | CreateBucketAccessKeyCommandOutput + | CreateBucketCommandOutput | CreateCertificateCommandOutput | CreateCloudFormationStackCommandOutput | CreateContactMethodCommandOutput @@ -578,6 +617,8 @@ export type ServiceOutputTypes = | CreateRelationalDatabaseSnapshotCommandOutput | DeleteAlarmCommandOutput | DeleteAutoSnapshotCommandOutput + | DeleteBucketAccessKeyCommandOutput + | DeleteBucketCommandOutput | DeleteCertificateCommandOutput | DeleteContactMethodCommandOutput | DeleteContainerImageCommandOutput @@ -607,6 +648,10 @@ export type ServiceOutputTypes = | GetAlarmsCommandOutput | GetAutoSnapshotsCommandOutput | GetBlueprintsCommandOutput + | GetBucketAccessKeysCommandOutput + | GetBucketBundlesCommandOutput + | GetBucketMetricDataCommandOutput + | GetBucketsCommandOutput | GetBundlesCommandOutput | GetCertificatesCommandOutput | GetCloudFormationStackRecordsCommandOutput @@ -674,6 +719,7 @@ export type ServiceOutputTypes = | ResetDistributionCacheCommandOutput | SendContactMethodVerificationCommandOutput | SetIpAddressTypeCommandOutput + | SetResourceAccessForBucketCommandOutput | StartInstanceCommandOutput | StartRelationalDatabaseCommandOutput | StopInstanceCommandOutput @@ -682,6 +728,8 @@ export type ServiceOutputTypes = | TestAlarmCommandOutput | UnpeerVpcCommandOutput | UntagResourceCommandOutput + | UpdateBucketBundleCommandOutput + | UpdateBucketCommandOutput | UpdateContainerServiceCommandOutput | UpdateDistributionBundleCommandOutput | UpdateDistributionCommandOutput @@ -832,14 +880,14 @@ export interface LightsailClientResolvedConfig extends LightsailClientResolvedCo /** *

                                                  Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers * who need to build websites or web applications. It includes everything you need to launch your - * project quickly - instances (virtual private servers), container services, managed databases, - * SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) - * distributions, DNS management of registered domains, and resource snapshots (backups) - for a - * low, predictable monthly price.

                                                  + * project quickly - instances (virtual private servers), container services, storage buckets, + * managed databases, SSD-based block storage, static IP addresses, load balancers, content + * delivery network (CDN) distributions, DNS management of registered domains, and resource + * snapshots (backups) - for a low, predictable monthly price.

                                                  * *

                                                  You can manage your Lightsail resources using the Lightsail console, Lightsail API, * AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts - * and tasks, see the Lightsail Dev Guide.

                                                  + * and tasks, see the Amazon Lightsail Developer Guide.

                                                  * *

                                                  This API Reference provides detailed information about the actions, data types, * parameters, and errors of the Lightsail service. For more information about the supported diff --git a/clients/client-lightsail/README.md b/clients/client-lightsail/README.md index 85dfe40eac757..8d01720d97d60 100644 --- a/clients/client-lightsail/README.md +++ b/clients/client-lightsail/README.md @@ -9,14 +9,14 @@ AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native.

                                                  Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers who need to build websites or web applications. It includes everything you need to launch your -project quickly - instances (virtual private servers), container services, managed databases, -SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) -distributions, DNS management of registered domains, and resource snapshots (backups) - for a -low, predictable monthly price.

                                                  +project quickly - instances (virtual private servers), container services, storage buckets, +managed databases, SSD-based block storage, static IP addresses, load balancers, content +delivery network (CDN) distributions, DNS management of registered domains, and resource +snapshots (backups) - for a low, predictable monthly price.

                                                  You can manage your Lightsail resources using the Lightsail console, Lightsail API, AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts -and tasks, see the Lightsail Dev Guide.

                                                  +and tasks, see the Amazon Lightsail Developer Guide.

                                                  This API Reference provides detailed information about the actions, data types, parameters, and errors of the Lightsail service. For more information about the supported diff --git a/clients/client-lightsail/commands/AttachDiskCommand.ts b/clients/client-lightsail/commands/AttachDiskCommand.ts index 4e22fdf02b87b..aa2c87d0afffa 100644 --- a/clients/client-lightsail/commands/AttachDiskCommand.ts +++ b/clients/client-lightsail/commands/AttachDiskCommand.ts @@ -25,7 +25,7 @@ export interface AttachDiskCommandOutput extends AttachDiskResult, __MetadataBea * to the instance with the specified disk name.

                                                  *

                                                  The attach disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts index 4ae1aaf5451a5..bd828e8e19d4a 100644 --- a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts @@ -28,7 +28,7 @@ export interface AttachInstancesToLoadBalancerCommandOutput * status is available.

                                                  *

                                                  The attach instances to load balancer operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts index 66895ec7377db..a96a67d1ffde4 100644 --- a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts @@ -31,7 +31,7 @@ export interface AttachLoadBalancerTlsCertificateCommandOutput * it will replace the existing one and become the attached certificate.

                                                  *

                                                  The AttachLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts index ef51f97d5e74c..e49119bf16a1f 100644 --- a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts @@ -24,7 +24,7 @@ export interface CloseInstancePublicPortsCommandOutput extends CloseInstancePubl *

                                                  Closes ports for a specific Amazon Lightsail instance.

                                                  *

                                                  The CloseInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateBucketAccessKeyCommand.ts b/clients/client-lightsail/commands/CreateBucketAccessKeyCommand.ts new file mode 100644 index 0000000000000..b70e0a07d08c7 --- /dev/null +++ b/clients/client-lightsail/commands/CreateBucketAccessKeyCommand.ts @@ -0,0 +1,107 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { CreateBucketAccessKeyRequest, CreateBucketAccessKeyResult } from "../models/models_0"; +import { + deserializeAws_json1_1CreateBucketAccessKeyCommand, + serializeAws_json1_1CreateBucketAccessKeyCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface CreateBucketAccessKeyCommandInput extends CreateBucketAccessKeyRequest {} +export interface CreateBucketAccessKeyCommandOutput extends CreateBucketAccessKeyResult, __MetadataBearer {} + +/** + *

                                                  Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of + * an access key ID and corresponding secret access key.

                                                  + * + *

                                                  Access keys grant full programmatic access to the specified bucket and its objects. You + * can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information + * about access keys, see Creating access keys for a bucket in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  + * + * + *

                                                  The secretAccessKey value is returned only in response to the + * CreateBucketAccessKey action. You can get a secret access key only when you + * first create an access key; you cannot get the secret access key later. If you lose the + * secret access key, you must create a new access key.

                                                  + *
                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, CreateBucketAccessKeyCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, CreateBucketAccessKeyCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new CreateBucketAccessKeyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateBucketAccessKeyCommandInput} for command's `input` shape. + * @see {@link CreateBucketAccessKeyCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreateBucketAccessKeyCommand extends $Command< + CreateBucketAccessKeyCommandInput, + CreateBucketAccessKeyCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateBucketAccessKeyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "CreateBucketAccessKeyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateBucketAccessKeyRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateBucketAccessKeyResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateBucketAccessKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CreateBucketAccessKeyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CreateBucketAccessKeyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/CreateBucketCommand.ts b/clients/client-lightsail/commands/CreateBucketCommand.ts new file mode 100644 index 0000000000000..1ed3ce09bed81 --- /dev/null +++ b/clients/client-lightsail/commands/CreateBucketCommand.ts @@ -0,0 +1,99 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { CreateBucketRequest, CreateBucketResult } from "../models/models_0"; +import { + deserializeAws_json1_1CreateBucketCommand, + serializeAws_json1_1CreateBucketCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface CreateBucketCommandInput extends CreateBucketRequest {} +export interface CreateBucketCommandOutput extends CreateBucketResult, __MetadataBearer {} + +/** + *

                                                  Creates an Amazon Lightsail bucket.

                                                  + * + *

                                                  A bucket is a cloud storage resource available in the Lightsail object storage service. + * Use buckets to store objects such as data and its descriptive metadata. For more information + * about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer + * Guide.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, CreateBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, CreateBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new CreateBucketCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateBucketCommandInput} for command's `input` shape. + * @see {@link CreateBucketCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreateBucketCommand extends $Command< + CreateBucketCommandInput, + CreateBucketCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateBucketCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "CreateBucketCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateBucketRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateBucketResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateBucketCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CreateBucketCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CreateBucketCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts index 5a70017bd78bf..67b7c79bfac9e 100644 --- a/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts +++ b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts @@ -33,7 +33,7 @@ export interface CreateContainerServiceDeploymentCommandOutput * *

                                                  You can deploy containers to your container service using container images from a public * registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts index aa26589c58751..a7b1a79b315e0 100644 --- a/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts +++ b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts @@ -47,7 +47,7 @@ export interface CreateContainerServiceRegistryLoginCommandOutput *

                                                  This action is not required if you install and use the Lightsail Control * (lightsailctl) plugin to push container images to your Lightsail container service. For * more information, see Pushing and managing container images on your Amazon Lightsail container services - * in the Lightsail Dev Guide.

                                                  + * in the Amazon Lightsail Developer Guide.

                                                  * * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-lightsail/commands/CreateDiskCommand.ts b/clients/client-lightsail/commands/CreateDiskCommand.ts index c9f87cf98106b..a22456d5df958 100644 --- a/clients/client-lightsail/commands/CreateDiskCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskCommand.ts @@ -24,7 +24,7 @@ export interface CreateDiskCommandOutput extends CreateDiskResult, __MetadataBea *

                                                  Creates a block storage disk that can be attached to an Amazon Lightsail instance in the * same Availability Zone (e.g., us-east-2a).

                                                  *

                                                  The create disk operation supports tag-based access control via request tags. - * For more information, see the Lightsail Dev Guide.

                                                  + * For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts index fac2b93d0aaa1..450807be73039 100644 --- a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts @@ -26,7 +26,7 @@ export interface CreateDiskFromSnapshotCommandOutput extends CreateDiskFromSnaps * us-east-2a).

                                                  *

                                                  The create disk from snapshot operation supports tag-based access control via * request tags and resource tags applied to the resource identified by disk snapshot - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts index df0363bcba32d..30b39c8064787 100644 --- a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts @@ -40,7 +40,7 @@ export interface CreateDiskSnapshotCommandOutput extends CreateDiskSnapshotResul * snapshot and attach it to a running instance to access the data on the disk.

                                                  * *

                                                  The create disk snapshot operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateDomainCommand.ts b/clients/client-lightsail/commands/CreateDomainCommand.ts index 50675d0e59b79..18ebf8e498d07 100644 --- a/clients/client-lightsail/commands/CreateDomainCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainCommand.ts @@ -23,7 +23,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat /** *

                                                  Creates a domain resource for the specified domain (e.g., example.com).

                                                  *

                                                  The create domain operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts index 4f0ce658f241e..43378a75c8c0c 100644 --- a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts @@ -29,7 +29,7 @@ export interface CreateDomainEntryCommandOutput extends CreateDomainEntryResult, * *

                                                  The create domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts index 771810212878e..52f733739af0a 100644 --- a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts @@ -24,7 +24,7 @@ export interface CreateInstanceSnapshotCommandOutput extends CreateInstanceSnaps *

                                                  Creates a snapshot of a specific virtual private server, or instance. * You can use a snapshot to create a new instance that is based on that snapshot.

                                                  *

                                                  The create instance snapshot operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateInstancesCommand.ts b/clients/client-lightsail/commands/CreateInstancesCommand.ts index 43fa29c1115dc..9e8dc9708b92f 100644 --- a/clients/client-lightsail/commands/CreateInstancesCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesCommand.ts @@ -23,7 +23,7 @@ export interface CreateInstancesCommandOutput extends CreateInstancesResult, __M /** *

                                                  Creates one or more Amazon Lightsail instances.

                                                  *

                                                  The create instances operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts index 1bfc3cc2eaa3e..f6da38f87a960 100644 --- a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts @@ -25,7 +25,7 @@ export interface CreateInstancesFromSnapshotCommandOutput extends CreateInstance * instance.

                                                  *

                                                  The create instances from snapshot operation supports tag-based access * control via request tags and resource tags applied to the resource identified by - * instance snapshot name. For more information, see the Lightsail Dev Guide.

                                                  + * instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateKeyPairCommand.ts b/clients/client-lightsail/commands/CreateKeyPairCommand.ts index 3308fe196a43f..99a9f4d4f45a3 100644 --- a/clients/client-lightsail/commands/CreateKeyPairCommand.ts +++ b/clients/client-lightsail/commands/CreateKeyPairCommand.ts @@ -23,7 +23,7 @@ export interface CreateKeyPairCommandOutput extends CreateKeyPairResult, __Metad /** *

                                                  Creates an SSH key pair.

                                                  *

                                                  The create key pair operation supports tag-based access control via request - * tags. For more information, see the Lightsail Dev Guide.

                                                  + * tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts index d7783031f60d0..c2cafa7f58b41 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts @@ -22,13 +22,13 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerResul /** *

                                                  Creates a Lightsail load balancer. To learn more about deciding whether to load balance - * your application, see Configure your Lightsail instances for load balancing. You can create up to 5 + * your application, see Configure your Lightsail instances for load balancing. You can create up to 5 * load balancers per AWS Region in your account.

                                                  *

                                                  When you create a load balancer, you can specify a unique name and port settings. To * change additional load balancer settings, use the UpdateLoadBalancerAttribute * operation.

                                                  *

                                                  The create load balancer operation supports tag-based access control via - * request tags. For more information, see the Lightsail Dev Guide.

                                                  + * request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts index 0060727622c64..4c538f43e6c57 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts @@ -27,7 +27,7 @@ export interface CreateLoadBalancerTlsCertificateCommandOutput *

                                                  TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                                                  *

                                                  The CreateLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts index c26f2a1084afc..6cabaa5d878c6 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts @@ -23,7 +23,7 @@ export interface CreateRelationalDatabaseCommandOutput extends CreateRelationalD /** *

                                                  Creates a new database in Amazon Lightsail.

                                                  *

                                                  The create relational database operation supports tag-based access control - * via request tags. For more information, see the Lightsail Dev Guide.

                                                  + * via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts index 198705e57a556..2a4304c4a22f8 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts @@ -32,7 +32,7 @@ export interface CreateRelationalDatabaseFromSnapshotCommandOutput * standard plan.

                                                  *

                                                  The create relational database from snapshot operation supports tag-based * access control via request tags and resource tags applied to the resource identified by - * relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide.

                                                  + * relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts index d5b62e7a3a139..c4baeeca46d7f 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts @@ -26,7 +26,7 @@ export interface CreateRelationalDatabaseSnapshotCommandOutput *

                                                  Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, * to make copies of a database, and to save data before deleting a database.

                                                  *

                                                  The create relational database snapshot operation supports tag-based access - * control via request tags. For more information, see the Lightsail Dev Guide.

                                                  + * control via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts index ed7ffaa005bf8..d015611db8a6a 100644 --- a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts @@ -21,7 +21,7 @@ export interface DeleteAutoSnapshotCommandInput extends DeleteAutoSnapshotReques export interface DeleteAutoSnapshotCommandOutput extends DeleteAutoSnapshotResult, __MetadataBearer {} /** - *

                                                  Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.

                                                  + *

                                                  Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteBucketAccessKeyCommand.ts b/clients/client-lightsail/commands/DeleteBucketAccessKeyCommand.ts new file mode 100644 index 0000000000000..618a7d15f2361 --- /dev/null +++ b/clients/client-lightsail/commands/DeleteBucketAccessKeyCommand.ts @@ -0,0 +1,99 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { DeleteBucketAccessKeyRequest, DeleteBucketAccessKeyResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteBucketAccessKeyCommand, + serializeAws_json1_1DeleteBucketAccessKeyCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DeleteBucketAccessKeyCommandInput extends DeleteBucketAccessKeyRequest {} +export interface DeleteBucketAccessKeyCommandOutput extends DeleteBucketAccessKeyResult, __MetadataBearer {} + +/** + *

                                                  Deletes an access key for the specified Amazon Lightsail bucket.

                                                  + * + *

                                                  We recommend that you delete an access key if the secret access key is compromised.

                                                  + * + *

                                                  For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, DeleteBucketAccessKeyCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, DeleteBucketAccessKeyCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new DeleteBucketAccessKeyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteBucketAccessKeyCommandInput} for command's `input` shape. + * @see {@link DeleteBucketAccessKeyCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteBucketAccessKeyCommand extends $Command< + DeleteBucketAccessKeyCommandInput, + DeleteBucketAccessKeyCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteBucketAccessKeyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "DeleteBucketAccessKeyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteBucketAccessKeyRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteBucketAccessKeyResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteBucketAccessKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteBucketAccessKeyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteBucketAccessKeyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/DeleteBucketCommand.ts b/clients/client-lightsail/commands/DeleteBucketCommand.ts new file mode 100644 index 0000000000000..2a4892c7bca34 --- /dev/null +++ b/clients/client-lightsail/commands/DeleteBucketCommand.ts @@ -0,0 +1,99 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { DeleteBucketRequest, DeleteBucketResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteBucketCommand, + serializeAws_json1_1DeleteBucketCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DeleteBucketCommandInput extends DeleteBucketRequest {} +export interface DeleteBucketCommandOutput extends DeleteBucketResult, __MetadataBearer {} + +/** + *

                                                  Deletes a Amazon Lightsail bucket.

                                                  + * + * + *

                                                  When you delete your bucket, the bucket name is released and can be reused for a new + * bucket in your account or another AWS account.

                                                  + *
                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, DeleteBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, DeleteBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new DeleteBucketCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteBucketCommandInput} for command's `input` shape. + * @see {@link DeleteBucketCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteBucketCommand extends $Command< + DeleteBucketCommandInput, + DeleteBucketCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteBucketCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "DeleteBucketCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteBucketRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteBucketResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteBucketCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteBucketCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteBucketCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/DeleteDiskCommand.ts b/clients/client-lightsail/commands/DeleteDiskCommand.ts index 097c50e567981..c2a93f174aa12 100644 --- a/clients/client-lightsail/commands/DeleteDiskCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskCommand.ts @@ -28,7 +28,7 @@ export interface DeleteDiskCommandOutput extends DeleteDiskResult, __MetadataBea * *

                                                  The delete disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts index b3e62735c3ea5..a0a09ab31c0fe 100644 --- a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts @@ -29,7 +29,7 @@ export interface DeleteDiskSnapshotCommandOutput extends DeleteDiskSnapshotResul * to all the information needed to restore the disk.

                                                  *

                                                  The delete disk snapshot operation supports tag-based access control via * resource tags applied to the resource identified by disk snapshot name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteDomainCommand.ts b/clients/client-lightsail/commands/DeleteDomainCommand.ts index a5aec325045f4..ef7c2a93e3cf8 100644 --- a/clients/client-lightsail/commands/DeleteDomainCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainCommand.ts @@ -24,7 +24,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat *

                                                  Deletes the specified domain recordset and all of its domain records.

                                                  *

                                                  The delete domain operation supports tag-based access control via resource * tags applied to the resource identified by domain name. For more information, see - * the Lightsail Dev Guide.

                                                  + * the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts index 2ff10340d3302..26626cfeca9dc 100644 --- a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts @@ -24,7 +24,7 @@ export interface DeleteDomainEntryCommandOutput extends DeleteDomainEntryResult, *

                                                  Deletes a specific domain entry.

                                                  *

                                                  The delete domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteInstanceCommand.ts b/clients/client-lightsail/commands/DeleteInstanceCommand.ts index f1cee79b01467..6398b37585395 100644 --- a/clients/client-lightsail/commands/DeleteInstanceCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceCommand.ts @@ -24,7 +24,7 @@ export interface DeleteInstanceCommandOutput extends DeleteInstanceResult, __Met *

                                                  Deletes an Amazon Lightsail instance.

                                                  *

                                                  The delete instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts index 28d20b80fb375..3fff362e72c45 100644 --- a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts @@ -25,7 +25,7 @@ export interface DeleteInstanceSnapshotCommandOutput extends DeleteInstanceSnaps * instance).

                                                  *

                                                  The delete instance snapshot operation supports tag-based access control via * resource tags applied to the resource identified by instance snapshot name. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts index aafebfde498f9..8271357bf3f30 100644 --- a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts +++ b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts @@ -24,7 +24,7 @@ export interface DeleteKeyPairCommandOutput extends DeleteKeyPairResult, __Metad *

                                                  Deletes a specific SSH key pair.

                                                  *

                                                  The delete key pair operation supports tag-based access control via resource * tags applied to the resource identified by key pair name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts index 7902048817334..ddc8aa64fbe67 100644 --- a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts +++ b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts @@ -27,7 +27,7 @@ export interface DeleteKnownHostKeysCommandOutput extends DeleteKnownHostKeysRes * *

                                                  Perform this operation only if you were expecting the host key or certificate mismatch * or if you are familiar with the new host key or certificate on the instance. For more - * information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP + * information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP * client.

                                                  *
                                                  * @example diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts index 151c28d725c58..3d93704d12a71 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts @@ -26,7 +26,7 @@ export interface DeleteLoadBalancerCommandOutput extends DeleteLoadBalancerResul * certificate, and verify domain ownership again.

                                                  *

                                                  The delete load balancer operation supports tag-based access control via * resource tags applied to the resource identified by load balancer name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts index dca492ce3d59f..b7eecdaa8d696 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts @@ -26,7 +26,7 @@ export interface DeleteLoadBalancerTlsCertificateCommandOutput *

                                                  Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                                                  *

                                                  The DeleteLoadBalancerTlsCertificate operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts index f94b016064a40..ddcf5bfd78225 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts @@ -24,7 +24,7 @@ export interface DeleteRelationalDatabaseCommandOutput extends DeleteRelationalD *

                                                  Deletes a database in Amazon Lightsail.

                                                  *

                                                  The delete relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts index 4686f75ec573d..9ce7fe8277e3a 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts @@ -26,7 +26,7 @@ export interface DeleteRelationalDatabaseSnapshotCommandOutput *

                                                  Deletes a database snapshot in Amazon Lightsail.

                                                  *

                                                  The delete relational database snapshot operation supports tag-based access * control via resource tags applied to the resource identified by relationalDatabaseName. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DetachDiskCommand.ts b/clients/client-lightsail/commands/DetachDiskCommand.ts index d6a7cfe08a3dd..1d8624870c71e 100644 --- a/clients/client-lightsail/commands/DetachDiskCommand.ts +++ b/clients/client-lightsail/commands/DetachDiskCommand.ts @@ -26,7 +26,7 @@ export interface DetachDiskCommandOutput extends DetachDiskResult, __MetadataBea * detaching the disk.

                                                  *

                                                  The detach disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the - * Lightsail Dev Guide.

                                                  + * Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts index 3f398b83866a8..9282a19d006e1 100644 --- a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts @@ -28,7 +28,7 @@ export interface DetachInstancesFromLoadBalancerCommandOutput * from the load balancer.

                                                  *

                                                  The detach instances from load balancer operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/DisableAddOnCommand.ts b/clients/client-lightsail/commands/DisableAddOnCommand.ts index aef30d0c7d233..cb8972fc8a93a 100644 --- a/clients/client-lightsail/commands/DisableAddOnCommand.ts +++ b/clients/client-lightsail/commands/DisableAddOnCommand.ts @@ -21,7 +21,7 @@ export interface DisableAddOnCommandInput extends DisableAddOnRequest {} export interface DisableAddOnCommandOutput extends DisableAddOnResult, __MetadataBearer {} /** - *

                                                  Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.

                                                  + *

                                                  Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/EnableAddOnCommand.ts b/clients/client-lightsail/commands/EnableAddOnCommand.ts index ba4887e6ad0b3..efc0b04fb9168 100644 --- a/clients/client-lightsail/commands/EnableAddOnCommand.ts +++ b/clients/client-lightsail/commands/EnableAddOnCommand.ts @@ -22,7 +22,7 @@ export interface EnableAddOnCommandOutput extends EnableAddOnResult, __MetadataB /** *

                                                  Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see - * the Lightsail Dev Guide.

                                                  + * the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/ExportSnapshotCommand.ts b/clients/client-lightsail/commands/ExportSnapshotCommand.ts index b324b7de18537..826a3d7a38db8 100644 --- a/clients/client-lightsail/commands/ExportSnapshotCommand.ts +++ b/clients/client-lightsail/commands/ExportSnapshotCommand.ts @@ -31,7 +31,7 @@ export interface ExportSnapshotCommandOutput extends ExportSnapshotResult, __Met *

                                                  *

                                                  The export snapshot operation supports tag-based access control via resource * tags applied to the resource identified by source snapshot name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * *

                                                  Use the get instance snapshots or get disk snapshots * operations to get a list of snapshots that you can export to Amazon EC2.

                                                  diff --git a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts index c9474f6a7fe0b..7bef178687e5f 100644 --- a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts @@ -22,7 +22,7 @@ export interface GetAutoSnapshotsCommandOutput extends GetAutoSnapshotsResult, _ /** *

                                                  Returns the available automatic snapshots for an instance or disk. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/GetBucketAccessKeysCommand.ts b/clients/client-lightsail/commands/GetBucketAccessKeysCommand.ts new file mode 100644 index 0000000000000..98309797a301d --- /dev/null +++ b/clients/client-lightsail/commands/GetBucketAccessKeysCommand.ts @@ -0,0 +1,100 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetBucketAccessKeysRequest, GetBucketAccessKeysResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetBucketAccessKeysCommand, + serializeAws_json1_1GetBucketAccessKeysCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetBucketAccessKeysCommandInput extends GetBucketAccessKeysRequest {} +export interface GetBucketAccessKeysCommandOutput extends GetBucketAccessKeysResult, __MetadataBearer {} + +/** + *

                                                  Returns the existing access key IDs for the specified Amazon Lightsail bucket.

                                                  + * + * + *

                                                  This action does not return the secret access key value of an access key. You can get a + * secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must + * create a new access key.

                                                  + *
                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, GetBucketAccessKeysCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, GetBucketAccessKeysCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new GetBucketAccessKeysCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetBucketAccessKeysCommandInput} for command's `input` shape. + * @see {@link GetBucketAccessKeysCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetBucketAccessKeysCommand extends $Command< + GetBucketAccessKeysCommandInput, + GetBucketAccessKeysCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBucketAccessKeysCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetBucketAccessKeysCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBucketAccessKeysRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBucketAccessKeysResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetBucketAccessKeysCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetBucketAccessKeysCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetBucketAccessKeysCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetBucketBundlesCommand.ts b/clients/client-lightsail/commands/GetBucketBundlesCommand.ts new file mode 100644 index 0000000000000..bb9ed3c90aa72 --- /dev/null +++ b/clients/client-lightsail/commands/GetBucketBundlesCommand.ts @@ -0,0 +1,100 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetBucketBundlesRequest, GetBucketBundlesResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetBucketBundlesCommand, + serializeAws_json1_1GetBucketBundlesCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetBucketBundlesCommandInput extends GetBucketBundlesRequest {} +export interface GetBucketBundlesCommandOutput extends GetBucketBundlesResult, __MetadataBearer {} + +/** + *

                                                  Returns the bundles that you can apply to a Amazon Lightsail bucket.

                                                  + * + *

                                                  The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a + * bucket.

                                                  + * + *

                                                  Use the UpdateBucketBundle action to update the bundle for a + * bucket.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, GetBucketBundlesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, GetBucketBundlesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new GetBucketBundlesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetBucketBundlesCommandInput} for command's `input` shape. + * @see {@link GetBucketBundlesCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetBucketBundlesCommand extends $Command< + GetBucketBundlesCommandInput, + GetBucketBundlesCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBucketBundlesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetBucketBundlesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBucketBundlesRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBucketBundlesResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetBucketBundlesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetBucketBundlesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetBucketBundlesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetBucketMetricDataCommand.ts b/clients/client-lightsail/commands/GetBucketMetricDataCommand.ts new file mode 100644 index 0000000000000..f72dc3254cacc --- /dev/null +++ b/clients/client-lightsail/commands/GetBucketMetricDataCommand.ts @@ -0,0 +1,98 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetBucketMetricDataRequest, GetBucketMetricDataResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetBucketMetricDataCommand, + serializeAws_json1_1GetBucketMetricDataCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetBucketMetricDataCommandInput extends GetBucketMetricDataRequest {} +export interface GetBucketMetricDataCommandOutput extends GetBucketMetricDataResult, __MetadataBearer {} + +/** + *

                                                  Returns the data points of a specific metric for an Amazon Lightsail bucket.

                                                  + * + *

                                                  Metrics report the utilization of a bucket. View and collect metric data regularly to + * monitor the number of objects stored in a bucket (including object versions) and the storage + * space used by those objects.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, GetBucketMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, GetBucketMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new GetBucketMetricDataCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetBucketMetricDataCommandInput} for command's `input` shape. + * @see {@link GetBucketMetricDataCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetBucketMetricDataCommand extends $Command< + GetBucketMetricDataCommandInput, + GetBucketMetricDataCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBucketMetricDataCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetBucketMetricDataCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBucketMetricDataRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBucketMetricDataResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetBucketMetricDataCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetBucketMetricDataCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetBucketMetricDataCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetBucketsCommand.ts b/clients/client-lightsail/commands/GetBucketsCommand.ts new file mode 100644 index 0000000000000..8fb9ec4c619c8 --- /dev/null +++ b/clients/client-lightsail/commands/GetBucketsCommand.ts @@ -0,0 +1,97 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetBucketsRequest, GetBucketsResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetBucketsCommand, + serializeAws_json1_1GetBucketsCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface GetBucketsCommandInput extends GetBucketsRequest {} +export interface GetBucketsCommandOutput extends GetBucketsResult, __MetadataBearer {} + +/** + *

                                                  Returns information about one or more Amazon Lightsail buckets.

                                                  + * + *

                                                  For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer + * Guide..

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, GetBucketsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, GetBucketsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new GetBucketsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetBucketsCommandInput} for command's `input` shape. + * @see {@link GetBucketsCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetBucketsCommand extends $Command< + GetBucketsCommandInput, + GetBucketsCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBucketsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetBucketsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBucketsRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBucketsResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetBucketsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetBucketsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetBucketsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts b/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts index 6268f8df9b053..828fb5313278e 100644 --- a/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts @@ -21,8 +21,8 @@ export interface GetDistributionBundlesCommandInput extends GetDistributionBundl export interface GetDistributionBundlesCommandOutput extends GetDistributionBundlesResult, __MetadataBearer {} /** - *

                                                  Returns the list bundles that can be applied to you Amazon Lightsail content delivery - * network (CDN) distributions.

                                                  + *

                                                  Returns the bundles that can be applied to your Amazon Lightsail content delivery network + * (CDN) distributions.

                                                  *

                                                  A distribution bundle specifies the monthly network transfer quota and monthly cost of * your dsitribution.

                                                  * @example diff --git a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts index ed11f3d38390c..a61f4d5e7f62f 100644 --- a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts +++ b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts @@ -21,10 +21,10 @@ export interface GetExportSnapshotRecordsCommandInput extends GetExportSnapshotR export interface GetExportSnapshotRecordsCommandOutput extends GetExportSnapshotRecordsResult, __MetadataBearer {} /** - *

                                                  Returns the export snapshot record created as a result of the export snapshot - * operation.

                                                  + *

                                                  Returns all export snapshot records created as a result of the export + * snapshot operation.

                                                  *

                                                  An export snapshot record can be used to create a new Amazon EC2 instance and its related - * resources with the create cloud formation stack operation.

                                                  + * resources with the CreateCloudFormationStack action.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts index 0c4da70399c12..a675af1055f41 100644 --- a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceAccessDetailsRequest, GetInstanceAccessDetailsResult } from "../models/models_0"; +import { GetInstanceAccessDetailsRequest, GetInstanceAccessDetailsResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceAccessDetailsCommand, serializeAws_json1_1GetInstanceAccessDetailsCommand, @@ -25,7 +25,7 @@ export interface GetInstanceAccessDetailsCommandOutput extends GetInstanceAccess * instance.

                                                  *

                                                  The get instance access details operation supports tag-based access control * via resource tags applied to the resource identified by instance name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/GetInstanceCommand.ts b/clients/client-lightsail/commands/GetInstanceCommand.ts index 5d711b70f2dd4..4ec2a94325536 100644 --- a/clients/client-lightsail/commands/GetInstanceCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceCommand.ts @@ -1,5 +1,6 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceRequest, GetInstanceResult } from "../models/models_0"; +import { GetInstanceRequest } from "../models/models_0"; +import { GetInstanceResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceCommand, serializeAws_json1_1GetInstanceCommand, diff --git a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts index 8cdb8343c703f..bcb67fbdbacf3 100644 --- a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceMetricDataRequest, GetInstanceMetricDataResult } from "../models/models_0"; +import { GetInstanceMetricDataRequest, GetInstanceMetricDataResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceMetricDataCommand, serializeAws_json1_1GetInstanceMetricDataCommand, diff --git a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts index c56039212e9ad..829aafb7a789d 100644 --- a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstancePortStatesRequest, GetInstancePortStatesResult } from "../models/models_0"; +import { GetInstancePortStatesRequest, GetInstancePortStatesResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstancePortStatesCommand, serializeAws_json1_1GetInstancePortStatesCommand, diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts index 0da55154047df..cf53171c356c1 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceSnapshotRequest, GetInstanceSnapshotResult } from "../models/models_0"; +import { GetInstanceSnapshotRequest, GetInstanceSnapshotResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceSnapshotCommand, serializeAws_json1_1GetInstanceSnapshotCommand, diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts index 1e0a828059801..f460fad1bcc11 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceSnapshotsRequest, GetInstanceSnapshotsResult } from "../models/models_0"; +import { GetInstanceSnapshotsRequest, GetInstanceSnapshotsResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceSnapshotsCommand, serializeAws_json1_1GetInstanceSnapshotsCommand, diff --git a/clients/client-lightsail/commands/GetInstanceStateCommand.ts b/clients/client-lightsail/commands/GetInstanceStateCommand.ts index af627930ac7a6..09101556f2dfb 100644 --- a/clients/client-lightsail/commands/GetInstanceStateCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceStateCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstanceStateRequest, GetInstanceStateResult } from "../models/models_0"; +import { GetInstanceStateRequest, GetInstanceStateResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstanceStateCommand, serializeAws_json1_1GetInstanceStateCommand, diff --git a/clients/client-lightsail/commands/GetInstancesCommand.ts b/clients/client-lightsail/commands/GetInstancesCommand.ts index b9bdf5307ecba..50be120ce492c 100644 --- a/clients/client-lightsail/commands/GetInstancesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancesCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetInstancesRequest, GetInstancesResult } from "../models/models_0"; +import { GetInstancesRequest, GetInstancesResult } from "../models/models_1"; import { deserializeAws_json1_1GetInstancesCommand, serializeAws_json1_1GetInstancesCommand, diff --git a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts index c9e019315b124..863bd4c183419 100644 --- a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts @@ -25,7 +25,7 @@ export interface OpenInstancePublicPortsCommandOutput extends OpenInstancePublic * allowed to connect to the instance through the ports, and the protocol.

                                                  *

                                                  The OpenInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/PeerVpcCommand.ts b/clients/client-lightsail/commands/PeerVpcCommand.ts index 7840473ad7d34..c0ef75442f0f8 100644 --- a/clients/client-lightsail/commands/PeerVpcCommand.ts +++ b/clients/client-lightsail/commands/PeerVpcCommand.ts @@ -18,7 +18,7 @@ export interface PeerVpcCommandInput extends PeerVpcRequest {} export interface PeerVpcCommandOutput extends PeerVpcResult, __MetadataBearer {} /** - *

                                                  Tries to peer the Lightsail VPC with the user's default VPC.

                                                  + *

                                                  Peers the Lightsail VPC with the user's default VPC.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts index 7b539dc57002c..b158a8f76d0d1 100644 --- a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts @@ -29,7 +29,7 @@ export interface PutInstancePublicPortsCommandOutput extends PutInstancePublicPo * ports.

                                                  *

                                                  The PutInstancePublicPorts action supports tag-based access control via * resource tags applied to the resource identified by instanceName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/RebootInstanceCommand.ts b/clients/client-lightsail/commands/RebootInstanceCommand.ts index a7d89c0e95f6c..38a87dc67d234 100644 --- a/clients/client-lightsail/commands/RebootInstanceCommand.ts +++ b/clients/client-lightsail/commands/RebootInstanceCommand.ts @@ -24,7 +24,7 @@ export interface RebootInstanceCommandOutput extends RebootInstanceResult, __Met *

                                                  Restarts a specific instance.

                                                  *

                                                  The reboot instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts index bf41685eae65b..7a8ea5e14bde2 100644 --- a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts @@ -24,7 +24,7 @@ export interface RebootRelationalDatabaseCommandOutput extends RebootRelationalD *

                                                  Restarts a specific database in Amazon Lightsail.

                                                  *

                                                  The reboot relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/RegisterContainerImageCommand.ts b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts index 9eb24ac00233f..6f0a436894f30 100644 --- a/clients/client-lightsail/commands/RegisterContainerImageCommand.ts +++ b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts @@ -27,7 +27,7 @@ export interface RegisterContainerImageCommandOutput extends RegisterContainerIm *

                                                  This action is not required if you install and use the Lightsail Control * (lightsailctl) plugin to push container images to your Lightsail container service. For * more information, see Pushing and managing container images on your Amazon Lightsail container services - * in the Lightsail Dev Guide.

                                                  + * in the Amazon Lightsail Developer Guide.

                                                  *
                                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-lightsail/commands/SetResourceAccessForBucketCommand.ts b/clients/client-lightsail/commands/SetResourceAccessForBucketCommand.ts new file mode 100644 index 0000000000000..a300b9a8637ea --- /dev/null +++ b/clients/client-lightsail/commands/SetResourceAccessForBucketCommand.ts @@ -0,0 +1,101 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { SetResourceAccessForBucketRequest, SetResourceAccessForBucketResult } from "../models/models_1"; +import { + deserializeAws_json1_1SetResourceAccessForBucketCommand, + serializeAws_json1_1SetResourceAccessForBucketCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface SetResourceAccessForBucketCommandInput extends SetResourceAccessForBucketRequest {} +export interface SetResourceAccessForBucketCommandOutput extends SetResourceAccessForBucketResult, __MetadataBearer {} + +/** + *

                                                  Sets the Amazon Lightsail resources that can access the specified Lightsail + * bucket.

                                                  + * + *

                                                  Lightsail buckets currently support setting access for Lightsail instances in the same + * AWS Region.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, SetResourceAccessForBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, SetResourceAccessForBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new SetResourceAccessForBucketCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link SetResourceAccessForBucketCommandInput} for command's `input` shape. + * @see {@link SetResourceAccessForBucketCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class SetResourceAccessForBucketCommand extends $Command< + SetResourceAccessForBucketCommandInput, + SetResourceAccessForBucketCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: SetResourceAccessForBucketCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "SetResourceAccessForBucketCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: SetResourceAccessForBucketRequest.filterSensitiveLog, + outputFilterSensitiveLog: SetResourceAccessForBucketResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: SetResourceAccessForBucketCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1SetResourceAccessForBucketCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1SetResourceAccessForBucketCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/StartInstanceCommand.ts b/clients/client-lightsail/commands/StartInstanceCommand.ts index a7ee70303c896..0869a5c982bef 100644 --- a/clients/client-lightsail/commands/StartInstanceCommand.ts +++ b/clients/client-lightsail/commands/StartInstanceCommand.ts @@ -26,11 +26,11 @@ export interface StartInstanceCommandOutput extends StartInstanceResult, __Metad * *

                                                  When you start a stopped instance, Lightsail assigns a new public IP address to the * instance. To use the same IP address after stopping and starting an instance, create a - * static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                  + * static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                  *
                                                  *

                                                  The start instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts index a99cf94981ee6..9aa76826e5912 100644 --- a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts @@ -25,7 +25,7 @@ export interface StartRelationalDatabaseCommandOutput extends StartRelationalDat * use the reboot relational database operation.

                                                  *

                                                  The start relational database operation supports tag-based access control via * resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/StopInstanceCommand.ts b/clients/client-lightsail/commands/StopInstanceCommand.ts index 1a9b4a301ad22..075193c8bffe4 100644 --- a/clients/client-lightsail/commands/StopInstanceCommand.ts +++ b/clients/client-lightsail/commands/StopInstanceCommand.ts @@ -25,11 +25,11 @@ export interface StopInstanceCommandOutput extends StopInstanceResult, __Metadat * *

                                                  When you start a stopped instance, Lightsail assigns a new public IP address to the * instance. To use the same IP address after stopping and starting an instance, create a - * static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                  + * static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                  *
                                                  *

                                                  The stop instance operation supports tag-based access control via resource * tags applied to the resource identified by instance name. For more information, - * see the Lightsail Dev Guide.

                                                  + * see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts index 56def2430132f..4b14895adeb99 100644 --- a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts @@ -24,7 +24,7 @@ export interface StopRelationalDatabaseCommandOutput extends StopRelationalDatab *

                                                  Stops a specific database that is currently running in Amazon Lightsail.

                                                  *

                                                  The stop relational database operation supports tag-based access control via * resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/TagResourceCommand.ts b/clients/client-lightsail/commands/TagResourceCommand.ts index 63d0e2247d404..e1b3f066e9228 100644 --- a/clients/client-lightsail/commands/TagResourceCommand.ts +++ b/clients/client-lightsail/commands/TagResourceCommand.ts @@ -23,11 +23,10 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB /** *

                                                  Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a * maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique - * per resource. For more information about tags, see the Lightsail - * Dev Guide.

                                                  + * per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

                                                  *

                                                  The tag resource operation supports tag-based access control via request tags * and resource tags applied to the resource identified by resource name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UnpeerVpcCommand.ts b/clients/client-lightsail/commands/UnpeerVpcCommand.ts index e3c5d716fa720..fd54a22ec7f52 100644 --- a/clients/client-lightsail/commands/UnpeerVpcCommand.ts +++ b/clients/client-lightsail/commands/UnpeerVpcCommand.ts @@ -18,7 +18,7 @@ export interface UnpeerVpcCommandInput extends UnpeerVpcRequest {} export interface UnpeerVpcCommandOutput extends UnpeerVpcResult, __MetadataBearer {} /** - *

                                                  Attempts to unpeer the Lightsail VPC from the user's default VPC.

                                                  + *

                                                  Unpeers the Lightsail VPC from the user's default VPC.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UntagResourceCommand.ts b/clients/client-lightsail/commands/UntagResourceCommand.ts index ee8d4e9f0784d..45c478da8e42b 100644 --- a/clients/client-lightsail/commands/UntagResourceCommand.ts +++ b/clients/client-lightsail/commands/UntagResourceCommand.ts @@ -25,7 +25,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad * resource.

                                                  *

                                                  The untag resource operation supports tag-based access control via request * tags and resource tags applied to the resource identified by resource name. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UpdateBucketBundleCommand.ts b/clients/client-lightsail/commands/UpdateBucketBundleCommand.ts new file mode 100644 index 0000000000000..05e4c93c5114d --- /dev/null +++ b/clients/client-lightsail/commands/UpdateBucketBundleCommand.ts @@ -0,0 +1,108 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { UpdateBucketBundleRequest, UpdateBucketBundleResult } from "../models/models_1"; +import { + deserializeAws_json1_1UpdateBucketBundleCommand, + serializeAws_json1_1UpdateBucketBundleCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface UpdateBucketBundleCommandInput extends UpdateBucketBundleRequest {} +export interface UpdateBucketBundleCommandOutput extends UpdateBucketBundleResult, __MetadataBearer {} + +/** + *

                                                  Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.

                                                  + * + *

                                                  A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a + * bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To + * determine if you can update a bucket's bundle, use the GetBuckets action. + * The ableToUpdateBundle parameter in the response will indicate whether you can + * currently update a bucket's bundle.

                                                  + * + *

                                                  Update a bucket's bundle if it's consistently going over its storage space or data + * transfer quota, or if a bucket's usage is consistently in the lower range of its storage space + * or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might + * experience, we strongly recommend that you update a bucket's bundle only as a long-term + * strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle + * that will provide the bucket with ample storage space and data transfer for a long time to + * come.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, UpdateBucketBundleCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, UpdateBucketBundleCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new UpdateBucketBundleCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateBucketBundleCommandInput} for command's `input` shape. + * @see {@link UpdateBucketBundleCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateBucketBundleCommand extends $Command< + UpdateBucketBundleCommandInput, + UpdateBucketBundleCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateBucketBundleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "UpdateBucketBundleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateBucketBundleRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateBucketBundleResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateBucketBundleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateBucketBundleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateBucketBundleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/UpdateBucketCommand.ts b/clients/client-lightsail/commands/UpdateBucketCommand.ts new file mode 100644 index 0000000000000..6ee62d8fcce8b --- /dev/null +++ b/clients/client-lightsail/commands/UpdateBucketCommand.ts @@ -0,0 +1,97 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { UpdateBucketRequest, UpdateBucketResult } from "../models/models_1"; +import { + deserializeAws_json1_1UpdateBucketCommand, + serializeAws_json1_1UpdateBucketCommand, +} from "../protocols/Aws_json1_1"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface UpdateBucketCommandInput extends UpdateBucketRequest {} +export interface UpdateBucketCommandOutput extends UpdateBucketResult, __MetadataBearer {} + +/** + *

                                                  Updates an existing Amazon Lightsail bucket.

                                                  + * + *

                                                  Use this action to update the configuration of an existing bucket, such as versioning, + * public accessibility, and the AWS accounts that can access the bucket.

                                                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LightsailClient, UpdateBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import + * // const { LightsailClient, UpdateBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import + * const client = new LightsailClient(config); + * const command = new UpdateBucketCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateBucketCommandInput} for command's `input` shape. + * @see {@link UpdateBucketCommandOutput} for command's `response` shape. + * @see {@link LightsailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateBucketCommand extends $Command< + UpdateBucketCommandInput, + UpdateBucketCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateBucketCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "UpdateBucketCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateBucketRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateBucketResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateBucketCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateBucketCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateBucketCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/UpdateDistributionCommand.ts b/clients/client-lightsail/commands/UpdateDistributionCommand.ts index 35adec6fc8fe7..89eaa1d8316bf 100644 --- a/clients/client-lightsail/commands/UpdateDistributionCommand.ts +++ b/clients/client-lightsail/commands/UpdateDistributionCommand.ts @@ -22,7 +22,7 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul /** *

                                                  Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                                                  - *

                                                  Use this action to update the configuration of your existing distribution

                                                  + *

                                                  Use this action to update the configuration of your existing distribution.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts index e235e085ddecf..fe36ef7e2b97f 100644 --- a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts @@ -24,7 +24,7 @@ export interface UpdateDomainEntryCommandOutput extends UpdateDomainEntryResult, *

                                                  Updates a domain recordset after it is created.

                                                  *

                                                  The update domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts index b165378d5cb8a..e35c43d8ec409 100644 --- a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts +++ b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts @@ -25,7 +25,7 @@ export interface UpdateLoadBalancerAttributeCommandOutput extends UpdateLoadBala * a time.

                                                  *

                                                  The update load balancer attribute operation supports tag-based access * control via resource tags applied to the resource identified by load balancer - * name. For more information, see the Lightsail Dev Guide.

                                                  + * name. For more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts index fc563b8853c1c..d4249418dcddb 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts @@ -26,7 +26,7 @@ export interface UpdateRelationalDatabaseCommandOutput extends UpdateRelationalD * are applied during the database's predefined maintenance window.

                                                  *

                                                  The update relational database operation supports tag-based access control * via resource tags applied to the resource identified by relationalDatabaseName. For more - * information, see the Lightsail Dev Guide.

                                                  + * information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts index ae5b09b48335c..fdd16580983ee 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts @@ -35,7 +35,7 @@ export interface UpdateRelationalDatabaseParametersCommandOutput * the reboot relational database operation.

                                                  *

                                                  The update relational database parameters operation supports tag-based access * control via resource tags applied to the resource identified by relationalDatabaseName. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lightsail/index.ts b/clients/client-lightsail/index.ts index 5b3bb8350ebbc..55e7f90b3c386 100644 --- a/clients/client-lightsail/index.ts +++ b/clients/client-lightsail/index.ts @@ -8,6 +8,8 @@ export * from "./commands/AttachLoadBalancerTlsCertificateCommand"; export * from "./commands/AttachStaticIpCommand"; export * from "./commands/CloseInstancePublicPortsCommand"; export * from "./commands/CopySnapshotCommand"; +export * from "./commands/CreateBucketCommand"; +export * from "./commands/CreateBucketAccessKeyCommand"; export * from "./commands/CreateCertificateCommand"; export * from "./commands/CreateCloudFormationStackCommand"; export * from "./commands/CreateContactMethodCommand"; @@ -31,6 +33,8 @@ export * from "./commands/CreateRelationalDatabaseFromSnapshotCommand"; export * from "./commands/CreateRelationalDatabaseSnapshotCommand"; export * from "./commands/DeleteAlarmCommand"; export * from "./commands/DeleteAutoSnapshotCommand"; +export * from "./commands/DeleteBucketCommand"; +export * from "./commands/DeleteBucketAccessKeyCommand"; export * from "./commands/DeleteCertificateCommand"; export * from "./commands/DeleteContactMethodCommand"; export * from "./commands/DeleteContainerImageCommand"; @@ -60,6 +64,10 @@ export * from "./commands/GetActiveNamesCommand"; export * from "./commands/GetAlarmsCommand"; export * from "./commands/GetAutoSnapshotsCommand"; export * from "./commands/GetBlueprintsCommand"; +export * from "./commands/GetBucketAccessKeysCommand"; +export * from "./commands/GetBucketBundlesCommand"; +export * from "./commands/GetBucketMetricDataCommand"; +export * from "./commands/GetBucketsCommand"; export * from "./commands/GetBundlesCommand"; export * from "./commands/GetCertificatesCommand"; export * from "./commands/GetCloudFormationStackRecordsCommand"; @@ -127,6 +135,7 @@ export * from "./commands/ReleaseStaticIpCommand"; export * from "./commands/ResetDistributionCacheCommand"; export * from "./commands/SendContactMethodVerificationCommand"; export * from "./commands/SetIpAddressTypeCommand"; +export * from "./commands/SetResourceAccessForBucketCommand"; export * from "./commands/StartInstanceCommand"; export * from "./commands/StartRelationalDatabaseCommand"; export * from "./commands/StopInstanceCommand"; @@ -135,6 +144,8 @@ export * from "./commands/TagResourceCommand"; export * from "./commands/TestAlarmCommand"; export * from "./commands/UnpeerVpcCommand"; export * from "./commands/UntagResourceCommand"; +export * from "./commands/UpdateBucketCommand"; +export * from "./commands/UpdateBucketBundleCommand"; export * from "./commands/UpdateContainerServiceCommand"; export * from "./commands/UpdateDistributionCommand"; export * from "./commands/UpdateDistributionBundleCommand"; diff --git a/clients/client-lightsail/models/models_0.ts b/clients/client-lightsail/models/models_0.ts index b495acf11e747..ec870632a5a11 100644 --- a/clients/client-lightsail/models/models_0.ts +++ b/clients/client-lightsail/models/models_0.ts @@ -28,6 +28,154 @@ export enum AccessDirection { outbound = "outbound", } +export enum StatusType { + Active = "Active", + Inactive = "Inactive", +} + +/** + *

                                                  Describes an access key for an Amazon Lightsail bucket.

                                                  + * + *

                                                  Access keys grant full programmatic access to the specified bucket and its objects. You + * can have a maximum of two access keys per bucket. Use the CreateBucketAccessKey action to create an access key for a specific bucket. For + * more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  + * + * + *

                                                  The secretAccessKey value is returned only in response to the + * CreateBucketAccessKey action. You can get a secret access key only when you + * first create an access key; you cannot get the secret access key later. If you lose the + * secret access key, you must create a new access key.

                                                  + *
                                                  + */ +export interface AccessKey { + /** + *

                                                  The ID of the access key.

                                                  + */ + accessKeyId?: string; + + /** + *

                                                  The secret access key used to sign requests.

                                                  + * + *

                                                  You should store the secret access key in a safe location. We recommend that you delete + * the access key if the secret access key is compromised.

                                                  + */ + secretAccessKey?: string; + + /** + *

                                                  The status of the access key.

                                                  + * + *

                                                  A status of Active means that the key is valid, while Inactive + * means it is not.

                                                  + */ + status?: StatusType | string; + + /** + *

                                                  The timestamp when the access key was created.

                                                  + */ + createdAt?: Date; +} + +export namespace AccessKey { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AccessKey): any => ({ + ...obj, + ...(obj.accessKeyId && { accessKeyId: SENSITIVE_STRING }), + }); +} + +/** + *

                                                  Describes an Amazon Lightsail instance that has access to a Lightsail bucket.

                                                  + */ +export interface ResourceReceivingAccess { + /** + *

                                                  The name of the Lightsail instance.

                                                  + */ + name?: string; + + /** + *

                                                  The Lightsail resource type (for example, Instance).

                                                  + */ + resourceType?: string; +} + +export namespace ResourceReceivingAccess { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResourceReceivingAccess): any => ({ + ...obj, + }); +} + +export enum AccessType { + Private = "private", + Public = "public", +} + +/** + *

                                                  Describes the anonymous access permissions for an Amazon Lightsail bucket and its + * objects.

                                                  + *

                                                  For more information about bucket access permissions, see Understanding bucket permissions in Amazon Lightsail in the

                                                  + *

                                                  + * Amazon Lightsail Developer Guide.

                                                  + */ +export interface AccessRules { + /** + *

                                                  Specifies the anonymous access to all objects in a bucket.

                                                  + * + *

                                                  The following options can be specified:

                                                  + * + *
                                                    + *
                                                  • + *

                                                    + * public - Sets all objects in the bucket to public (read-only), making + * them readable by anyone in the world.

                                                    + * + * + *

                                                    If the getObject value is set to public, then all objects in + * the bucket default to public regardless of the allowPublicOverrides + * value.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * private - Sets all objects in the bucket to private, making them readable + * only by you or anyone you give access to.

                                                    + * + * + *

                                                    If the getObject value is set to private, and the + * allowPublicOverrides value is set to true, then all objects in + * the bucket default to private unless they are configured with a public-read + * ACL. Individual objects with a public-read ACL are readable by anyone in the + * world.

                                                    + *
                                                  • + *
                                                  + */ + getObject?: AccessType | string; + + /** + *

                                                  A Boolean value that indicates whether the access control list (ACL) permissions that are + * applied to individual objects override the getObject option that is currently + * specified.

                                                  + * + *

                                                  When this is true, you can use the PutObjectAcl Amazon S3 API action to set + * individual objects to public (read-only) using the public-read ACL, or to private + * using the private ACL.

                                                  + */ + allowPublicOverrides?: boolean; +} + +export namespace AccessRules { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AccessRules): any => ({ + ...obj, + }); +} + /** *

                                                  Lightsail throws this exception when an account is still in the setup in progress * state.

                                                  @@ -211,6 +359,7 @@ export enum RegionName { AP_SOUTH_1 = "ap-south-1", CA_CENTRAL_1 = "ca-central-1", EU_CENTRAL_1 = "eu-central-1", + EU_NORTH_1 = "eu-north-1", EU_WEST_1 = "eu-west-1", EU_WEST_2 = "eu-west-2", EU_WEST_3 = "eu-west-3", @@ -274,6 +423,7 @@ export enum MetricName { export enum ResourceType { Alarm = "Alarm", + Bucket = "Bucket", Certificate = "Certificate", CloudFormationStackRecord = "CloudFormationStackRecord", ContactMethod = "ContactMethod", @@ -381,9 +531,8 @@ export enum MetricUnit { /** *

                                                  Describes an alarm.

                                                  - *

                                                  An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, - * see Alarms - * in Amazon Lightsail.

                                                  + *

                                                  An alarm is a way to monitor your Lightsail resource metrics. For more information, see + * Alarms in Amazon Lightsail.

                                                  */ export interface Alarm { /** @@ -594,6 +743,8 @@ export enum OperationType { AttachLoadBalancerTlsCertificate = "AttachLoadBalancerTlsCertificate", AttachStaticIp = "AttachStaticIp", CloseInstancePublicPorts = "CloseInstancePublicPorts", + CreateBucket = "CreateBucket", + CreateBucketAccessKey = "CreateBucketAccessKey", CreateCertificate = "CreateCertificate", CreateContactMethod = "CreateContactMethod", CreateContainerService = "CreateContainerService", @@ -613,6 +764,8 @@ export enum OperationType { CreateRelationalDatabaseFromSnapshot = "CreateRelationalDatabaseFromSnapshot", CreateRelationalDatabaseSnapshot = "CreateRelationalDatabaseSnapshot", DeleteAlarm = "DeleteAlarm", + DeleteBucket = "DeleteBucket", + DeleteBucketAccessKey = "DeleteBucketAccessKey", DeleteCertificate = "DeleteCertificate", DeleteContactMethod = "DeleteContactMethod", DeleteContainerImage = "DeleteContainerImage", @@ -647,11 +800,14 @@ export enum OperationType { ResetDistributionCache = "ResetDistributionCache", SendContactMethodVerification = "SendContactMethodVerification", SetIpAddressType = "SetIpAddressType", + SetResourceAccessForBucket = "SetResourceAccessForBucket", StartInstance = "StartInstance", StartRelationalDatabase = "StartRelationalDatabase", StopInstance = "StopInstance", StopRelationalDatabase = "StopRelationalDatabase", TestAlarm = "TestAlarm", + UpdateBucket = "UpdateBucket", + UpdateBucketBundle = "UpdateBucketBundle", UpdateContainerService = "UpdateContainerService", UpdateDistribution = "UpdateDistribution", UpdateDistributionBundle = "UpdateDistributionBundle", @@ -1305,155 +1461,401 @@ export namespace Blueprint { } /** - *

                                                  Describes a bundle, which is a set of specs describing your virtual private server (or - * instance).

                                                  + *

                                                  Describes the state of an Amazon Lightsail bucket.

                                                  */ -export interface Bundle { +export interface BucketState { /** - *

                                                  The price in US dollars (e.g., 5.0) of the bundle.

                                                  + *

                                                  The state code of the bucket.

                                                  + * + *

                                                  The following codes are possible:

                                                  + * + *
                                                    + *
                                                  • + *

                                                    + * OK - The bucket is in a running state.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * Unknown - Creation of the bucket might have timed-out. You might want to + * delete the bucket and create a new one.

                                                    + *
                                                  • + *
                                                  */ - price?: number; + code?: string; /** - *

                                                  The number of vCPUs included in the bundle (e.g., 2).

                                                  + *

                                                  A message that describes the state of the bucket.

                                                  */ - cpuCount?: number; + message?: string; +} +export namespace BucketState { /** - *

                                                  The size of the SSD (e.g., 30).

                                                  + * @internal */ - diskSizeInGb?: number; + export const filterSensitiveLog = (obj: BucketState): any => ({ + ...obj, + }); +} +/** + *

                                                  Describes a tag key and optional value assigned to an Amazon Lightsail resource.

                                                  + *

                                                  For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

                                                  + */ +export interface Tag { /** - *

                                                  The bundle ID (e.g., micro_1_0).

                                                  + *

                                                  The key of the tag.

                                                  + *

                                                  Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the + * following characters: + - = . _ : / @

                                                  */ - bundleId?: string; + key?: string; /** - *

                                                  The Amazon EC2 instance type (e.g., t2.micro).

                                                  + *

                                                  The value of the tag.

                                                  + *

                                                  Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the + * following characters: + - = . _ : / @

                                                  */ - instanceType?: string; + value?: string; +} +export namespace Tag { /** - *

                                                  A Boolean value indicating whether the bundle is active.

                                                  + * @internal */ - isActive?: boolean; + export const filterSensitiveLog = (obj: Tag): any => ({ + ...obj, + }); +} +/** + *

                                                  Describes an Amazon Lightsail bucket.

                                                  + */ +export interface Bucket { /** - *

                                                  A friendly name for the bundle (e.g., Micro).

                                                  + *

                                                  The Lightsail resource type of the bucket (for example, Bucket).

                                                  */ - name?: string; + resourceType?: string; /** - *

                                                  A numeric value that represents the power of the bundle (e.g., 500). You can - * use the bundle's power value in conjunction with a blueprint's minimum power value to - * determine whether the blueprint will run on the bundle. For example, you need a bundle with a - * power value of 500 or more to create an instance that uses a blueprint with a minimum power - * value of 500.

                                                  + *

                                                  An object that describes the access rules of the bucket.

                                                  */ - power?: number; + accessRules?: AccessRules; /** - *

                                                  The amount of RAM in GB (e.g., 2.0).

                                                  + *

                                                  The Amazon Resource Name (ARN) of the bucket.

                                                  */ - ramSizeInGb?: number; + arn?: string; /** - *

                                                  The data transfer rate per month in GB (e.g., 2000).

                                                  + *

                                                  The ID of the bundle currently applied to the bucket.

                                                  + * + *

                                                  A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a + * bucket.

                                                  + * + *

                                                  Use the UpdateBucketBundle action to change the bundle of a + * bucket.

                                                  */ - transferPerMonthInGb?: number; + bundleId?: string; /** - *

                                                  The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle - * supports. You can only launch a WINDOWS bundle on a blueprint that supports the - * WINDOWS platform. LINUX_UNIX blueprints require a - * LINUX_UNIX bundle.

                                                  + *

                                                  The timestamp when the distribution was created.

                                                  */ - supportedPlatforms?: (InstancePlatform | string)[]; -} + createdAt?: Date; -export namespace Bundle { /** - * @internal + *

                                                  The URL of the bucket.

                                                  */ - export const filterSensitiveLog = (obj: Bundle): any => ({ - ...obj, - }); -} + url?: string; -/** - *

                                                  Describes the default cache behavior of an Amazon Lightsail content delivery network (CDN) - * distribution.

                                                  - */ -export interface CacheBehavior { /** - *

                                                  The cache behavior of the distribution.

                                                  - *

                                                  The following cache behaviors can be specified:

                                                  + *

                                                  Describes the resource location.

                                                  + */ + location?: ResourceLocation; + + /** + *

                                                  The name of the bucket.

                                                  + */ + name?: string; + + /** + *

                                                  The support code for a bucket. Include this code in your email to support when you have + * questions about a Lightsail bucket. This code enables our support team to look up your + * Lightsail information more easily.

                                                  + */ + supportCode?: string; + + /** + *

                                                  The tag keys and optional values for the bucket. For more information, see Tags in + * Amazon Lightsail in the Amazon Lightsail Developer Guide.

                                                  + */ + tags?: Tag[]; + + /** + *

                                                  Indicates whether object versioning is enabled for the bucket.

                                                  + * + *

                                                  The following options can be configured:

                                                  *
                                                    *
                                                  • *

                                                    - * - * cache - * - This option is best for static - * sites. When specified, your distribution caches and serves your entire website as static - * content. This behavior is ideal for websites with static content that doesn't change - * depending on who views it, or for websites that don't use cookies, headers, or query - * strings to personalize content.

                                                    + * Enabled - Object versioning is enabled.

                                                    *
                                                  • *
                                                  • *

                                                    - * - * dont-cache - * - This option is best for - * sites that serve a mix of static and dynamic content. When specified, your distribution - * caches and serve only the content that is specified in the distribution's - * CacheBehaviorPerPath parameter. This behavior is ideal for websites or web - * applications that use cookies, headers, and query strings to personalize content for - * individual users.

                                                    + * Suspended - Object versioning was previously enabled but is currently + * suspended. Existing object versions are retained.

                                                    + *
                                                  • + *
                                                  • + *

                                                    + * NeverEnabled - Object versioning has never been enabled.

                                                    *
                                                  • *
                                                  */ - behavior?: BehaviorEnum | string; + objectVersioning?: string; + + /** + *

                                                  Indicates whether the bundle that is currently applied to a bucket can be changed to + * another bundle.

                                                  + * + *

                                                  You can update a bucket's bundle only one time within a monthly AWS billing + * cycle.

                                                  + * + *

                                                  Use the UpdateBucketBundle action to change a bucket's bundle.

                                                  + */ + ableToUpdateBundle?: boolean; + + /** + *

                                                  An array of strings that specify the AWS account IDs that have read-only access to the + * bucket.

                                                  + */ + readonlyAccessAccounts?: string[]; + + /** + *

                                                  An array of objects that describe Lightsail instances that have access to the + * bucket.

                                                  + * + *

                                                  Use the SetResourceAccessForBucket action to update the instances that + * have access to a bucket.

                                                  + */ + resourcesReceivingAccess?: ResourceReceivingAccess[]; + + /** + *

                                                  An object that describes the state of the bucket.

                                                  + */ + state?: BucketState; } -export namespace CacheBehavior { +export namespace Bucket { /** * @internal */ - export const filterSensitiveLog = (obj: CacheBehavior): any => ({ + export const filterSensitiveLog = (obj: Bucket): any => ({ ...obj, }); } /** - *

                                                  Describes the per-path cache behavior of an Amazon Lightsail content delivery network (CDN) - * distribution.

                                                  - *

                                                  A per-path cache behavior is used to override, or add an exception to, the default cache - * behavior of a distribution. For example, if the cacheBehavior is set to - * cache, then a per-path cache behavior can be used to specify a directory, file, - * or file type that your distribution will cache. Alternately, if the distribution's - * cacheBehavior is dont-cache, then a per-path cache behavior can be - * used to specify a directory, file, or file type that your distribution will not cache.

                                                  - *

                                                  if the cacheBehavior's behavior is set to 'cache', then

                                                  + *

                                                  Describes the specifications of a bundle that can be applied to an Amazon Lightsail + * bucket.

                                                  + * + *

                                                  A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a + * bucket.

                                                  */ -export interface CacheBehaviorPerPath { +export interface BucketBundle { /** - *

                                                  The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify - * wildcard directories (path/to/assets/*), and file types (*.html, *jpg, - * *js). Directories and file paths are case-sensitive.

                                                  - *

                                                  Examples:

                                                  - *
                                                    - *
                                                  • - *

                                                    Specify the following to cache all files in the document root of an Apache web server - * running on a Lightsail instance.

                                                    - *

                                                    - * var/www/html/ - *

                                                    - *
                                                  • - *
                                                  • - *

                                                    Specify the following file to cache only the index page in the document root of an - * Apache web server.

                                                    - *

                                                    + *

                                                    The ID of the bundle.

                                                    + */ + bundleId?: string; + + /** + *

                                                    The name of the bundle.

                                                    + */ + name?: string; + + /** + *

                                                    The monthly price of the bundle, in US dollars.

                                                    + */ + price?: number; + + /** + *

                                                    The storage size of the bundle, in GB.

                                                    + */ + storagePerMonthInGb?: number; + + /** + *

                                                    The monthly network transfer quota of the bundle.

                                                    + */ + transferPerMonthInGb?: number; + + /** + *

                                                    Indicates whether the bundle is active. Use for a new or existing bucket.

                                                    + */ + isActive?: boolean; +} + +export namespace BucketBundle { + /** + * @internal + */ + export const filterSensitiveLog = (obj: BucketBundle): any => ({ + ...obj, + }); +} + +export enum BucketMetricName { + BucketSizeBytes = "BucketSizeBytes", + NumberOfObjects = "NumberOfObjects", +} + +/** + *

                                                    Describes a bundle, which is a set of specs describing your virtual private server (or + * instance).

                                                    + */ +export interface Bundle { + /** + *

                                                    The price in US dollars (e.g., 5.0) of the bundle.

                                                    + */ + price?: number; + + /** + *

                                                    The number of vCPUs included in the bundle (e.g., 2).

                                                    + */ + cpuCount?: number; + + /** + *

                                                    The size of the SSD (e.g., 30).

                                                    + */ + diskSizeInGb?: number; + + /** + *

                                                    The bundle ID (e.g., micro_1_0).

                                                    + */ + bundleId?: string; + + /** + *

                                                    The Amazon EC2 instance type (e.g., t2.micro).

                                                    + */ + instanceType?: string; + + /** + *

                                                    A Boolean value indicating whether the bundle is active.

                                                    + */ + isActive?: boolean; + + /** + *

                                                    A friendly name for the bundle (e.g., Micro).

                                                    + */ + name?: string; + + /** + *

                                                    A numeric value that represents the power of the bundle (e.g., 500). You can + * use the bundle's power value in conjunction with a blueprint's minimum power value to + * determine whether the blueprint will run on the bundle. For example, you need a bundle with a + * power value of 500 or more to create an instance that uses a blueprint with a minimum power + * value of 500.

                                                    + */ + power?: number; + + /** + *

                                                    The amount of RAM in GB (e.g., 2.0).

                                                    + */ + ramSizeInGb?: number; + + /** + *

                                                    The data transfer rate per month in GB (e.g., 2000).

                                                    + */ + transferPerMonthInGb?: number; + + /** + *

                                                    The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle + * supports. You can only launch a WINDOWS bundle on a blueprint that supports the + * WINDOWS platform. LINUX_UNIX blueprints require a + * LINUX_UNIX bundle.

                                                    + */ + supportedPlatforms?: (InstancePlatform | string)[]; +} + +export namespace Bundle { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Bundle): any => ({ + ...obj, + }); +} + +/** + *

                                                    Describes the default cache behavior of an Amazon Lightsail content delivery network (CDN) + * distribution.

                                                    + */ +export interface CacheBehavior { + /** + *

                                                    The cache behavior of the distribution.

                                                    + *

                                                    The following cache behaviors can be specified:

                                                    + *
                                                      + *
                                                    • + *

                                                      + * + * cache + * - This option is best for static + * sites. When specified, your distribution caches and serves your entire website as static + * content. This behavior is ideal for websites with static content that doesn't change + * depending on who views it, or for websites that don't use cookies, headers, or query + * strings to personalize content.

                                                      + *
                                                    • + *
                                                    • + *

                                                      + * + * dont-cache + * - This option is best for + * sites that serve a mix of static and dynamic content. When specified, your distribution + * caches and serve only the content that is specified in the distribution's + * CacheBehaviorPerPath parameter. This behavior is ideal for websites or web + * applications that use cookies, headers, and query strings to personalize content for + * individual users.

                                                      + *
                                                    • + *
                                                    + */ + behavior?: BehaviorEnum | string; +} + +export namespace CacheBehavior { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CacheBehavior): any => ({ + ...obj, + }); +} + +/** + *

                                                    Describes the per-path cache behavior of an Amazon Lightsail content delivery network (CDN) + * distribution.

                                                    + *

                                                    A per-path cache behavior is used to override, or add an exception to, the default cache + * behavior of a distribution. For example, if the cacheBehavior is set to + * cache, then a per-path cache behavior can be used to specify a directory, file, + * or file type that your distribution will cache. Alternately, if the distribution's + * cacheBehavior is dont-cache, then a per-path cache behavior can be + * used to specify a directory, file, or file type that your distribution will not cache.

                                                    + *

                                                    if the cacheBehavior's behavior is set to 'cache', then

                                                    + */ +export interface CacheBehaviorPerPath { + /** + *

                                                    The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify + * wildcard directories (path/to/assets/*), and file types (*.html, *jpg, + * *js). Directories and file paths are case-sensitive.

                                                    + *

                                                    Examples:

                                                    + *
                                                      + *
                                                    • + *

                                                      Specify the following to cache all files in the document root of an Apache web server + * running on a Lightsail instance.

                                                      + *

                                                      + * var/www/html/ + *

                                                      + *
                                                    • + *
                                                    • + *

                                                      Specify the following file to cache only the index page in the document root of an + * Apache web server.

                                                      + *

                                                      * var/www/html/index.html *

                                                      *
                                                    • @@ -1918,36 +2320,6 @@ export enum CertificateStatus { ValidationTimedOut = "VALIDATION_TIMED_OUT", } -/** - *

                                                      Describes a tag key and optional value assigned to an Amazon Lightsail resource.

                                                      - *

                                                      For more information about tags in Lightsail, see the Lightsail - * Dev Guide.

                                                      - */ -export interface Tag { - /** - *

                                                      The key of the tag.

                                                      - *

                                                      Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the - * following characters: + - = . _ : / @

                                                      - */ - key?: string; - - /** - *

                                                      The value of the tag.

                                                      - *

                                                      Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the - * following characters: + - = . _ : / @

                                                      - */ - value?: string; -} - -export namespace Tag { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Tag): any => ({ - ...obj, - }); -} - /** *

                                                      Describes the full details of an Amazon Lightsail SSL/TLS certificate.

                                                      * @@ -2121,8 +2493,7 @@ export interface Certificate { /** *

                                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                                      */ tags?: Tag[]; @@ -2169,8 +2540,7 @@ export interface CertificateSummary { /** *

                                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                                      */ tags?: Tag[]; } @@ -2439,7 +2809,7 @@ export enum RecordState { /** *

                                                      Describes a CloudFormation stack record created as a result of the create cloud - * formation stack operation.

                                                      + * formation stack action.

                                                      *

                                                      A CloudFormation stack record provides information about the AWS CloudFormation stack used to * create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.

                                                      */ @@ -2701,7 +3071,9 @@ export interface ContainerServiceHealthCheckConfig { /** *

                                                      The HTTP codes to use when checking for a successful response from a container. You can - * specify values between 200 and 499.

                                                      + * specify values between 200 and 499. You can specify multiple values + * (for example, 200,202) or a range of values (for example, + * 200-299).

                                                      */ successCodes?: string; } @@ -2973,8 +3345,7 @@ export interface ContainerService { /** *

                                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                                      */ tags?: Tag[]; @@ -3338,7 +3709,7 @@ export interface CopySnapshotRequest { * */ @@ -3359,7 +3730,7 @@ export interface CopySnapshotRequest { * *
                                                    • *

                                                      Define this parameter only when copying an automatic snapshot as a manual snapshot. - * For more information, see the Lightsail Dev Guide.

                                                      + * For more information, see the Amazon Lightsail Developer Guide.

                                                      *
                                                    • *
                                                    */ @@ -3377,7 +3748,7 @@ export interface CopySnapshotRequest { *
                                                  • *
                                                  • *

                                                    Define this parameter only when copying an automatic snapshot as a manual snapshot. - * For more information, see the Lightsail Dev Guide.

                                                    + * For more information, see the Amazon Lightsail Developer Guide.

                                                    *
                                                  • *
                                                  */ @@ -3420,47 +3791,60 @@ export namespace CopySnapshotResult { }); } -export interface CreateCertificateRequest { +export interface CreateBucketRequest { /** - *

                                                  The name for the certificate.

                                                  + *

                                                  The name for the bucket.

                                                  + * + *

                                                  For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer + * Guide.

                                                  */ - certificateName: string | undefined; + bucketName: string | undefined; /** - *

                                                  The domain name (e.g., example.com) for the certificate.

                                                  + *

                                                  The ID of the bundle to use for the bucket.

                                                  + * + *

                                                  A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a + * bucket.

                                                  + * + *

                                                  Use the GetBucketBundles action to get a list of bundle IDs that you can + * specify.

                                                  + * + *

                                                  Use the UpdateBucketBundle action to change the bundle after the bucket + * is created.

                                                  */ - domainName: string | undefined; + bundleId: string | undefined; /** - *

                                                  An array of strings that specify the alternate domains (e.g., example2.com) - * and subdomains (e.g., blog.example.com) for the certificate.

                                                  - *

                                                  You can specify a maximum of nine alternate domains (in addition to the primary domain - * name).

                                                  - *

                                                  Wildcard domain entries (e.g., *.example.com) are not supported.

                                                  + *

                                                  The tag keys and optional values to add to the bucket during creation.

                                                  + * + *

                                                  Use the TagResource action to tag the bucket after it's created.

                                                  */ - subjectAlternativeNames?: string[]; + tags?: Tag[]; /** - *

                                                  The tag keys and optional values to add to the certificate during create.

                                                  - *

                                                  Use the TagResource action to tag a resource after it's created.

                                                  + *

                                                  A Boolean value that indicates whether to enable versioning of objects in the + * bucket.

                                                  + * + *

                                                  For more information about versioning, see Enabling and suspending bucket object versioning in Amazon Lightsail in the + * Amazon Lightsail Developer Guide.

                                                  */ - tags?: Tag[]; + enableObjectVersioning?: boolean; } -export namespace CreateCertificateRequest { +export namespace CreateBucketRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CreateCertificateRequest): any => ({ + export const filterSensitiveLog = (obj: CreateBucketRequest): any => ({ ...obj, }); } -export interface CreateCertificateResult { +export interface CreateBucketResult { /** - *

                                                  An object that describes the certificate created.

                                                  + *

                                                  An object that describes the bucket that is created.

                                                  */ - certificate?: CertificateSummary; + bucket?: Bucket; /** *

                                                  An array of objects that describe the result of the action, such as the status of the @@ -3469,30 +3853,127 @@ export interface CreateCertificateResult { operations?: Operation[]; } -export namespace CreateCertificateResult { +export namespace CreateBucketResult { /** * @internal */ - export const filterSensitiveLog = (obj: CreateCertificateResult): any => ({ + export const filterSensitiveLog = (obj: CreateBucketResult): any => ({ ...obj, }); } -export enum PortInfoSourceType { - Closed = "CLOSED", - Default = "DEFAULT", - Instance = "INSTANCE", - None = "NONE", +export interface CreateBucketAccessKeyRequest { + /** + *

                                                  The name of the bucket that the new access key will belong to, and grant access to.

                                                  + */ + bucketName: string | undefined; } -/** - *

                                                  Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the - * create cloud formation stack operation.

                                                  - */ -export interface InstanceEntry { +export namespace CreateBucketAccessKeyRequest { /** - *

                                                  The name of the export snapshot record, which contains the exported Lightsail instance - * snapshot that will be used as the source of the new Amazon EC2 instance.

                                                  + * @internal + */ + export const filterSensitiveLog = (obj: CreateBucketAccessKeyRequest): any => ({ + ...obj, + }); +} + +export interface CreateBucketAccessKeyResult { + /** + *

                                                  An object that describes the access key that is created.

                                                  + */ + accessKey?: AccessKey; + + /** + *

                                                  An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                                  + */ + operations?: Operation[]; +} + +export namespace CreateBucketAccessKeyResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateBucketAccessKeyResult): any => ({ + ...obj, + ...(obj.accessKey && { accessKey: AccessKey.filterSensitiveLog(obj.accessKey) }), + }); +} + +export interface CreateCertificateRequest { + /** + *

                                                  The name for the certificate.

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

                                                  The domain name (e.g., example.com) for the certificate.

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

                                                  An array of strings that specify the alternate domains (e.g., example2.com) + * and subdomains (e.g., blog.example.com) for the certificate.

                                                  + *

                                                  You can specify a maximum of nine alternate domains (in addition to the primary domain + * name).

                                                  + *

                                                  Wildcard domain entries (e.g., *.example.com) are not supported.

                                                  + */ + subjectAlternativeNames?: string[]; + + /** + *

                                                  The tag keys and optional values to add to the certificate during create.

                                                  + *

                                                  Use the TagResource action to tag a resource after it's created.

                                                  + */ + tags?: Tag[]; +} + +export namespace CreateCertificateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateCertificateRequest): any => ({ + ...obj, + }); +} + +export interface CreateCertificateResult { + /** + *

                                                  An object that describes the certificate created.

                                                  + */ + certificate?: CertificateSummary; + + /** + *

                                                  An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                                  + */ + operations?: Operation[]; +} + +export namespace CreateCertificateResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateCertificateResult): any => ({ + ...obj, + }); +} + +export enum PortInfoSourceType { + Closed = "CLOSED", + Default = "DEFAULT", + Instance = "INSTANCE", + None = "NONE", +} + +/** + *

                                                  Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the + * create cloud formation stack operation.

                                                  + */ +export interface InstanceEntry { + /** + *

                                                  The name of the export snapshot record, which contains the exported Lightsail instance + * snapshot that will be used as the source of the new Amazon EC2 instance.

                                                  *

                                                  Use the get export snapshot records operation to get a list of export * snapshot records that you can use to create a CloudFormation stack.

                                                  */ @@ -3733,10 +4214,9 @@ export interface CreateContainerServiceRequest { scale: number | undefined; /** - *

                                                  The tag keys and optional values for the container service.

                                                  - * - *

                                                  For more information about tags in Lightsail, see the Lightsail - * Dev Guide.

                                                  + *

                                                  The tag keys and optional values to add to the certificate during create.

                                                  + *

                                                  Use the TagResource action to tag a resource after it's created.

                                                  + *

                                                  For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

                                                  */ tags?: Tag[]; @@ -3985,7 +4465,7 @@ export interface CreateDiskFromSnapshotRequest { * *
                                                • *

                                                  Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                                                  + * more information, see the Amazon Lightsail Developer Guide.

                                                  *
                                                • *
                                                */ @@ -4007,7 +4487,7 @@ export interface CreateDiskFromSnapshotRequest { * *
                                              • *

                                                Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                                                + * more information, see the Amazon Lightsail Developer Guide.

                                                *
                                              • *
                                              */ @@ -4024,7 +4504,7 @@ export interface CreateDiskFromSnapshotRequest { * *
                                            • *

                                              Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                                              + * more information, see the Amazon Lightsail Developer Guide.

                                              *
                                            • *
                                            */ @@ -4381,8 +4861,7 @@ export interface LightsailDistribution { /** *

                                            The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                            + * Lightsail, see the Amazon Lightsail Developer Guide.

                                            */ tags?: Tag[]; } @@ -4663,7 +5142,7 @@ export interface CreateInstancesRequest { *

                                            Depending on the machine image you choose, the command to get software on your instance * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use * apt-get, and FreeBSD uses pkg. For a complete list, see the - * Dev Guide.

                                            + * Amazon Lightsail Developer Guide.

                                            * */ userData?: string; @@ -4769,7 +5248,7 @@ export interface CreateInstancesFromSnapshotRequest { *

                                            Depending on the machine image you choose, the command to get software on your instance * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use * apt-get, and FreeBSD uses pkg. For a complete list, see the - * Dev Guide.

                                            + * Amazon Lightsail Developer Guide.

                                            * */ userData?: string; @@ -4812,7 +5291,7 @@ export interface CreateInstancesFromSnapshotRequest { * *
                                          • *

                                            Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                                            + * For more information, see the Amazon Lightsail Developer Guide.

                                            *
                                          • *
                                          */ @@ -4834,7 +5313,7 @@ export interface CreateInstancesFromSnapshotRequest { *
                                        • *
                                        • *

                                          Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                                          + * For more information, see the Amazon Lightsail Developer Guide.

                                          *
                                        • *
                                        */ @@ -4851,7 +5330,7 @@ export interface CreateInstancesFromSnapshotRequest { * *
                                      • *

                                        Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                                        + * For more information, see the Amazon Lightsail Developer Guide.

                                        *
                                      • *
                                      */ @@ -4951,7 +5430,7 @@ export namespace CreateKeyPairRequest { } /** - *

                                      Describes the SSH key pair.

                                      + *

                                      Describes an SSH key pair.

                                      */ export interface KeyPair { /** @@ -4989,8 +5468,7 @@ export interface KeyPair { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -5678,6 +6156,109 @@ export namespace DeleteAutoSnapshotResult { }); } +export interface DeleteBucketRequest { + /** + *

                                      The name of the bucket to delete.

                                      + * + *

                                      Use the GetBuckets action to get a list of bucket names that you can + * specify.

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

                                      A Boolean value that indicates whether to force delete the bucket.

                                      + * + *

                                      You must force delete the bucket if it has one of the following conditions:

                                      + *
                                        + *
                                      • + *

                                        The bucket is the origin of a distribution.

                                        + *
                                      • + *
                                      • + *

                                        The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.

                                        + *
                                      • + *
                                      • + *

                                        The bucket has objects.

                                        + *
                                      • + *
                                      • + *

                                        The bucket has access keys.

                                        + *
                                      • + *
                                      + * + * + *

                                      Force deleting a bucket might impact other resources that rely on the bucket, such as + * instances, distributions, or software that use the issued access keys.

                                      + *
                                      + */ + forceDelete?: boolean; +} + +export namespace DeleteBucketRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteBucketRequest): any => ({ + ...obj, + }); +} + +export interface DeleteBucketResult { + /** + *

                                      An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                      + */ + operations?: Operation[]; +} + +export namespace DeleteBucketResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteBucketResult): any => ({ + ...obj, + }); +} + +export interface DeleteBucketAccessKeyRequest { + /** + *

                                      The name of the bucket that the access key belongs to.

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

                                      The ID of the access key to delete.

                                      + * + *

                                      Use the GetBucketAccessKeys action to get a list of access key IDs that + * you can specify.

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

                                      An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                      + */ + operations?: Operation[]; +} + +export namespace DeleteBucketAccessKeyResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteBucketAccessKeyResult): any => ({ + ...obj, + }); +} + export interface DeleteCertificateRequest { /** *

                                      The name of the certificate to delete.

                                      @@ -6500,7 +7081,7 @@ export enum DiskState { } /** - *

                                      Describes a system disk or a block storage disk.

                                      + *

                                      Describes a block storage disk.

                                      */ export interface Disk { /** @@ -6537,8 +7118,7 @@ export interface Disk { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -6696,8 +7276,7 @@ export interface DiskSnapshot { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -6799,7 +7378,7 @@ export interface DistributionBundle { transferPerMonthInGb?: number; /** - *

                                      Indicates whether the bundle is active, and can be specified for a new + *

                                      Indicates whether the bundle is active, and can be specified for a new or existing * distribution.

                                      */ isActive?: boolean; @@ -6824,7 +7403,7 @@ export enum DistributionMetricName { } /** - *

                                      Describes a domain where you are storing recordsets in Lightsail.

                                      + *

                                      Describes a domain where you are storing recordsets.

                                      */ export interface Domain { /** @@ -6862,8 +7441,7 @@ export interface Domain { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -7321,2144 +7899,1555 @@ export namespace GetBlueprintsResult { }); } -export interface GetBundlesRequest { - /** - *

                                      A Boolean value that indicates whether to include inactive bundle results in your - * request.

                                      - */ - includeInactive?: boolean; - +export interface GetBucketAccessKeysRequest { /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetBundles request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                                      + *

                                      The name of the bucket for which to return access keys.

                                      */ - pageToken?: string; + bucketName: string | undefined; } -export namespace GetBundlesRequest { +export namespace GetBucketAccessKeysRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetBundlesRequest): any => ({ + export const filterSensitiveLog = (obj: GetBucketAccessKeysRequest): any => ({ ...obj, }); } -export interface GetBundlesResult { - /** - *

                                      An array of key-value pairs that contains information about the available bundles.

                                      - */ - bundles?: Bundle[]; - +export interface GetBucketAccessKeysResult { /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetBundles request and - * specify the next page token using the pageToken parameter.

                                      + *

                                      An object that describes the access keys for the specified bucket.

                                      */ - nextPageToken?: string; + accessKeys?: AccessKey[]; } -export namespace GetBundlesResult { +export namespace GetBucketAccessKeysResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetBundlesResult): any => ({ + export const filterSensitiveLog = (obj: GetBucketAccessKeysResult): any => ({ ...obj, + ...(obj.accessKeys && { accessKeys: obj.accessKeys.map((item) => AccessKey.filterSensitiveLog(item)) }), }); } -export interface GetCertificatesRequest { - /** - *

                                      The status of the certificates for which to return information.

                                      - *

                                      For example, specify ISSUED to return only certificates with an - * ISSUED status.

                                      - *

                                      When omitted, the response includes all of your certificates in the AWS Region where the - * request is made, regardless of their current status.

                                      - */ - certificateStatuses?: (CertificateStatus | string)[]; - +export interface GetBucketBundlesRequest { /** - *

                                      Indicates whether to include detailed information about the certificates in the + *

                                      A Boolean value that indicates whether to include inactive (unavailable) bundles in the * response.

                                      - *

                                      When omitted, the response includes only the certificate names, Amazon Resource Names - * (ARNs), domain names, and tags.

                                      - */ - includeCertificateDetails?: boolean; - - /** - *

                                      The name for the certificate for which to return information.

                                      - *

                                      When omitted, the response includes all of your certificates in the AWS Region where the - * request is made.

                                      */ - certificateName?: string; + includeInactive?: boolean; } -export namespace GetCertificatesRequest { +export namespace GetBucketBundlesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetCertificatesRequest): any => ({ + export const filterSensitiveLog = (obj: GetBucketBundlesRequest): any => ({ ...obj, }); } -export interface GetCertificatesResult { +export interface GetBucketBundlesResult { /** - *

                                      An object that describes certificates.

                                      + *

                                      An object that describes bucket bundles.

                                      */ - certificates?: CertificateSummary[]; + bundles?: BucketBundle[]; } -export namespace GetCertificatesResult { +export namespace GetBucketBundlesResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetCertificatesResult): any => ({ + export const filterSensitiveLog = (obj: GetBucketBundlesResult): any => ({ ...obj, }); } -export interface GetCloudFormationStackRecordsRequest { +export interface GetBucketMetricDataRequest { /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetClouFormationStackRecords request. - * If your results are paginated, the response will return a next page token that you can specify - * as the page token in a subsequent request.

                                      + *

                                      The name of the bucket for which to get metric data.

                                      */ - pageToken?: string; -} + bucketName: string | undefined; -export namespace GetCloudFormationStackRecordsRequest { /** - * @internal + *

                                      The metric for which you want to return information.

                                      + * + *

                                      Valid bucket metric names are listed below, along with the most useful statistics to + * include in your request, and the published unit value.

                                      + * + * + *

                                      These bucket metrics are reported once per day.

                                      + *
                                      + * + *
                                        + *
                                      • + *

                                        + * + * BucketSizeBytes + * - The amount of data in + * bytes stored in a bucket. This value is calculated by summing the size of all objects in + * the bucket (including object versions), including the size of all parts for all incomplete + * multipart uploads to the bucket.

                                        + *

                                        Statistics: The most useful statistic is Maximum.

                                        + *

                                        Unit: The published unit is Bytes.

                                        + *
                                      • + *
                                      • + *

                                        + * + * NumberOfObjects + * - The total number of + * objects stored in a bucket. This value is calculated by counting all objects in the bucket + * (including object versions) and the total number of parts for all incomplete multipart + * uploads to the bucket.

                                        + *

                                        Statistics: The most useful statistic is Average.

                                        + *

                                        Unit: The published unit is Count.

                                        + *
                                      • + *
                                      */ - export const filterSensitiveLog = (obj: GetCloudFormationStackRecordsRequest): any => ({ - ...obj, - }); -} - -export interface GetCloudFormationStackRecordsResult { - /** - *

                                      A list of objects describing the CloudFormation stack records.

                                      - */ - cloudFormationStackRecords?: CloudFormationStackRecord[]; + metricName: BucketMetricName | string | undefined; /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another - * GetCloudFormationStackRecords request and specify the next page token using the - * pageToken parameter.

                                      + *

                                      The timestamp indicating the earliest data to be returned.

                                      */ - nextPageToken?: string; -} + startTime: Date | undefined; -export namespace GetCloudFormationStackRecordsResult { /** - * @internal + *

                                      The timestamp indicating the latest data to be returned.

                                      */ - export const filterSensitiveLog = (obj: GetCloudFormationStackRecordsResult): any => ({ - ...obj, - }); -} + endTime: Date | undefined; -export interface GetContactMethodsRequest { /** - *

                                      The protocols used to send notifications, such as Email, or SMS - * (text messaging).

                                      - *

                                      Specify a protocol in your request to return information about a specific contact method - * protocol.

                                      + *

                                      The granularity, in seconds, of the returned data points.

                                      + * + *

                                      Bucket storage metrics are reported once per day. Therefore, you should specify a period + * of 86400 seconds, which is the number of seconds in a day.

                                      + *
                                      */ - protocols?: (ContactProtocol | string)[]; -} + period: number | undefined; -export namespace GetContactMethodsRequest { /** - * @internal + *

                                      The statistic for the metric.

                                      + * + *

                                      The following statistics are available:

                                      + * + *
                                        + *
                                      • + *

                                        + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Sum - The sum of all values submitted for the matching metric. You can + * use this statistic to determine the total volume of a metric.

                                        + *
                                      • + *
                                      • + *

                                        + * Average - The value of Sum / SampleCount during + * the specified period. By comparing this statistic with the Minimum and + * Maximum values, you can determine the full scope of a metric and how close + * the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                                        + *
                                      • + *
                                      • + *

                                        + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                                        + *
                                      • + *
                                      */ - export const filterSensitiveLog = (obj: GetContactMethodsRequest): any => ({ - ...obj, - }); -} + statistics: (MetricStatistic | string)[] | undefined; -export interface GetContactMethodsResult { /** - *

                                      An array of objects that describe the contact methods.

                                      + *

                                      The unit for the metric data request.

                                      + *

                                      Valid units depend on the metric data being requested. For the valid units with each + * available metric, see the metricName parameter.

                                      */ - contactMethods?: ContactMethod[]; + unit: MetricUnit | string | undefined; } -export namespace GetContactMethodsResult { +export namespace GetBucketMetricDataRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetContactMethodsResult): any => ({ + export const filterSensitiveLog = (obj: GetBucketMetricDataRequest): any => ({ ...obj, }); } -export interface GetContainerAPIMetadataRequest {} +/** + *

                                      Describes the metric data point.

                                      + */ +export interface MetricDatapoint { + /** + *

                                      The average.

                                      + */ + average?: number; -export namespace GetContainerAPIMetadataRequest { /** - * @internal + *

                                      The maximum.

                                      */ - export const filterSensitiveLog = (obj: GetContainerAPIMetadataRequest): any => ({ - ...obj, - }); -} + maximum?: number; -export interface GetContainerAPIMetadataResult { /** - *

                                      Metadata about Lightsail containers, such as the current version of the Lightsail - * Control (lightsailctl) plugin.

                                      + *

                                      The minimum.

                                      */ - metadata?: { [key: string]: string }[]; -} + minimum?: number; -export namespace GetContainerAPIMetadataResult { /** - * @internal + *

                                      The sample count.

                                      */ - export const filterSensitiveLog = (obj: GetContainerAPIMetadataResult): any => ({ - ...obj, - }); -} + sampleCount?: number; -export interface GetContainerImagesRequest { /** - *

                                      The name of the container service for which to return registered container images.

                                      + *

                                      The sum.

                                      */ - serviceName: string | undefined; -} + sum?: number; -export namespace GetContainerImagesRequest { /** - * @internal + *

                                      The timestamp (e.g., 1479816991.349).

                                      */ - export const filterSensitiveLog = (obj: GetContainerImagesRequest): any => ({ - ...obj, - }); -} + timestamp?: Date; -export interface GetContainerImagesResult { /** - *

                                      An array of objects that describe container images that are registered to the container - * service.

                                      + *

                                      The unit.

                                      */ - containerImages?: ContainerImage[]; + unit?: MetricUnit | string; } -export namespace GetContainerImagesResult { +export namespace MetricDatapoint { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerImagesResult): any => ({ + export const filterSensitiveLog = (obj: MetricDatapoint): any => ({ ...obj, }); } -export interface GetContainerLogRequest { +export interface GetBucketMetricDataResult { /** - *

                                      The name of the container service for which to get a container log.

                                      + *

                                      The name of the metric returned.

                                      */ - serviceName: string | undefined; + metricName?: BucketMetricName | string; /** - *

                                      The name of the container that is either running or previously ran on the container - * service for which to return a log.

                                      + *

                                      An array of objects that describe the metric data returned.

                                      */ - containerName: string | undefined; + metricData?: MetricDatapoint[]; +} +export namespace GetBucketMetricDataResult { /** - *

                                      The start of the time interval for which to get log data.

                                      - * - *

                                      Constraints:

                                      - * - *
                                        - *
                                      • - *

                                        Specified in Coordinated Universal Time (UTC).

                                        - *
                                      • - *
                                      • - *

                                        Specified in the Unix time format.

                                        - * - *

                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify - * 1538424000 as the start time.

                                        - *
                                      • - *
                                      - * - *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      + * @internal */ - startTime?: Date; + export const filterSensitiveLog = (obj: GetBucketMetricDataResult): any => ({ + ...obj, + }); +} +export interface GetBucketsRequest { /** - *

                                      The end of the time interval for which to get log data.

                                      - * - *

                                      Constraints:

                                      - * - *
                                        - *
                                      • - *

                                        Specified in Coordinated Universal Time (UTC).

                                        - *
                                      • - *
                                      • - *

                                        Specified in the Unix time format.

                                        - * - *

                                        For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify - * 1538427600 as the end time.

                                        - *
                                      • - *
                                      + *

                                      The name of the bucket for which to return information.

                                      * - *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      + *

                                      When omitted, the response includes all of your buckets in the AWS Region where the + * request is made.

                                      */ - endTime?: Date; + bucketName?: string; /** - *

                                      The pattern to use to filter the returned log events to a specific term.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      * - *

                                      The following are a few examples of filter patterns that you can specify:

                                      - *
                                        - *
                                      • - *

                                        To return all log events, specify a filter pattern of "".

                                        - *
                                      • - *
                                      • - *

                                        To exclude log events that contain the ERROR term, and return all other - * log events, specify a filter pattern of "-ERROR".

                                        - *
                                      • - *
                                      • - *

                                        To return log events that contain the ERROR term, specify a filter - * pattern of "ERROR".

                                        - *
                                      • - *
                                      • - *

                                        To return log events that contain both the ERROR and - * Exception terms, specify a filter pattern of "ERROR - * Exception".

                                        - *
                                      • - *
                                      • - *

                                        To return log events that contain the ERROR - * or the Exception term, specify a filter pattern of - * "?ERROR ?Exception".

                                        - *
                                      • - *
                                      + *

                                      To get a page token, perform an initial GetBuckets request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                                      */ - filterPattern?: string; + pageToken?: string; /** - *

                                      The token to advance to the next page of results from your request.

                                      - * - *

                                      To get a page token, perform an initial GetContainerLog request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                                      + *

                                      A Boolean value that indicates whether to include Lightsail instances that were given + * access to the bucket using the SetResourceAccessForBucket action.

                                      */ - pageToken?: string; + includeConnectedResources?: boolean; } -export namespace GetContainerLogRequest { +export namespace GetBucketsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerLogRequest): any => ({ + export const filterSensitiveLog = (obj: GetBucketsRequest): any => ({ ...obj, }); } -export interface GetContainerLogResult { +export interface GetBucketsResult { /** - *

                                      An array of objects that describe the log events of a container.

                                      + *

                                      An array of objects that describe buckets.

                                      */ - logEvents?: ContainerServiceLogEvent[]; + buckets?: Bucket[]; /** *

                                      The token to advance to the next page of results from your request.

                                      * *

                                      A next page token is not returned if there are no more results to display.

                                      * - *

                                      To get the next page of results, perform another GetContainerLog request and + *

                                      To get the next page of results, perform another GetBuckets request and * specify the next page token using the pageToken parameter.

                                      */ nextPageToken?: string; } -export namespace GetContainerLogResult { +export namespace GetBucketsResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerLogResult): any => ({ + export const filterSensitiveLog = (obj: GetBucketsResult): any => ({ ...obj, }); } -export interface GetContainerServiceDeploymentsRequest { +export interface GetBundlesRequest { /** - *

                                      The name of the container service for which to return deployments.

                                      + *

                                      A Boolean value that indicates whether to include inactive bundle results in your + * request.

                                      */ - serviceName: string | undefined; + includeInactive?: boolean; + + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetBundles request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                                      + */ + pageToken?: string; } -export namespace GetContainerServiceDeploymentsRequest { +export namespace GetBundlesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsRequest): any => ({ + export const filterSensitiveLog = (obj: GetBundlesRequest): any => ({ ...obj, }); } -export interface GetContainerServiceDeploymentsResult { +export interface GetBundlesResult { /** - *

                                      An array of objects that describe deployments for a container service.

                                      + *

                                      An array of key-value pairs that contains information about the available bundles.

                                      */ - deployments?: ContainerServiceDeployment[]; -} + bundles?: Bundle[]; -export namespace GetContainerServiceDeploymentsResult { /** - * @internal + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetBundles request and + * specify the next page token using the pageToken parameter.

                                      */ - export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsResult): any => ({ - ...obj, - }); + nextPageToken?: string; } -export interface GetContainerServiceMetricDataRequest { +export namespace GetBundlesResult { /** - *

                                      The name of the container service for which to get metric data.

                                      + * @internal */ - serviceName: string | undefined; + export const filterSensitiveLog = (obj: GetBundlesResult): any => ({ + ...obj, + }); +} +export interface GetCertificatesRequest { /** - *

                                      The metric for which you want to return information.

                                      - * - *

                                      Valid container service metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit value.

                                      - * - *
                                        - *
                                      • - *

                                        - * CPUUtilization - The average percentage of compute units that are - * currently in use across all nodes of the container service. This metric identifies the - * processing power required to run containers on each node of the container service.

                                        - *

                                        Statistics: The most useful statistics are Maximum and - * Average.

                                        - *

                                        Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      • - *

                                        - * MemoryUtilization - The average percentage of available memory that is - * currently in use across all nodes of the container service. This metric identifies the - * memory required to run containers on each node of the container service.

                                        - *

                                        Statistics: The most useful statistics are Maximum and - * Average.

                                        - *

                                        Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      + *

                                      The status of the certificates for which to return information.

                                      + *

                                      For example, specify ISSUED to return only certificates with an + * ISSUED status.

                                      + *

                                      When omitted, the response includes all of your certificates in the AWS Region where the + * request is made, regardless of their current status.

                                      */ - metricName: ContainerServiceMetricName | string | undefined; + certificateStatuses?: (CertificateStatus | string)[]; /** - *

                                      The start time of the time period.

                                      + *

                                      Indicates whether to include detailed information about the certificates in the + * response.

                                      + *

                                      When omitted, the response includes only the certificate names, Amazon Resource Names + * (ARNs), domain names, and tags.

                                      */ - startTime: Date | undefined; + includeCertificateDetails?: boolean; /** - *

                                      The end time of the time period.

                                      + *

                                      The name for the certificate for which to return information.

                                      + *

                                      When omitted, the response includes all of your certificates in the AWS Region where the + * request is made.

                                      */ - endTime: Date | undefined; + certificateName?: string; +} +export namespace GetCertificatesRequest { /** - *

                                      The granularity, in seconds, of the returned data points.

                                      - * - *

                                      All container service metric data is available in 5-minute (300 seconds) - * granularity.

                                      + * @internal */ - period: number | undefined; + export const filterSensitiveLog = (obj: GetCertificatesRequest): any => ({ + ...obj, + }); +} +export interface GetCertificatesResult { /** - *

                                      The statistic for the metric.

                                      - * - *

                                      The following statistics are available:

                                      - * - *
                                        - *
                                      • - *

                                        - * Minimum - The lowest value observed during the specified period. Use this - * value to determine low volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Maximum - The highest value observed during the specified period. Use - * this value to determine high volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Sum - All values submitted for the matching metric added together. You - * can use this statistic to determine the total volume of a metric.

                                        - *
                                      • - *
                                      • - *

                                        - * Average - The value of Sum / SampleCount during - * the specified period. By comparing this statistic with the Minimum and - * Maximum values, you can determine the full scope of a metric and how close - * the average use is to the Minimum and Maximum values. This - * comparison helps you to know when to increase or decrease your resources.

                                        - *
                                      • - *
                                      • - *

                                        - * SampleCount - The count, or number, of data points used for the - * statistical calculation.

                                        - *
                                      • - *
                                      + *

                                      An object that describes certificates.

                                      */ - statistics: (MetricStatistic | string)[] | undefined; + certificates?: CertificateSummary[]; } -export namespace GetContainerServiceMetricDataRequest { +export namespace GetCertificatesResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServiceMetricDataRequest): any => ({ + export const filterSensitiveLog = (obj: GetCertificatesResult): any => ({ ...obj, }); } -/** - *

                                      Describes the metric data point.

                                      - */ -export interface MetricDatapoint { - /** - *

                                      The average.

                                      - */ - average?: number; - +export interface GetCloudFormationStackRecordsRequest { /** - *

                                      The maximum.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetClouFormationStackRecords request. + * If your results are paginated, the response will return a next page token that you can specify + * as the page token in a subsequent request.

                                      */ - maximum?: number; + pageToken?: string; +} +export namespace GetCloudFormationStackRecordsRequest { /** - *

                                      The minimum.

                                      + * @internal */ - minimum?: number; + export const filterSensitiveLog = (obj: GetCloudFormationStackRecordsRequest): any => ({ + ...obj, + }); +} +export interface GetCloudFormationStackRecordsResult { /** - *

                                      The sample count.

                                      + *

                                      A list of objects describing the CloudFormation stack records.

                                      */ - sampleCount?: number; + cloudFormationStackRecords?: CloudFormationStackRecord[]; /** - *

                                      The sum.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another + * GetCloudFormationStackRecords request and specify the next page token using the + * pageToken parameter.

                                      */ - sum?: number; + nextPageToken?: string; +} +export namespace GetCloudFormationStackRecordsResult { /** - *

                                      The timestamp (e.g., 1479816991.349).

                                      + * @internal */ - timestamp?: Date; + export const filterSensitiveLog = (obj: GetCloudFormationStackRecordsResult): any => ({ + ...obj, + }); +} +export interface GetContactMethodsRequest { /** - *

                                      The unit.

                                      + *

                                      The protocols used to send notifications, such as Email, or SMS + * (text messaging).

                                      + *

                                      Specify a protocol in your request to return information about a specific contact method + * protocol.

                                      */ - unit?: MetricUnit | string; + protocols?: (ContactProtocol | string)[]; } -export namespace MetricDatapoint { +export namespace GetContactMethodsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: MetricDatapoint): any => ({ + export const filterSensitiveLog = (obj: GetContactMethodsRequest): any => ({ ...obj, }); } -export interface GetContainerServiceMetricDataResult { - /** - *

                                      The name of the metric returned.

                                      - */ - metricName?: ContainerServiceMetricName | string; - +export interface GetContactMethodsResult { /** - *

                                      An array of objects that describe the metric data returned.

                                      + *

                                      An array of objects that describe the contact methods.

                                      */ - metricData?: MetricDatapoint[]; + contactMethods?: ContactMethod[]; } -export namespace GetContainerServiceMetricDataResult { +export namespace GetContactMethodsResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServiceMetricDataResult): any => ({ + export const filterSensitiveLog = (obj: GetContactMethodsResult): any => ({ ...obj, }); } -export interface GetContainerServicePowersRequest {} +export interface GetContainerAPIMetadataRequest {} -export namespace GetContainerServicePowersRequest { +export namespace GetContainerAPIMetadataRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServicePowersRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerAPIMetadataRequest): any => ({ ...obj, }); } -export interface GetContainerServicePowersResult { +export interface GetContainerAPIMetadataResult { /** - *

                                      An array of objects that describe the powers that can be specified for a container - * service.

                                      + *

                                      Metadata about Lightsail containers, such as the current version of the Lightsail + * Control (lightsailctl) plugin.

                                      */ - powers?: ContainerServicePower[]; + metadata?: { [key: string]: string }[]; } -export namespace GetContainerServicePowersResult { +export namespace GetContainerAPIMetadataResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServicePowersResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerAPIMetadataResult): any => ({ ...obj, }); } -export interface GetContainerServicesRequest { +export interface GetContainerImagesRequest { /** - *

                                      The name of the container service for which to return information.

                                      - * - *

                                      When omitted, the response includes all of your container services in the AWS Region - * where the request is made.

                                      + *

                                      The name of the container service for which to return registered container images.

                                      */ - serviceName?: string; + serviceName: string | undefined; } -export namespace GetContainerServicesRequest { +export namespace GetContainerImagesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetContainerServicesRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerImagesRequest): any => ({ ...obj, }); } -export interface GetDiskRequest { +export interface GetContainerImagesResult { /** - *

                                      The name of the disk (e.g., my-disk).

                                      + *

                                      An array of objects that describe container images that are registered to the container + * service.

                                      */ - diskName: string | undefined; + containerImages?: ContainerImage[]; } -export namespace GetDiskRequest { +export namespace GetContainerImagesResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDiskRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerImagesResult): any => ({ ...obj, }); } -export interface GetDiskResult { +export interface GetContainerLogRequest { /** - *

                                      An object containing information about the disk.

                                      + *

                                      The name of the container service for which to get a container log.

                                      */ - disk?: Disk; -} + serviceName: string | undefined; -export namespace GetDiskResult { /** - * @internal + *

                                      The name of the container that is either running or previously ran on the container + * service for which to return a log.

                                      */ - export const filterSensitiveLog = (obj: GetDiskResult): any => ({ - ...obj, - }); -} + containerName: string | undefined; -export interface GetDisksRequest { /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetDisks request. If your results are - * paginated, the response will return a next page token that you can specify as the page token - * in a subsequent request.

                                      + *

                                      The start of the time interval for which to get log data.

                                      + * + *

                                      Constraints:

                                      + * + *
                                        + *
                                      • + *

                                        Specified in Coordinated Universal Time (UTC).

                                        + *
                                      • + *
                                      • + *

                                        Specified in the Unix time format.

                                        + * + *

                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify + * 1538424000 as the start time.

                                        + *
                                      • + *
                                      + * + *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      + */ + startTime?: Date; + + /** + *

                                      The end of the time interval for which to get log data.

                                      + * + *

                                      Constraints:

                                      + * + *
                                        + *
                                      • + *

                                        Specified in Coordinated Universal Time (UTC).

                                        + *
                                      • + *
                                      • + *

                                        Specified in the Unix time format.

                                        + * + *

                                        For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify + * 1538427600 as the end time.

                                        + *
                                      • + *
                                      + * + *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      + */ + endTime?: Date; + + /** + *

                                      The pattern to use to filter the returned log events to a specific term.

                                      + * + *

                                      The following are a few examples of filter patterns that you can specify:

                                      + *
                                        + *
                                      • + *

                                        To return all log events, specify a filter pattern of "".

                                        + *
                                      • + *
                                      • + *

                                        To exclude log events that contain the ERROR term, and return all other + * log events, specify a filter pattern of "-ERROR".

                                        + *
                                      • + *
                                      • + *

                                        To return log events that contain the ERROR term, specify a filter + * pattern of "ERROR".

                                        + *
                                      • + *
                                      • + *

                                        To return log events that contain both the ERROR and + * Exception terms, specify a filter pattern of "ERROR + * Exception".

                                        + *
                                      • + *
                                      • + *

                                        To return log events that contain the ERROR + * or the Exception term, specify a filter pattern of + * "?ERROR ?Exception".

                                        + *
                                      • + *
                                      + */ + filterPattern?: string; + + /** + *

                                      The token to advance to the next page of results from your request.

                                      + * + *

                                      To get a page token, perform an initial GetContainerLog request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                                      */ pageToken?: string; } -export namespace GetDisksRequest { +export namespace GetContainerLogRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDisksRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerLogRequest): any => ({ ...obj, }); } -export interface GetDisksResult { +export interface GetContainerLogResult { /** - *

                                      An array of objects containing information about all block storage disks.

                                      + *

                                      An array of objects that describe the log events of a container.

                                      */ - disks?: Disk[]; + logEvents?: ContainerServiceLogEvent[]; /** *

                                      The token to advance to the next page of results from your request.

                                      + * *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetDisks request and specify - * the next page token using the pageToken parameter.

                                      + * + *

                                      To get the next page of results, perform another GetContainerLog request and + * specify the next page token using the pageToken parameter.

                                      */ nextPageToken?: string; } -export namespace GetDisksResult { +export namespace GetContainerLogResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDisksResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerLogResult): any => ({ ...obj, }); } -export interface GetDiskSnapshotRequest { +export interface GetContainerServiceDeploymentsRequest { /** - *

                                      The name of the disk snapshot (e.g., my-disk-snapshot).

                                      + *

                                      The name of the container service for which to return deployments.

                                      */ - diskSnapshotName: string | undefined; + serviceName: string | undefined; } -export namespace GetDiskSnapshotRequest { +export namespace GetContainerServiceDeploymentsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDiskSnapshotRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsRequest): any => ({ ...obj, }); } -export interface GetDiskSnapshotResult { +export interface GetContainerServiceDeploymentsResult { /** - *

                                      An object containing information about the disk snapshot.

                                      + *

                                      An array of objects that describe deployments for a container service.

                                      */ - diskSnapshot?: DiskSnapshot; + deployments?: ContainerServiceDeployment[]; } -export namespace GetDiskSnapshotResult { +export namespace GetContainerServiceDeploymentsResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDiskSnapshotResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsResult): any => ({ ...obj, }); } -export interface GetDiskSnapshotsRequest { +export interface GetContainerServiceMetricDataRequest { /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetDiskSnapshots request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                                      + *

                                      The name of the container service for which to get metric data.

                                      */ - pageToken?: string; + serviceName: string | undefined; + + /** + *

                                      The metric for which you want to return information.

                                      + * + *

                                      Valid container service metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit value.

                                      + * + *
                                        + *
                                      • + *

                                        + * CPUUtilization - The average percentage of compute units that are + * currently in use across all nodes of the container service. This metric identifies the + * processing power required to run containers on each node of the container service.

                                        + *

                                        Statistics: The most useful statistics are Maximum and + * Average.

                                        + *

                                        Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      • + *

                                        + * MemoryUtilization - The average percentage of available memory that is + * currently in use across all nodes of the container service. This metric identifies the + * memory required to run containers on each node of the container service.

                                        + *

                                        Statistics: The most useful statistics are Maximum and + * Average.

                                        + *

                                        Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      + */ + metricName: ContainerServiceMetricName | string | undefined; + + /** + *

                                      The start time of the time period.

                                      + */ + startTime: Date | undefined; + + /** + *

                                      The end time of the time period.

                                      + */ + endTime: Date | undefined; + + /** + *

                                      The granularity, in seconds, of the returned data points.

                                      + * + *

                                      All container service metric data is available in 5-minute (300 seconds) + * granularity.

                                      + */ + period: number | undefined; + + /** + *

                                      The statistic for the metric.

                                      + * + *

                                      The following statistics are available:

                                      + * + *
                                        + *
                                      • + *

                                        + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                                        + *
                                      • + *
                                      • + *

                                        + * Average - The value of Sum / SampleCount during + * the specified period. By comparing this statistic with the Minimum and + * Maximum values, you can determine the full scope of a metric and how close + * the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                                        + *
                                      • + *
                                      • + *

                                        + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                                        + *
                                      • + *
                                      + */ + statistics: (MetricStatistic | string)[] | undefined; } -export namespace GetDiskSnapshotsRequest { +export namespace GetContainerServiceMetricDataRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDiskSnapshotsRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerServiceMetricDataRequest): any => ({ ...obj, }); } -export interface GetDiskSnapshotsResult { +export interface GetContainerServiceMetricDataResult { /** - *

                                      An array of objects containing information about all block storage disk snapshots.

                                      + *

                                      The name of the metric returned.

                                      */ - diskSnapshots?: DiskSnapshot[]; + metricName?: ContainerServiceMetricName | string; /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetDiskSnapshots request and - * specify the next page token using the pageToken parameter.

                                      + *

                                      An array of objects that describe the metric data returned.

                                      */ - nextPageToken?: string; + metricData?: MetricDatapoint[]; } -export namespace GetDiskSnapshotsResult { +export namespace GetContainerServiceMetricDataResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDiskSnapshotsResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerServiceMetricDataResult): any => ({ ...obj, }); } -export interface GetDistributionBundlesRequest {} +export interface GetContainerServicePowersRequest {} -export namespace GetDistributionBundlesRequest { +export namespace GetContainerServicePowersRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDistributionBundlesRequest): any => ({ + export const filterSensitiveLog = (obj: GetContainerServicePowersRequest): any => ({ ...obj, }); } -export interface GetDistributionBundlesResult { +export interface GetContainerServicePowersResult { /** - *

                                      An object that describes a distribution bundle.

                                      + *

                                      An array of objects that describe the powers that can be specified for a container + * service.

                                      */ - bundles?: DistributionBundle[]; + powers?: ContainerServicePower[]; } -export namespace GetDistributionBundlesResult { +export namespace GetContainerServicePowersResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDistributionBundlesResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerServicePowersResult): any => ({ ...obj, }); } -export interface GetDistributionLatestCacheResetRequest { +export interface GetContainerServicesRequest { /** - *

                                      The name of the distribution for which to return the timestamp of the last cache - * reset.

                                      - *

                                      Use the GetDistributions action to get a list of distribution names that you - * can specify.

                                      - *

                                      When omitted, the response includes the latest cache reset timestamp of all your - * distributions.

                                      - */ - distributionName?: string; -} - -export namespace GetDistributionLatestCacheResetRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetRequest): any => ({ - ...obj, - }); -} - -export interface GetDistributionLatestCacheResetResult { - /** - *

                                      The status of the last cache reset.

                                      - */ - status?: string; - - /** - *

                                      The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time - * format.

                                      + *

                                      The name of the container service for which to return information.

                                      + * + *

                                      When omitted, the response includes all of your container services in the AWS Region + * where the request is made.

                                      */ - createTime?: Date; + serviceName?: string; } -export namespace GetDistributionLatestCacheResetResult { +export namespace GetContainerServicesRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetResult): any => ({ + export const filterSensitiveLog = (obj: GetContainerServicesRequest): any => ({ ...obj, }); } -export interface GetDistributionMetricDataRequest { - /** - *

                                      The name of the distribution for which to get metric data.

                                      - *

                                      Use the GetDistributions action to get a list of distribution names that you - * can specify.

                                      - */ - distributionName: string | undefined; - - /** - *

                                      The metric for which you want to return information.

                                      - *

                                      Valid distribution metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit - * value.

                                      - *
                                        - *
                                      • - *

                                        - * - * Requests - * - The total number of viewer - * requests received by your Lightsail distribution, for all HTTP methods, and for both - * HTTP and HTTPS requests.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is None.

                                        - *
                                      • - *
                                      • - *

                                        - * - * BytesDownloaded - * - The number of bytes - * downloaded by viewers for GET, HEAD, and OPTIONS requests.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is None.

                                        - *
                                      • - *
                                      • - *

                                        - * - * BytesUploaded - * - The number of bytes - * uploaded to your origin by your Lightsail distribution, using POST and PUT - * requests.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is None.

                                        - *
                                      • - *
                                      • - *

                                        - * - * TotalErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status code was 4xx or 5xx.

                                        - *

                                        - * Statistics: The most useful statistic is Average.

                                        - *

                                        - * Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      • - *

                                        - * - * 4xxErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status cod was 4xx. In these cases, the - * client or client viewer may have made an error. For example, a status code of 404 (Not - * Found) means that the client requested an object that could not be found.

                                        - *

                                        - * Statistics: The most useful statistic is Average.

                                        - *

                                        - * Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      • - *

                                        - * - * 5xxErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status code was 5xx. In these cases, the - * origin server did not satisfy the requests. For example, a status code of 503 (Service - * Unavailable) means that the origin server is currently unavailable.

                                        - *

                                        - * Statistics: The most useful statistic is Average.

                                        - *

                                        - * Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      - */ - metricName: DistributionMetricName | string | undefined; - - /** - *

                                      The start of the time interval for which to get metric data.

                                      - *

                                      Constraints:

                                      - *
                                        - *
                                      • - *

                                        Specified in Coordinated Universal Time (UTC).

                                        - *
                                      • - *
                                      • - *

                                        Specified in the Unix time format.

                                        - *

                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify - * 1538424000 as the start time.

                                        - *
                                      • - *
                                      - *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      - */ - startTime: Date | undefined; - - /** - *

                                      The end of the time interval for which to get metric data.

                                      - *

                                      Constraints:

                                      - *
                                        - *
                                      • - *

                                        Specified in Coordinated Universal Time (UTC).

                                        - *
                                      • - *
                                      • - *

                                        Specified in the Unix time format.

                                        - *

                                        For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify - * 1538427600 as the end time.

                                        - *
                                      • - *
                                      - *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      - */ - endTime: Date | undefined; - - /** - *

                                      The granularity, in seconds, for the metric data points that will be returned.

                                      - */ - period: number | undefined; - - /** - *

                                      The unit for the metric data request.

                                      - *

                                      Valid units depend on the metric data being requested. For the valid units with each - * available metric, see the metricName parameter.

                                      - */ - unit: MetricUnit | string | undefined; - +export interface GetDiskRequest { /** - *

                                      The statistic for the metric.

                                      - *

                                      The following statistics are available:

                                      - *
                                        - *
                                      • - *

                                        - * Minimum - The lowest value observed during the specified period. Use this - * value to determine low volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Maximum - The highest value observed during the specified period. Use - * this value to determine high volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Sum - All values submitted for the matching metric added together. You - * can use this statistic to determine the total volume of a metric.

                                        - *
                                      • - *
                                      • - *

                                        - * Average - The value of Sum / SampleCount during the specified period. By - * comparing this statistic with the Minimum and Maximum values, you can determine the full - * scope of a metric and how close the average use is to the Minimum and Maximum values. This - * comparison helps you to know when to increase or decrease your resources.

                                        - *
                                      • - *
                                      • - *

                                        - * SampleCount - The count, or number, of data points used for the - * statistical calculation.

                                        - *
                                      • - *
                                      + *

                                      The name of the disk (e.g., my-disk).

                                      */ - statistics: (MetricStatistic | string)[] | undefined; + diskName: string | undefined; } -export namespace GetDistributionMetricDataRequest { +export namespace GetDiskRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetDistributionMetricDataRequest): any => ({ + export const filterSensitiveLog = (obj: GetDiskRequest): any => ({ ...obj, }); } -export interface GetDistributionMetricDataResult { - /** - *

                                      The name of the metric returned.

                                      - */ - metricName?: DistributionMetricName | string; - +export interface GetDiskResult { /** - *

                                      An array of objects that describe the metric data returned.

                                      + *

                                      An object containing information about the disk.

                                      */ - metricData?: MetricDatapoint[]; + disk?: Disk; } -export namespace GetDistributionMetricDataResult { +export namespace GetDiskResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetDistributionMetricDataResult): any => ({ + export const filterSensitiveLog = (obj: GetDiskResult): any => ({ ...obj, }); } -export interface GetDistributionsRequest { - /** - *

                                      The name of the distribution for which to return information.

                                      - *

                                      Use the GetDistributions action to get a list of distribution names that you - * can specify.

                                      - *

                                      When omitted, the response includes all of your distributions in the AWS Region where - * the request is made.

                                      - */ - distributionName?: string; - +export interface GetDisksRequest { /** *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetDistributions request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                                      + *

                                      To get a page token, perform an initial GetDisks request. If your results are + * paginated, the response will return a next page token that you can specify as the page token + * in a subsequent request.

                                      */ pageToken?: string; } -export namespace GetDistributionsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDistributionsRequest): any => ({ - ...obj, - }); -} - -export interface GetDistributionsResult { +export namespace GetDisksRequest { /** - *

                                      An array of objects that describe your distributions.

                                      - */ - distributions?: LightsailDistribution[]; - - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetDistributions request and - * specify the next page token using the pageToken parameter.

                                      - */ - nextPageToken?: string; -} - -export namespace GetDistributionsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDistributionsResult): any => ({ - ...obj, - }); -} - -export interface GetDomainRequest { - /** - *

                                      The domain name for which your want to return information about.

                                      - */ - domainName: string | undefined; -} - -export namespace GetDomainRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDomainRequest): any => ({ - ...obj, - }); -} - -export interface GetDomainResult { - /** - *

                                      An array of key-value pairs containing information about your get domain request.

                                      - */ - domain?: Domain; -} - -export namespace GetDomainResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDomainResult): any => ({ - ...obj, - }); -} - -export interface GetDomainsRequest { - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetDomains request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                                      - */ - pageToken?: string; -} - -export namespace GetDomainsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDomainsRequest): any => ({ - ...obj, - }); -} - -export interface GetDomainsResult { - /** - *

                                      An array of key-value pairs containing information about each of the domain entries in the - * user's account.

                                      - */ - domains?: Domain[]; - - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetDomains request and - * specify the next page token using the pageToken parameter.

                                      - */ - nextPageToken?: string; -} - -export namespace GetDomainsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetDomainsResult): any => ({ - ...obj, - }); -} - -export interface GetExportSnapshotRecordsRequest { - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetExportSnapshotRecords request. If - * your results are paginated, the response will return a next page token that you can specify as - * the page token in a subsequent request.

                                      - */ - pageToken?: string; -} - -export namespace GetExportSnapshotRecordsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetExportSnapshotRecordsRequest): any => ({ - ...obj, - }); -} - -export interface GetExportSnapshotRecordsResult { - /** - *

                                      A list of objects describing the export snapshot records.

                                      - */ - exportSnapshotRecords?: ExportSnapshotRecord[]; - - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetExportSnapshotRecords - * request and specify the next page token using the pageToken parameter.

                                      - */ - nextPageToken?: string; -} - -export namespace GetExportSnapshotRecordsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetExportSnapshotRecordsResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceRequest { - /** - *

                                      The name of the instance.

                                      - */ - instanceName: string | undefined; -} - -export namespace GetInstanceRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstanceRequest): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes the hardware for the instance.

                                      - */ -export interface InstanceHardware { - /** - *

                                      The number of vCPUs the instance has.

                                      - */ - cpuCount?: number; - - /** - *

                                      The disks attached to the instance.

                                      - */ - disks?: Disk[]; - - /** - *

                                      The amount of RAM in GB on the instance (e.g., 1.0).

                                      - */ - ramSizeInGb?: number; -} - -export namespace InstanceHardware { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceHardware): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes the monthly data transfer in and out of your virtual private server (or - * instance).

                                      - */ -export interface MonthlyTransfer { - /** - *

                                      The amount allocated per month (in GB).

                                      - */ - gbPerMonthAllocated?: number; -} - -export namespace MonthlyTransfer { - /** - * @internal - */ - export const filterSensitiveLog = (obj: MonthlyTransfer): any => ({ - ...obj, - }); -} - -export enum PortAccessType { - Private = "Private", - Public = "Public", -} - -/** - *

                                      Describes information about ports for an Amazon Lightsail instance.

                                      - */ -export interface InstancePortInfo { - /** - *

                                      The first port in a range of open ports on an instance.

                                      - *

                                      Allowed ports:

                                      - *
                                        - *
                                      • - *

                                        TCP and UDP - 0 to 65535 - *

                                        - *
                                      • - *
                                      • - *

                                        ICMP - The ICMP type for IPv4 addresses. For example, specify 8 as the - * fromPort (ICMP type), and -1 as the toPort (ICMP - * code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia.

                                        - *
                                      • - *
                                      • - *

                                        ICMPv6 - The ICMP type for IPv6 addresses. For example, specify 128 as - * the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 - * code). For more information, see Internet - * Control Message Protocol for IPv6.

                                        - *
                                      • - *
                                      - */ - fromPort?: number; - - /** - *

                                      The last port in a range of open ports on an instance.

                                      - *

                                      Allowed ports:

                                      - *
                                        - *
                                      • - *

                                        TCP and UDP - 0 to 65535 - *

                                        - *
                                      • - *
                                      • - *

                                        ICMP - The ICMP code for IPv4 addresses. For example, specify 8 as the - * fromPort (ICMP type), and -1 as the toPort (ICMP - * code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia.

                                        - *
                                      • - *
                                      • - *

                                        ICMPv6 - The ICMP code for IPv6 addresses. For example, specify 128 as - * the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 - * code). For more information, see Internet - * Control Message Protocol for IPv6.

                                        - *
                                      • - *
                                      - */ - toPort?: number; - - /** - *

                                      The IP protocol name.

                                      - *

                                      The name can be one of the following:

                                      - *
                                        - *
                                      • - *

                                        - * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and - * error-checked delivery of streamed data between applications running on hosts - * communicating by an IP network. If you have an application that doesn't require reliable - * data stream service, use UDP instead.

                                        - *
                                      • - *
                                      • - *

                                        - * all - All transport layer protocol types. For more general information, - * see Transport layer on - * Wikipedia.

                                        - *
                                      • - *
                                      • - *

                                        - * udp - With User Datagram Protocol (UDP), computer applications can send - * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior - * communications are not required to set up transmission channels or data paths. - * Applications that don't require reliable data stream service can use UDP, which provides a - * connectionless datagram service that emphasizes reduced latency over reliability. If you - * do require reliable data stream service, use TCP instead.

                                        - *
                                      • - *
                                      • - *

                                        - * icmp - Internet Control Message Protocol (ICMP) is used to send error - * messages and operational information indicating success or failure when communicating with - * an instance. For example, an error is indicated when an instance could not be reached. - * When you specify icmp as the protocol, you must specify the ICMP - * type using the fromPort parameter, and ICMP code using the - * toPort parameter.

                                        - *
                                      • - *
                                      - */ - protocol?: NetworkProtocol | string; - - /** - *

                                      The location from which access is allowed. For example, Anywhere (0.0.0.0/0), - * or Custom if a specific IP address or range of IP addresses is allowed.

                                      - */ - accessFrom?: string; - - /** - *

                                      The type of access (Public or Private).

                                      - */ - accessType?: PortAccessType | string; - - /** - *

                                      The common name of the port information.

                                      - */ - commonName?: string; - - /** - *

                                      The access direction (inbound or outbound).

                                      - * - *

                                      Lightsail currently supports only inbound access direction.

                                      - *
                                      - */ - accessDirection?: AccessDirection | string; - - /** - *

                                      The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to - * connect to an instance through the ports, and the protocol.

                                      - * - *

                                      The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to - * connect to an instance.

                                      - *
                                      - *

                                      For more information about CIDR block notation, see Classless - * Inter-Domain Routing on Wikipedia.

                                      - */ - cidrs?: string[]; - - /** - *

                                      The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to - * connect to an instance through the ports, and the protocol. Only devices with an IPv6 address - * can connect to an instance through IPv6; otherwise, IPv4 should be used.

                                      - * - *

                                      The cidrs parameter lists the IPv4 addresses that are allowed to connect to - * an instance.

                                      - *
                                      - *

                                      For more information about CIDR block notation, see Classless - * Inter-Domain Routing on Wikipedia.

                                      - */ - ipv6Cidrs?: string[]; - - /** - *

                                      An alias that defines access for a preconfigured range of IP addresses.

                                      - *

                                      The only alias currently supported is lightsail-connect, which allows IP - * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your - * instance.

                                      - */ - cidrListAliases?: string[]; -} - -export namespace InstancePortInfo { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstancePortInfo): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes monthly data transfer rates and port information for an instance.

                                      - */ -export interface InstanceNetworking { - /** - *

                                      The amount of data in GB allocated for monthly data transfers.

                                      - */ - monthlyTransfer?: MonthlyTransfer; - - /** - *

                                      An array of key-value pairs containing information about the ports on the instance.

                                      - */ - ports?: InstancePortInfo[]; -} - -export namespace InstanceNetworking { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceNetworking): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes the virtual private server (or instance) status.

                                      - */ -export interface InstanceState { - /** - *

                                      The status code for the instance.

                                      - */ - code?: number; - - /** - *

                                      The state of the instance (e.g., running or pending).

                                      - */ - name?: string; -} - -export namespace InstanceState { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceState): any => ({ - ...obj, - }); -} - -/** - *

                                      Describes an instance (a virtual private server).

                                      - */ -export interface Instance { - /** - *

                                      The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                                      - */ - name?: string; - - /** - *

                                      The Amazon Resource Name (ARN) of the instance (e.g., - * arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                                      - */ - arn?: string; - - /** - *

                                      The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                                      - */ - supportCode?: string; - - /** - *

                                      The timestamp when the instance was created (e.g., 1479734909.17) in Unix - * time format.

                                      - */ - createdAt?: Date; - - /** - *

                                      The region name and Availability Zone where the instance is located.

                                      - */ - location?: ResourceLocation; - - /** - *

                                      The type of resource (usually Instance).

                                      - */ - resourceType?: ResourceType | string; - - /** - *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * @internal */ - tags?: Tag[]; + export const filterSensitiveLog = (obj: GetDisksRequest): any => ({ + ...obj, + }); +} +export interface GetDisksResult { /** - *

                                      The blueprint ID (e.g., os_amlinux_2016_03).

                                      + *

                                      An array of objects containing information about all block storage disks.

                                      */ - blueprintId?: string; + disks?: Disk[]; /** - *

                                      The friendly name of the blueprint (e.g., Amazon Linux).

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetDisks request and specify + * the next page token using the pageToken parameter.

                                      */ - blueprintName?: string; + nextPageToken?: string; +} +export namespace GetDisksResult { /** - *

                                      The bundle for the instance (e.g., micro_1_0).

                                      + * @internal */ - bundleId?: string; + export const filterSensitiveLog = (obj: GetDisksResult): any => ({ + ...obj, + }); +} +export interface GetDiskSnapshotRequest { /** - *

                                      An array of objects representing the add-ons enabled on the instance.

                                      + *

                                      The name of the disk snapshot (e.g., my-disk-snapshot).

                                      */ - addOns?: AddOn[]; + diskSnapshotName: string | undefined; +} +export namespace GetDiskSnapshotRequest { /** - *

                                      A Boolean value indicating whether this instance has a static IP assigned to it.

                                      + * @internal */ - isStaticIp?: boolean; + export const filterSensitiveLog = (obj: GetDiskSnapshotRequest): any => ({ + ...obj, + }); +} +export interface GetDiskSnapshotResult { /** - *

                                      The private IP address of the instance.

                                      + *

                                      An object containing information about the disk snapshot.

                                      */ - privateIpAddress?: string; + diskSnapshot?: DiskSnapshot; +} +export namespace GetDiskSnapshotResult { /** - *

                                      The public IP address of the instance.

                                      + * @internal */ - publicIpAddress?: string; + export const filterSensitiveLog = (obj: GetDiskSnapshotResult): any => ({ + ...obj, + }); +} +export interface GetDiskSnapshotsRequest { /** - *

                                      The IPv6 addresses of the instance.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetDiskSnapshots request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                                      */ - ipv6Addresses?: string[]; + pageToken?: string; +} +export namespace GetDiskSnapshotsRequest { /** - *

                                      The IP address type of the instance.

                                      - * - *

                                      The possible values are ipv4 for IPv4 only, and dualstack for - * IPv4 and IPv6.

                                      + * @internal */ - ipAddressType?: IpAddressType | string; + export const filterSensitiveLog = (obj: GetDiskSnapshotsRequest): any => ({ + ...obj, + }); +} +export interface GetDiskSnapshotsResult { /** - *

                                      The size of the vCPU and the amount of RAM for the instance.

                                      + *

                                      An array of objects containing information about all block storage disk snapshots.

                                      */ - hardware?: InstanceHardware; + diskSnapshots?: DiskSnapshot[]; /** - *

                                      Information about the public ports and monthly data transfer rates for the - * instance.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetDiskSnapshots request and + * specify the next page token using the pageToken parameter.

                                      */ - networking?: InstanceNetworking; + nextPageToken?: string; +} +export namespace GetDiskSnapshotsResult { /** - *

                                      The status code and the state (e.g., running) for the instance.

                                      + * @internal */ - state?: InstanceState; + export const filterSensitiveLog = (obj: GetDiskSnapshotsResult): any => ({ + ...obj, + }); +} + +export interface GetDistributionBundlesRequest {} +export namespace GetDistributionBundlesRequest { /** - *

                                      The user name for connecting to the instance (e.g., ec2-user).

                                      + * @internal */ - username?: string; + export const filterSensitiveLog = (obj: GetDistributionBundlesRequest): any => ({ + ...obj, + }); +} +export interface GetDistributionBundlesResult { /** - *

                                      The name of the SSH key being used to connect to the instance (e.g., - * LightsailDefaultKeyPair).

                                      + *

                                      An object that describes a distribution bundle.

                                      */ - sshKeyName?: string; + bundles?: DistributionBundle[]; } -export namespace Instance { +export namespace GetDistributionBundlesResult { /** * @internal */ - export const filterSensitiveLog = (obj: Instance): any => ({ + export const filterSensitiveLog = (obj: GetDistributionBundlesResult): any => ({ ...obj, }); } -export interface GetInstanceResult { +export interface GetDistributionLatestCacheResetRequest { /** - *

                                      An array of key-value pairs containing information about the specified instance.

                                      + *

                                      The name of the distribution for which to return the timestamp of the last cache + * reset.

                                      + *

                                      Use the GetDistributions action to get a list of distribution names that you + * can specify.

                                      + *

                                      When omitted, the response includes the latest cache reset timestamp of all your + * distributions.

                                      */ - instance?: Instance; + distributionName?: string; } -export namespace GetInstanceResult { +export namespace GetDistributionLatestCacheResetRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceResult): any => ({ + export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetRequest): any => ({ ...obj, }); } -export enum InstanceAccessProtocol { - rdp = "rdp", - ssh = "ssh", -} - -export interface GetInstanceAccessDetailsRequest { +export interface GetDistributionLatestCacheResetResult { /** - *

                                      The name of the instance to access.

                                      + *

                                      The status of the last cache reset.

                                      */ - instanceName: string | undefined; + status?: string; /** - *

                                      The protocol to use to connect to your instance. Defaults to ssh.

                                      + *

                                      The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time + * format.

                                      */ - protocol?: InstanceAccessProtocol | string; + createTime?: Date; } -export namespace GetInstanceAccessDetailsRequest { +export namespace GetDistributionLatestCacheResetResult { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceAccessDetailsRequest): any => ({ + export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetResult): any => ({ ...obj, }); } -/** - *

                                      Describes the public SSH host keys or the RDP certificate.

                                      - */ -export interface HostKeyAttributes { +export interface GetDistributionMetricDataRequest { /** - *

                                      The SSH host key algorithm or the RDP certificate format.

                                      - *

                                      For SSH host keys, the algorithm may be ssh-rsa, - * ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the - * algorithm is always x509-cert.

                                      + *

                                      The name of the distribution for which to get metric data.

                                      + *

                                      Use the GetDistributions action to get a list of distribution names that you + * can specify.

                                      */ - algorithm?: string; + distributionName: string | undefined; /** - *

                                      The public SSH host key or the RDP certificate.

                                      + *

                                      The metric for which you want to return information.

                                      + *

                                      Valid distribution metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit + * value.

                                      + *
                                        + *
                                      • + *

                                        + * + * Requests + * - The total number of viewer + * requests received by your Lightsail distribution, for all HTTP methods, and for both + * HTTP and HTTPS requests.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is None.

                                        + *
                                      • + *
                                      • + *

                                        + * + * BytesDownloaded + * - The number of bytes + * downloaded by viewers for GET, HEAD, and OPTIONS requests.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is None.

                                        + *
                                      • + *
                                      • + *

                                        + * + * BytesUploaded + * - The number of bytes + * uploaded to your origin by your Lightsail distribution, using POST and PUT + * requests.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is None.

                                        + *
                                      • + *
                                      • + *

                                        + * + * TotalErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status code was 4xx or 5xx.

                                        + *

                                        + * Statistics: The most useful statistic is Average.

                                        + *

                                        + * Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      • + *

                                        + * + * 4xxErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status cod was 4xx. In these cases, the + * client or client viewer may have made an error. For example, a status code of 404 (Not + * Found) means that the client requested an object that could not be found.

                                        + *

                                        + * Statistics: The most useful statistic is Average.

                                        + *

                                        + * Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      • + *

                                        + * + * 5xxErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status code was 5xx. In these cases, the + * origin server did not satisfy the requests. For example, a status code of 503 (Service + * Unavailable) means that the origin server is currently unavailable.

                                        + *

                                        + * Statistics: The most useful statistic is Average.

                                        + *

                                        + * Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      */ - publicKey?: string; + metricName: DistributionMetricName | string | undefined; /** - *

                                      The time that the SSH host key or RDP certificate was recorded by Lightsail.

                                      + *

                                      The start of the time interval for which to get metric data.

                                      + *

                                      Constraints:

                                      + *
                                        + *
                                      • + *

                                        Specified in Coordinated Universal Time (UTC).

                                        + *
                                      • + *
                                      • + *

                                        Specified in the Unix time format.

                                        + *

                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify + * 1538424000 as the start time.

                                        + *
                                      • + *
                                      + *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      */ - witnessedAt?: Date; + startTime: Date | undefined; /** - *

                                      The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

                                      + *

                                      The end of the time interval for which to get metric data.

                                      + *

                                      Constraints:

                                      *
                                        *
                                      • - *

                                        Example of an SHA-1 SSH fingerprint:

                                        - *

                                        - * SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0 - *

                                        + *

                                        Specified in Coordinated Universal Time (UTC).

                                        *
                                      • *
                                      • - *

                                        Example of an SHA-1 RDP fingerprint:

                                        - *

                                        - * af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45 - *

                                        + *

                                        Specified in the Unix time format.

                                        + *

                                        For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify + * 1538427600 as the end time.

                                        *
                                      • *
                                      + *

                                      You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                                      */ - fingerprintSHA1?: string; + endTime: Date | undefined; + + /** + *

                                      The granularity, in seconds, for the metric data points that will be returned.

                                      + */ + period: number | undefined; + + /** + *

                                      The unit for the metric data request.

                                      + *

                                      Valid units depend on the metric data being requested. For the valid units with each + * available metric, see the metricName parameter.

                                      + */ + unit: MetricUnit | string | undefined; /** - *

                                      The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                                      + *

                                      The statistic for the metric.

                                      + *

                                      The following statistics are available:

                                      *
                                        *
                                      • - *

                                        Example of an SHA-256 SSH fingerprint:

                                        *

                                        - * SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o - *

                                        + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                                        + *
                                      • + *
                                      • + *

                                        + * Average - The value of Sum / SampleCount during the specified period. By + * comparing this statistic with the Minimum and Maximum values, you can determine the full + * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                                        *
                                      • *
                                      • - *

                                        Example of an SHA-256 RDP fingerprint:

                                        *

                                        - * 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68 - *

                                        + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                                        *
                                      • *
                                      */ - fingerprintSHA256?: string; - - /** - *

                                      The returned RDP certificate is valid after this point in time.

                                      - *

                                      This value is listed only for RDP certificates.

                                      - */ - notValidBefore?: Date; - - /** - *

                                      The returned RDP certificate is not valid after this point in time.

                                      - *

                                      This value is listed only for RDP certificates.

                                      - */ - notValidAfter?: Date; + statistics: (MetricStatistic | string)[] | undefined; } -export namespace HostKeyAttributes { +export namespace GetDistributionMetricDataRequest { /** * @internal */ - export const filterSensitiveLog = (obj: HostKeyAttributes): any => ({ + export const filterSensitiveLog = (obj: GetDistributionMetricDataRequest): any => ({ ...obj, }); } -/** - *

                                      The password data for the Windows Server-based instance, including the ciphertext and the - * key pair name.

                                      - */ -export interface PasswordData { +export interface GetDistributionMetricDataResult { /** - *

                                      The encrypted password. Ciphertext will be an empty string if access to your new instance - * is not ready yet. When you create an instance, it can take up to 15 minutes for the instance - * to be ready.

                                      - * - *

                                      If you use the default key pair (LightsailDefaultKeyPair), the decrypted - * password will be available in the password field.

                                      - *

                                      If you are using a custom key pair, you need to use your own means of decryption.

                                      - *

                                      If you change the Administrator password on the instance, Lightsail will continue to - * return the original ciphertext value. When accessing the instance using RDP, you need to - * manually enter the Administrator password after changing it from the default.

                                      - *
                                      + *

                                      The name of the metric returned.

                                      */ - ciphertext?: string; + metricName?: DistributionMetricName | string; /** - *

                                      The name of the key pair that you used when creating your instance. If no key pair name - * was specified when creating the instance, Lightsail uses the default key pair - * (LightsailDefaultKeyPair).

                                      - *

                                      If you are using a custom key pair, you need to use your own means of decrypting your - * password using the ciphertext. Lightsail creates the ciphertext by encrypting - * your password with the public key part of this key pair.

                                      + *

                                      An array of objects that describe the metric data returned.

                                      */ - keyPairName?: string; + metricData?: MetricDatapoint[]; } -export namespace PasswordData { +export namespace GetDistributionMetricDataResult { /** * @internal */ - export const filterSensitiveLog = (obj: PasswordData): any => ({ + export const filterSensitiveLog = (obj: GetDistributionMetricDataResult): any => ({ ...obj, }); } -/** - *

                                      The parameters for gaining temporary access to one of your Amazon Lightsail - * instances.

                                      - */ -export interface InstanceAccessDetails { - /** - *

                                      For SSH access, the public key to use when accessing your instance For OpenSSH clients - * (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                                      - */ - certKey?: string; - +export interface GetDistributionsRequest { /** - *

                                      For SSH access, the date on which the temporary keys expire.

                                      + *

                                      The name of the distribution for which to return information.

                                      + * + *

                                      When omitted, the response includes all of your distributions in the AWS Region where + * the request is made.

                                      */ - expiresAt?: Date; + distributionName?: string; /** - *

                                      The public IP address of the Amazon Lightsail instance.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetDistributions request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                                      */ - ipAddress?: string; + pageToken?: string; +} +export namespace GetDistributionsRequest { /** - *

                                      For RDP access, the password for your Amazon Lightsail instance. Password will be an empty - * string if the password for your new instance is not ready yet. When you create an instance, it - * can take up to 15 minutes for the instance to be ready.

                                      - * - *

                                      If you create an instance using any key pair other than the default - * (LightsailDefaultKeyPair), password will always be an empty - * string.

                                      - *

                                      If you change the Administrator password on the instance, Lightsail will continue to - * return the original password value. When accessing the instance using RDP, you need to - * manually enter the Administrator password after changing it from the default.

                                      - *
                                      + * @internal */ - password?: string; + export const filterSensitiveLog = (obj: GetDistributionsRequest): any => ({ + ...obj, + }); +} +export interface GetDistributionsResult { /** - *

                                      For a Windows Server-based instance, an object with the data you can use to retrieve your - * password. This is only needed if password is empty and the instance is not new - * (and therefore the password is not ready yet). When you create an instance, it can take up to - * 15 minutes for the instance to be ready.

                                      + *

                                      An array of objects that describe your distributions.

                                      */ - passwordData?: PasswordData; + distributions?: LightsailDistribution[]; /** - *

                                      For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), - * you should save this value to tempkey).

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetDistributions request and + * specify the next page token using the pageToken parameter.

                                      */ - privateKey?: string; + nextPageToken?: string; +} +export namespace GetDistributionsResult { /** - *

                                      The protocol for these Amazon Lightsail instance access details.

                                      + * @internal */ - protocol?: InstanceAccessProtocol | string; + export const filterSensitiveLog = (obj: GetDistributionsResult): any => ({ + ...obj, + }); +} +export interface GetDomainRequest { /** - *

                                      The name of this Amazon Lightsail instance.

                                      + *

                                      The domain name for which your want to return information about.

                                      */ - instanceName?: string; + domainName: string | undefined; +} +export namespace GetDomainRequest { /** - *

                                      The user name to use when logging in to the Amazon Lightsail instance.

                                      + * @internal */ - username?: string; + export const filterSensitiveLog = (obj: GetDomainRequest): any => ({ + ...obj, + }); +} +export interface GetDomainResult { /** - *

                                      Describes the public SSH host keys or the RDP certificate.

                                      + *

                                      An array of key-value pairs containing information about your get domain request.

                                      */ - hostKeys?: HostKeyAttributes[]; + domain?: Domain; } -export namespace InstanceAccessDetails { +export namespace GetDomainResult { /** * @internal */ - export const filterSensitiveLog = (obj: InstanceAccessDetails): any => ({ + export const filterSensitiveLog = (obj: GetDomainResult): any => ({ ...obj, }); } -export interface GetInstanceAccessDetailsResult { +export interface GetDomainsRequest { /** - *

                                      An array of key-value pairs containing information about a get instance access - * request.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetDomains request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                                      */ - accessDetails?: InstanceAccessDetails; + pageToken?: string; } -export namespace GetInstanceAccessDetailsResult { +export namespace GetDomainsRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceAccessDetailsResult): any => ({ + export const filterSensitiveLog = (obj: GetDomainsRequest): any => ({ ...obj, }); } -export enum InstanceMetricName { - BurstCapacityPercentage = "BurstCapacityPercentage", - BurstCapacityTime = "BurstCapacityTime", - CPUUtilization = "CPUUtilization", - NetworkIn = "NetworkIn", - NetworkOut = "NetworkOut", - StatusCheckFailed = "StatusCheckFailed", - StatusCheckFailed_Instance = "StatusCheckFailed_Instance", - StatusCheckFailed_System = "StatusCheckFailed_System", +export interface GetDomainsResult { + /** + *

                                      An array of key-value pairs containing information about each of the domain entries in the + * user's account.

                                      + */ + domains?: Domain[]; + + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetDomains request and + * specify the next page token using the pageToken parameter.

                                      + */ + nextPageToken?: string; } -export interface GetInstanceMetricDataRequest { +export namespace GetDomainsResult { /** - *

                                      The name of the instance for which you want to get metrics data.

                                      + * @internal */ - instanceName: string | undefined; + export const filterSensitiveLog = (obj: GetDomainsResult): any => ({ + ...obj, + }); +} +export interface GetExportSnapshotRecordsRequest { /** - *

                                      The metric for which you want to return information.

                                      - *

                                      Valid instance metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit - * value.

                                      - *
                                        - *
                                      • - *

                                        - * - * BurstCapacityPercentage - * - The percentage - * of CPU performance available for your instance to burst above its baseline. Your instance - * continuously accrues and consumes burst capacity. Burst capacity stops accruing when your - * instance's BurstCapacityPercentage reaches 100%. For more information, see - * Viewing instance burst capacity in Amazon Lightsail.

                                        - *

                                        - * Statistics: The most useful statistics are Maximum and - * Average.

                                        - *

                                        - * Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      • - *

                                        - * - * BurstCapacityTime - * - The available amount - * of time for your instance to burst at 100% CPU utilization. Your instance continuously - * accrues and consumes burst capacity. Burst capacity time stops accruing when your - * instance's BurstCapacityPercentage metric reaches 100%.

                                        - *

                                        Burst capacity time is consumed at the full rate only when your instance operates at - * 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the - * burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% - * rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity - * minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                                        - *

                                        - * Statistics: The most useful statistics are Maximum and - * Average.

                                        - *

                                        - * Unit: The published unit is Seconds.

                                        - *
                                      • - *
                                      • - *

                                        - * - * CPUUtilization - * - The percentage of - * allocated compute units that are currently in use on the instance. This metric identifies - * the processing power to run the applications on the instance. Tools in your operating - * system can show a lower percentage than Lightsail when the instance is not allocated a - * full processor core.

                                        - *

                                        - * Statistics: The most useful statistics are Maximum and - * Average.

                                        - *

                                        - * Unit: The published unit is Percent.

                                        - *
                                      • - *
                                      • - *

                                        - * - * NetworkIn - * - The number of bytes received - * on all network interfaces by the instance. This metric identifies the volume of incoming - * network traffic to the instance. The number reported is the number of bytes received - * during the period. Because this metric is reported in 5-minute intervals, divide the - * reported number by 300 to find Bytes/second.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is Bytes.

                                        - *
                                      • - *
                                      • - *

                                        - * - * NetworkOut - * - The number of bytes sent - * out on all network interfaces by the instance. This metric identifies the volume of - * outgoing network traffic from the instance. The number reported is the number of bytes - * sent during the period. Because this metric is reported in 5-minute intervals, divide the - * reported number by 300 to find Bytes/second.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is Bytes.

                                        - *
                                      • - *
                                      • - *

                                        - * - * StatusCheckFailed - * - Reports whether the - * instance passed or failed both the instance status check and the system status check. This - * metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute - * (60 seconds) granularity.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is Count.

                                        - *
                                      • - *
                                      • - *

                                        - * - * StatusCheckFailed_Instance - * - Reports - * whether the instance passed or failed the instance status check. This metric can be either - * 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) - * granularity.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is Count.

                                        - *
                                      • - *
                                      • - *

                                        - * - * StatusCheckFailed_System - * - Reports - * whether the instance passed or failed the system status check. This metric can be either 0 - * (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) - * granularity.

                                        - *

                                        - * Statistics: The most useful statistic is Sum.

                                        - *

                                        - * Unit: The published unit is Count.

                                        - *
                                      • - *
                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetExportSnapshotRecords request. If + * your results are paginated, the response will return a next page token that you can specify as + * the page token in a subsequent request.

                                      */ - metricName: InstanceMetricName | string | undefined; + pageToken?: string; +} +export namespace GetExportSnapshotRecordsRequest { /** - *

                                      The granularity, in seconds, of the returned data points.

                                      - *

                                      The StatusCheckFailed, StatusCheckFailed_Instance, and - * StatusCheckFailed_System instance metric data is available in 1-minute (60 - * seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) - * granularity.

                                      + * @internal */ - period: number | undefined; + export const filterSensitiveLog = (obj: GetExportSnapshotRecordsRequest): any => ({ + ...obj, + }); +} +export interface GetExportSnapshotRecordsResult { /** - *

                                      The start time of the time period.

                                      + *

                                      A list of objects describing the export snapshot records.

                                      */ - startTime: Date | undefined; + exportSnapshotRecords?: ExportSnapshotRecord[]; /** - *

                                      The end time of the time period.

                                      + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetExportSnapshotRecords + * request and specify the next page token using the pageToken parameter.

                                      */ - endTime: Date | undefined; + nextPageToken?: string; +} +export namespace GetExportSnapshotRecordsResult { /** - *

                                      The unit for the metric data request. Valid units depend on the metric data being - * requested. For the valid units to specify with each available metric, see the - * metricName parameter.

                                      + * @internal */ - unit: MetricUnit | string | undefined; + export const filterSensitiveLog = (obj: GetExportSnapshotRecordsResult): any => ({ + ...obj, + }); +} +export interface GetInstanceRequest { /** - *

                                      The statistic for the metric.

                                      - *

                                      The following statistics are available:

                                      - *
                                        - *
                                      • - *

                                        - * Minimum - The lowest value observed during the specified period. Use this - * value to determine low volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Maximum - The highest value observed during the specified period. Use - * this value to determine high volumes of activity for your application.

                                        - *
                                      • - *
                                      • - *

                                        - * Sum - All values submitted for the matching metric added together. You - * can use this statistic to determine the total volume of a metric.

                                        - *
                                      • - *
                                      • - *

                                        - * Average - The value of Sum / SampleCount during the specified period. By - * comparing this statistic with the Minimum and Maximum values, you can determine the full - * scope of a metric and how close the average use is to the Minimum and Maximum values. This - * comparison helps you to know when to increase or decrease your resources.

                                        - *
                                      • - *
                                      • - *

                                        - * SampleCount - The count, or number, of data points used for the - * statistical calculation.

                                        - *
                                      • - *
                                      + *

                                      The name of the instance.

                                      */ - statistics: (MetricStatistic | string)[] | undefined; + instanceName: string | undefined; } -export namespace GetInstanceMetricDataRequest { +export namespace GetInstanceRequest { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceMetricDataRequest): any => ({ + export const filterSensitiveLog = (obj: GetInstanceRequest): any => ({ ...obj, }); } -export interface GetInstanceMetricDataResult { +/** + *

                                      Describes the hardware for the instance.

                                      + */ +export interface InstanceHardware { /** - *

                                      The name of the metric returned.

                                      + *

                                      The number of vCPUs the instance has.

                                      */ - metricName?: InstanceMetricName | string; + cpuCount?: number; /** - *

                                      An array of objects that describe the metric data returned.

                                      + *

                                      The disks attached to the instance.

                                      */ - metricData?: MetricDatapoint[]; + disks?: Disk[]; + + /** + *

                                      The amount of RAM in GB on the instance (e.g., 1.0).

                                      + */ + ramSizeInGb?: number; } -export namespace GetInstanceMetricDataResult { +export namespace InstanceHardware { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceMetricDataResult): any => ({ + export const filterSensitiveLog = (obj: InstanceHardware): any => ({ ...obj, }); } -export interface GetInstancePortStatesRequest { +/** + *

                                      Describes the monthly data transfer in and out of your virtual private server (or + * instance).

                                      + */ +export interface MonthlyTransfer { /** - *

                                      The name of the instance for which to return firewall port states.

                                      + *

                                      The amount allocated per month (in GB).

                                      */ - instanceName: string | undefined; + gbPerMonthAllocated?: number; } -export namespace GetInstancePortStatesRequest { +export namespace MonthlyTransfer { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstancePortStatesRequest): any => ({ + export const filterSensitiveLog = (obj: MonthlyTransfer): any => ({ ...obj, }); } -export enum PortState { - Closed = "closed", - Open = "open", +export enum PortAccessType { + Private = "Private", + Public = "Public", } /** - *

                                      Describes open ports on an instance, the IP addresses allowed to connect to the instance - * through the ports, and the protocol.

                                      + *

                                      Describes information about ports for an Amazon Lightsail instance.

                                      */ -export interface InstancePortState { +export interface InstancePortInfo { /** *

                                      The first port in a range of open ports on an instance.

                                      *

                                      Allowed ports:

                                      @@ -9545,12 +9534,28 @@ export interface InstancePortState { protocol?: NetworkProtocol | string; /** - *

                                      Specifies whether the instance port is open or closed.

                                      + *

                                      The location from which access is allowed. For example, Anywhere (0.0.0.0/0), + * or Custom if a specific IP address or range of IP addresses is allowed.

                                      + */ + accessFrom?: string; + + /** + *

                                      The type of access (Public or Private).

                                      + */ + accessType?: PortAccessType | string; + + /** + *

                                      The common name of the port information.

                                      + */ + commonName?: string; + + /** + *

                                      The access direction (inbound or outbound).

                                      * - *

                                      The port state for Lightsail instances is always open.

                                      + *

                                      Lightsail currently supports only inbound access direction.

                                      *
                                      */ - state?: PortState | string; + accessDirection?: AccessDirection | string; /** *

                                      The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to @@ -9586,293 +9591,59 @@ export interface InstancePortState { cidrListAliases?: string[]; } -export namespace InstancePortState { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstancePortState): any => ({ - ...obj, - }); -} - -export interface GetInstancePortStatesResult { - /** - *

                                      An array of objects that describe the firewall port states for the specified - * instance.

                                      - */ - portStates?: InstancePortState[]; -} - -export namespace GetInstancePortStatesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstancePortStatesResult): any => ({ - ...obj, - }); -} - -export interface GetInstancesRequest { - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetInstances request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                                      - */ - pageToken?: string; -} - -export namespace GetInstancesRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstancesRequest): any => ({ - ...obj, - }); -} - -export interface GetInstancesResult { - /** - *

                                      An array of key-value pairs containing information about your instances.

                                      - */ - instances?: Instance[]; - - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetInstances request and - * specify the next page token using the pageToken parameter.

                                      - */ - nextPageToken?: string; -} - -export namespace GetInstancesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstancesResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotRequest { - /** - *

                                      The name of the snapshot for which you are requesting information.

                                      - */ - instanceSnapshotName: string | undefined; -} - -export namespace GetInstanceSnapshotRequest { +export namespace InstancePortInfo { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceSnapshotRequest): any => ({ + export const filterSensitiveLog = (obj: InstancePortInfo): any => ({ ...obj, }); } -export enum InstanceSnapshotState { - Available = "available", - Error = "error", - Pending = "pending", -} - /** - *

                                      Describes an instance snapshot.

                                      + *

                                      Describes monthly data transfer rates and port information for an instance.

                                      */ -export interface InstanceSnapshot { - /** - *

                                      The name of the snapshot.

                                      - */ - name?: string; - - /** - *

                                      The Amazon Resource Name (ARN) of the snapshot (e.g., - * arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                                      - */ - arn?: string; - - /** - *

                                      The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                                      - */ - supportCode?: string; - - /** - *

                                      The timestamp when the snapshot was created (e.g., 1479907467.024).

                                      - */ - createdAt?: Date; - - /** - *

                                      The region name and Availability Zone where you created the snapshot.

                                      - */ - location?: ResourceLocation; - - /** - *

                                      The type of resource (usually InstanceSnapshot).

                                      - */ - resourceType?: ResourceType | string; - - /** - *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      - */ - tags?: Tag[]; - - /** - *

                                      The state the snapshot is in.

                                      - */ - state?: InstanceSnapshotState | string; - - /** - *

                                      The progress of the snapshot.

                                      - * - *

                                      This is populated only for disk snapshots, and is null for instance - * snapshots.

                                      - *
                                      - */ - progress?: string; - - /** - *

                                      An array of disk objects containing information about all block storage disks.

                                      - */ - fromAttachedDisks?: Disk[]; - - /** - *

                                      The instance from which the snapshot was created.

                                      - */ - fromInstanceName?: string; - - /** - *

                                      The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., - * arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                                      - */ - fromInstanceArn?: string; - - /** - *

                                      The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A - * blueprint is a virtual private server (or instance) image used to create - * instances quickly.

                                      - */ - fromBlueprintId?: string; - - /** - *

                                      The bundle ID from which you created the snapshot (e.g., micro_1_0).

                                      - */ - fromBundleId?: string; - - /** - *

                                      A Boolean value indicating whether the snapshot was created from an automatic - * snapshot.

                                      - */ - isFromAutoSnapshot?: boolean; - - /** - *

                                      The size in GB of the SSD.

                                      - */ - sizeInGb?: number; -} - -export namespace InstanceSnapshot { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceSnapshot): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotResult { - /** - *

                                      An array of key-value pairs containing information about the results of your get instance - * snapshot request.

                                      - */ - instanceSnapshot?: InstanceSnapshot; -} - -export namespace GetInstanceSnapshotResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstanceSnapshotResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotsRequest { - /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      To get a page token, perform an initial GetInstanceSnapshots request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                                      - */ - pageToken?: string; -} - -export namespace GetInstanceSnapshotsRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: GetInstanceSnapshotsRequest): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotsResult { +export interface InstanceNetworking { /** - *

                                      An array of key-value pairs containing information about the results of your get instance - * snapshots request.

                                      + *

                                      The amount of data in GB allocated for monthly data transfers.

                                      */ - instanceSnapshots?: InstanceSnapshot[]; + monthlyTransfer?: MonthlyTransfer; /** - *

                                      The token to advance to the next page of results from your request.

                                      - *

                                      A next page token is not returned if there are no more results to display.

                                      - *

                                      To get the next page of results, perform another GetInstanceSnapshots request - * and specify the next page token using the pageToken parameter.

                                      + *

                                      An array of key-value pairs containing information about the ports on the instance.

                                      */ - nextPageToken?: string; + ports?: InstancePortInfo[]; } -export namespace GetInstanceSnapshotsResult { +export namespace InstanceNetworking { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceSnapshotsResult): any => ({ + export const filterSensitiveLog = (obj: InstanceNetworking): any => ({ ...obj, }); } -export interface GetInstanceStateRequest { - /** - *

                                      The name of the instance to get state information about.

                                      - */ - instanceName: string | undefined; -} - -export namespace GetInstanceStateRequest { +/** + *

                                      Describes the virtual private server (or instance) status.

                                      + */ +export interface InstanceState { /** - * @internal + *

                                      The status code for the instance.

                                      */ - export const filterSensitiveLog = (obj: GetInstanceStateRequest): any => ({ - ...obj, - }); -} + code?: number; -export interface GetInstanceStateResult { /** - *

                                      The state of the instance.

                                      + *

                                      The state of the instance (e.g., running or pending).

                                      */ - state?: InstanceState; + name?: string; } -export namespace GetInstanceStateResult { +export namespace InstanceState { /** * @internal */ - export const filterSensitiveLog = (obj: GetInstanceStateResult): any => ({ + export const filterSensitiveLog = (obj: InstanceState): any => ({ ...obj, }); } diff --git a/clients/client-lightsail/models/models_1.ts b/clients/client-lightsail/models/models_1.ts index 13e59cf36b25e..9f021010b4688 100644 --- a/clients/client-lightsail/models/models_1.ts +++ b/clients/client-lightsail/models/models_1.ts @@ -1,6 +1,9 @@ import { + AccessRules, + AddOn, AlarmState, AvailabilityZone, + Bucket, CacheBehavior, CacheBehaviorPerPath, CacheSettings, @@ -10,14 +13,19 @@ import { ContainerImage, ContainerService, ContainerServicePowerName, + Disk, DomainEntry, InputOrigin, + InstanceHardware, + InstanceNetworking, + InstanceState, IpAddressType, KeyPair, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, + NetworkProtocol, Operation, PortInfo, RegionName, @@ -28,6 +36,1074 @@ import { } from "./models_0"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; +/** + *

                                      Describes an instance (a virtual private server).

                                      + */ +export interface Instance { + /** + *

                                      The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                                      + */ + name?: string; + + /** + *

                                      The Amazon Resource Name (ARN) of the instance (e.g., + * arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                                      + */ + arn?: string; + + /** + *

                                      The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                                      + */ + supportCode?: string; + + /** + *

                                      The timestamp when the instance was created (e.g., 1479734909.17) in Unix + * time format.

                                      + */ + createdAt?: Date; + + /** + *

                                      The region name and Availability Zone where the instance is located.

                                      + */ + location?: ResourceLocation; + + /** + *

                                      The type of resource (usually Instance).

                                      + */ + resourceType?: ResourceType | string; + + /** + *

                                      The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      + */ + tags?: Tag[]; + + /** + *

                                      The blueprint ID (e.g., os_amlinux_2016_03).

                                      + */ + blueprintId?: string; + + /** + *

                                      The friendly name of the blueprint (e.g., Amazon Linux).

                                      + */ + blueprintName?: string; + + /** + *

                                      The bundle for the instance (e.g., micro_1_0).

                                      + */ + bundleId?: string; + + /** + *

                                      An array of objects representing the add-ons enabled on the instance.

                                      + */ + addOns?: AddOn[]; + + /** + *

                                      A Boolean value indicating whether this instance has a static IP assigned to it.

                                      + */ + isStaticIp?: boolean; + + /** + *

                                      The private IP address of the instance.

                                      + */ + privateIpAddress?: string; + + /** + *

                                      The public IP address of the instance.

                                      + */ + publicIpAddress?: string; + + /** + *

                                      The IPv6 addresses of the instance.

                                      + */ + ipv6Addresses?: string[]; + + /** + *

                                      The IP address type of the instance.

                                      + * + *

                                      The possible values are ipv4 for IPv4 only, and dualstack for + * IPv4 and IPv6.

                                      + */ + ipAddressType?: IpAddressType | string; + + /** + *

                                      The size of the vCPU and the amount of RAM for the instance.

                                      + */ + hardware?: InstanceHardware; + + /** + *

                                      Information about the public ports and monthly data transfer rates for the + * instance.

                                      + */ + networking?: InstanceNetworking; + + /** + *

                                      The status code and the state (e.g., running) for the instance.

                                      + */ + state?: InstanceState; + + /** + *

                                      The user name for connecting to the instance (e.g., ec2-user).

                                      + */ + username?: string; + + /** + *

                                      The name of the SSH key being used to connect to the instance (e.g., + * LightsailDefaultKeyPair).

                                      + */ + sshKeyName?: string; +} + +export namespace Instance { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Instance): any => ({ + ...obj, + }); +} + +export interface GetInstanceResult { + /** + *

                                      An array of key-value pairs containing information about the specified instance.

                                      + */ + instance?: Instance; +} + +export namespace GetInstanceResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceResult): any => ({ + ...obj, + }); +} + +export enum InstanceAccessProtocol { + rdp = "rdp", + ssh = "ssh", +} + +export interface GetInstanceAccessDetailsRequest { + /** + *

                                      The name of the instance to access.

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

                                      The protocol to use to connect to your instance. Defaults to ssh.

                                      + */ + protocol?: InstanceAccessProtocol | string; +} + +export namespace GetInstanceAccessDetailsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceAccessDetailsRequest): any => ({ + ...obj, + }); +} + +/** + *

                                      Describes the public SSH host keys or the RDP certificate.

                                      + */ +export interface HostKeyAttributes { + /** + *

                                      The SSH host key algorithm or the RDP certificate format.

                                      + *

                                      For SSH host keys, the algorithm may be ssh-rsa, + * ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the + * algorithm is always x509-cert.

                                      + */ + algorithm?: string; + + /** + *

                                      The public SSH host key or the RDP certificate.

                                      + */ + publicKey?: string; + + /** + *

                                      The time that the SSH host key or RDP certificate was recorded by Lightsail.

                                      + */ + witnessedAt?: Date; + + /** + *

                                      The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

                                      + *
                                        + *
                                      • + *

                                        Example of an SHA-1 SSH fingerprint:

                                        + *

                                        + * SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0 + *

                                        + *
                                      • + *
                                      • + *

                                        Example of an SHA-1 RDP fingerprint:

                                        + *

                                        + * af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45 + *

                                        + *
                                      • + *
                                      + */ + fingerprintSHA1?: string; + + /** + *

                                      The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                                      + *
                                        + *
                                      • + *

                                        Example of an SHA-256 SSH fingerprint:

                                        + *

                                        + * SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o + *

                                        + *
                                      • + *
                                      • + *

                                        Example of an SHA-256 RDP fingerprint:

                                        + *

                                        + * 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68 + *

                                        + *
                                      • + *
                                      + */ + fingerprintSHA256?: string; + + /** + *

                                      The returned RDP certificate is valid after this point in time.

                                      + *

                                      This value is listed only for RDP certificates.

                                      + */ + notValidBefore?: Date; + + /** + *

                                      The returned RDP certificate is not valid after this point in time.

                                      + *

                                      This value is listed only for RDP certificates.

                                      + */ + notValidAfter?: Date; +} + +export namespace HostKeyAttributes { + /** + * @internal + */ + export const filterSensitiveLog = (obj: HostKeyAttributes): any => ({ + ...obj, + }); +} + +/** + *

                                      The password data for the Windows Server-based instance, including the ciphertext and the + * key pair name.

                                      + */ +export interface PasswordData { + /** + *

                                      The encrypted password. Ciphertext will be an empty string if access to your new instance + * is not ready yet. When you create an instance, it can take up to 15 minutes for the instance + * to be ready.

                                      + * + *

                                      If you use the default key pair (LightsailDefaultKeyPair), the decrypted + * password will be available in the password field.

                                      + *

                                      If you are using a custom key pair, you need to use your own means of decryption.

                                      + *

                                      If you change the Administrator password on the instance, Lightsail will continue to + * return the original ciphertext value. When accessing the instance using RDP, you need to + * manually enter the Administrator password after changing it from the default.

                                      + *
                                      + */ + ciphertext?: string; + + /** + *

                                      The name of the key pair that you used when creating your instance. If no key pair name + * was specified when creating the instance, Lightsail uses the default key pair + * (LightsailDefaultKeyPair).

                                      + *

                                      If you are using a custom key pair, you need to use your own means of decrypting your + * password using the ciphertext. Lightsail creates the ciphertext by encrypting + * your password with the public key part of this key pair.

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

                                      The parameters for gaining temporary access to one of your Amazon Lightsail + * instances.

                                      + */ +export interface InstanceAccessDetails { + /** + *

                                      For SSH access, the public key to use when accessing your instance For OpenSSH clients + * (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                                      + */ + certKey?: string; + + /** + *

                                      For SSH access, the date on which the temporary keys expire.

                                      + */ + expiresAt?: Date; + + /** + *

                                      The public IP address of the Amazon Lightsail instance.

                                      + */ + ipAddress?: string; + + /** + *

                                      For RDP access, the password for your Amazon Lightsail instance. Password will be an empty + * string if the password for your new instance is not ready yet. When you create an instance, it + * can take up to 15 minutes for the instance to be ready.

                                      + * + *

                                      If you create an instance using any key pair other than the default + * (LightsailDefaultKeyPair), password will always be an empty + * string.

                                      + *

                                      If you change the Administrator password on the instance, Lightsail will continue to + * return the original password value. When accessing the instance using RDP, you need to + * manually enter the Administrator password after changing it from the default.

                                      + *
                                      + */ + password?: string; + + /** + *

                                      For a Windows Server-based instance, an object with the data you can use to retrieve your + * password. This is only needed if password is empty and the instance is not new + * (and therefore the password is not ready yet). When you create an instance, it can take up to + * 15 minutes for the instance to be ready.

                                      + */ + passwordData?: PasswordData; + + /** + *

                                      For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), + * you should save this value to tempkey).

                                      + */ + privateKey?: string; + + /** + *

                                      The protocol for these Amazon Lightsail instance access details.

                                      + */ + protocol?: InstanceAccessProtocol | string; + + /** + *

                                      The name of this Amazon Lightsail instance.

                                      + */ + instanceName?: string; + + /** + *

                                      The user name to use when logging in to the Amazon Lightsail instance.

                                      + */ + username?: string; + + /** + *

                                      Describes the public SSH host keys or the RDP certificate.

                                      + */ + hostKeys?: HostKeyAttributes[]; +} + +export namespace InstanceAccessDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceAccessDetails): any => ({ + ...obj, + }); +} + +export interface GetInstanceAccessDetailsResult { + /** + *

                                      An array of key-value pairs containing information about a get instance access + * request.

                                      + */ + accessDetails?: InstanceAccessDetails; +} + +export namespace GetInstanceAccessDetailsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceAccessDetailsResult): any => ({ + ...obj, + }); +} + +export enum InstanceMetricName { + BurstCapacityPercentage = "BurstCapacityPercentage", + BurstCapacityTime = "BurstCapacityTime", + CPUUtilization = "CPUUtilization", + NetworkIn = "NetworkIn", + NetworkOut = "NetworkOut", + StatusCheckFailed = "StatusCheckFailed", + StatusCheckFailed_Instance = "StatusCheckFailed_Instance", + StatusCheckFailed_System = "StatusCheckFailed_System", +} + +export interface GetInstanceMetricDataRequest { + /** + *

                                      The name of the instance for which you want to get metrics data.

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

                                      The metric for which you want to return information.

                                      + *

                                      Valid instance metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit + * value.

                                      + *
                                        + *
                                      • + *

                                        + * + * BurstCapacityPercentage + * - The percentage + * of CPU performance available for your instance to burst above its baseline. Your instance + * continuously accrues and consumes burst capacity. Burst capacity stops accruing when your + * instance's BurstCapacityPercentage reaches 100%. For more information, see + * Viewing instance burst capacity in Amazon Lightsail.

                                        + *

                                        + * Statistics: The most useful statistics are Maximum and + * Average.

                                        + *

                                        + * Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      • + *

                                        + * + * BurstCapacityTime + * - The available amount + * of time for your instance to burst at 100% CPU utilization. Your instance continuously + * accrues and consumes burst capacity. Burst capacity time stops accruing when your + * instance's BurstCapacityPercentage metric reaches 100%.

                                        + *

                                        Burst capacity time is consumed at the full rate only when your instance operates at + * 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the + * burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% + * rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity + * minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                                        + *

                                        + * Statistics: The most useful statistics are Maximum and + * Average.

                                        + *

                                        + * Unit: The published unit is Seconds.

                                        + *
                                      • + *
                                      • + *

                                        + * + * CPUUtilization + * - The percentage of + * allocated compute units that are currently in use on the instance. This metric identifies + * the processing power to run the applications on the instance. Tools in your operating + * system can show a lower percentage than Lightsail when the instance is not allocated a + * full processor core.

                                        + *

                                        + * Statistics: The most useful statistics are Maximum and + * Average.

                                        + *

                                        + * Unit: The published unit is Percent.

                                        + *
                                      • + *
                                      • + *

                                        + * + * NetworkIn + * - The number of bytes received + * on all network interfaces by the instance. This metric identifies the volume of incoming + * network traffic to the instance. The number reported is the number of bytes received + * during the period. Because this metric is reported in 5-minute intervals, divide the + * reported number by 300 to find Bytes/second.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is Bytes.

                                        + *
                                      • + *
                                      • + *

                                        + * + * NetworkOut + * - The number of bytes sent + * out on all network interfaces by the instance. This metric identifies the volume of + * outgoing network traffic from the instance. The number reported is the number of bytes + * sent during the period. Because this metric is reported in 5-minute intervals, divide the + * reported number by 300 to find Bytes/second.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is Bytes.

                                        + *
                                      • + *
                                      • + *

                                        + * + * StatusCheckFailed + * - Reports whether the + * instance passed or failed both the instance status check and the system status check. This + * metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute + * (60 seconds) granularity.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is Count.

                                        + *
                                      • + *
                                      • + *

                                        + * + * StatusCheckFailed_Instance + * - Reports + * whether the instance passed or failed the instance status check. This metric can be either + * 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) + * granularity.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is Count.

                                        + *
                                      • + *
                                      • + *

                                        + * + * StatusCheckFailed_System + * - Reports + * whether the instance passed or failed the system status check. This metric can be either 0 + * (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) + * granularity.

                                        + *

                                        + * Statistics: The most useful statistic is Sum.

                                        + *

                                        + * Unit: The published unit is Count.

                                        + *
                                      • + *
                                      + */ + metricName: InstanceMetricName | string | undefined; + + /** + *

                                      The granularity, in seconds, of the returned data points.

                                      + *

                                      The StatusCheckFailed, StatusCheckFailed_Instance, and + * StatusCheckFailed_System instance metric data is available in 1-minute (60 + * seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) + * granularity.

                                      + */ + period: number | undefined; + + /** + *

                                      The start time of the time period.

                                      + */ + startTime: Date | undefined; + + /** + *

                                      The end time of the time period.

                                      + */ + endTime: Date | undefined; + + /** + *

                                      The unit for the metric data request. Valid units depend on the metric data being + * requested. For the valid units to specify with each available metric, see the + * metricName parameter.

                                      + */ + unit: MetricUnit | string | undefined; + + /** + *

                                      The statistic for the metric.

                                      + *

                                      The following statistics are available:

                                      + *
                                        + *
                                      • + *

                                        + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                                        + *
                                      • + *
                                      • + *

                                        + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                                        + *
                                      • + *
                                      • + *

                                        + * Average - The value of Sum / SampleCount during the specified period. By + * comparing this statistic with the Minimum and Maximum values, you can determine the full + * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                                        + *
                                      • + *
                                      • + *

                                        + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                                        + *
                                      • + *
                                      + */ + statistics: (MetricStatistic | string)[] | undefined; +} + +export namespace GetInstanceMetricDataRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceMetricDataRequest): any => ({ + ...obj, + }); +} + +export interface GetInstanceMetricDataResult { + /** + *

                                      The name of the metric returned.

                                      + */ + metricName?: InstanceMetricName | string; + + /** + *

                                      An array of objects that describe the metric data returned.

                                      + */ + metricData?: MetricDatapoint[]; +} + +export namespace GetInstanceMetricDataResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceMetricDataResult): any => ({ + ...obj, + }); +} + +export interface GetInstancePortStatesRequest { + /** + *

                                      The name of the instance for which to return firewall port states.

                                      + */ + instanceName: string | undefined; +} + +export namespace GetInstancePortStatesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstancePortStatesRequest): any => ({ + ...obj, + }); +} + +export enum PortState { + Closed = "closed", + Open = "open", +} + +/** + *

                                      Describes open ports on an instance, the IP addresses allowed to connect to the instance + * through the ports, and the protocol.

                                      + */ +export interface InstancePortState { + /** + *

                                      The first port in a range of open ports on an instance.

                                      + *

                                      Allowed ports:

                                      + *
                                        + *
                                      • + *

                                        TCP and UDP - 0 to 65535 + *

                                        + *
                                      • + *
                                      • + *

                                        ICMP - The ICMP type for IPv4 addresses. For example, specify 8 as the + * fromPort (ICMP type), and -1 as the toPort (ICMP + * code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia.

                                        + *
                                      • + *
                                      • + *

                                        ICMPv6 - The ICMP type for IPv6 addresses. For example, specify 128 as + * the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 + * code). For more information, see Internet + * Control Message Protocol for IPv6.

                                        + *
                                      • + *
                                      + */ + fromPort?: number; + + /** + *

                                      The last port in a range of open ports on an instance.

                                      + *

                                      Allowed ports:

                                      + *
                                        + *
                                      • + *

                                        TCP and UDP - 0 to 65535 + *

                                        + *
                                      • + *
                                      • + *

                                        ICMP - The ICMP code for IPv4 addresses. For example, specify 8 as the + * fromPort (ICMP type), and -1 as the toPort (ICMP + * code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia.

                                        + *
                                      • + *
                                      • + *

                                        ICMPv6 - The ICMP code for IPv6 addresses. For example, specify 128 as + * the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 + * code). For more information, see Internet + * Control Message Protocol for IPv6.

                                        + *
                                      • + *
                                      + */ + toPort?: number; + + /** + *

                                      The IP protocol name.

                                      + *

                                      The name can be one of the following:

                                      + *
                                        + *
                                      • + *

                                        + * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and + * error-checked delivery of streamed data between applications running on hosts + * communicating by an IP network. If you have an application that doesn't require reliable + * data stream service, use UDP instead.

                                        + *
                                      • + *
                                      • + *

                                        + * all - All transport layer protocol types. For more general information, + * see Transport layer on + * Wikipedia.

                                        + *
                                      • + *
                                      • + *

                                        + * udp - With User Datagram Protocol (UDP), computer applications can send + * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior + * communications are not required to set up transmission channels or data paths. + * Applications that don't require reliable data stream service can use UDP, which provides a + * connectionless datagram service that emphasizes reduced latency over reliability. If you + * do require reliable data stream service, use TCP instead.

                                        + *
                                      • + *
                                      • + *

                                        + * icmp - Internet Control Message Protocol (ICMP) is used to send error + * messages and operational information indicating success or failure when communicating with + * an instance. For example, an error is indicated when an instance could not be reached. + * When you specify icmp as the protocol, you must specify the ICMP + * type using the fromPort parameter, and ICMP code using the + * toPort parameter.

                                        + *
                                      • + *
                                      + */ + protocol?: NetworkProtocol | string; + + /** + *

                                      Specifies whether the instance port is open or closed.

                                      + * + *

                                      The port state for Lightsail instances is always open.

                                      + *
                                      + */ + state?: PortState | string; + + /** + *

                                      The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to + * connect to an instance through the ports, and the protocol.

                                      + * + *

                                      The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to + * connect to an instance.

                                      + *
                                      + *

                                      For more information about CIDR block notation, see Classless + * Inter-Domain Routing on Wikipedia.

                                      + */ + cidrs?: string[]; + + /** + *

                                      The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to + * connect to an instance through the ports, and the protocol. Only devices with an IPv6 address + * can connect to an instance through IPv6; otherwise, IPv4 should be used.

                                      + * + *

                                      The cidrs parameter lists the IPv4 addresses that are allowed to connect to + * an instance.

                                      + *
                                      + *

                                      For more information about CIDR block notation, see Classless + * Inter-Domain Routing on Wikipedia.

                                      + */ + ipv6Cidrs?: string[]; + + /** + *

                                      An alias that defines access for a preconfigured range of IP addresses.

                                      + *

                                      The only alias currently supported is lightsail-connect, which allows IP + * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your + * instance.

                                      + */ + cidrListAliases?: string[]; +} + +export namespace InstancePortState { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstancePortState): any => ({ + ...obj, + }); +} + +export interface GetInstancePortStatesResult { + /** + *

                                      An array of objects that describe the firewall port states for the specified + * instance.

                                      + */ + portStates?: InstancePortState[]; +} + +export namespace GetInstancePortStatesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstancePortStatesResult): any => ({ + ...obj, + }); +} + +export interface GetInstancesRequest { + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetInstances request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                                      + */ + pageToken?: string; +} + +export namespace GetInstancesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstancesRequest): any => ({ + ...obj, + }); +} + +export interface GetInstancesResult { + /** + *

                                      An array of key-value pairs containing information about your instances.

                                      + */ + instances?: Instance[]; + + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetInstances request and + * specify the next page token using the pageToken parameter.

                                      + */ + nextPageToken?: string; +} + +export namespace GetInstancesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstancesResult): any => ({ + ...obj, + }); +} + +export interface GetInstanceSnapshotRequest { + /** + *

                                      The name of the snapshot for which you are requesting information.

                                      + */ + instanceSnapshotName: string | undefined; +} + +export namespace GetInstanceSnapshotRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceSnapshotRequest): any => ({ + ...obj, + }); +} + +export enum InstanceSnapshotState { + Available = "available", + Error = "error", + Pending = "pending", +} + +/** + *

                                      Describes an instance snapshot.

                                      + */ +export interface InstanceSnapshot { + /** + *

                                      The name of the snapshot.

                                      + */ + name?: string; + + /** + *

                                      The Amazon Resource Name (ARN) of the snapshot (e.g., + * arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                                      + */ + arn?: string; + + /** + *

                                      The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                                      + */ + supportCode?: string; + + /** + *

                                      The timestamp when the snapshot was created (e.g., 1479907467.024).

                                      + */ + createdAt?: Date; + + /** + *

                                      The region name and Availability Zone where you created the snapshot.

                                      + */ + location?: ResourceLocation; + + /** + *

                                      The type of resource (usually InstanceSnapshot).

                                      + */ + resourceType?: ResourceType | string; + + /** + *

                                      The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      + */ + tags?: Tag[]; + + /** + *

                                      The state the snapshot is in.

                                      + */ + state?: InstanceSnapshotState | string; + + /** + *

                                      The progress of the snapshot.

                                      + * + *

                                      This is populated only for disk snapshots, and is null for instance + * snapshots.

                                      + *
                                      + */ + progress?: string; + + /** + *

                                      An array of disk objects containing information about all block storage disks.

                                      + */ + fromAttachedDisks?: Disk[]; + + /** + *

                                      The instance from which the snapshot was created.

                                      + */ + fromInstanceName?: string; + + /** + *

                                      The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., + * arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                                      + */ + fromInstanceArn?: string; + + /** + *

                                      The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A + * blueprint is a virtual private server (or instance) image used to create + * instances quickly.

                                      + */ + fromBlueprintId?: string; + + /** + *

                                      The bundle ID from which you created the snapshot (e.g., micro_1_0).

                                      + */ + fromBundleId?: string; + + /** + *

                                      A Boolean value indicating whether the snapshot was created from an automatic + * snapshot.

                                      + */ + isFromAutoSnapshot?: boolean; + + /** + *

                                      The size in GB of the SSD.

                                      + */ + sizeInGb?: number; +} + +export namespace InstanceSnapshot { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceSnapshot): any => ({ + ...obj, + }); +} + +export interface GetInstanceSnapshotResult { + /** + *

                                      An array of key-value pairs containing information about the results of your get instance + * snapshot request.

                                      + */ + instanceSnapshot?: InstanceSnapshot; +} + +export namespace GetInstanceSnapshotResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceSnapshotResult): any => ({ + ...obj, + }); +} + +export interface GetInstanceSnapshotsRequest { + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      To get a page token, perform an initial GetInstanceSnapshots request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                                      + */ + pageToken?: string; +} + +export namespace GetInstanceSnapshotsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceSnapshotsRequest): any => ({ + ...obj, + }); +} + +export interface GetInstanceSnapshotsResult { + /** + *

                                      An array of key-value pairs containing information about the results of your get instance + * snapshots request.

                                      + */ + instanceSnapshots?: InstanceSnapshot[]; + + /** + *

                                      The token to advance to the next page of results from your request.

                                      + *

                                      A next page token is not returned if there are no more results to display.

                                      + *

                                      To get the next page of results, perform another GetInstanceSnapshots request + * and specify the next page token using the pageToken parameter.

                                      + */ + nextPageToken?: string; +} + +export namespace GetInstanceSnapshotsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceSnapshotsResult): any => ({ + ...obj, + }); +} + +export interface GetInstanceStateRequest { + /** + *

                                      The name of the instance to get state information about.

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

                                      The state of the instance.

                                      + */ + state?: InstanceState; +} + +export namespace GetInstanceStateResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetInstanceStateResult): any => ({ + ...obj, + }); +} + export interface GetKeyPairRequest { /** *

                                      The name of the key pair for which you are requesting information.

                                      @@ -337,7 +1413,7 @@ export namespace LoadBalancerTlsCertificateSummary { } /** - *

                                      Describes the Lightsail load balancer.

                                      + *

                                      Describes a load balancer.

                                      */ export interface LoadBalancer { /** @@ -375,8 +1451,7 @@ export interface LoadBalancer { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -1132,8 +2207,7 @@ export interface LoadBalancerTlsCertificate { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -1715,8 +2789,7 @@ export interface RelationalDatabase { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -2767,8 +3840,7 @@ export interface RelationalDatabaseSnapshot { /** *

                                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                                      + * Lightsail, see the Amazon Lightsail Developer Guide.

                                      */ tags?: Tag[]; @@ -2903,7 +3975,7 @@ export namespace GetStaticIpRequest { } /** - *

                                      Describes the static IP.

                                      + *

                                      Describes a static IP.

                                      */ export interface StaticIp { /** @@ -3691,6 +4763,69 @@ export namespace SetIpAddressTypeResult { }); } +export enum ResourceBucketAccess { + Allow = "allow", + Deny = "deny", +} + +export interface SetResourceAccessForBucketRequest { + /** + *

                                      The name of the Lightsail instance for which to set bucket access. The instance must be + * in a running or stopped state.

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

                                      The name of the bucket for which to set access to another Lightsail resource.

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

                                      The access setting.

                                      + * + *

                                      The following access settings are available:

                                      + * + *
                                        + *
                                      • + *

                                        + * allow - Allows access to the bucket and its objects.

                                        + *
                                      • + *
                                      • + *

                                        + * deny - Denies access to the bucket and its objects. Use this setting to + * remove access for a resource previously set to allow.

                                        + *
                                      • + *
                                      + */ + access: ResourceBucketAccess | string | undefined; +} + +export namespace SetResourceAccessForBucketRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SetResourceAccessForBucketRequest): any => ({ + ...obj, + }); +} + +export interface SetResourceAccessForBucketResult { + /** + *

                                      An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                      + */ + operations?: Operation[]; +} + +export namespace SetResourceAccessForBucketResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SetResourceAccessForBucketResult): any => ({ + ...obj, + }); +} + export interface StartInstanceRequest { /** *

                                      The name of the instance (a virtual private server) to start.

                                      @@ -4008,6 +5143,115 @@ export namespace UntagResourceResult { }); } +export interface UpdateBucketRequest { + /** + *

                                      The name of the bucket to update.

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

                                      An object that sets the public accessibility of objects in the specified bucket.

                                      + */ + accessRules?: AccessRules; + + /** + *

                                      Specifies whether to enable or suspend versioning of objects in the bucket.

                                      + * + *

                                      The following options can be specified:

                                      + *
                                        + *
                                      • + *

                                        + * Enabled - Enables versioning of objects in the specified bucket.

                                        + *
                                      • + *
                                      • + *

                                        + * Suspended - Suspends versioning of objects in the specified bucket. + * Existing object versions are retained.

                                        + *
                                      • + *
                                      + */ + versioning?: string; + + /** + *

                                      An array of strings to specify the AWS account IDs that can access the bucket.

                                      + * + *

                                      You can give a maximum of 10 AWS accounts access to a bucket.

                                      + */ + readonlyAccessAccounts?: string[]; +} + +export namespace UpdateBucketRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateBucketRequest): any => ({ + ...obj, + }); +} + +export interface UpdateBucketResult { + /** + *

                                      An object that describes the bucket that is updated.

                                      + */ + bucket?: Bucket; + + /** + *

                                      An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                      + */ + operations?: Operation[]; +} + +export namespace UpdateBucketResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateBucketResult): any => ({ + ...obj, + }); +} + +export interface UpdateBucketBundleRequest { + /** + *

                                      The name of the bucket for which to update the bundle.

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

                                      The ID of the new bundle to apply to the bucket.

                                      + * + *

                                      Use the GetBucketBundles action to get a list of bundle IDs that you can + * specify.

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

                                      An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                                      + */ + operations?: Operation[]; +} + +export namespace UpdateBucketBundleResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateBucketBundleResult): any => ({ + ...obj, + }); +} + export interface UpdateContainerServiceRequest { /** *

                                      The name of the container service to update.

                                      diff --git a/clients/client-lightsail/protocols/Aws_json1_1.ts b/clients/client-lightsail/protocols/Aws_json1_1.ts index 5c44e54246aba..98fd562e6144e 100644 --- a/clients/client-lightsail/protocols/Aws_json1_1.ts +++ b/clients/client-lightsail/protocols/Aws_json1_1.ts @@ -18,6 +18,11 @@ import { CloseInstancePublicPortsCommandOutput, } from "../commands/CloseInstancePublicPortsCommand"; import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "../commands/CopySnapshotCommand"; +import { + CreateBucketAccessKeyCommandInput, + CreateBucketAccessKeyCommandOutput, +} from "../commands/CreateBucketAccessKeyCommand"; +import { CreateBucketCommandInput, CreateBucketCommandOutput } from "../commands/CreateBucketCommand"; import { CreateCertificateCommandInput, CreateCertificateCommandOutput } from "../commands/CreateCertificateCommand"; import { CreateCloudFormationStackCommandInput, @@ -77,6 +82,11 @@ import { } from "../commands/CreateRelationalDatabaseSnapshotCommand"; import { DeleteAlarmCommandInput, DeleteAlarmCommandOutput } from "../commands/DeleteAlarmCommand"; import { DeleteAutoSnapshotCommandInput, DeleteAutoSnapshotCommandOutput } from "../commands/DeleteAutoSnapshotCommand"; +import { + DeleteBucketAccessKeyCommandInput, + DeleteBucketAccessKeyCommandOutput, +} from "../commands/DeleteBucketAccessKeyCommand"; +import { DeleteBucketCommandInput, DeleteBucketCommandOutput } from "../commands/DeleteBucketCommand"; import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "../commands/DeleteCertificateCommand"; import { DeleteContactMethodCommandInput, @@ -139,6 +149,16 @@ import { GetActiveNamesCommandInput, GetActiveNamesCommandOutput } from "../comm import { GetAlarmsCommandInput, GetAlarmsCommandOutput } from "../commands/GetAlarmsCommand"; import { GetAutoSnapshotsCommandInput, GetAutoSnapshotsCommandOutput } from "../commands/GetAutoSnapshotsCommand"; import { GetBlueprintsCommandInput, GetBlueprintsCommandOutput } from "../commands/GetBlueprintsCommand"; +import { + GetBucketAccessKeysCommandInput, + GetBucketAccessKeysCommandOutput, +} from "../commands/GetBucketAccessKeysCommand"; +import { GetBucketBundlesCommandInput, GetBucketBundlesCommandOutput } from "../commands/GetBucketBundlesCommand"; +import { + GetBucketMetricDataCommandInput, + GetBucketMetricDataCommandOutput, +} from "../commands/GetBucketMetricDataCommand"; +import { GetBucketsCommandInput, GetBucketsCommandOutput } from "../commands/GetBucketsCommand"; import { GetBundlesCommandInput, GetBundlesCommandOutput } from "../commands/GetBundlesCommand"; import { GetCertificatesCommandInput, GetCertificatesCommandOutput } from "../commands/GetCertificatesCommand"; import { @@ -314,6 +334,10 @@ import { SendContactMethodVerificationCommandOutput, } from "../commands/SendContactMethodVerificationCommand"; import { SetIpAddressTypeCommandInput, SetIpAddressTypeCommandOutput } from "../commands/SetIpAddressTypeCommand"; +import { + SetResourceAccessForBucketCommandInput, + SetResourceAccessForBucketCommandOutput, +} from "../commands/SetResourceAccessForBucketCommand"; import { StartInstanceCommandInput, StartInstanceCommandOutput } from "../commands/StartInstanceCommand"; import { StartRelationalDatabaseCommandInput, @@ -328,6 +352,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T import { TestAlarmCommandInput, TestAlarmCommandOutput } from "../commands/TestAlarmCommand"; import { UnpeerVpcCommandInput, UnpeerVpcCommandOutput } from "../commands/UnpeerVpcCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { UpdateBucketBundleCommandInput, UpdateBucketBundleCommandOutput } from "../commands/UpdateBucketBundleCommand"; +import { UpdateBucketCommandInput, UpdateBucketCommandOutput } from "../commands/UpdateBucketCommand"; import { UpdateContainerServiceCommandInput, UpdateContainerServiceCommandOutput, @@ -352,6 +378,8 @@ import { } from "../commands/UpdateRelationalDatabaseParametersCommand"; import { AccessDeniedException, + AccessKey, + AccessRules, AccountSetupInProgressException, AddOn, AddOnRequest, @@ -374,6 +402,9 @@ import { AutoSnapshotDetails, AvailabilityZone, Blueprint, + Bucket, + BucketBundle, + BucketState, Bundle, CacheBehavior, CacheBehaviorPerPath, @@ -403,6 +434,10 @@ import { CookieObject, CopySnapshotRequest, CopySnapshotResult, + CreateBucketAccessKeyRequest, + CreateBucketAccessKeyResult, + CreateBucketRequest, + CreateBucketResult, CreateCertificateRequest, CreateCertificateResult, CreateCloudFormationStackRequest, @@ -449,6 +484,10 @@ import { DeleteAlarmResult, DeleteAutoSnapshotRequest, DeleteAutoSnapshotResult, + DeleteBucketAccessKeyRequest, + DeleteBucketAccessKeyResult, + DeleteBucketRequest, + DeleteBucketResult, DeleteCertificateRequest, DeleteCertificateResult, DeleteContactMethodRequest, @@ -520,6 +559,14 @@ import { GetAutoSnapshotsResult, GetBlueprintsRequest, GetBlueprintsResult, + GetBucketAccessKeysRequest, + GetBucketAccessKeysResult, + GetBucketBundlesRequest, + GetBucketBundlesResult, + GetBucketMetricDataRequest, + GetBucketMetricDataResult, + GetBucketsRequest, + GetBucketsResult, GetBundlesRequest, GetBundlesResult, GetCertificatesRequest, @@ -563,35 +610,15 @@ import { GetDomainsResult, GetExportSnapshotRecordsRequest, GetExportSnapshotRecordsResult, - GetInstanceAccessDetailsRequest, - GetInstanceAccessDetailsResult, - GetInstanceMetricDataRequest, - GetInstanceMetricDataResult, - GetInstancePortStatesRequest, - GetInstancePortStatesResult, GetInstanceRequest, - GetInstanceResult, - GetInstanceSnapshotRequest, - GetInstanceSnapshotResult, - GetInstanceSnapshotsRequest, - GetInstanceSnapshotsResult, - GetInstanceStateRequest, - GetInstanceStateResult, - GetInstancesRequest, - GetInstancesResult, HeaderEnum, HeaderObject, - HostKeyAttributes, InputOrigin, - Instance, - InstanceAccessDetails, InstanceEntry, InstanceHardware, InstanceNetworking, InstancePlatform, InstancePortInfo, - InstancePortState, - InstanceSnapshot, InstanceSnapshotInfo, InstanceState, InvalidInputException, @@ -605,17 +632,32 @@ import { Operation, OperationFailureException, Origin, - PasswordData, PortInfo, QueryStringObject, RenewalSummary, ResourceLocation, + ResourceReceivingAccess, ResourceRecord, ServiceException, Tag, UnauthenticatedException, } from "../models/models_0"; import { + GetInstanceAccessDetailsRequest, + GetInstanceAccessDetailsResult, + GetInstanceMetricDataRequest, + GetInstanceMetricDataResult, + GetInstancePortStatesRequest, + GetInstancePortStatesResult, + GetInstanceResult, + GetInstanceSnapshotRequest, + GetInstanceSnapshotResult, + GetInstanceSnapshotsRequest, + GetInstanceSnapshotsResult, + GetInstanceStateRequest, + GetInstanceStateResult, + GetInstancesRequest, + GetInstancesResult, GetKeyPairRequest, GetKeyPairResult, GetKeyPairsRequest, @@ -664,9 +706,14 @@ import { GetStaticIpResult, GetStaticIpsRequest, GetStaticIpsResult, + HostKeyAttributes, ImportKeyPairRequest, ImportKeyPairResult, + Instance, + InstanceAccessDetails, InstanceHealthSummary, + InstancePortState, + InstanceSnapshot, IsVpcPeeredRequest, IsVpcPeeredResult, LoadBalancer, @@ -679,6 +726,7 @@ import { LogEvent, OpenInstancePublicPortsRequest, OpenInstancePublicPortsResult, + PasswordData, PeerVpcRequest, PeerVpcResult, PendingMaintenanceAction, @@ -710,6 +758,8 @@ import { SendContactMethodVerificationResult, SetIpAddressTypeRequest, SetIpAddressTypeResult, + SetResourceAccessForBucketRequest, + SetResourceAccessForBucketResult, StartInstanceRequest, StartInstanceResult, StartRelationalDatabaseRequest, @@ -727,6 +777,10 @@ import { UnpeerVpcResult, UntagResourceRequest, UntagResourceResult, + UpdateBucketBundleRequest, + UpdateBucketBundleResult, + UpdateBucketRequest, + UpdateBucketResult, UpdateContainerServiceRequest, UpdateContainerServiceResult, UpdateDistributionBundleRequest, @@ -863,6 +917,32 @@ export const serializeAws_json1_1CopySnapshotCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1CreateBucketCommand = async ( + input: CreateBucketCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.CreateBucket", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateBucketRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1CreateBucketAccessKeyCommand = async ( + input: CreateBucketAccessKeyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.CreateBucketAccessKey", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateBucketAccessKeyRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CreateCertificateCommand = async ( input: CreateCertificateCommandInput, context: __SerdeContext @@ -1162,6 +1242,32 @@ export const serializeAws_json1_1DeleteAutoSnapshotCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeleteBucketCommand = async ( + input: DeleteBucketCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.DeleteBucket", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteBucketRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1DeleteBucketAccessKeyCommand = async ( + input: DeleteBucketAccessKeyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.DeleteBucketAccessKey", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteBucketAccessKeyRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteCertificateCommand = async ( input: DeleteCertificateCommandInput, context: __SerdeContext @@ -1539,6 +1645,58 @@ export const serializeAws_json1_1GetBlueprintsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetBucketAccessKeysCommand = async ( + input: GetBucketAccessKeysCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.GetBucketAccessKeys", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetBucketAccessKeysRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetBucketBundlesCommand = async ( + input: GetBucketBundlesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.GetBucketBundles", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetBucketBundlesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetBucketMetricDataCommand = async ( + input: GetBucketMetricDataCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.GetBucketMetricData", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetBucketMetricDataRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetBucketsCommand = async ( + input: GetBucketsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.GetBuckets", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetBucketsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetBundlesCommand = async ( input: GetBundlesCommandInput, context: __SerdeContext @@ -2410,6 +2568,19 @@ export const serializeAws_json1_1SetIpAddressTypeCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1SetResourceAccessForBucketCommand = async ( + input: SetResourceAccessForBucketCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.SetResourceAccessForBucket", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1SetResourceAccessForBucketRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1StartInstanceCommand = async ( input: StartInstanceCommandInput, context: __SerdeContext @@ -2514,6 +2685,32 @@ export const serializeAws_json1_1UntagResourceCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateBucketCommand = async ( + input: UpdateBucketCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.UpdateBucket", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateBucketRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1UpdateBucketBundleCommand = async ( + input: UpdateBucketBundleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "Lightsail_20161128.UpdateBucketBundle", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateBucketBundleRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateContainerServiceCommand = async ( input: UpdateContainerServiceCommandInput, context: __SerdeContext @@ -3413,27 +3610,27 @@ const deserializeAws_json1_1CopySnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateCertificateCommand = async ( +export const deserializeAws_json1_1CreateBucketCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateCertificateCommandError(output, context); + return deserializeAws_json1_1CreateBucketCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateCertificateResult(data, context); - const response: CreateCertificateCommandOutput = { + contents = deserializeAws_json1_1CreateBucketResult(data, context); + const response: CreateBucketCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateCertificateCommandError = async ( +const deserializeAws_json1_1CreateBucketCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3458,14 +3655,6 @@ const deserializeAws_json1_1CreateCertificateCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "NotFoundException": - case "com.amazonaws.lightsail#NotFoundException": - response = { - ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3499,27 +3688,27 @@ const deserializeAws_json1_1CreateCertificateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateCloudFormationStackCommand = async ( +export const deserializeAws_json1_1CreateBucketAccessKeyCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateCloudFormationStackCommandError(output, context); + return deserializeAws_json1_1CreateBucketAccessKeyCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateCloudFormationStackResult(data, context); - const response: CreateCloudFormationStackCommandOutput = { + contents = deserializeAws_json1_1CreateBucketAccessKeyResult(data, context); + const response: CreateBucketAccessKeyCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateCloudFormationStackCommandError = async ( +const deserializeAws_json1_1CreateBucketAccessKeyCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3536,14 +3725,6 @@ const deserializeAws_json1_1CreateCloudFormationStackCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -3560,14 +3741,6 @@ const deserializeAws_json1_1CreateCloudFormationStackCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3601,27 +3774,27 @@ const deserializeAws_json1_1CreateCloudFormationStackCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateContactMethodCommand = async ( +export const deserializeAws_json1_1CreateCertificateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateContactMethodCommandError(output, context); + return deserializeAws_json1_1CreateCertificateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateContactMethodResult(data, context); - const response: CreateContactMethodCommandOutput = { + contents = deserializeAws_json1_1CreateCertificateResult(data, context); + const response: CreateCertificateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateContactMethodCommandError = async ( +const deserializeAws_json1_1CreateCertificateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3654,14 +3827,6 @@ const deserializeAws_json1_1CreateContactMethodCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3695,27 +3860,27 @@ const deserializeAws_json1_1CreateContactMethodCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateContainerServiceCommand = async ( +export const deserializeAws_json1_1CreateCloudFormationStackCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateContainerServiceCommandError(output, context); + return deserializeAws_json1_1CreateCloudFormationStackCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateContainerServiceResult(data, context); - const response: CreateContainerServiceCommandOutput = { + contents = deserializeAws_json1_1CreateCloudFormationStackResult(data, context); + const response: CreateCloudFormationStackCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateContainerServiceCommandError = async ( +const deserializeAws_json1_1CreateCloudFormationStackCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3732,6 +3897,14 @@ const deserializeAws_json1_1CreateContainerServiceCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -3748,6 +3921,14 @@ const deserializeAws_json1_1CreateContainerServiceCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3781,27 +3962,27 @@ const deserializeAws_json1_1CreateContainerServiceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateContainerServiceDeploymentCommand = async ( +export const deserializeAws_json1_1CreateContactMethodCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateContainerServiceDeploymentCommandError(output, context); + return deserializeAws_json1_1CreateContactMethodCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateContainerServiceDeploymentResult(data, context); - const response: CreateContainerServiceDeploymentCommandOutput = { + contents = deserializeAws_json1_1CreateContactMethodResult(data, context); + const response: CreateContactMethodCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async ( +const deserializeAws_json1_1CreateContactMethodCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3834,10 +4015,190 @@ const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async $metadata: deserializeMetadata(output), }; break; - case "ServiceException": - case "com.amazonaws.lightsail#ServiceException": + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": response = { - ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1CreateContainerServiceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1CreateContainerServiceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1CreateContainerServiceResult(data, context); + const response: CreateContainerServiceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1CreateContainerServiceCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1CreateContainerServiceDeploymentCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1CreateContainerServiceDeploymentCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1CreateContainerServiceDeploymentResult(data, context); + const response: CreateContainerServiceDeploymentCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), name: errorCode, $metadata: deserializeMetadata(output), }; @@ -5663,27 +6024,27 @@ const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteCertificateCommand = async ( +export const deserializeAws_json1_1DeleteBucketCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteCertificateCommandError(output, context); + return deserializeAws_json1_1DeleteBucketCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteCertificateResult(data, context); - const response: DeleteCertificateCommandOutput = { + contents = deserializeAws_json1_1DeleteBucketResult(data, context); + const response: DeleteBucketCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteCertificateCommandError = async ( +const deserializeAws_json1_1DeleteBucketCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5749,27 +6110,27 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteContactMethodCommand = async ( +export const deserializeAws_json1_1DeleteBucketAccessKeyCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteContactMethodCommandError(output, context); + return deserializeAws_json1_1DeleteBucketAccessKeyCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteContactMethodResult(data, context); - const response: DeleteContactMethodCommandOutput = { + contents = deserializeAws_json1_1DeleteBucketAccessKeyResult(data, context); + const response: DeleteBucketAccessKeyCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteContactMethodCommandError = async ( +const deserializeAws_json1_1DeleteBucketAccessKeyCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5802,14 +6163,6 @@ const deserializeAws_json1_1DeleteContactMethodCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -5843,27 +6196,27 @@ const deserializeAws_json1_1DeleteContactMethodCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteContainerImageCommand = async ( +export const deserializeAws_json1_1DeleteCertificateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteContainerImageCommandError(output, context); + return deserializeAws_json1_1DeleteCertificateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteContainerImageResult(data, context); - const response: DeleteContainerImageCommandOutput = { + contents = deserializeAws_json1_1DeleteCertificateResult(data, context); + const response: DeleteCertificateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteContainerImageCommandError = async ( +const deserializeAws_json1_1DeleteCertificateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5929,27 +6282,27 @@ const deserializeAws_json1_1DeleteContainerImageCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteContainerServiceCommand = async ( +export const deserializeAws_json1_1DeleteContactMethodCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteContainerServiceCommandError(output, context); + return deserializeAws_json1_1DeleteContactMethodCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteContainerServiceResult(data, context); - const response: DeleteContainerServiceCommandOutput = { + contents = deserializeAws_json1_1DeleteContactMethodResult(data, context); + const response: DeleteContactMethodCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteContainerServiceCommandError = async ( +const deserializeAws_json1_1DeleteContactMethodCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5982,6 +6335,14 @@ const deserializeAws_json1_1DeleteContainerServiceCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -6015,27 +6376,27 @@ const deserializeAws_json1_1DeleteContainerServiceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDiskCommand = async ( +export const deserializeAws_json1_1DeleteContainerImageCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDiskCommandError(output, context); + return deserializeAws_json1_1DeleteContainerImageCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDiskResult(data, context); - const response: DeleteDiskCommandOutput = { + contents = deserializeAws_json1_1DeleteContainerImageResult(data, context); + const response: DeleteContainerImageCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDiskCommandError = async ( +const deserializeAws_json1_1DeleteContainerImageCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6052,8 +6413,180 @@ const deserializeAws_json1_1DeleteDiskCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1DeleteContainerServiceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteContainerServiceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteContainerServiceResult(data, context); + const response: DeleteContainerServiceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteContainerServiceCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1DeleteDiskCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteDiskCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteDiskResult(data, context); + const response: DeleteDiskCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteDiskCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": response = { ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), name: errorCode, @@ -8517,27 +9050,27 @@ const deserializeAws_json1_1GetBlueprintsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetBundlesCommand = async ( +export const deserializeAws_json1_1GetBucketAccessKeysCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetBundlesCommandError(output, context); + return deserializeAws_json1_1GetBucketAccessKeysCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetBundlesResult(data, context); - const response: GetBundlesCommandOutput = { + contents = deserializeAws_json1_1GetBucketAccessKeysResult(data, context); + const response: GetBucketAccessKeysCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetBundlesCommandError = async ( +const deserializeAws_json1_1GetBucketAccessKeysCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8554,14 +9087,6 @@ const deserializeAws_json1_1GetBundlesCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -8578,14 +9103,6 @@ const deserializeAws_json1_1GetBundlesCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8619,27 +9136,27 @@ const deserializeAws_json1_1GetBundlesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetCertificatesCommand = async ( +export const deserializeAws_json1_1GetBucketBundlesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetCertificatesCommandError(output, context); + return deserializeAws_json1_1GetBucketBundlesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetCertificatesResult(data, context); - const response: GetCertificatesCommandOutput = { + contents = deserializeAws_json1_1GetBucketBundlesResult(data, context); + const response: GetBucketBundlesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetCertificatesCommandError = async ( +const deserializeAws_json1_1GetBucketBundlesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8664,14 +9181,6 @@ const deserializeAws_json1_1GetCertificatesCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "NotFoundException": - case "com.amazonaws.lightsail#NotFoundException": - response = { - ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8705,27 +9214,27 @@ const deserializeAws_json1_1GetCertificatesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetCloudFormationStackRecordsCommand = async ( +export const deserializeAws_json1_1GetBucketMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetCloudFormationStackRecordsCommandError(output, context); + return deserializeAws_json1_1GetBucketMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetCloudFormationStackRecordsResult(data, context); - const response: GetCloudFormationStackRecordsCommandOutput = { + contents = deserializeAws_json1_1GetBucketMetricDataResult(data, context); + const response: GetBucketMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( +const deserializeAws_json1_1GetBucketMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8742,14 +9251,6 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -8766,14 +9267,6 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8807,27 +9300,27 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContactMethodsCommand = async ( +export const deserializeAws_json1_1GetBucketsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContactMethodsCommandError(output, context); + return deserializeAws_json1_1GetBucketsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContactMethodsResult(data, context); - const response: GetContactMethodsCommandOutput = { + contents = deserializeAws_json1_1GetBucketsResult(data, context); + const response: GetBucketsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContactMethodsCommandError = async ( +const deserializeAws_json1_1GetBucketsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8860,14 +9353,6 @@ const deserializeAws_json1_1GetContactMethodsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8901,27 +9386,653 @@ const deserializeAws_json1_1GetContactMethodsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerAPIMetadataCommand = async ( +export const deserializeAws_json1_1GetBundlesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerAPIMetadataCommandError(output, context); + return deserializeAws_json1_1GetBundlesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerAPIMetadataResult(data, context); - const response: GetContainerAPIMetadataCommandOutput = { + contents = deserializeAws_json1_1GetBundlesResult(data, context); + const response: GetBundlesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetBundlesCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetCertificatesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetCertificatesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetCertificatesResult(data, context); + const response: GetCertificatesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetCertificatesCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetCloudFormationStackRecordsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetCloudFormationStackRecordsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetCloudFormationStackRecordsResult(data, context); + const response: GetCloudFormationStackRecordsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetContactMethodsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContactMethodsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContactMethodsResult(data, context); + const response: GetContactMethodsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContactMethodsCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetContainerAPIMetadataCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerAPIMetadataCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerAPIMetadataResult(data, context); + const response: GetContainerAPIMetadataCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerAPIMetadataCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetContainerImagesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerImagesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerImagesResult(data, context); + const response: GetContainerImagesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerImagesCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetContainerLogCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerLogCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerLogResult(data, context); + const response: GetContainerLogCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerLogCommandError = 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: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(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_json1_1GetContainerServiceDeploymentsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerServiceDeploymentsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerServiceDeploymentsResult(data, context); + const response: GetContainerServiceDeploymentsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async ( +const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8938,6 +10049,22 @@ const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8971,27 +10098,27 @@ const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerImagesCommand = async ( +export const deserializeAws_json1_1GetContainerServiceMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerImagesCommandError(output, context); + return deserializeAws_json1_1GetContainerServiceMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerImagesResult(data, context); - const response: GetContainerImagesCommandOutput = { + contents = deserializeAws_json1_1GetContainerServiceMetricDataResult(data, context); + const response: GetContainerServiceMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerImagesCommandError = async ( +const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9057,27 +10184,27 @@ const deserializeAws_json1_1GetContainerImagesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerLogCommand = async ( +export const deserializeAws_json1_1GetContainerServicePowersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerLogCommandError(output, context); + return deserializeAws_json1_1GetContainerServicePowersCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerLogResult(data, context); - const response: GetContainerLogCommandOutput = { + contents = deserializeAws_json1_1GetContainerServicePowersResult(data, context); + const response: GetContainerServicePowersCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerLogCommandError = async ( +const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9143,27 +10270,27 @@ const deserializeAws_json1_1GetContainerLogCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerServiceDeploymentsCommand = async ( +export const deserializeAws_json1_1GetContainerServicesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerServiceDeploymentsCommandError(output, context); + return deserializeAws_json1_1GetContainerServicesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerServiceDeploymentsResult(data, context); - const response: GetContainerServiceDeploymentsCommandOutput = { + contents = deserializeAws_json1_1ContainerServicesListResult(data, context); + const response: GetContainerServicesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async ( +const deserializeAws_json1_1GetContainerServicesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9229,27 +10356,27 @@ const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerServiceMetricDataCommand = async ( +export const deserializeAws_json1_1GetDiskCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerServiceMetricDataCommandError(output, context); + return deserializeAws_json1_1GetDiskCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerServiceMetricDataResult(data, context); - const response: GetContainerServiceMetricDataCommandOutput = { + contents = deserializeAws_json1_1GetDiskResult(data, context); + const response: GetDiskCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( +const deserializeAws_json1_1GetDiskCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9266,6 +10393,14 @@ const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9282,6 +10417,14 @@ const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -9315,27 +10458,27 @@ const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerServicePowersCommand = async ( +export const deserializeAws_json1_1GetDisksCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerServicePowersCommandError(output, context); + return deserializeAws_json1_1GetDisksCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContainerServicePowersResult(data, context); - const response: GetContainerServicePowersCommandOutput = { + contents = deserializeAws_json1_1GetDisksResult(data, context); + const response: GetDisksCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( +const deserializeAws_json1_1GetDisksCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9352,6 +10495,14 @@ const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9368,6 +10519,14 @@ const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -9401,27 +10560,27 @@ const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContainerServicesCommand = async ( +export const deserializeAws_json1_1GetDiskSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContainerServicesCommandError(output, context); + return deserializeAws_json1_1GetDiskSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1ContainerServicesListResult(data, context); - const response: GetContainerServicesCommandOutput = { + contents = deserializeAws_json1_1GetDiskSnapshotResult(data, context); + const response: GetDiskSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContainerServicesCommandError = async ( +const deserializeAws_json1_1GetDiskSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9438,6 +10597,14 @@ const deserializeAws_json1_1GetContainerServicesCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9454,6 +10621,14 @@ const deserializeAws_json1_1GetContainerServicesCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -9487,27 +10662,27 @@ const deserializeAws_json1_1GetContainerServicesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDiskCommand = async ( +export const deserializeAws_json1_1GetDiskSnapshotsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDiskCommandError(output, context); + return deserializeAws_json1_1GetDiskSnapshotsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDiskResult(data, context); - const response: GetDiskCommandOutput = { + contents = deserializeAws_json1_1GetDiskSnapshotsResult(data, context); + const response: GetDiskSnapshotsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDiskCommandError = async ( +const deserializeAws_json1_1GetDiskSnapshotsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9589,27 +10764,27 @@ const deserializeAws_json1_1GetDiskCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDisksCommand = async ( +export const deserializeAws_json1_1GetDistributionBundlesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDisksCommandError(output, context); + return deserializeAws_json1_1GetDistributionBundlesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDisksResult(data, context); - const response: GetDisksCommandOutput = { + contents = deserializeAws_json1_1GetDistributionBundlesResult(data, context); + const response: GetDistributionBundlesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDisksCommandError = async ( +const deserializeAws_json1_1GetDistributionBundlesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9626,14 +10801,6 @@ const deserializeAws_json1_1GetDisksCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9691,27 +10858,27 @@ const deserializeAws_json1_1GetDisksCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDiskSnapshotCommand = async ( +export const deserializeAws_json1_1GetDistributionLatestCacheResetCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDiskSnapshotCommandError(output, context); + return deserializeAws_json1_1GetDistributionLatestCacheResetCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDiskSnapshotResult(data, context); - const response: GetDiskSnapshotCommandOutput = { + contents = deserializeAws_json1_1GetDistributionLatestCacheResetResult(data, context); + const response: GetDistributionLatestCacheResetCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDiskSnapshotCommandError = async ( +const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9728,14 +10895,6 @@ const deserializeAws_json1_1GetDiskSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9793,27 +10952,27 @@ const deserializeAws_json1_1GetDiskSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDiskSnapshotsCommand = async ( +export const deserializeAws_json1_1GetDistributionMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDiskSnapshotsCommandError(output, context); + return deserializeAws_json1_1GetDistributionMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDiskSnapshotsResult(data, context); - const response: GetDiskSnapshotsCommandOutput = { + contents = deserializeAws_json1_1GetDistributionMetricDataResult(data, context); + const response: GetDistributionMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDiskSnapshotsCommandError = async ( +const deserializeAws_json1_1GetDistributionMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9830,14 +10989,6 @@ const deserializeAws_json1_1GetDiskSnapshotsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -9895,27 +11046,27 @@ const deserializeAws_json1_1GetDiskSnapshotsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDistributionBundlesCommand = async ( +export const deserializeAws_json1_1GetDistributionsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDistributionBundlesCommandError(output, context); + return deserializeAws_json1_1GetDistributionsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDistributionBundlesResult(data, context); - const response: GetDistributionBundlesCommandOutput = { + contents = deserializeAws_json1_1GetDistributionsResult(data, context); + const response: GetDistributionsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDistributionBundlesCommandError = async ( +const deserializeAws_json1_1GetDistributionsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -9989,27 +11140,27 @@ const deserializeAws_json1_1GetDistributionBundlesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDistributionLatestCacheResetCommand = async ( +export const deserializeAws_json1_1GetDomainCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDistributionLatestCacheResetCommandError(output, context); + return deserializeAws_json1_1GetDomainCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDistributionLatestCacheResetResult(data, context); - const response: GetDistributionLatestCacheResetCommandOutput = { + contents = deserializeAws_json1_1GetDomainResult(data, context); + const response: GetDomainCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async ( +const deserializeAws_json1_1GetDomainCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10026,6 +11177,14 @@ const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -10083,27 +11242,27 @@ const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDistributionMetricDataCommand = async ( +export const deserializeAws_json1_1GetDomainsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDistributionMetricDataCommandError(output, context); + return deserializeAws_json1_1GetDomainsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDistributionMetricDataResult(data, context); - const response: GetDistributionMetricDataCommandOutput = { + contents = deserializeAws_json1_1GetDomainsResult(data, context); + const response: GetDomainsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDistributionMetricDataCommandError = async ( +const deserializeAws_json1_1GetDomainsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10120,6 +11279,14 @@ const deserializeAws_json1_1GetDistributionMetricDataCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -10177,27 +11344,27 @@ const deserializeAws_json1_1GetDistributionMetricDataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDistributionsCommand = async ( +export const deserializeAws_json1_1GetExportSnapshotRecordsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDistributionsCommandError(output, context); + return deserializeAws_json1_1GetExportSnapshotRecordsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDistributionsResult(data, context); - const response: GetDistributionsCommandOutput = { + contents = deserializeAws_json1_1GetExportSnapshotRecordsResult(data, context); + const response: GetExportSnapshotRecordsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDistributionsCommandError = async ( +const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10214,6 +11381,14 @@ const deserializeAws_json1_1GetDistributionsCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -10271,27 +11446,27 @@ const deserializeAws_json1_1GetDistributionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDomainCommand = async ( +export const deserializeAws_json1_1GetInstanceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDomainCommandError(output, context); + return deserializeAws_json1_1GetInstanceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDomainResult(data, context); - const response: GetDomainCommandOutput = { + contents = deserializeAws_json1_1GetInstanceResult(data, context); + const response: GetInstanceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDomainCommandError = async ( +const deserializeAws_json1_1GetInstanceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10373,27 +11548,27 @@ const deserializeAws_json1_1GetDomainCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDomainsCommand = async ( +export const deserializeAws_json1_1GetInstanceAccessDetailsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDomainsCommandError(output, context); + return deserializeAws_json1_1GetInstanceAccessDetailsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDomainsResult(data, context); - const response: GetDomainsCommandOutput = { + contents = deserializeAws_json1_1GetInstanceAccessDetailsResult(data, context); + const response: GetInstanceAccessDetailsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDomainsCommandError = async ( +const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10475,27 +11650,27 @@ const deserializeAws_json1_1GetDomainsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetExportSnapshotRecordsCommand = async ( +export const deserializeAws_json1_1GetInstanceMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetExportSnapshotRecordsCommandError(output, context); + return deserializeAws_json1_1GetInstanceMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetExportSnapshotRecordsResult(data, context); - const response: GetExportSnapshotRecordsCommandOutput = { + contents = deserializeAws_json1_1GetInstanceMetricDataResult(data, context); + const response: GetInstanceMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async ( +const deserializeAws_json1_1GetInstanceMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10577,27 +11752,27 @@ const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceCommand = async ( +export const deserializeAws_json1_1GetInstancePortStatesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceCommandError(output, context); + return deserializeAws_json1_1GetInstancePortStatesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceResult(data, context); - const response: GetInstanceCommandOutput = { + contents = deserializeAws_json1_1GetInstancePortStatesResult(data, context); + const response: GetInstancePortStatesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceCommandError = async ( +const deserializeAws_json1_1GetInstancePortStatesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10679,27 +11854,27 @@ const deserializeAws_json1_1GetInstanceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceAccessDetailsCommand = async ( +export const deserializeAws_json1_1GetInstancesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceAccessDetailsCommandError(output, context); + return deserializeAws_json1_1GetInstancesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceAccessDetailsResult(data, context); - const response: GetInstanceAccessDetailsCommandOutput = { + contents = deserializeAws_json1_1GetInstancesResult(data, context); + const response: GetInstancesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async ( +const deserializeAws_json1_1GetInstancesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10781,27 +11956,27 @@ const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceMetricDataCommand = async ( +export const deserializeAws_json1_1GetInstanceSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceMetricDataCommandError(output, context); + return deserializeAws_json1_1GetInstanceSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceMetricDataResult(data, context); - const response: GetInstanceMetricDataCommandOutput = { + contents = deserializeAws_json1_1GetInstanceSnapshotResult(data, context); + const response: GetInstanceSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceMetricDataCommandError = async ( +const deserializeAws_json1_1GetInstanceSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10883,27 +12058,27 @@ const deserializeAws_json1_1GetInstanceMetricDataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstancePortStatesCommand = async ( +export const deserializeAws_json1_1GetInstanceSnapshotsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstancePortStatesCommandError(output, context); + return deserializeAws_json1_1GetInstanceSnapshotsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstancePortStatesResult(data, context); - const response: GetInstancePortStatesCommandOutput = { + contents = deserializeAws_json1_1GetInstanceSnapshotsResult(data, context); + const response: GetInstanceSnapshotsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstancePortStatesCommandError = async ( +const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -10985,27 +12160,27 @@ const deserializeAws_json1_1GetInstancePortStatesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstancesCommand = async ( +export const deserializeAws_json1_1GetInstanceStateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstancesCommandError(output, context); + return deserializeAws_json1_1GetInstanceStateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstancesResult(data, context); - const response: GetInstancesCommandOutput = { + contents = deserializeAws_json1_1GetInstanceStateResult(data, context); + const response: GetInstanceStateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstancesCommandError = async ( +const deserializeAws_json1_1GetInstanceStateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11087,27 +12262,27 @@ const deserializeAws_json1_1GetInstancesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceSnapshotCommand = async ( +export const deserializeAws_json1_1GetKeyPairCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceSnapshotCommandError(output, context); + return deserializeAws_json1_1GetKeyPairCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceSnapshotResult(data, context); - const response: GetInstanceSnapshotCommandOutput = { + contents = deserializeAws_json1_1GetKeyPairResult(data, context); + const response: GetKeyPairCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceSnapshotCommandError = async ( +const deserializeAws_json1_1GetKeyPairCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11189,27 +12364,27 @@ const deserializeAws_json1_1GetInstanceSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceSnapshotsCommand = async ( +export const deserializeAws_json1_1GetKeyPairsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceSnapshotsCommandError(output, context); + return deserializeAws_json1_1GetKeyPairsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceSnapshotsResult(data, context); - const response: GetInstanceSnapshotsCommandOutput = { + contents = deserializeAws_json1_1GetKeyPairsResult(data, context); + const response: GetKeyPairsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async ( +const deserializeAws_json1_1GetKeyPairsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11291,27 +12466,27 @@ const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetInstanceStateCommand = async ( +export const deserializeAws_json1_1GetLoadBalancerCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetInstanceStateCommandError(output, context); + return deserializeAws_json1_1GetLoadBalancerCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetInstanceStateResult(data, context); - const response: GetInstanceStateCommandOutput = { + contents = deserializeAws_json1_1GetLoadBalancerResult(data, context); + const response: GetLoadBalancerCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetInstanceStateCommandError = async ( +const deserializeAws_json1_1GetLoadBalancerCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11393,27 +12568,27 @@ const deserializeAws_json1_1GetInstanceStateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetKeyPairCommand = async ( +export const deserializeAws_json1_1GetLoadBalancerMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetKeyPairCommandError(output, context); + return deserializeAws_json1_1GetLoadBalancerMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetKeyPairResult(data, context); - const response: GetKeyPairCommandOutput = { + contents = deserializeAws_json1_1GetLoadBalancerMetricDataResult(data, context); + const response: GetLoadBalancerMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetKeyPairCommandError = async ( +const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11495,27 +12670,27 @@ const deserializeAws_json1_1GetKeyPairCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetKeyPairsCommand = async ( +export const deserializeAws_json1_1GetLoadBalancersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetKeyPairsCommandError(output, context); + return deserializeAws_json1_1GetLoadBalancersCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetKeyPairsResult(data, context); - const response: GetKeyPairsCommandOutput = { + contents = deserializeAws_json1_1GetLoadBalancersResult(data, context); + const response: GetLoadBalancersCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetKeyPairsCommandError = async ( +const deserializeAws_json1_1GetLoadBalancersCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11597,27 +12772,27 @@ const deserializeAws_json1_1GetKeyPairsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetLoadBalancerCommand = async ( +export const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetLoadBalancerCommandError(output, context); + return deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetLoadBalancerResult(data, context); - const response: GetLoadBalancerCommandOutput = { + contents = deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult(data, context); + const response: GetLoadBalancerTlsCertificatesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetLoadBalancerCommandError = async ( +const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11699,27 +12874,27 @@ const deserializeAws_json1_1GetLoadBalancerCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetLoadBalancerMetricDataCommand = async ( +export const deserializeAws_json1_1GetOperationCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetLoadBalancerMetricDataCommandError(output, context); + return deserializeAws_json1_1GetOperationCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetLoadBalancerMetricDataResult(data, context); - const response: GetLoadBalancerMetricDataCommandOutput = { + contents = deserializeAws_json1_1GetOperationResult(data, context); + const response: GetOperationCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async ( +const deserializeAws_json1_1GetOperationCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11801,27 +12976,27 @@ const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetLoadBalancersCommand = async ( +export const deserializeAws_json1_1GetOperationsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetLoadBalancersCommandError(output, context); + return deserializeAws_json1_1GetOperationsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetLoadBalancersResult(data, context); - const response: GetLoadBalancersCommandOutput = { + contents = deserializeAws_json1_1GetOperationsResult(data, context); + const response: GetOperationsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetLoadBalancersCommandError = async ( +const deserializeAws_json1_1GetOperationsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -11903,27 +13078,27 @@ const deserializeAws_json1_1GetLoadBalancersCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand = async ( +export const deserializeAws_json1_1GetOperationsForResourceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError(output, context); + return deserializeAws_json1_1GetOperationsForResourceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult(data, context); - const response: GetLoadBalancerTlsCertificatesCommandOutput = { + contents = deserializeAws_json1_1GetOperationsForResourceResult(data, context); + const response: GetOperationsForResourceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async ( +const deserializeAws_json1_1GetOperationsForResourceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12005,27 +13180,27 @@ const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetOperationCommand = async ( +export const deserializeAws_json1_1GetRegionsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetOperationCommandError(output, context); + return deserializeAws_json1_1GetRegionsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetOperationResult(data, context); - const response: GetOperationCommandOutput = { + contents = deserializeAws_json1_1GetRegionsResult(data, context); + const response: GetRegionsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetOperationCommandError = async ( +const deserializeAws_json1_1GetRegionsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12107,27 +13282,27 @@ const deserializeAws_json1_1GetOperationCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetOperationsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetOperationsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetOperationsResult(data, context); - const response: GetOperationsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseResult(data, context); + const response: GetRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetOperationsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12209,27 +13384,27 @@ const deserializeAws_json1_1GetOperationsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetOperationsForResourceCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetOperationsForResourceCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetOperationsForResourceResult(data, context); - const response: GetOperationsForResourceCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult(data, context); + const response: GetRelationalDatabaseBlueprintsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetOperationsForResourceCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12311,27 +13486,27 @@ const deserializeAws_json1_1GetOperationsForResourceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRegionsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseBundlesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRegionsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRegionsResult(data, context); - const response: GetRegionsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseBundlesResult(data, context); + const response: GetRelationalDatabaseBundlesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRegionsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12413,27 +13588,27 @@ const deserializeAws_json1_1GetRegionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseEventsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseEventsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseResult(data, context); - const response: GetRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseEventsResult(data, context); + const response: GetRelationalDatabaseEventsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12515,27 +13690,27 @@ const deserializeAws_json1_1GetRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult(data, context); - const response: GetRelationalDatabaseBlueprintsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseLogEventsResult(data, context); + const response: GetRelationalDatabaseLogEventsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12617,27 +13792,27 @@ const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseBundlesCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseBundlesResult(data, context); - const response: GetRelationalDatabaseBundlesCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseLogStreamsResult(data, context); + const response: GetRelationalDatabaseLogStreamsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12719,27 +13894,27 @@ const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseEventsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseEventsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseEventsResult(data, context); - const response: GetRelationalDatabaseEventsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordResult(data, context); + const response: GetRelationalDatabaseMasterUserPasswordCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12821,27 +13996,27 @@ const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseLogEventsResult(data, context); - const response: GetRelationalDatabaseLogEventsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseMetricDataResult(data, context); + const response: GetRelationalDatabaseMetricDataCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -12923,27 +14098,27 @@ const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseParametersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseParametersCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseLogStreamsResult(data, context); - const response: GetRelationalDatabaseLogStreamsCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseParametersResult(data, context); + const response: GetRelationalDatabaseParametersCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13025,27 +14200,27 @@ const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabasesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabasesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordResult(data, context); - const response: GetRelationalDatabaseMasterUserPasswordCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabasesResult(data, context); + const response: GetRelationalDatabasesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabasesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13127,27 +14302,27 @@ const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseMetricDataResult(data, context); - const response: GetRelationalDatabaseMetricDataCommandOutput = { + contents = deserializeAws_json1_1GetRelationalDatabaseSnapshotResult(data, context); + const response: GetRelationalDatabaseSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13229,27 +14404,27 @@ const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseParametersCommand = async ( +export const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseParametersCommandError(output, context); + return deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError(output, context); } const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseParametersResult(data, context); - const response: GetRelationalDatabaseParametersCommandOutput = { + let contents: any = {}; + contents = deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult(data, context); + const response: GetRelationalDatabaseSnapshotsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async ( +const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13331,27 +14506,27 @@ const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabasesCommand = async ( +export const deserializeAws_json1_1GetStaticIpCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabasesCommandError(output, context); + return deserializeAws_json1_1GetStaticIpCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabasesResult(data, context); - const response: GetRelationalDatabasesCommandOutput = { + contents = deserializeAws_json1_1GetStaticIpResult(data, context); + const response: GetStaticIpCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabasesCommandError = async ( +const deserializeAws_json1_1GetStaticIpCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13433,27 +14608,27 @@ const deserializeAws_json1_1GetRelationalDatabasesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommand = async ( +export const deserializeAws_json1_1GetStaticIpsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError(output, context); + return deserializeAws_json1_1GetStaticIpsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseSnapshotResult(data, context); - const response: GetRelationalDatabaseSnapshotCommandOutput = { + contents = deserializeAws_json1_1GetStaticIpsResult(data, context); + const response: GetStaticIpsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async ( +const deserializeAws_json1_1GetStaticIpsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13535,27 +14710,27 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand = async ( +export const deserializeAws_json1_1ImportKeyPairCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError(output, context); + return deserializeAws_json1_1ImportKeyPairCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult(data, context); - const response: GetRelationalDatabaseSnapshotsCommandOutput = { + contents = deserializeAws_json1_1ImportKeyPairResult(data, context); + const response: ImportKeyPairCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async ( +const deserializeAws_json1_1ImportKeyPairCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13637,27 +14812,27 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetStaticIpCommand = async ( +export const deserializeAws_json1_1IsVpcPeeredCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetStaticIpCommandError(output, context); + return deserializeAws_json1_1IsVpcPeeredCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetStaticIpResult(data, context); - const response: GetStaticIpCommandOutput = { + contents = deserializeAws_json1_1IsVpcPeeredResult(data, context); + const response: IsVpcPeeredCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetStaticIpCommandError = async ( +const deserializeAws_json1_1IsVpcPeeredCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13739,27 +14914,27 @@ const deserializeAws_json1_1GetStaticIpCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetStaticIpsCommand = async ( +export const deserializeAws_json1_1OpenInstancePublicPortsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetStaticIpsCommandError(output, context); + return deserializeAws_json1_1OpenInstancePublicPortsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetStaticIpsResult(data, context); - const response: GetStaticIpsCommandOutput = { + contents = deserializeAws_json1_1OpenInstancePublicPortsResult(data, context); + const response: OpenInstancePublicPortsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetStaticIpsCommandError = async ( +const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13841,27 +15016,27 @@ const deserializeAws_json1_1GetStaticIpsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1ImportKeyPairCommand = async ( +export const deserializeAws_json1_1PeerVpcCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1ImportKeyPairCommandError(output, context); + return deserializeAws_json1_1PeerVpcCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1ImportKeyPairResult(data, context); - const response: ImportKeyPairCommandOutput = { + contents = deserializeAws_json1_1PeerVpcResult(data, context); + const response: PeerVpcCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1ImportKeyPairCommandError = async ( +const deserializeAws_json1_1PeerVpcCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13943,27 +15118,27 @@ const deserializeAws_json1_1ImportKeyPairCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1IsVpcPeeredCommand = async ( +export const deserializeAws_json1_1PutAlarmCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1IsVpcPeeredCommandError(output, context); + return deserializeAws_json1_1PutAlarmCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1IsVpcPeeredResult(data, context); - const response: IsVpcPeeredCommandOutput = { + contents = deserializeAws_json1_1PutAlarmResult(data, context); + const response: PutAlarmCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1IsVpcPeeredCommandError = async ( +const deserializeAws_json1_1PutAlarmCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -13980,14 +15155,6 @@ const deserializeAws_json1_1IsVpcPeeredCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -14045,27 +15212,27 @@ const deserializeAws_json1_1IsVpcPeeredCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1OpenInstancePublicPortsCommand = async ( +export const deserializeAws_json1_1PutInstancePublicPortsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1OpenInstancePublicPortsCommandError(output, context); + return deserializeAws_json1_1PutInstancePublicPortsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1OpenInstancePublicPortsResult(data, context); - const response: OpenInstancePublicPortsCommandOutput = { + contents = deserializeAws_json1_1PutInstancePublicPortsResult(data, context); + const response: PutInstancePublicPortsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async ( +const deserializeAws_json1_1PutInstancePublicPortsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14147,27 +15314,27 @@ const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1PeerVpcCommand = async ( +export const deserializeAws_json1_1RebootInstanceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1PeerVpcCommandError(output, context); + return deserializeAws_json1_1RebootInstanceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1PeerVpcResult(data, context); - const response: PeerVpcCommandOutput = { + contents = deserializeAws_json1_1RebootInstanceResult(data, context); + const response: RebootInstanceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1PeerVpcCommandError = async ( +const deserializeAws_json1_1RebootInstanceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14249,27 +15416,27 @@ const deserializeAws_json1_1PeerVpcCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1PutAlarmCommand = async ( +export const deserializeAws_json1_1RebootRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1PutAlarmCommandError(output, context); + return deserializeAws_json1_1RebootRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1PutAlarmResult(data, context); - const response: PutAlarmCommandOutput = { + contents = deserializeAws_json1_1RebootRelationalDatabaseResult(data, context); + const response: RebootRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1PutAlarmCommandError = async ( +const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14286,6 +15453,14 @@ const deserializeAws_json1_1PutAlarmCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -14343,27 +15518,27 @@ const deserializeAws_json1_1PutAlarmCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1PutInstancePublicPortsCommand = async ( +export const deserializeAws_json1_1RegisterContainerImageCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1PutInstancePublicPortsCommandError(output, context); + return deserializeAws_json1_1RegisterContainerImageCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1PutInstancePublicPortsResult(data, context); - const response: PutInstancePublicPortsCommandOutput = { + contents = deserializeAws_json1_1RegisterContainerImageResult(data, context); + const response: RegisterContainerImageCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1PutInstancePublicPortsCommandError = async ( +const deserializeAws_json1_1RegisterContainerImageCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14380,14 +15555,6 @@ const deserializeAws_json1_1PutInstancePublicPortsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -14404,14 +15571,6 @@ const deserializeAws_json1_1PutInstancePublicPortsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -14445,27 +15604,27 @@ const deserializeAws_json1_1PutInstancePublicPortsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1RebootInstanceCommand = async ( +export const deserializeAws_json1_1ReleaseStaticIpCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1RebootInstanceCommandError(output, context); + return deserializeAws_json1_1ReleaseStaticIpCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1RebootInstanceResult(data, context); - const response: RebootInstanceCommandOutput = { + contents = deserializeAws_json1_1ReleaseStaticIpResult(data, context); + const response: ReleaseStaticIpCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1RebootInstanceCommandError = async ( +const deserializeAws_json1_1ReleaseStaticIpCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14547,27 +15706,27 @@ const deserializeAws_json1_1RebootInstanceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1RebootRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1ResetDistributionCacheCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1RebootRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1ResetDistributionCacheCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1RebootRelationalDatabaseResult(data, context); - const response: RebootRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1ResetDistributionCacheResult(data, context); + const response: ResetDistributionCacheCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1ResetDistributionCacheCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14584,14 +15743,6 @@ const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -14649,27 +15800,27 @@ const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1RegisterContainerImageCommand = async ( +export const deserializeAws_json1_1SendContactMethodVerificationCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1RegisterContainerImageCommandError(output, context); + return deserializeAws_json1_1SendContactMethodVerificationCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1RegisterContainerImageResult(data, context); - const response: RegisterContainerImageCommandOutput = { + contents = deserializeAws_json1_1SendContactMethodVerificationResult(data, context); + const response: SendContactMethodVerificationCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1RegisterContainerImageCommandError = async ( +const deserializeAws_json1_1SendContactMethodVerificationCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14702,6 +15853,14 @@ const deserializeAws_json1_1RegisterContainerImageCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -14735,27 +15894,27 @@ const deserializeAws_json1_1RegisterContainerImageCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1ReleaseStaticIpCommand = async ( +export const deserializeAws_json1_1SetIpAddressTypeCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1ReleaseStaticIpCommandError(output, context); + return deserializeAws_json1_1SetIpAddressTypeCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1ReleaseStaticIpResult(data, context); - const response: ReleaseStaticIpCommandOutput = { + contents = deserializeAws_json1_1SetIpAddressTypeResult(data, context); + const response: SetIpAddressTypeCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1ReleaseStaticIpCommandError = async ( +const deserializeAws_json1_1SetIpAddressTypeCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14837,27 +15996,27 @@ const deserializeAws_json1_1ReleaseStaticIpCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1ResetDistributionCacheCommand = async ( +export const deserializeAws_json1_1SetResourceAccessForBucketCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1ResetDistributionCacheCommandError(output, context); + return deserializeAws_json1_1SetResourceAccessForBucketCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1ResetDistributionCacheResult(data, context); - const response: ResetDistributionCacheCommandOutput = { + contents = deserializeAws_json1_1SetResourceAccessForBucketResult(data, context); + const response: SetResourceAccessForBucketCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1ResetDistributionCacheCommandError = async ( +const deserializeAws_json1_1SetResourceAccessForBucketCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14890,14 +16049,6 @@ const deserializeAws_json1_1ResetDistributionCacheCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -14931,27 +16082,27 @@ const deserializeAws_json1_1ResetDistributionCacheCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1SendContactMethodVerificationCommand = async ( +export const deserializeAws_json1_1StartInstanceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1SendContactMethodVerificationCommandError(output, context); + return deserializeAws_json1_1StartInstanceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1SendContactMethodVerificationResult(data, context); - const response: SendContactMethodVerificationCommandOutput = { + contents = deserializeAws_json1_1StartInstanceResult(data, context); + const response: StartInstanceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1SendContactMethodVerificationCommandError = async ( +const deserializeAws_json1_1StartInstanceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -14968,6 +16119,14 @@ const deserializeAws_json1_1SendContactMethodVerificationCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -15025,27 +16184,27 @@ const deserializeAws_json1_1SendContactMethodVerificationCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1SetIpAddressTypeCommand = async ( +export const deserializeAws_json1_1StartRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1SetIpAddressTypeCommandError(output, context); + return deserializeAws_json1_1StartRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1SetIpAddressTypeResult(data, context); - const response: SetIpAddressTypeCommandOutput = { + contents = deserializeAws_json1_1StartRelationalDatabaseResult(data, context); + const response: StartRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1SetIpAddressTypeCommandError = async ( +const deserializeAws_json1_1StartRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15127,27 +16286,27 @@ const deserializeAws_json1_1SetIpAddressTypeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1StartInstanceCommand = async ( +export const deserializeAws_json1_1StopInstanceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1StartInstanceCommandError(output, context); + return deserializeAws_json1_1StopInstanceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1StartInstanceResult(data, context); - const response: StartInstanceCommandOutput = { + contents = deserializeAws_json1_1StopInstanceResult(data, context); + const response: StopInstanceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1StartInstanceCommandError = async ( +const deserializeAws_json1_1StopInstanceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15229,27 +16388,27 @@ const deserializeAws_json1_1StartInstanceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1StartRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1StopRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1StartRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1StopRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1StartRelationalDatabaseResult(data, context); - const response: StartRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1StopRelationalDatabaseResult(data, context); + const response: StopRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1StartRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1StopRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15331,27 +16490,27 @@ const deserializeAws_json1_1StartRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1StopInstanceCommand = async ( +export const deserializeAws_json1_1TagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1StopInstanceCommandError(output, context); + return deserializeAws_json1_1TagResourceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1StopInstanceResult(data, context); - const response: StopInstanceCommandOutput = { + contents = deserializeAws_json1_1TagResourceResult(data, context); + const response: TagResourceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1StopInstanceCommandError = async ( +const deserializeAws_json1_1TagResourceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15433,27 +16592,27 @@ const deserializeAws_json1_1StopInstanceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1StopRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1TestAlarmCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1StopRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1TestAlarmCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1StopRelationalDatabaseResult(data, context); - const response: StopRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1TestAlarmResult(data, context); + const response: TestAlarmCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1StopRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1TestAlarmCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15470,14 +16629,6 @@ const deserializeAws_json1_1StopRelationalDatabaseCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -15535,27 +16686,27 @@ const deserializeAws_json1_1StopRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1TagResourceCommand = async ( +export const deserializeAws_json1_1UnpeerVpcCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1TagResourceCommandError(output, context); + return deserializeAws_json1_1UnpeerVpcCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1TagResourceResult(data, context); - const response: TagResourceCommandOutput = { + contents = deserializeAws_json1_1UnpeerVpcResult(data, context); + const response: UnpeerVpcCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1TagResourceCommandError = async ( +const deserializeAws_json1_1UnpeerVpcCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15637,27 +16788,27 @@ const deserializeAws_json1_1TagResourceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1TestAlarmCommand = async ( +export const deserializeAws_json1_1UntagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1TestAlarmCommandError(output, context); + return deserializeAws_json1_1UntagResourceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1TestAlarmResult(data, context); - const response: TestAlarmCommandOutput = { + contents = deserializeAws_json1_1UntagResourceResult(data, context); + const response: UntagResourceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1TestAlarmCommandError = async ( +const deserializeAws_json1_1UntagResourceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15674,6 +16825,14 @@ const deserializeAws_json1_1TestAlarmCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -15731,27 +16890,27 @@ const deserializeAws_json1_1TestAlarmCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1UnpeerVpcCommand = async ( +export const deserializeAws_json1_1UpdateBucketCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1UnpeerVpcCommandError(output, context); + return deserializeAws_json1_1UpdateBucketCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1UnpeerVpcResult(data, context); - const response: UnpeerVpcCommandOutput = { + contents = deserializeAws_json1_1UpdateBucketResult(data, context); + const response: UpdateBucketCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1UnpeerVpcCommandError = async ( +const deserializeAws_json1_1UpdateBucketCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15768,14 +16927,6 @@ const deserializeAws_json1_1UnpeerVpcCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -15792,14 +16943,6 @@ const deserializeAws_json1_1UnpeerVpcCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -15833,27 +16976,27 @@ const deserializeAws_json1_1UnpeerVpcCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1UntagResourceCommand = async ( +export const deserializeAws_json1_1UpdateBucketBundleCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1UntagResourceCommandError(output, context); + return deserializeAws_json1_1UpdateBucketBundleCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1UntagResourceResult(data, context); - const response: UntagResourceCommandOutput = { + contents = deserializeAws_json1_1UpdateBucketBundleResult(data, context); + const response: UpdateBucketBundleCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1UntagResourceCommandError = async ( +const deserializeAws_json1_1UpdateBucketBundleCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -15870,14 +17013,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -15894,14 +17029,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -16722,6 +17849,14 @@ const deserializeAws_json1_1UnauthenticatedExceptionResponse = async ( return contents; }; +const serializeAws_json1_1AccessRules = (input: AccessRules, context: __SerdeContext): any => { + return { + ...(input.allowPublicOverrides !== undefined && + input.allowPublicOverrides !== null && { allowPublicOverrides: input.allowPublicOverrides }), + ...(input.getObject !== undefined && input.getObject !== null && { getObject: input.getObject }), + }; +}; + const serializeAws_json1_1AddOnRequest = (input: AddOnRequest, context: __SerdeContext): any => { return { ...(input.addOnType !== undefined && input.addOnType !== null && { addOnType: input.addOnType }), @@ -17020,6 +18155,25 @@ const serializeAws_json1_1CopySnapshotRequest = (input: CopySnapshotRequest, con }; }; +const serializeAws_json1_1CreateBucketAccessKeyRequest = ( + input: CreateBucketAccessKeyRequest, + context: __SerdeContext +): any => { + return { + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + }; +}; + +const serializeAws_json1_1CreateBucketRequest = (input: CreateBucketRequest, context: __SerdeContext): any => { + return { + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }), + ...(input.enableObjectVersioning !== undefined && + input.enableObjectVersioning !== null && { enableObjectVersioning: input.enableObjectVersioning }), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }), + }; +}; + const serializeAws_json1_1CreateCertificateRequest = ( input: CreateCertificateRequest, context: __SerdeContext @@ -17396,6 +18550,23 @@ const serializeAws_json1_1DeleteAutoSnapshotRequest = ( }; }; +const serializeAws_json1_1DeleteBucketAccessKeyRequest = ( + input: DeleteBucketAccessKeyRequest, + context: __SerdeContext +): any => { + return { + ...(input.accessKeyId !== undefined && input.accessKeyId !== null && { accessKeyId: input.accessKeyId }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + }; +}; + +const serializeAws_json1_1DeleteBucketRequest = (input: DeleteBucketRequest, context: __SerdeContext): any => { + return { + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }), + }; +}; + const serializeAws_json1_1DeleteCertificateRequest = ( input: DeleteCertificateRequest, context: __SerdeContext @@ -17720,16 +18891,59 @@ const serializeAws_json1_1GetAlarmsRequest = (input: GetAlarmsRequest, context: }; }; -const serializeAws_json1_1GetAutoSnapshotsRequest = (input: GetAutoSnapshotsRequest, context: __SerdeContext): any => { +const serializeAws_json1_1GetAutoSnapshotsRequest = (input: GetAutoSnapshotsRequest, context: __SerdeContext): any => { + return { + ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }), + }; +}; + +const serializeAws_json1_1GetBlueprintsRequest = (input: GetBlueprintsRequest, context: __SerdeContext): any => { + return { + ...(input.includeInactive !== undefined && + input.includeInactive !== null && { includeInactive: input.includeInactive }), + ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }), + }; +}; + +const serializeAws_json1_1GetBucketAccessKeysRequest = ( + input: GetBucketAccessKeysRequest, + context: __SerdeContext +): any => { + return { + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + }; +}; + +const serializeAws_json1_1GetBucketBundlesRequest = (input: GetBucketBundlesRequest, context: __SerdeContext): any => { + return { + ...(input.includeInactive !== undefined && + input.includeInactive !== null && { includeInactive: input.includeInactive }), + }; +}; + +const serializeAws_json1_1GetBucketMetricDataRequest = ( + input: GetBucketMetricDataRequest, + context: __SerdeContext +): any => { return { - ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.endTime !== undefined && + input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }), + ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }), + ...(input.period !== undefined && input.period !== null && { period: input.period }), + ...(input.startTime !== undefined && + input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }), + ...(input.statistics !== undefined && + input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }), + ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }), }; }; -const serializeAws_json1_1GetBlueprintsRequest = (input: GetBlueprintsRequest, context: __SerdeContext): any => { +const serializeAws_json1_1GetBucketsRequest = (input: GetBucketsRequest, context: __SerdeContext): any => { return { - ...(input.includeInactive !== undefined && - input.includeInactive !== null && { includeInactive: input.includeInactive }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.includeConnectedResources !== undefined && + input.includeConnectedResources !== null && { includeConnectedResources: input.includeConnectedResources }), ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }), }; }; @@ -18346,6 +19560,17 @@ const serializeAws_json1_1OpenInstancePublicPortsRequest = ( }; }; +const serializeAws_json1_1PartnerIdList = (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_json1_1PeerVpcRequest = (input: PeerVpcRequest, context: __SerdeContext): any => { return {}; }; @@ -18543,6 +19768,17 @@ const serializeAws_json1_1SetIpAddressTypeRequest = (input: SetIpAddressTypeRequ }; }; +const serializeAws_json1_1SetResourceAccessForBucketRequest = ( + input: SetResourceAccessForBucketRequest, + context: __SerdeContext +): any => { + return { + ...(input.access !== undefined && input.access !== null && { access: input.access }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }), + }; +}; + const serializeAws_json1_1StartInstanceRequest = (input: StartInstanceRequest, context: __SerdeContext): any => { return { ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }), @@ -18659,6 +19895,29 @@ const serializeAws_json1_1UntagResourceRequest = (input: UntagResourceRequest, c }; }; +const serializeAws_json1_1UpdateBucketBundleRequest = ( + input: UpdateBucketBundleRequest, + context: __SerdeContext +): any => { + return { + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }), + }; +}; + +const serializeAws_json1_1UpdateBucketRequest = (input: UpdateBucketRequest, context: __SerdeContext): any => { + return { + ...(input.accessRules !== undefined && + input.accessRules !== null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + ...(input.readonlyAccessAccounts !== undefined && + input.readonlyAccessAccounts !== null && { + readonlyAccessAccounts: serializeAws_json1_1PartnerIdList(input.readonlyAccessAccounts, context), + }), + ...(input.versioning !== undefined && input.versioning !== null && { versioning: input.versioning }), + }; +}; + const serializeAws_json1_1UpdateContainerServiceRequest = ( input: UpdateContainerServiceRequest, context: __SerdeContext @@ -18786,6 +20045,47 @@ const deserializeAws_json1_1AccessDeniedException = (output: any, context: __Ser } as any; }; +const deserializeAws_json1_1AccessKey = (output: any, context: __SerdeContext): AccessKey => { + return { + accessKeyId: __expectString(output.accessKeyId), + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + secretAccessKey: __expectString(output.secretAccessKey), + status: __expectString(output.status), + } as any; +}; + +const deserializeAws_json1_1AccessKeyList = (output: any, context: __SerdeContext): AccessKey[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1AccessKey(entry, context); + }); +}; + +const deserializeAws_json1_1AccessReceiverList = (output: any, context: __SerdeContext): ResourceReceivingAccess[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1ResourceReceivingAccess(entry, context); + }); +}; + +const deserializeAws_json1_1AccessRules = (output: any, context: __SerdeContext): AccessRules => { + return { + allowPublicOverrides: __expectBoolean(output.allowPublicOverrides), + getObject: __expectString(output.getObject), + } as any; +}; + const deserializeAws_json1_1AccountSetupInProgressException = ( output: any, context: __SerdeContext @@ -19022,6 +20322,87 @@ const deserializeAws_json1_1BlueprintList = (output: any, context: __SerdeContex }); }; +const deserializeAws_json1_1Bucket = (output: any, context: __SerdeContext): Bucket => { + return { + ableToUpdateBundle: __expectBoolean(output.ableToUpdateBundle), + accessRules: + output.accessRules !== undefined && output.accessRules !== null + ? deserializeAws_json1_1AccessRules(output.accessRules, context) + : undefined, + arn: __expectString(output.arn), + bundleId: __expectString(output.bundleId), + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + location: + output.location !== undefined && output.location !== null + ? deserializeAws_json1_1ResourceLocation(output.location, context) + : undefined, + name: __expectString(output.name), + objectVersioning: __expectString(output.objectVersioning), + readonlyAccessAccounts: + output.readonlyAccessAccounts !== undefined && output.readonlyAccessAccounts !== null + ? deserializeAws_json1_1PartnerIdList(output.readonlyAccessAccounts, context) + : undefined, + resourceType: __expectString(output.resourceType), + resourcesReceivingAccess: + output.resourcesReceivingAccess !== undefined && output.resourcesReceivingAccess !== null + ? deserializeAws_json1_1AccessReceiverList(output.resourcesReceivingAccess, context) + : undefined, + state: + output.state !== undefined && output.state !== null + ? deserializeAws_json1_1BucketState(output.state, context) + : undefined, + supportCode: __expectString(output.supportCode), + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_json1_1TagList(output.tags, context) + : undefined, + url: __expectString(output.url), + } as any; +}; + +const deserializeAws_json1_1BucketBundle = (output: any, context: __SerdeContext): BucketBundle => { + return { + bundleId: __expectString(output.bundleId), + isActive: __expectBoolean(output.isActive), + name: __expectString(output.name), + price: __handleFloat(output.price), + storagePerMonthInGb: __expectNumber(output.storagePerMonthInGb), + transferPerMonthInGb: __expectNumber(output.transferPerMonthInGb), + } as any; +}; + +const deserializeAws_json1_1BucketBundleList = (output: any, context: __SerdeContext): BucketBundle[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1BucketBundle(entry, context); + }); +}; + +const deserializeAws_json1_1BucketList = (output: any, context: __SerdeContext): Bucket[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1Bucket(entry, context); + }); +}; + +const deserializeAws_json1_1BucketState = (output: any, context: __SerdeContext): BucketState => { + return { + code: __expectString(output.code), + message: __expectString(output.message), + } as any; +}; + const deserializeAws_json1_1Bundle = (output: any, context: __SerdeContext): Bundle => { return { bundleId: __expectString(output.bundleId), @@ -19636,6 +21017,35 @@ const deserializeAws_json1_1CopySnapshotResult = (output: any, context: __SerdeC } as any; }; +const deserializeAws_json1_1CreateBucketAccessKeyResult = ( + output: any, + context: __SerdeContext +): CreateBucketAccessKeyResult => { + return { + accessKey: + output.accessKey !== undefined && output.accessKey !== null + ? deserializeAws_json1_1AccessKey(output.accessKey, context) + : undefined, + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CreateBucketResult = (output: any, context: __SerdeContext): CreateBucketResult => { + return { + bucket: + output.bucket !== undefined && output.bucket !== null + ? deserializeAws_json1_1Bucket(output.bucket, context) + : undefined, + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1CreateCertificateResult = ( output: any, context: __SerdeContext @@ -19911,6 +21321,27 @@ const deserializeAws_json1_1DeleteAutoSnapshotResult = ( } as any; }; +const deserializeAws_json1_1DeleteBucketAccessKeyResult = ( + output: any, + context: __SerdeContext +): DeleteBucketAccessKeyResult => { + return { + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1DeleteBucketResult = (output: any, context: __SerdeContext): DeleteBucketResult => { + return { + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1DeleteCertificateResult = ( output: any, context: __SerdeContext @@ -20536,6 +21967,50 @@ const deserializeAws_json1_1GetBlueprintsResult = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_1GetBucketAccessKeysResult = ( + output: any, + context: __SerdeContext +): GetBucketAccessKeysResult => { + return { + accessKeys: + output.accessKeys !== undefined && output.accessKeys !== null + ? deserializeAws_json1_1AccessKeyList(output.accessKeys, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1GetBucketBundlesResult = (output: any, context: __SerdeContext): GetBucketBundlesResult => { + return { + bundles: + output.bundles !== undefined && output.bundles !== null + ? deserializeAws_json1_1BucketBundleList(output.bundles, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1GetBucketMetricDataResult = ( + output: any, + context: __SerdeContext +): GetBucketMetricDataResult => { + return { + metricData: + output.metricData !== undefined && output.metricData !== null + ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) + : undefined, + metricName: __expectString(output.metricName), + } as any; +}; + +const deserializeAws_json1_1GetBucketsResult = (output: any, context: __SerdeContext): GetBucketsResult => { + return { + buckets: + output.buckets !== undefined && output.buckets !== null + ? deserializeAws_json1_1BucketList(output.buckets, context) + : undefined, + nextPageToken: __expectString(output.nextPageToken), + } as any; +}; + const deserializeAws_json1_1GetBundlesResult = (output: any, context: __SerdeContext): GetBundlesResult => { return { bundles: @@ -21976,6 +23451,17 @@ const deserializeAws_json1_1Origin = (output: any, context: __SerdeContext): Ori } as any; }; +const deserializeAws_json1_1PartnerIdList = (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_json1_1PasswordData = (output: any, context: __SerdeContext): PasswordData => { return { ciphertext: __expectString(output.ciphertext), @@ -22454,6 +23940,16 @@ const deserializeAws_json1_1ResourceLocation = (output: any, context: __SerdeCon } as any; }; +const deserializeAws_json1_1ResourceReceivingAccess = ( + output: any, + context: __SerdeContext +): ResourceReceivingAccess => { + return { + name: __expectString(output.name), + resourceType: __expectString(output.resourceType), + } as any; +}; + const deserializeAws_json1_1ResourceRecord = (output: any, context: __SerdeContext): ResourceRecord => { return { name: __expectString(output.name), @@ -22492,6 +23988,18 @@ const deserializeAws_json1_1SetIpAddressTypeResult = (output: any, context: __Se } as any; }; +const deserializeAws_json1_1SetResourceAccessForBucketResult = ( + output: any, + context: __SerdeContext +): SetResourceAccessForBucketResult => { + return { + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1StartInstanceResult = (output: any, context: __SerdeContext): StartInstanceResult => { return { operations: @@ -22653,6 +24161,31 @@ const deserializeAws_json1_1UntagResourceResult = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_1UpdateBucketBundleResult = ( + output: any, + context: __SerdeContext +): UpdateBucketBundleResult => { + return { + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1UpdateBucketResult = (output: any, context: __SerdeContext): UpdateBucketResult => { + return { + bucket: + output.bucket !== undefined && output.bucket !== null + ? deserializeAws_json1_1Bucket(output.bucket, context) + : undefined, + operations: + output.operations !== undefined && output.operations !== null + ? deserializeAws_json1_1OperationList(output.operations, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1UpdateContainerServiceResult = ( output: any, context: __SerdeContext diff --git a/clients/client-mediaconvert/models/models_0.ts b/clients/client-mediaconvert/models/models_0.ts index 1380042b31a39..e1385bbd23f7b 100644 --- a/clients/client-mediaconvert/models/models_0.ts +++ b/clients/client-mediaconvert/models/models_0.ts @@ -1563,7 +1563,7 @@ export interface DvbSubDestinationSettings { DdsYCoordinate?: number; /** - * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the color of the DVB-SUB captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ FontColor?: DvbSubtitleFontColor | string; @@ -1735,6 +1735,30 @@ export namespace SccDestinationSettings { }); } +export enum SrtStylePassthrough { + DISABLED = "DISABLED", + ENABLED = "ENABLED", +} + +/** + * SRT Destination Settings + */ +export interface SrtDestinationSettings { + /** + * Choose Enabled (ENABLED) to have MediaConvert use the font style, color, and position information from the captions source in the input. Keep the default value, Disabled (DISABLED), for simplified output captions. + */ + StylePassthrough?: SrtStylePassthrough | string; +} + +export namespace SrtDestinationSettings { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SrtDestinationSettings): any => ({ + ...obj, + }); +} + export enum TeletextPageType { PAGE_TYPE_ADDL_INFO = "PAGE_TYPE_ADDL_INFO", PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE = "PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE", @@ -1849,6 +1873,11 @@ export interface CaptionDestinationSettings { */ SccDestinationSettings?: SccDestinationSettings; + /** + * SRT Destination Settings + */ + SrtDestinationSettings?: SrtDestinationSettings; + /** * Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to TELETEXT. */ @@ -4047,6 +4076,11 @@ export enum CmafStreamInfResolution { INCLUDE = "INCLUDE", } +export enum CmafTargetDurationCompatibilityMode { + LEGACY = "LEGACY", + SPEC_COMPLIANT = "SPEC_COMPLIANT", +} + export enum CmafWriteDASHManifest { DISABLED = "DISABLED", ENABLED = "ENABLED", @@ -4156,6 +4190,11 @@ export interface CmafGroupSettings { */ StreamInfResolution?: CmafStreamInfResolution | string; + /** + * When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration. + */ + TargetDurationCompatibilityMode?: CmafTargetDurationCompatibilityMode | string; + /** * When set to ENABLED, a DASH MPD manifest will be generated for this output. */ @@ -4530,6 +4569,11 @@ export enum HlsStreamInfResolution { INCLUDE = "INCLUDE", } +export enum HlsTargetDurationCompatibilityMode { + LEGACY = "LEGACY", + SPEC_COMPLIANT = "SPEC_COMPLIANT", +} + export enum HlsTimedMetadataId3Frame { NONE = "NONE", PRIV = "PRIV", @@ -4660,6 +4704,11 @@ export interface HlsGroupSettings { */ StreamInfResolution?: HlsStreamInfResolution | string; + /** + * When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration. + */ + TargetDurationCompatibilityMode?: HlsTargetDurationCompatibilityMode | string; + /** * Indicates ID3 frame that has the timecode. */ @@ -5787,69 +5836,3 @@ export enum HlsAudioOnlyContainer { AUTOMATIC = "AUTOMATIC", M2TS = "M2TS", } - -export enum HlsAudioTrackType { - ALTERNATE_AUDIO_AUTO_SELECT = "ALTERNATE_AUDIO_AUTO_SELECT", - ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", - ALTERNATE_AUDIO_NOT_AUTO_SELECT = "ALTERNATE_AUDIO_NOT_AUTO_SELECT", - AUDIO_ONLY_VARIANT_STREAM = "AUDIO_ONLY_VARIANT_STREAM", -} - -export enum HlsDescriptiveVideoServiceFlag { - DONT_FLAG = "DONT_FLAG", - FLAG = "FLAG", -} - -export enum HlsIFrameOnlyManifest { - EXCLUDE = "EXCLUDE", - INCLUDE = "INCLUDE", -} - -/** - * Settings for HLS output groups - */ -export interface HlsSettings { - /** - * Specifies the group to which the audio rendition belongs. - */ - AudioGroupId?: string; - - /** - * Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container. - */ - AudioOnlyContainer?: HlsAudioOnlyContainer | string; - - /** - * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','. - */ - AudioRenditionSets?: string; - - /** - * Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO - */ - AudioTrackType?: HlsAudioTrackType | string; - - /** - * Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag (FLAG), MediaConvert includes the parameter CHARACTERISTICS="public.accessibility.describes-video" in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don't flag (DONT_FLAG), MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation. - */ - DescriptiveVideoServiceFlag?: HlsDescriptiveVideoServiceFlag | string; - - /** - * Choose Include (INCLUDE) to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don't need the I-frame only child manifest, keep the default value Exclude (EXCLUDE). - */ - IFrameOnlyManifest?: HlsIFrameOnlyManifest | string; - - /** - * Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html - */ - SegmentModifier?: string; -} - -export namespace HlsSettings { - /** - * @internal - */ - export const filterSensitiveLog = (obj: HlsSettings): any => ({ - ...obj, - }); -} diff --git a/clients/client-mediaconvert/models/models_1.ts b/clients/client-mediaconvert/models/models_1.ts index 5828d74dd595f..a84ccd3804462 100644 --- a/clients/client-mediaconvert/models/models_1.ts +++ b/clients/client-mediaconvert/models/models_1.ts @@ -11,7 +11,7 @@ import { Endpoint, EsamSettings, Hdr10Metadata, - HlsSettings, + HlsAudioOnlyContainer, HopDestination, Id3Insertion, ImageInserter, @@ -30,6 +30,72 @@ import { } from "./models_0"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; +export enum HlsAudioTrackType { + ALTERNATE_AUDIO_AUTO_SELECT = "ALTERNATE_AUDIO_AUTO_SELECT", + ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", + ALTERNATE_AUDIO_NOT_AUTO_SELECT = "ALTERNATE_AUDIO_NOT_AUTO_SELECT", + AUDIO_ONLY_VARIANT_STREAM = "AUDIO_ONLY_VARIANT_STREAM", +} + +export enum HlsDescriptiveVideoServiceFlag { + DONT_FLAG = "DONT_FLAG", + FLAG = "FLAG", +} + +export enum HlsIFrameOnlyManifest { + EXCLUDE = "EXCLUDE", + INCLUDE = "INCLUDE", +} + +/** + * Settings for HLS output groups + */ +export interface HlsSettings { + /** + * Specifies the group to which the audio rendition belongs. + */ + AudioGroupId?: string; + + /** + * Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container. + */ + AudioOnlyContainer?: HlsAudioOnlyContainer | string; + + /** + * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','. + */ + AudioRenditionSets?: string; + + /** + * Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO + */ + AudioTrackType?: HlsAudioTrackType | string; + + /** + * Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag (FLAG), MediaConvert includes the parameter CHARACTERISTICS="public.accessibility.describes-video" in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don't flag (DONT_FLAG), MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation. + */ + DescriptiveVideoServiceFlag?: HlsDescriptiveVideoServiceFlag | string; + + /** + * Choose Include (INCLUDE) to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don't need the I-frame only child manifest, keep the default value Exclude (EXCLUDE). + */ + IFrameOnlyManifest?: HlsIFrameOnlyManifest | string; + + /** + * Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html + */ + SegmentModifier?: string; +} + +export namespace HlsSettings { + /** + * @internal + */ + export const filterSensitiveLog = (obj: HlsSettings): any => ({ + ...obj, + }); +} + /** * Specific settings for this type of output. */ @@ -81,11 +147,11 @@ export enum Av1FramerateConversionAlgorithm { } /** - * Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ export interface Av1QvbrSettings { /** - * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within av1Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. + * Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. */ QvbrQualityLevel?: number; @@ -158,7 +224,7 @@ export interface Av1Settings { NumberBFramesBetweenReferenceFrames?: number; /** - * Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ QvbrSettings?: Av1QvbrSettings; @@ -464,7 +530,7 @@ export enum H264QualityTuningLevel { } /** - * Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ export interface H264QvbrSettings { /** @@ -473,7 +539,7 @@ export interface H264QvbrSettings { MaxAverageBitrate?: number; /** - * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. + * Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. */ QvbrQualityLevel?: number; @@ -685,7 +751,7 @@ export interface H264Settings { QualityTuningLevel?: H264QualityTuningLevel | string; /** - * Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ QvbrSettings?: H264QvbrSettings; @@ -852,7 +918,7 @@ export enum H265QualityTuningLevel { } /** - * Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ export interface H265QvbrSettings { /** @@ -861,7 +927,7 @@ export interface H265QvbrSettings { MaxAverageBitrate?: number; /** - * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. + * Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. */ QvbrQualityLevel?: number; @@ -1079,7 +1145,7 @@ export interface H265Settings { QualityTuningLevel?: H265QualityTuningLevel | string; /** - * Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode). */ QvbrSettings?: H265QvbrSettings; diff --git a/clients/client-mediaconvert/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/protocols/Aws_restJson1.ts index 1d495ff971502..3c3ccf2b6afcb 100644 --- a/clients/client-mediaconvert/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/protocols/Aws_restJson1.ts @@ -87,7 +87,6 @@ import { HlsEncryptionSettings, HlsGroupSettings, HlsRenditionGroupSettings, - HlsSettings, HopDestination, Id3Insertion, ImageInserter, @@ -131,6 +130,7 @@ import { SccDestinationSettings, SpekeKeyProvider, SpekeKeyProviderCmaf, + SrtDestinationSettings, StaticKeyProvider, TeletextDestinationSettings, TeletextPageType, @@ -162,6 +162,7 @@ import { H265QvbrSettings, H265Settings, Hdr10Plus, + HlsSettings, InternalServerErrorException, Job, JobSettings, @@ -4274,6 +4275,10 @@ const serializeAws_restJson1CaptionDestinationSettings = ( input.SccDestinationSettings !== null && { sccDestinationSettings: serializeAws_restJson1SccDestinationSettings(input.SccDestinationSettings, context), }), + ...(input.SrtDestinationSettings !== undefined && + input.SrtDestinationSettings !== null && { + srtDestinationSettings: serializeAws_restJson1SrtDestinationSettings(input.SrtDestinationSettings, context), + }), ...(input.TeletextDestinationSettings !== undefined && input.TeletextDestinationSettings !== null && { teletextDestinationSettings: serializeAws_restJson1TeletextDestinationSettings( @@ -4432,6 +4437,10 @@ const serializeAws_restJson1CmafGroupSettings = (input: CmafGroupSettings, conte ...(input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength }), ...(input.StreamInfResolution !== undefined && input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution }), + ...(input.TargetDurationCompatibilityMode !== undefined && + input.TargetDurationCompatibilityMode !== null && { + targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode, + }), ...(input.WriteDashManifest !== undefined && input.WriteDashManifest !== null && { writeDashManifest: input.WriteDashManifest }), ...(input.WriteHlsManifest !== undefined && @@ -5164,6 +5173,10 @@ const serializeAws_restJson1HlsGroupSettings = (input: HlsGroupSettings, context input.SegmentsPerSubdirectory !== null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory }), ...(input.StreamInfResolution !== undefined && input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution }), + ...(input.TargetDurationCompatibilityMode !== undefined && + input.TargetDurationCompatibilityMode !== null && { + targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode, + }), ...(input.TimedMetadataId3Frame !== undefined && input.TimedMetadataId3Frame !== null && { timedMetadataId3Frame: input.TimedMetadataId3Frame }), ...(input.TimedMetadataId3Period !== undefined && @@ -6199,6 +6212,13 @@ const serializeAws_restJson1SpekeKeyProviderCmaf = (input: SpekeKeyProviderCmaf, }; }; +const serializeAws_restJson1SrtDestinationSettings = (input: SrtDestinationSettings, context: __SerdeContext): any => { + return { + ...(input.StylePassthrough !== undefined && + input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }), + }; +}; + const serializeAws_restJson1StaticKeyProvider = (input: StaticKeyProvider, context: __SerdeContext): any => { return { ...(input.KeyFormat !== undefined && input.KeyFormat !== null && { keyFormat: input.KeyFormat }), @@ -7456,6 +7476,10 @@ const deserializeAws_restJson1CaptionDestinationSettings = ( output.sccDestinationSettings !== undefined && output.sccDestinationSettings !== null ? deserializeAws_restJson1SccDestinationSettings(output.sccDestinationSettings, context) : undefined, + SrtDestinationSettings: + output.srtDestinationSettings !== undefined && output.srtDestinationSettings !== null + ? deserializeAws_restJson1SrtDestinationSettings(output.srtDestinationSettings, context) + : undefined, TeletextDestinationSettings: output.teletextDestinationSettings !== undefined && output.teletextDestinationSettings !== null ? deserializeAws_restJson1TeletextDestinationSettings(output.teletextDestinationSettings, context) @@ -7597,6 +7621,7 @@ const deserializeAws_restJson1CmafGroupSettings = (output: any, context: __Serde SegmentControl: __expectString(output.segmentControl), SegmentLength: __expectNumber(output.segmentLength), StreamInfResolution: __expectString(output.streamInfResolution), + TargetDurationCompatibilityMode: __expectString(output.targetDurationCompatibilityMode), WriteDashManifest: __expectString(output.writeDashManifest), WriteHlsManifest: __expectString(output.writeHlsManifest), WriteSegmentTimelineInRepresentation: __expectString(output.writeSegmentTimelineInRepresentation), @@ -8188,6 +8213,7 @@ const deserializeAws_restJson1HlsGroupSettings = (output: any, context: __SerdeC SegmentLength: __expectNumber(output.segmentLength), SegmentsPerSubdirectory: __expectNumber(output.segmentsPerSubdirectory), StreamInfResolution: __expectString(output.streamInfResolution), + TargetDurationCompatibilityMode: __expectString(output.targetDurationCompatibilityMode), TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame), TimedMetadataId3Period: __expectNumber(output.timedMetadataId3Period), TimestampDeltaMilliseconds: __expectNumber(output.timestampDeltaMilliseconds), @@ -9319,6 +9345,15 @@ const deserializeAws_restJson1SpekeKeyProviderCmaf = (output: any, context: __Se } as any; }; +const deserializeAws_restJson1SrtDestinationSettings = ( + output: any, + context: __SerdeContext +): SrtDestinationSettings => { + return { + StylePassthrough: __expectString(output.stylePassthrough), + } as any; +}; + const deserializeAws_restJson1StaticKeyProvider = (output: any, context: __SerdeContext): StaticKeyProvider => { return { KeyFormat: __expectString(output.keyFormat), diff --git a/clients/client-pricing/Pricing.ts b/clients/client-pricing/Pricing.ts index 447963152ce06..9a62e62aee944 100644 --- a/clients/client-pricing/Pricing.ts +++ b/clients/client-pricing/Pricing.ts @@ -13,13 +13,13 @@ import { GetProductsCommand, GetProductsCommandInput, GetProductsCommandOutput } import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - *

                                      AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to - * programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service + *

                                      Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to + * programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service * uses standardized product attributes such as Location, Storage * Class, and Operating System, and provides prices at the SKU - * level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile + * level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile * billing data, forecast future spend for budgeting purposes, and provide cost benefit - * analysis that compare your internal workloads with AWS.

                                      + * analysis that compare your internal workloads with Amazon Web Services.

                                      *

                                      Use GetServices without a service code to retrieve the service codes for all AWS services, then * GetServices with a service code to retreive the attribute names for * that service. After you have the service code and attribute names, you can use GetAttributeValues @@ -28,7 +28,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; * an AmazonEC2 instance, with a Provisioned IOPS * volumeType.

                                      *

                                      Service Endpoint

                                      - *

                                      AWS Price List Service API provides the following two endpoints:

                                      + *

                                      Amazon Web Services Price List Service API provides the following two endpoints:

                                      *
                                        *
                                      • *

                                        https://api.pricing.us-east-1.amazonaws.com

                                        @@ -81,7 +81,7 @@ export class Pricing extends PricingClient { *

                                        Returns a list of attribute values. Attibutes are similar to the details * in a Price List API offer file. For a list of available attributes, see * Offer File Definitions - * in the AWS Billing and Cost Management User Guide.

                                        + * in the Amazon Web Services Billing and Cost Management User Guide.

                                        */ public getAttributeValues( args: GetAttributeValuesCommandInput, diff --git a/clients/client-pricing/PricingClient.ts b/clients/client-pricing/PricingClient.ts index e6b87bbf977ac..42c44ba6e54ee 100644 --- a/clients/client-pricing/PricingClient.ts +++ b/clients/client-pricing/PricingClient.ts @@ -200,13 +200,13 @@ type PricingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandl export interface PricingClientResolvedConfig extends PricingClientResolvedConfigType {} /** - *

                                        AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to - * programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service + *

                                        Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to + * programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service * uses standardized product attributes such as Location, Storage * Class, and Operating System, and provides prices at the SKU - * level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile + * level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile * billing data, forecast future spend for budgeting purposes, and provide cost benefit - * analysis that compare your internal workloads with AWS.

                                        + * analysis that compare your internal workloads with Amazon Web Services.

                                        *

                                        Use GetServices without a service code to retrieve the service codes for all AWS services, then * GetServices with a service code to retreive the attribute names for * that service. After you have the service code and attribute names, you can use GetAttributeValues @@ -215,7 +215,7 @@ export interface PricingClientResolvedConfig extends PricingClientResolvedConfig * an AmazonEC2 instance, with a Provisioned IOPS * volumeType.

                                        *

                                        Service Endpoint

                                        - *

                                        AWS Price List Service API provides the following two endpoints:

                                        + *

                                        Amazon Web Services Price List Service API provides the following two endpoints:

                                        *
                                          *
                                        • *

                                          https://api.pricing.us-east-1.amazonaws.com

                                          diff --git a/clients/client-pricing/README.md b/clients/client-pricing/README.md index 2570ee532c20f..ae13c2462a090 100644 --- a/clients/client-pricing/README.md +++ b/clients/client-pricing/README.md @@ -7,13 +7,13 @@ AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native. -

                                          AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to -programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service +

                                          Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to +programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service uses standardized product attributes such as Location, Storage Class, and Operating System, and provides prices at the SKU -level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile +level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile billing data, forecast future spend for budgeting purposes, and provide cost benefit -analysis that compare your internal workloads with AWS.

                                          +analysis that compare your internal workloads with Amazon Web Services.

                                          Use GetServices without a service code to retrieve the service codes for all AWS services, then GetServices with a service code to retreive the attribute names for that service. After you have the service code and attribute names, you can use GetAttributeValues @@ -22,7 +22,7 @@ you can use GetProducts to find specific products that you're inter an AmazonEC2 instance, with a Provisioned IOPS volumeType.

                                          Service Endpoint

                                          -

                                          AWS Price List Service API provides the following two endpoints:

                                          +

                                          Amazon Web Services Price List Service API provides the following two endpoints:

                                          • https://api.pricing.us-east-1.amazonaws.com

                                            diff --git a/clients/client-pricing/commands/GetAttributeValuesCommand.ts b/clients/client-pricing/commands/GetAttributeValuesCommand.ts index 310cb4a7eaede..2ff85d9cc8b78 100644 --- a/clients/client-pricing/commands/GetAttributeValuesCommand.ts +++ b/clients/client-pricing/commands/GetAttributeValuesCommand.ts @@ -24,7 +24,7 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo *

                                            Returns a list of attribute values. Attibutes are similar to the details * in a Price List API offer file. For a list of available attributes, see * Offer File Definitions - * in the AWS Billing and Cost Management User Guide.

                                            + * in the Amazon Web Services Billing and Cost Management User Guide.

                                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-pricing/models/models_0.ts b/clients/client-pricing/models/models_0.ts index 7d70bdf97a9bf..bd83445c311ae 100644 --- a/clients/client-pricing/models/models_0.ts +++ b/clients/client-pricing/models/models_0.ts @@ -63,7 +63,7 @@ export namespace DescribeServicesRequest { */ export interface Service { /** - *

                                            The code for the AWS service.

                                            + *

                                            The code for the Amazon Web Services service.

                                            */ ServiceCode?: string; diff --git a/clients/client-redshift/Redshift.ts b/clients/client-redshift/Redshift.ts index be7d69bf0163f..0128964e03a28 100644 --- a/clients/client-redshift/Redshift.ts +++ b/clients/client-redshift/Redshift.ts @@ -40,6 +40,11 @@ import { CopyClusterSnapshotCommandInput, CopyClusterSnapshotCommandOutput, } from "./commands/CopyClusterSnapshotCommand"; +import { + CreateAuthenticationProfileCommand, + CreateAuthenticationProfileCommandInput, + CreateAuthenticationProfileCommandOutput, +} from "./commands/CreateAuthenticationProfileCommand"; import { CreateClusterCommand, CreateClusterCommandInput, @@ -106,6 +111,11 @@ import { CreateUsageLimitCommandInput, CreateUsageLimitCommandOutput, } from "./commands/CreateUsageLimitCommand"; +import { + DeleteAuthenticationProfileCommand, + DeleteAuthenticationProfileCommandInput, + DeleteAuthenticationProfileCommandOutput, +} from "./commands/DeleteAuthenticationProfileCommand"; import { DeleteClusterCommand, DeleteClusterCommandInput, @@ -182,6 +192,11 @@ import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput, } from "./commands/DescribeAccountAttributesCommand"; +import { + DescribeAuthenticationProfilesCommand, + DescribeAuthenticationProfilesCommandInput, + DescribeAuthenticationProfilesCommandOutput, +} from "./commands/DescribeAuthenticationProfilesCommand"; import { DescribeClusterDbRevisionsCommand, DescribeClusterDbRevisionsCommandInput, @@ -372,6 +387,11 @@ import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput, } from "./commands/ModifyAquaConfigurationCommand"; +import { + ModifyAuthenticationProfileCommand, + ModifyAuthenticationProfileCommandInput, + ModifyAuthenticationProfileCommandOutput, +} from "./commands/ModifyAuthenticationProfileCommand"; import { ModifyClusterCommand, ModifyClusterCommandInput, @@ -605,7 +625,7 @@ export class Redshift extends RedshiftClient { *

                                            If you authorize access to an Amazon EC2 security group, specify * EC2SecurityGroupName and * EC2SecurityGroupOwnerId. The Amazon EC2 security group and - * Amazon Redshift cluster must be in the same AWS Region.

                                            + * Amazon Redshift cluster must be in the same Region.

                                            *

                                            If you authorize access to a CIDR/IP address range, specify * CIDRIP. For an overview of CIDR blocks, see the Wikipedia * article on Classless Inter-Domain Routing.

                                            @@ -676,7 +696,7 @@ export class Redshift extends RedshiftClient { } /** - *

                                            Authorizes the specified AWS customer account to restore the specified + *

                                            Authorizes the specified account to restore the specified * snapshot.

                                            *

                                            * For more information about working with snapshots, go to @@ -848,6 +868,38 @@ export class Redshift extends RedshiftClient { } } + /** + *

                                            Creates an authentication profile with the specified parameters.

                                            + */ + public createAuthenticationProfile( + args: CreateAuthenticationProfileCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createAuthenticationProfile( + args: CreateAuthenticationProfileCommandInput, + cb: (err: any, data?: CreateAuthenticationProfileCommandOutput) => void + ): void; + public createAuthenticationProfile( + args: CreateAuthenticationProfileCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateAuthenticationProfileCommandOutput) => void + ): void; + public createAuthenticationProfile( + args: CreateAuthenticationProfileCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAuthenticationProfileCommandOutput) => void), + cb?: (err: any, data?: CreateAuthenticationProfileCommandOutput) => void + ): Promise | void { + const command = new CreateAuthenticationProfileCommand(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 cluster with the specified parameters.

                                            *

                                            To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster @@ -1086,9 +1138,8 @@ export class Redshift extends RedshiftClient { * and source identifier = my-cluster-1, notifications will be sent for all the cluster * events for my-cluster-1. If you specify a source type but do not specify a source * identifier, you will receive notice of the events for the objects of that type in your - * AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you - * will be notified of events generated from all Amazon Redshift sources belonging to your AWS - * account. You must specify a source type if you specify a source ID.

                                            + * account. If you do not specify either the SourceType nor the SourceIdentifier, you + * will be notified of events generated from all Amazon Redshift sources belonging to your account. You must specify a source type if you specify a source ID.

                                            */ public createEventSubscription( args: CreateEventSubscriptionCommandInput, @@ -1232,7 +1283,7 @@ export class Redshift extends RedshiftClient { /** *

                                            Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key - * (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a + * (CMK) from Key Management Service (KMS) to encrypt copied snapshots in a * destination region.

                                            *

                                            * For more information about managing snapshot copy grants, go to @@ -1364,6 +1415,38 @@ export class Redshift extends RedshiftClient { } } + /** + *

                                            Deletes an authentication profile.

                                            + */ + public deleteAuthenticationProfile( + args: DeleteAuthenticationProfileCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteAuthenticationProfile( + args: DeleteAuthenticationProfileCommandInput, + cb: (err: any, data?: DeleteAuthenticationProfileCommandOutput) => void + ): void; + public deleteAuthenticationProfile( + args: DeleteAuthenticationProfileCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteAuthenticationProfileCommandOutput) => void + ): void; + public deleteAuthenticationProfile( + args: DeleteAuthenticationProfileCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAuthenticationProfileCommandOutput) => void), + cb?: (err: any, data?: DeleteAuthenticationProfileCommandOutput) => void + ): Promise | void { + const command = new DeleteAuthenticationProfileCommand(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 previously provisioned cluster without its final snapshot being created. A successful response from the web * service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete @@ -1905,6 +1988,38 @@ export class Redshift extends RedshiftClient { } } + /** + *

                                            Describes an authentication profile.

                                            + */ + public describeAuthenticationProfiles( + args: DescribeAuthenticationProfilesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeAuthenticationProfiles( + args: DescribeAuthenticationProfilesCommandInput, + cb: (err: any, data?: DescribeAuthenticationProfilesCommandOutput) => void + ): void; + public describeAuthenticationProfiles( + args: DescribeAuthenticationProfilesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAuthenticationProfilesCommandOutput) => void + ): void; + public describeAuthenticationProfiles( + args: DescribeAuthenticationProfilesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAuthenticationProfilesCommandOutput) => void), + cb?: (err: any, data?: DescribeAuthenticationProfilesCommandOutput) => void + ): Promise | void { + const command = new DescribeAuthenticationProfilesCommand(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 an array of ClusterDbRevision objects.

                                            */ @@ -2121,8 +2236,8 @@ export class Redshift extends RedshiftClient { /** *

                                            Returns one or more snapshot objects, which contain metadata about your cluster * snapshots. By default, this operation returns information about all snapshots of all - * clusters that are owned by you AWS customer account. No information is returned for - * snapshots owned by inactive AWS customer accounts.

                                            + * clusters that are owned by your account. No information is returned for + * snapshots owned by inactive accounts.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all snapshots that match any combination of the specified keys and values. For example, * if you have owner and environment for tag keys, and @@ -2165,7 +2280,7 @@ export class Redshift extends RedshiftClient { /** *

                                            Returns one or more cluster subnet group objects, which contain metadata about your * cluster subnet groups. By default, this operation returns information about all cluster - * subnet groups that are defined in you AWS account.

                                            + * subnet groups that are defined in your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all subnet groups that match any combination of the specified keys and values. For * example, if you have owner and environment for tag keys, and @@ -2487,8 +2602,7 @@ export class Redshift extends RedshiftClient { /** *

                                            Returns information about the specified HSM client certificate. If no certificate - * ID is specified, returns information about all the HSM certificates owned by your AWS - * customer account.

                                            + * ID is specified, returns information about all the HSM certificates owned by your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all HSM client certificates that match any combination of the specified keys and values. * For example, if you have owner and environment for tag keys, @@ -2530,7 +2644,7 @@ export class Redshift extends RedshiftClient { /** *

                                            Returns information about the specified Amazon Redshift HSM configuration. If no * configuration ID is specified, returns information about all the HSM configurations - * owned by your AWS customer account.

                                            + * owned by your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all HSM connections that match any combination of the specified keys and values. For * example, if you have owner and environment for tag keys, and @@ -2638,7 +2752,7 @@ export class Redshift extends RedshiftClient { /** *

                                            Returns a list of orderable cluster options. Before you create a new cluster you * can use this operation to find what options are available, such as the EC2 Availability - * Zones (AZ) in the specific AWS Region that you can specify, and the node types you can + * Zones (AZ) in the specific Region that you can specify, and the node types you can * request. The node types differ by available storage, memory, CPU and price. With the * cost involved you might want to obtain a list of cluster options in the specific region * and specify values when creating a cluster. @@ -2851,7 +2965,7 @@ export class Redshift extends RedshiftClient { } /** - *

                                            Returns a list of snapshot copy grants owned by the AWS account in the destination + *

                                            Returns a list of snapshot copy grants owned by the account in the destination * region.

                                            *

                                            * For more information about managing snapshot copy grants, go to @@ -3130,7 +3244,7 @@ export class Redshift extends RedshiftClient { *

                                            Disables the automatic copying of snapshots from one region to another region for a * specified cluster.

                                            *

                                            If your cluster and its snapshots are encrypted using a customer master key (CMK) - * from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that + * from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that * grants Amazon Redshift permission to the CMK in the destination region.

                                            */ public disableSnapshotCopy( @@ -3238,7 +3352,7 @@ export class Redshift extends RedshiftClient { * a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more * information, see Using IAM Authentication * to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.

                                            - *

                                            The AWS Identity and Access Management (IAM)user or role that executes + *

                                            The Identity and Access Management (IAM) user or role that runs * GetClusterCredentials must have an IAM policy attached that allows access to all * necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the * Amazon Redshift Cluster Management Guide.

                                            @@ -3345,13 +3459,45 @@ export class Redshift extends RedshiftClient { } } + /** + *

                                            Modifies an authentication profile.

                                            + */ + public modifyAuthenticationProfile( + args: ModifyAuthenticationProfileCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public modifyAuthenticationProfile( + args: ModifyAuthenticationProfileCommandInput, + cb: (err: any, data?: ModifyAuthenticationProfileCommandOutput) => void + ): void; + public modifyAuthenticationProfile( + args: ModifyAuthenticationProfileCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ModifyAuthenticationProfileCommandOutput) => void + ): void; + public modifyAuthenticationProfile( + args: ModifyAuthenticationProfileCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyAuthenticationProfileCommandOutput) => void), + cb?: (err: any, data?: ModifyAuthenticationProfileCommandOutput) => void + ): Promise | void { + const command = new ModifyAuthenticationProfileCommand(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); + } + } + /** *

                                            Modifies the settings for a cluster.

                                            *

                                            You can also change node type and the number of nodes to scale up or down the * cluster. When resizing a cluster, you must specify both the number of nodes and the node * type even if one of the parameters does not change.

                                            *

                                            You can add another security or - * parameter group, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. + * parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. * For more information about managing clusters, go to * Amazon Redshift Clusters * in the Amazon Redshift Cluster Management Guide.

                                            @@ -3419,8 +3565,8 @@ export class Redshift extends RedshiftClient { } /** - *

                                            Modifies the list of AWS Identity and Access Management (IAM) roles that can be - * used by the cluster to access other AWS services.

                                            + *

                                            Modifies the list of Identity and Access Management (IAM) roles that can be + * used by the cluster to access other Amazon Web Services services.

                                            *

                                            A cluster can have up to 10 IAM roles associated at any time.

                                            */ public modifyClusterIamRoles( @@ -3716,8 +3862,8 @@ export class Redshift extends RedshiftClient { } /** - *

                                            Modifies the number of days to retain snapshots in the destination AWS Region after - * they are copied from the source AWS Region. By default, this operation only changes the + *

                                            Modifies the number of days to retain snapshots in the destination Region after + * they are copied from the source Region. By default, this operation only changes the * retention period of copied automated snapshots. The retention periods for both new and * existing copied automated snapshots are updated with the new retention period. You can * set the manual option to change only the retention periods of copied manual snapshots. @@ -4223,7 +4369,7 @@ export class Redshift extends RedshiftClient { } /** - *

                                            Removes the ability of the specified AWS customer account to restore the specified + *

                                            Removes the ability of the specified account to restore the specified * snapshot. If the account is currently restoring the snapshot, the restore will run to * completion.

                                            *

                                            diff --git a/clients/client-redshift/RedshiftClient.ts b/clients/client-redshift/RedshiftClient.ts index 3a1df201d8d0f..324718833a4bf 100644 --- a/clients/client-redshift/RedshiftClient.ts +++ b/clients/client-redshift/RedshiftClient.ts @@ -28,6 +28,10 @@ import { CopyClusterSnapshotCommandInput, CopyClusterSnapshotCommandOutput, } from "./commands/CopyClusterSnapshotCommand"; +import { + CreateAuthenticationProfileCommandInput, + CreateAuthenticationProfileCommandOutput, +} from "./commands/CreateAuthenticationProfileCommand"; import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand"; import { CreateClusterParameterGroupCommandInput, @@ -75,6 +79,10 @@ import { } from "./commands/CreateSnapshotScheduleCommand"; import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand"; import { CreateUsageLimitCommandInput, CreateUsageLimitCommandOutput } from "./commands/CreateUsageLimitCommand"; +import { + DeleteAuthenticationProfileCommandInput, + DeleteAuthenticationProfileCommandOutput, +} from "./commands/DeleteAuthenticationProfileCommand"; import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand"; import { DeleteClusterParameterGroupCommandInput, @@ -127,6 +135,10 @@ import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput, } from "./commands/DescribeAccountAttributesCommand"; +import { + DescribeAuthenticationProfilesCommandInput, + DescribeAuthenticationProfilesCommandOutput, +} from "./commands/DescribeAuthenticationProfilesCommand"; import { DescribeClusterDbRevisionsCommandInput, DescribeClusterDbRevisionsCommandOutput, @@ -252,6 +264,10 @@ import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput, } from "./commands/ModifyAquaConfigurationCommand"; +import { + ModifyAuthenticationProfileCommandInput, + ModifyAuthenticationProfileCommandOutput, +} from "./commands/ModifyAuthenticationProfileCommand"; import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "./commands/ModifyClusterCommand"; import { ModifyClusterDbRevisionCommandInput, @@ -404,6 +420,7 @@ export type ServiceInputTypes = | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput + | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput @@ -418,6 +435,7 @@ export type ServiceInputTypes = | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput + | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput @@ -434,6 +452,7 @@ export type ServiceInputTypes = | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput + | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput @@ -472,6 +491,7 @@ export type ServiceInputTypes = | GetClusterCredentialsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | ModifyAquaConfigurationCommandInput + | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput @@ -510,6 +530,7 @@ export type ServiceOutputTypes = | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput + | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput @@ -524,6 +545,7 @@ export type ServiceOutputTypes = | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput + | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput @@ -540,6 +562,7 @@ export type ServiceOutputTypes = | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput + | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput @@ -578,6 +601,7 @@ export type ServiceOutputTypes = | GetClusterCredentialsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | ModifyAquaConfigurationCommandOutput + | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput diff --git a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts index f5cb04f14b5d4..8bda9cbc30c52 100644 --- a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts +++ b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts @@ -34,7 +34,7 @@ export interface AuthorizeClusterSecurityGroupIngressCommandOutput *

                                            If you authorize access to an Amazon EC2 security group, specify * EC2SecurityGroupName and * EC2SecurityGroupOwnerId. The Amazon EC2 security group and - * Amazon Redshift cluster must be in the same AWS Region.

                                            + * Amazon Redshift cluster must be in the same Region.

                                            *

                                            If you authorize access to a CIDR/IP address range, specify * CIDRIP. For an overview of CIDR blocks, see the Wikipedia * article on Classless Inter-Domain Routing.

                                            diff --git a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts index f6a565840463c..1215829d8ede0 100644 --- a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts @@ -21,7 +21,7 @@ export interface AuthorizeSnapshotAccessCommandInput extends AuthorizeSnapshotAc export interface AuthorizeSnapshotAccessCommandOutput extends AuthorizeSnapshotAccessResult, __MetadataBearer {} /** - *

                                            Authorizes the specified AWS customer account to restore the specified + *

                                            Authorizes the specified account to restore the specified * snapshot.

                                            *

                                            * For more information about working with snapshots, go to diff --git a/clients/client-redshift/commands/CreateAuthenticationProfileCommand.ts b/clients/client-redshift/commands/CreateAuthenticationProfileCommand.ts new file mode 100644 index 0000000000000..19b4d0a33a731 --- /dev/null +++ b/clients/client-redshift/commands/CreateAuthenticationProfileCommand.ts @@ -0,0 +1,97 @@ +import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; +import { CreateAuthenticationProfileMessage, CreateAuthenticationProfileResult } from "../models/models_0"; +import { + deserializeAws_queryCreateAuthenticationProfileCommand, + serializeAws_queryCreateAuthenticationProfileCommand, +} from "../protocols/Aws_query"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface CreateAuthenticationProfileCommandInput extends CreateAuthenticationProfileMessage {} +export interface CreateAuthenticationProfileCommandOutput extends CreateAuthenticationProfileResult, __MetadataBearer {} + +/** + *

                                            Creates an authentication profile with the specified parameters.

                                            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RedshiftClient, CreateAuthenticationProfileCommand } from "@aws-sdk/client-redshift"; // ES Modules import + * // const { RedshiftClient, CreateAuthenticationProfileCommand } = require("@aws-sdk/client-redshift"); // CommonJS import + * const client = new RedshiftClient(config); + * const command = new CreateAuthenticationProfileCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateAuthenticationProfileCommandInput} for command's `input` shape. + * @see {@link CreateAuthenticationProfileCommandOutput} for command's `response` shape. + * @see {@link RedshiftClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreateAuthenticationProfileCommand extends $Command< + CreateAuthenticationProfileCommandInput, + CreateAuthenticationProfileCommandOutput, + RedshiftClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateAuthenticationProfileCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RedshiftClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RedshiftClient"; + const commandName = "CreateAuthenticationProfileCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateAuthenticationProfileMessage.filterSensitiveLog, + outputFilterSensitiveLog: CreateAuthenticationProfileResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateAuthenticationProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_queryCreateAuthenticationProfileCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_queryCreateAuthenticationProfileCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts index b492be52ecfb9..71cf208660439 100644 --- a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts @@ -36,9 +36,8 @@ export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscri * and source identifier = my-cluster-1, notifications will be sent for all the cluster * events for my-cluster-1. If you specify a source type but do not specify a source * identifier, you will receive notice of the events for the objects of that type in your - * AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you - * will be notified of events generated from all Amazon Redshift sources belonging to your AWS - * account. You must specify a source type if you specify a source ID.

                                            + * account. If you do not specify either the SourceType nor the SourceIdentifier, you + * will be notified of events generated from all Amazon Redshift sources belonging to your account. You must specify a source type if you specify a source ID.

                                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts index a17a0bed359ac..ed795f382d980 100644 --- a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts +++ b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts @@ -22,7 +22,7 @@ export interface CreateSnapshotCopyGrantCommandOutput extends CreateSnapshotCopy /** *

                                            Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key - * (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a + * (CMK) from Key Management Service (KMS) to encrypt copied snapshots in a * destination region.

                                            *

                                            * For more information about managing snapshot copy grants, go to diff --git a/clients/client-redshift/commands/DeleteAuthenticationProfileCommand.ts b/clients/client-redshift/commands/DeleteAuthenticationProfileCommand.ts new file mode 100644 index 0000000000000..4cad75f71e016 --- /dev/null +++ b/clients/client-redshift/commands/DeleteAuthenticationProfileCommand.ts @@ -0,0 +1,97 @@ +import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; +import { DeleteAuthenticationProfileMessage, DeleteAuthenticationProfileResult } from "../models/models_0"; +import { + deserializeAws_queryDeleteAuthenticationProfileCommand, + serializeAws_queryDeleteAuthenticationProfileCommand, +} from "../protocols/Aws_query"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DeleteAuthenticationProfileCommandInput extends DeleteAuthenticationProfileMessage {} +export interface DeleteAuthenticationProfileCommandOutput extends DeleteAuthenticationProfileResult, __MetadataBearer {} + +/** + *

                                            Deletes an authentication profile.

                                            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RedshiftClient, DeleteAuthenticationProfileCommand } from "@aws-sdk/client-redshift"; // ES Modules import + * // const { RedshiftClient, DeleteAuthenticationProfileCommand } = require("@aws-sdk/client-redshift"); // CommonJS import + * const client = new RedshiftClient(config); + * const command = new DeleteAuthenticationProfileCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteAuthenticationProfileCommandInput} for command's `input` shape. + * @see {@link DeleteAuthenticationProfileCommandOutput} for command's `response` shape. + * @see {@link RedshiftClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteAuthenticationProfileCommand extends $Command< + DeleteAuthenticationProfileCommandInput, + DeleteAuthenticationProfileCommandOutput, + RedshiftClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteAuthenticationProfileCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RedshiftClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RedshiftClient"; + const commandName = "DeleteAuthenticationProfileCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteAuthenticationProfileMessage.filterSensitiveLog, + outputFilterSensitiveLog: DeleteAuthenticationProfileResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteAuthenticationProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_queryDeleteAuthenticationProfileCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_queryDeleteAuthenticationProfileCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-redshift/commands/DescribeAuthenticationProfilesCommand.ts b/clients/client-redshift/commands/DescribeAuthenticationProfilesCommand.ts new file mode 100644 index 0000000000000..23d83d5eb2af0 --- /dev/null +++ b/clients/client-redshift/commands/DescribeAuthenticationProfilesCommand.ts @@ -0,0 +1,102 @@ +import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; +import { DescribeAuthenticationProfilesMessage, DescribeAuthenticationProfilesResult } from "../models/models_0"; +import { + deserializeAws_queryDescribeAuthenticationProfilesCommand, + serializeAws_queryDescribeAuthenticationProfilesCommand, +} from "../protocols/Aws_query"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface DescribeAuthenticationProfilesCommandInput extends DescribeAuthenticationProfilesMessage {} +export interface DescribeAuthenticationProfilesCommandOutput + extends DescribeAuthenticationProfilesResult, + __MetadataBearer {} + +/** + *

                                            Describes an authentication profile.

                                            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RedshiftClient, DescribeAuthenticationProfilesCommand } from "@aws-sdk/client-redshift"; // ES Modules import + * // const { RedshiftClient, DescribeAuthenticationProfilesCommand } = require("@aws-sdk/client-redshift"); // CommonJS import + * const client = new RedshiftClient(config); + * const command = new DescribeAuthenticationProfilesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeAuthenticationProfilesCommandInput} for command's `input` shape. + * @see {@link DescribeAuthenticationProfilesCommandOutput} for command's `response` shape. + * @see {@link RedshiftClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DescribeAuthenticationProfilesCommand extends $Command< + DescribeAuthenticationProfilesCommandInput, + DescribeAuthenticationProfilesCommandOutput, + RedshiftClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAuthenticationProfilesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RedshiftClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RedshiftClient"; + const commandName = "DescribeAuthenticationProfilesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAuthenticationProfilesMessage.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAuthenticationProfilesResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeAuthenticationProfilesCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_queryDescribeAuthenticationProfilesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_queryDescribeAuthenticationProfilesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts index 3fa0eeadf049a..eb3d21e1d5376 100644 --- a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts @@ -23,8 +23,8 @@ export interface DescribeClusterSnapshotsCommandOutput extends SnapshotMessage, /** *

                                            Returns one or more snapshot objects, which contain metadata about your cluster * snapshots. By default, this operation returns information about all snapshots of all - * clusters that are owned by you AWS customer account. No information is returned for - * snapshots owned by inactive AWS customer accounts.

                                            + * clusters that are owned by your account. No information is returned for + * snapshots owned by inactive accounts.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all snapshots that match any combination of the specified keys and values. For example, * if you have owner and environment for tag keys, and diff --git a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts index 7a2e891d258b5..acce99a5479d4 100644 --- a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts @@ -23,7 +23,7 @@ export interface DescribeClusterSubnetGroupsCommandOutput extends ClusterSubnetG /** *

                                            Returns one or more cluster subnet group objects, which contain metadata about your * cluster subnet groups. By default, this operation returns information about all cluster - * subnet groups that are defined in you AWS account.

                                            + * subnet groups that are defined in your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all subnet groups that match any combination of the specified keys and values. For * example, if you have owner and environment for tag keys, and diff --git a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts index 9acaadafa9aed..6647c5d132886 100644 --- a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts @@ -22,8 +22,7 @@ export interface DescribeHsmClientCertificatesCommandOutput extends HsmClientCer /** *

                                            Returns information about the specified HSM client certificate. If no certificate - * ID is specified, returns information about all the HSM certificates owned by your AWS - * customer account.

                                            + * ID is specified, returns information about all the HSM certificates owned by your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all HSM client certificates that match any combination of the specified keys and values. * For example, if you have owner and environment for tag keys, diff --git a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts index 00a10358c65b8..610916d28e594 100644 --- a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts @@ -23,7 +23,7 @@ export interface DescribeHsmConfigurationsCommandOutput extends HsmConfiguration /** *

                                            Returns information about the specified Amazon Redshift HSM configuration. If no * configuration ID is specified, returns information about all the HSM configurations - * owned by your AWS customer account.

                                            + * owned by your account.

                                            *

                                            If you specify both tag keys and tag values in the same request, Amazon Redshift returns * all HSM connections that match any combination of the specified keys and values. For * example, if you have owner and environment for tag keys, and diff --git a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts index 84f7faa873b2b..feedbe7fb5579 100644 --- a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts @@ -25,7 +25,7 @@ export interface DescribeOrderableClusterOptionsCommandOutput /** *

                                            Returns a list of orderable cluster options. Before you create a new cluster you * can use this operation to find what options are available, such as the EC2 Availability - * Zones (AZ) in the specific AWS Region that you can specify, and the node types you can + * Zones (AZ) in the specific Region that you can specify, and the node types you can * request. The node types differ by available storage, memory, CPU and price. With the * cost involved you might want to obtain a list of cluster options in the specific region * and specify values when creating a cluster. diff --git a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts index 4512998088e32..ba3c43a5ddcc1 100644 --- a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts @@ -1,5 +1,6 @@ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; -import { DescribeReservedNodeOfferingsMessage, ReservedNodeOfferingsMessage } from "../models/models_0"; +import { DescribeReservedNodeOfferingsMessage } from "../models/models_0"; +import { ReservedNodeOfferingsMessage } from "../models/models_1"; import { deserializeAws_queryDescribeReservedNodeOfferingsCommand, serializeAws_queryDescribeReservedNodeOfferingsCommand, diff --git a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts index 73886f8d7f0b7..350c15f2ba199 100644 --- a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts @@ -1,5 +1,5 @@ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; -import { DescribeReservedNodesMessage, ReservedNodesMessage } from "../models/models_0"; +import { DescribeReservedNodesMessage, ReservedNodesMessage } from "../models/models_1"; import { deserializeAws_queryDescribeReservedNodesCommand, serializeAws_queryDescribeReservedNodesCommand, diff --git a/clients/client-redshift/commands/DescribeResizeCommand.ts b/clients/client-redshift/commands/DescribeResizeCommand.ts index 311acd1b786a4..4da7b2629c251 100644 --- a/clients/client-redshift/commands/DescribeResizeCommand.ts +++ b/clients/client-redshift/commands/DescribeResizeCommand.ts @@ -1,5 +1,6 @@ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; -import { DescribeResizeMessage, ResizeProgressMessage } from "../models/models_0"; +import { ResizeProgressMessage } from "../models/models_0"; +import { DescribeResizeMessage } from "../models/models_1"; import { deserializeAws_queryDescribeResizeCommand, serializeAws_queryDescribeResizeCommand, diff --git a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts index ad0c87c7d38e4..9aaca3d3f9825 100644 --- a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts @@ -1,5 +1,5 @@ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; -import { DescribeScheduledActionsMessage, ScheduledActionsMessage } from "../models/models_0"; +import { DescribeScheduledActionsMessage, ScheduledActionsMessage } from "../models/models_1"; import { deserializeAws_queryDescribeScheduledActionsCommand, serializeAws_queryDescribeScheduledActionsCommand, diff --git a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts index 2fafd48f09107..bfb67b526c929 100644 --- a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts +++ b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts @@ -1,6 +1,5 @@ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; -import { DescribeSnapshotCopyGrantsMessage } from "../models/models_0"; -import { SnapshotCopyGrantMessage } from "../models/models_1"; +import { DescribeSnapshotCopyGrantsMessage, SnapshotCopyGrantMessage } from "../models/models_1"; import { deserializeAws_queryDescribeSnapshotCopyGrantsCommand, serializeAws_queryDescribeSnapshotCopyGrantsCommand, @@ -22,7 +21,7 @@ export interface DescribeSnapshotCopyGrantsCommandInput extends DescribeSnapshot export interface DescribeSnapshotCopyGrantsCommandOutput extends SnapshotCopyGrantMessage, __MetadataBearer {} /** - *

                                            Returns a list of snapshot copy grants owned by the AWS account in the destination + *

                                            Returns a list of snapshot copy grants owned by the account in the destination * region.

                                            *

                                            * For more information about managing snapshot copy grants, go to diff --git a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts index cc930d33896e0..3d188ccd228b6 100644 --- a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts +++ b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts @@ -24,7 +24,7 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes *

                                            Disables the automatic copying of snapshots from one region to another region for a * specified cluster.

                                            *

                                            If your cluster and its snapshots are encrypted using a customer master key (CMK) - * from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that + * from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that * grants Amazon Redshift permission to the CMK in the destination region.

                                            * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts index 11790340f8dd1..524b2ef52a1e2 100644 --- a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts +++ b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts @@ -31,7 +31,7 @@ export interface GetClusterCredentialsCommandOutput extends ClusterCredentials, * a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more * information, see Using IAM Authentication * to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.

                                            - *

                                            The AWS Identity and Access Management (IAM)user or role that executes + *

                                            The Identity and Access Management (IAM) user or role that runs * GetClusterCredentials must have an IAM policy attached that allows access to all * necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the * Amazon Redshift Cluster Management Guide.

                                            diff --git a/clients/client-redshift/commands/ModifyAuthenticationProfileCommand.ts b/clients/client-redshift/commands/ModifyAuthenticationProfileCommand.ts new file mode 100644 index 0000000000000..8d3832d5930ec --- /dev/null +++ b/clients/client-redshift/commands/ModifyAuthenticationProfileCommand.ts @@ -0,0 +1,97 @@ +import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; +import { ModifyAuthenticationProfileMessage, ModifyAuthenticationProfileResult } from "../models/models_1"; +import { + deserializeAws_queryModifyAuthenticationProfileCommand, + serializeAws_queryModifyAuthenticationProfileCommand, +} from "../protocols/Aws_query"; +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, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export interface ModifyAuthenticationProfileCommandInput extends ModifyAuthenticationProfileMessage {} +export interface ModifyAuthenticationProfileCommandOutput extends ModifyAuthenticationProfileResult, __MetadataBearer {} + +/** + *

                                            Modifies an authentication profile.

                                            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RedshiftClient, ModifyAuthenticationProfileCommand } from "@aws-sdk/client-redshift"; // ES Modules import + * // const { RedshiftClient, ModifyAuthenticationProfileCommand } = require("@aws-sdk/client-redshift"); // CommonJS import + * const client = new RedshiftClient(config); + * const command = new ModifyAuthenticationProfileCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ModifyAuthenticationProfileCommandInput} for command's `input` shape. + * @see {@link ModifyAuthenticationProfileCommandOutput} for command's `response` shape. + * @see {@link RedshiftClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ModifyAuthenticationProfileCommand extends $Command< + ModifyAuthenticationProfileCommandInput, + ModifyAuthenticationProfileCommandOutput, + RedshiftClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ModifyAuthenticationProfileCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RedshiftClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RedshiftClient"; + const commandName = "ModifyAuthenticationProfileCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ModifyAuthenticationProfileMessage.filterSensitiveLog, + outputFilterSensitiveLog: ModifyAuthenticationProfileResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ModifyAuthenticationProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_queryModifyAuthenticationProfileCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_queryModifyAuthenticationProfileCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-redshift/commands/ModifyClusterCommand.ts b/clients/client-redshift/commands/ModifyClusterCommand.ts index f3a5e5550df35..0fef61f07517c 100644 --- a/clients/client-redshift/commands/ModifyClusterCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterCommand.ts @@ -26,7 +26,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad * cluster. When resizing a cluster, you must specify both the number of nodes and the node * type even if one of the parameters does not change.

                                            *

                                            You can add another security or - * parameter group, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. + * parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. * For more information about managing clusters, go to * Amazon Redshift Clusters * in the Amazon Redshift Cluster Management Guide.

                                            diff --git a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts index 3decf16da051b..2c40bcf3000db 100644 --- a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts @@ -21,8 +21,8 @@ export interface ModifyClusterIamRolesCommandInput extends ModifyClusterIamRoles export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRolesResult, __MetadataBearer {} /** - *

                                            Modifies the list of AWS Identity and Access Management (IAM) roles that can be - * used by the cluster to access other AWS services.

                                            + *

                                            Modifies the list of Identity and Access Management (IAM) roles that can be + * used by the cluster to access other Amazon Web Services services.

                                            *

                                            A cluster can have up to 10 IAM roles associated at any time.

                                            * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts index e7a047d3a374a..19ed67894aa16 100644 --- a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts +++ b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts @@ -23,8 +23,8 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput __MetadataBearer {} /** - *

                                            Modifies the number of days to retain snapshots in the destination AWS Region after - * they are copied from the source AWS Region. By default, this operation only changes the + *

                                            Modifies the number of days to retain snapshots in the destination Region after + * they are copied from the source Region. By default, this operation only changes the * retention period of copied automated snapshots. The retention periods for both new and * existing copied automated snapshots are updated with the new retention period. You can * set the manual option to change only the retention periods of copied manual snapshots. diff --git a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts index 8d2e5b4332f49..00449c104f8a6 100644 --- a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts @@ -21,7 +21,7 @@ export interface RevokeSnapshotAccessCommandInput extends RevokeSnapshotAccessMe export interface RevokeSnapshotAccessCommandOutput extends RevokeSnapshotAccessResult, __MetadataBearer {} /** - *

                                            Removes the ability of the specified AWS customer account to restore the specified + *

                                            Removes the ability of the specified account to restore the specified * snapshot. If the account is currently restoring the snapshot, the restore will run to * completion.

                                            *

                                            diff --git a/clients/client-redshift/index.ts b/clients/client-redshift/index.ts index 287cad08cb4c0..d536789a1ef7c 100644 --- a/clients/client-redshift/index.ts +++ b/clients/client-redshift/index.ts @@ -9,6 +9,7 @@ export * from "./commands/BatchDeleteClusterSnapshotsCommand"; export * from "./commands/BatchModifyClusterSnapshotsCommand"; export * from "./commands/CancelResizeCommand"; export * from "./commands/CopyClusterSnapshotCommand"; +export * from "./commands/CreateAuthenticationProfileCommand"; export * from "./commands/CreateClusterCommand"; export * from "./commands/CreateClusterParameterGroupCommand"; export * from "./commands/CreateClusterSecurityGroupCommand"; @@ -23,6 +24,7 @@ export * from "./commands/CreateSnapshotCopyGrantCommand"; export * from "./commands/CreateSnapshotScheduleCommand"; export * from "./commands/CreateTagsCommand"; export * from "./commands/CreateUsageLimitCommand"; +export * from "./commands/DeleteAuthenticationProfileCommand"; export * from "./commands/DeleteClusterCommand"; export * from "./commands/DeleteClusterParameterGroupCommand"; export * from "./commands/DeleteClusterSecurityGroupCommand"; @@ -39,6 +41,7 @@ export * from "./commands/DeleteSnapshotScheduleCommand"; export * from "./commands/DeleteTagsCommand"; export * from "./commands/DeleteUsageLimitCommand"; export * from "./commands/DescribeAccountAttributesCommand"; +export * from "./commands/DescribeAuthenticationProfilesCommand"; export * from "./commands/DescribeClusterDbRevisionsCommand"; export * from "./pagination/DescribeClusterDbRevisionsPaginator"; export * from "./commands/DescribeClusterParameterGroupsCommand"; @@ -47,6 +50,8 @@ export * from "./commands/DescribeClusterParametersCommand"; export * from "./pagination/DescribeClusterParametersPaginator"; export * from "./commands/DescribeClustersCommand"; export * from "./pagination/DescribeClustersPaginator"; +export * from "./waiters/waitForClusterAvailable"; +export * from "./waiters/waitForClusterDeleted"; export * from "./waiters/waitForClusterRestored"; export * from "./commands/DescribeClusterSecurityGroupsCommand"; export * from "./pagination/DescribeClusterSecurityGroupsPaginator"; @@ -106,6 +111,7 @@ export * from "./commands/GetClusterCredentialsCommand"; export * from "./commands/GetReservedNodeExchangeOfferingsCommand"; export * from "./pagination/GetReservedNodeExchangeOfferingsPaginator"; export * from "./commands/ModifyAquaConfigurationCommand"; +export * from "./commands/ModifyAuthenticationProfileCommand"; export * from "./commands/ModifyClusterCommand"; export * from "./commands/ModifyClusterDbRevisionCommand"; export * from "./commands/ModifyClusterIamRolesCommand"; diff --git a/clients/client-redshift/models/models_0.ts b/clients/client-redshift/models/models_0.ts index 0736fe620c2f1..8dbebc141bfcd 100644 --- a/clients/client-redshift/models/models_0.ts +++ b/clients/client-redshift/models/models_0.ts @@ -395,18 +395,18 @@ export namespace AccountAttributeList { } /** - *

                                            Describes an AWS customer account authorized to restore a snapshot.

                                            + *

                                            Describes an account authorized to restore a snapshot.

                                            */ export interface AccountWithRestoreAccess { /** - *

                                            The identifier of an AWS customer account authorized to restore a + *

                                            The identifier of an account authorized to restore a * snapshot.

                                            */ AccountId?: string; /** - *

                                            The identifier of an AWS support account authorized to restore a snapshot. For AWS - * support, the identifier is amazon-redshift-support.

                                            + *

                                            The identifier of an Amazon Web Services support account authorized to restore a + * snapshot. For Amazon Web Services Support, the identifier is amazon-redshift-support.

                                            */ AccountAlias?: string; } @@ -447,7 +447,7 @@ export namespace ClusterNotFoundFault { export interface PartnerIntegrationInputMessage { /** - *

                                            The AWS account ID that owns the cluster.

                                            + *

                                            The Region ID that owns the cluster.

                                            */ AccountId: string | undefined; @@ -569,7 +569,7 @@ export interface AquaConfiguration { *

                                            The value represents how the cluster is configured to use AQUA. Possible values include the following.

                                            *
                                              *
                                            • - *

                                              enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                              + *

                                              enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                              *
                                            • *
                                            • *

                                              disabled - Don't use AQUA.

                                              @@ -617,6 +617,86 @@ export namespace ClusterAssociatedToSchedule { }); } +/** + *

                                              Describes an authentication profile.

                                              + */ +export interface AuthenticationProfile { + /** + *

                                              The name of the authentication profile.

                                              + */ + AuthenticationProfileName?: string; + + /** + *

                                              The content of the authentication profile in JSON format. + * The maximum length of the JSON string is determined by a quota for your account.

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

                                              The authentication profile already exists.

                                              + */ +export interface AuthenticationProfileAlreadyExistsFault extends __SmithyException, $MetadataBearer { + name: "AuthenticationProfileAlreadyExistsFault"; + $fault: "client"; + message?: string; +} + +export namespace AuthenticationProfileAlreadyExistsFault { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AuthenticationProfileAlreadyExistsFault): any => ({ + ...obj, + }); +} + +/** + *

                                              The authentication profile can't be found.

                                              + */ +export interface AuthenticationProfileNotFoundFault extends __SmithyException, $MetadataBearer { + name: "AuthenticationProfileNotFoundFault"; + $fault: "client"; + message?: string; +} + +export namespace AuthenticationProfileNotFoundFault { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AuthenticationProfileNotFoundFault): any => ({ + ...obj, + }); +} + +/** + *

                                              The size or number of authentication profiles has exceeded the quota. + * The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.

                                              + */ +export interface AuthenticationProfileQuotaExceededFault extends __SmithyException, $MetadataBearer { + name: "AuthenticationProfileQuotaExceededFault"; + $fault: "client"; + message?: string; +} + +export namespace AuthenticationProfileQuotaExceededFault { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AuthenticationProfileQuotaExceededFault): any => ({ + ...obj, + }); +} + /** *

                                              The specified CIDR block or EC2 security group is already authorized for the * specified cluster security group.

                                              @@ -698,8 +778,8 @@ export interface AuthorizeClusterSecurityGroupIngressMessage { EC2SecurityGroupName?: string; /** - *

                                              The AWS account number of the owner of the security group specified by the - * EC2SecurityGroupName parameter. The AWS Access Key ID is not an + *

                                              The account number of the owner of the security group specified by the + * EC2SecurityGroupName parameter. The Amazon Web Services Access Key ID is not an * acceptable value.

                                              *

                                              Example: 111122223333 *

                                              @@ -755,7 +835,7 @@ export interface EC2SecurityGroup { EC2SecurityGroupName?: string; /** - *

                                              The AWS ID of the owner of the EC2 security group specified in the + *

                                              The account ID of the owner of the EC2 security group specified in the * EC2SecurityGroupName field.

                                              */ EC2SecurityGroupOwnerId?: string; @@ -906,7 +986,7 @@ export interface AuthorizeEndpointAccessMessage { ClusterIdentifier?: string; /** - *

                                              The AWS account ID to grant access to.

                                              + *

                                              The account ID to grant access to.

                                              */ Account: string | undefined; @@ -926,16 +1006,16 @@ export namespace AuthorizeEndpointAccessMessage { } /** - *

                                              Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts.

                                              + *

                                              Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across accounts.

                                              */ export interface EndpointAuthorization { /** - *

                                              The AWS account ID of the cluster owner.

                                              + *

                                              The account ID of the cluster owner.

                                              */ Grantor?: string; /** - *

                                              The AWS account ID of the grantee of the cluster.

                                              + *

                                              The account ID of the grantee of the cluster.

                                              */ Grantee?: string; @@ -1073,9 +1153,9 @@ export interface AuthorizeSnapshotAccessMessage { SnapshotClusterIdentifier?: string; /** - *

                                              The identifier of the AWS customer account authorized to restore the specified + *

                                              The identifier of the account authorized to restore the specified * snapshot.

                                              - *

                                              To share a snapshot with AWS support, specify amazon-redshift-support.

                                              + *

                                              To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

                                              */ AccountWithRestoreAccess: string | undefined; } @@ -1145,7 +1225,7 @@ export interface Snapshot { ClusterCreateTime?: Date; /** - *

                                              The master user name for the cluster.

                                              + *

                                              The admin user name for the cluster.

                                              */ MasterUsername?: string; @@ -1192,7 +1272,7 @@ export interface Snapshot { Encrypted?: boolean; /** - *

                                              The AWS Key Management Service (KMS) key ID of the encryption key that was used to + *

                                              The Key Management Service (KMS) key ID of the encryption key that was used to * encrypt data in the cluster from which the snapshot was taken.

                                              */ KmsKeyId?: string; @@ -1205,14 +1285,14 @@ export interface Snapshot { EncryptedWithHSM?: boolean; /** - *

                                              A list of the AWS customer accounts authorized to restore the snapshot. Returns + *

                                              A list of the accounts authorized to restore the snapshot. Returns * null if no accounts are authorized. Visible only to the snapshot owner. *

                                              */ AccountsWithRestoreAccess?: AccountWithRestoreAccess[]; /** - *

                                              For manual snapshots, the AWS customer account used to create or copy the snapshot. + *

                                              For manual snapshots, the account used to create or copy the snapshot. * For automatic snapshots, the owner of the cluster. The owner can perform all snapshot * actions, such as sharing a manual snapshot.

                                              */ @@ -1385,7 +1465,7 @@ export namespace InvalidClusterSnapshotStateFault { } /** - *

                                              The encryption key has exceeded its grant limit in AWS KMS.

                                              + *

                                              The encryption key has exceeded its grant limit in Amazon Web Services KMS.

                                              */ export interface LimitExceededFault extends __SmithyException, $MetadataBearer { name: "LimitExceededFault"; @@ -2249,8 +2329,8 @@ export namespace HsmStatus { } /** - *

                                              An AWS Identity and Access Management (IAM) role that can be used by the associated - * Amazon Redshift cluster to access other AWS services.

                                              + *

                                              An Identity and Access Management (IAM) role that can be used by the associated + * Amazon Redshift cluster to access other Amazon Web Services services.

                                              */ export interface ClusterIamRole { /** @@ -2298,7 +2378,7 @@ export namespace ClusterIamRole { */ export interface PendingModifiedValues { /** - *

                                              The pending or in-progress change of the master user password for the + *

                                              The pending or in-progress change of the admin user password for the * cluster.

                                              */ MasterUserPassword?: string; @@ -2622,7 +2702,7 @@ export interface Cluster { ModifyStatus?: string; /** - *

                                              The master user name for the cluster. This name is used to connect to the database + *

                                              The admin user name for the cluster. This name is used to connect to the database * that is specified in the DBName parameter.

                                              */ MasterUsername?: string; @@ -2789,7 +2869,7 @@ export interface Cluster { Tags?: Tag[]; /** - *

                                              The AWS Key Management Service (AWS KMS) key ID of the encryption key used to + *

                                              The Key Management Service (KMS) key ID of the encryption key used to * encrypt data in the cluster.

                                              */ KmsKeyId?: string; @@ -2805,8 +2885,8 @@ export interface Cluster { EnhancedVpcRouting?: boolean; /** - *

                                              A list of AWS Identity and Access Management (IAM) roles that can be used by the - * cluster to access other AWS services.

                                              + *

                                              A list of Identity and Access Management (IAM) roles that can be used by the + * cluster to access other Amazon Web Services services.

                                              */ IamRoles?: ClusterIamRole[]; @@ -3765,7 +3845,7 @@ export interface CopyClusterSnapshotMessage { *

                                              Cannot end with a hyphen or contain two consecutive hyphens.

                                              *
                                            • *
                                            • - *

                                              Must be unique for the AWS account that is making the request.

                                              + *

                                              Must be unique for the account that is making the request.

                                              *
                                            • *
                                            */ @@ -3824,6 +3904,68 @@ export namespace CopyToRegionDisabledFault { }); } +export interface CreateAuthenticationProfileMessage { + /** + *

                                            The name of the authentication profile to be created.

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

                                            The content of the authentication profile in JSON format. + * The maximum length of the JSON string is determined by a quota for your account.

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

                                            The name of the authentication profile that was created.

                                            + */ + AuthenticationProfileName?: string; + + /** + *

                                            The content of the authentication profile in JSON format.

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

                                            The authentication profile request is not valid. The profile name can't be null or empty. + * The authentication profile API operation must be available in the Region.

                                            + */ +export interface InvalidAuthenticationProfileRequestFault extends __SmithyException, $MetadataBearer { + name: "InvalidAuthenticationProfileRequestFault"; + $fault: "client"; + message?: string; +} + +export namespace InvalidAuthenticationProfileRequestFault { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InvalidAuthenticationProfileRequestFault): any => ({ + ...obj, + }); +} + /** *

                                            */ @@ -3872,7 +4014,7 @@ export interface CreateClusterMessage { *

                                            Cannot end with a hyphen or contain two consecutive hyphens.

                                            *
                                          • *
                                          • - *

                                            Must be unique for all clusters within an AWS account.

                                            + *

                                            Must be unique for all clusters within an account.

                                            *
                                          • *
                                          * @@ -3915,7 +4057,7 @@ export interface CreateClusterMessage { NodeType: string | undefined; /** - *

                                          The user name associated with the master user account for the cluster that is being + *

                                          The user name associated with the admin user account for the cluster that is being * created.

                                          *

                                          Constraints:

                                          *
                                            @@ -3936,7 +4078,7 @@ export interface CreateClusterMessage { MasterUsername: string | undefined; /** - *

                                            The password associated with the master user account for the cluster that is being + *

                                            The password associated with the admin user account for the cluster that is being * created.

                                            *

                                            Constraints:

                                            *
                                              @@ -4134,7 +4276,7 @@ export interface CreateClusterMessage { Tags?: Tag[]; /** - *

                                              The AWS Key Management Service (KMS) key ID of the encryption key that you want to + *

                                              The Key Management Service (KMS) key ID of the encryption key that you want to * use to encrypt data in the cluster.

                                              */ KmsKeyId?: string; @@ -4155,8 +4297,8 @@ export interface CreateClusterMessage { AdditionalInfo?: string; /** - *

                                              A list of AWS Identity and Access Management (IAM) roles that can be used by the - * cluster to access other AWS services. You must supply the IAM roles in their Amazon + *

                                              A list of Identity and Access Management (IAM) roles that can be used by the + * cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon * Resource Name (ARN) format. You can supply up to 10 IAM roles in a single * request.

                                              *

                                              A cluster can have up to 10 IAM roles associated with it at any time.

                                              @@ -4184,7 +4326,7 @@ export interface CreateClusterMessage { *

                                              The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) when it is created. Possible values include the following.

                                              *
                                                *
                                              • - *

                                                enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                                + *

                                                enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                                *
                                              • *
                                              • *

                                                disabled - Don't use AQUA.

                                                @@ -4499,7 +4641,7 @@ export interface CreateClusterParameterGroupMessage { *

                                                Cannot end with a hyphen or contain two consecutive hyphens.

                                                *
                                              • *
                                              • - *

                                                Must be unique withing your AWS account.

                                                + *

                                                Must be unique withing your account.

                                                *
                                              • *
                                              * @@ -4512,7 +4654,7 @@ export interface CreateClusterParameterGroupMessage { *

                                              The Amazon Redshift engine version to which the cluster parameter group applies. The * cluster engine version determines the set of parameters.

                                              *

                                              To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of - * all the parameter groups that are owned by your AWS account, including the default + * all the parameter groups that are owned by your account, including the default * parameter groups for each Amazon Redshift engine version. The parameter group family names * associated with the default parameter groups provide you the valid values. For example, * a valid family name is "redshift-1.0".

                                              @@ -4571,8 +4713,7 @@ export interface CreateClusterSecurityGroupMessage { *

                                              Must not be "Default".

                                              * *
                                            • - *

                                              Must be unique for all security groups that are created by your AWS - * account.

                                              + *

                                              Must be unique for all security groups that are created by your account.

                                              *
                                            • *
                                            *

                                            Example: examplesecuritygroup @@ -4622,7 +4763,7 @@ export namespace CreateClusterSecurityGroupResult { export interface CreateClusterSnapshotMessage { /** *

                                            A unique identifier for the snapshot that you are requesting. This identifier must - * be unique for all snapshots within the AWS account.

                                            + * be unique for all snapshots within the account.

                                            *

                                            Constraints:

                                            *
                                              *
                                            • @@ -4705,8 +4846,7 @@ export interface CreateClusterSubnetGroupMessage { *

                                              Must not be "Default".

                                              *
                                            • *
                                            • - *

                                              Must be unique for all subnet groups that are created by your AWS - * account.

                                              + *

                                              Must be unique for all subnet groups that are created by your account.

                                              *
                                            • *
                                            *

                                            Example: examplesubnetgroup @@ -4763,7 +4903,7 @@ export interface CreateEndpointAccessMessage { ClusterIdentifier?: string; /** - *

                                            The AWS account ID of the owner of the cluster. This is only required if the cluster is in another AWS account.

                                            + *

                                            The account ID of the owner of the cluster. This is only required if the cluster is in another account.

                                            */ ResourceOwner?: string; @@ -4806,7 +4946,7 @@ export interface EndpointAccess { ClusterIdentifier?: string; /** - *

                                            The AWS account ID of the owner of the cluster.

                                            + *

                                            The account ID of the owner of the cluster.

                                            */ ResourceOwner?: string; @@ -4949,7 +5089,7 @@ export interface CreateEventSubscriptionMessage { *

                                            The type of source that will be generating the events. For example, if you want to * be notified of events generated by a cluster, you would set this parameter to cluster. * If this value is not specified, events are returned for all Amazon Redshift objects in your - * AWS account. You must specify a source type in order to specify source IDs.

                                            + * account. You must specify a source type in order to specify source IDs.

                                            *

                                            Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                            */ SourceType?: string; @@ -5005,7 +5145,7 @@ export namespace CreateEventSubscriptionMessage { */ export interface EventSubscription { /** - *

                                            The AWS customer account associated with the Amazon Redshift event notification + *

                                            The account associated with the Amazon Redshift event notification * subscription.

                                            */ CustomerAwsId?: string; @@ -5890,7 +6030,7 @@ export namespace ScheduledActionTypeUnsupportedFault { export interface CreateSnapshotCopyGrantMessage { /** *

                                            The name of the snapshot copy grant. This name must be unique in the region for the - * AWS account.

                                            + * account.

                                            *

                                            Constraints:

                                            *
                                              *
                                            • @@ -5906,7 +6046,7 @@ export interface CreateSnapshotCopyGrantMessage { *

                                              Cannot end with a hyphen or contain two consecutive hyphens.

                                              *
                                            • *
                                            • - *

                                              Must be unique for all clusters within an AWS account.

                                              + *

                                              Must be unique for all clusters within an account.

                                              *
                                            • *
                                            */ @@ -5935,7 +6075,7 @@ export namespace CreateSnapshotCopyGrantMessage { /** *

                                            The snapshot copy grant that grants Amazon Redshift permission to encrypt copied - * snapshots with the specified customer master key (CMK) from AWS KMS in the destination + * snapshots with the specified customer master key (CMK) from Amazon Web Services KMS in the destination * region.

                                            *

                                            * For more information about managing snapshot copy grants, go to @@ -5950,7 +6090,7 @@ export interface SnapshotCopyGrant { SnapshotCopyGrantName?: string; /** - *

                                            The unique identifier of the customer master key (CMK) in AWS KMS to which + *

                                            The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which * Amazon Redshift is granted permission.

                                            */ KmsKeyId?: string; @@ -5973,7 +6113,7 @@ export namespace SnapshotCopyGrant { export interface CreateSnapshotCopyGrantResult { /** *

                                            The snapshot copy grant that grants Amazon Redshift permission to encrypt copied - * snapshots with the specified customer master key (CMK) from AWS KMS in the destination + * snapshots with the specified customer master key (CMK) from Amazon Web Services KMS in the destination * region.

                                            *

                                            * For more information about managing snapshot copy grants, go to @@ -6013,7 +6153,7 @@ export namespace SnapshotCopyGrantAlreadyExistsFault { } /** - *

                                            The AWS account has exceeded the maximum number of snapshot copy grants in this + *

                                            The account has exceeded the maximum number of snapshot copy grants in this * region.

                                            */ export interface SnapshotCopyGrantQuotaExceededFault extends __SmithyException, $MetadataBearer { @@ -6460,6 +6600,38 @@ export namespace DefaultClusterParameters { }); } +export interface DeleteAuthenticationProfileMessage { + /** + *

                                            The name of the authentication profile to delete.

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

                                            The name of the authentication profile that was deleted.

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

                                            */ @@ -7057,6 +7229,38 @@ export namespace DescribeAccountAttributesMessage { }); } +export interface DescribeAuthenticationProfilesMessage { + /** + *

                                            The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.

                                            + */ + AuthenticationProfileName?: string; +} + +export namespace DescribeAuthenticationProfilesMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAuthenticationProfilesMessage): any => ({ + ...obj, + }); +} + +export interface DescribeAuthenticationProfilesResult { + /** + *

                                            The list of authentication profiles.

                                            + */ + AuthenticationProfiles?: AuthenticationProfile[]; +} + +export namespace DescribeAuthenticationProfilesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAuthenticationProfilesResult): any => ({ + ...obj, + }); +} + export interface DescribeClusterDbRevisionsMessage { /** *

                                            A unique identifier for a cluster whose ClusterDbRevisions you are @@ -7123,7 +7327,7 @@ export interface DescribeClusterParameterGroupsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterParameterGroups request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7193,7 +7397,7 @@ export interface DescribeClusterParametersMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterParameters request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7235,7 +7439,7 @@ export interface DescribeClustersMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusters request exceed the - * value specified in MaxRecords, AWS returns a value in the + * value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7298,7 +7502,7 @@ export interface DescribeClusterSecurityGroupsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterSecurityGroups request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7429,7 +7633,7 @@ export interface DescribeClusterSnapshotsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterSnapshots request exceed - * the value specified in MaxRecords, AWS returns a value in the + * the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7437,9 +7641,9 @@ export interface DescribeClusterSnapshotsMessage { Marker?: string; /** - *

                                            The AWS customer account used to create or copy the snapshot. Use this field to + *

                                            The account used to create or copy the snapshot. Use this field to * filter the results to snapshots owned by a particular account. To describe snapshots you - * own, either specify your AWS customer account, or do not specify the + * own, either specify your account, or do not specify the * parameter.

                                            */ OwnerAccount?: string; @@ -7559,7 +7763,7 @@ export interface DescribeClusterSubnetGroupsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterSubnetGroups request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7777,7 +7981,7 @@ export interface DescribeClusterVersionsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeClusterVersions request exceed - * the value specified in MaxRecords, AWS returns a value in the + * the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7817,7 +8021,7 @@ export interface DescribeDefaultClusterParametersMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeDefaultClusterParameters - * request exceed the value specified in MaxRecords, AWS returns a value in + * request exceed the value specified in MaxRecords, Amazon Web Services returns a value in * the Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -7857,7 +8061,7 @@ export interface DescribeEndpointAccessMessage { ClusterIdentifier?: string; /** - *

                                            The AWS account ID of the owner of the cluster.

                                            + *

                                            The account ID of the owner of the cluster.

                                            */ ResourceOwner?: string; @@ -7927,7 +8131,7 @@ export interface DescribeEndpointAuthorizationMessage { ClusterIdentifier?: string; /** - *

                                            The AWS account ID of either the cluster owner (grantor) or grantee. + *

                                            The Aaccount ID of either the cluster owner (grantor) or grantee. * If Grantee parameter is true, then the Account value is of the grantor.

                                            */ Account?: string; @@ -8197,7 +8401,7 @@ export interface DescribeEventsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeEvents request exceed the value - * specified in MaxRecords, AWS returns a value in the Marker + * specified in MaxRecords, Amazon Web Services returns a value in the Marker * field of the response. You can retrieve the next set of response records by providing * the returned marker value in the Marker parameter and retrying the request. *

                                            @@ -8317,7 +8521,7 @@ export interface DescribeEventSubscriptionsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeEventSubscriptions request exceed the value - * specified in MaxRecords, AWS returns a value in the Marker + * specified in MaxRecords, Amazon Web Services returns a value in the Marker * field of the response. You can retrieve the next set of response records by providing * the returned marker value in the Marker parameter and retrying the request. *

                                            @@ -8389,7 +8593,7 @@ export interface DescribeHsmClientCertificatesMessage { /** *

                                            The identifier of a specific HSM client certificate for which you want information. * If no identifier is specified, information is returned for all HSM client certificates - * owned by your AWS customer account.

                                            + * owned by your account.

                                            */ HsmClientCertificateIdentifier?: string; @@ -8407,7 +8611,7 @@ export interface DescribeHsmClientCertificatesMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeHsmClientCertificates request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -8480,7 +8684,7 @@ export interface DescribeHsmConfigurationsMessage { /** *

                                            The identifier of a specific Amazon Redshift HSM configuration to be described. If no * identifier is specified, information is returned for all HSM configurations owned by - * your AWS customer account.

                                            + * your account.

                                            */ HsmConfigurationIdentifier?: string; @@ -8498,7 +8702,7 @@ export interface DescribeHsmConfigurationsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeHsmConfigurations request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -8703,7 +8907,7 @@ export interface DescribeNodeConfigurationOptionsMessage { SnapshotIdentifier?: string; /** - *

                                            The AWS customer account used to create or copy the snapshot. + *

                                            The account used to create or copy the snapshot. * Required if you are restoring a snapshot you do not own, * optional if you own the snapshot.

                                            */ @@ -8717,7 +8921,7 @@ export interface DescribeNodeConfigurationOptionsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeNodeConfigurationOptions request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -8841,7 +9045,7 @@ export interface DescribeOrderableClusterOptionsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeOrderableClusterOptions request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -8924,7 +9128,7 @@ export namespace OrderableClusterOptionsMessage { export interface DescribePartnersInputMessage { /** - *

                                            The AWS account ID that owns the cluster.

                                            + *

                                            The Region ID that owns the cluster.

                                            */ AccountId: string | undefined; @@ -9043,7 +9247,7 @@ export interface DescribeReservedNodeOfferingsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeReservedNodeOfferings request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -9059,370 +9263,3 @@ export namespace DescribeReservedNodeOfferingsMessage { ...obj, }); } - -/** - *

                                            Describes a reserved node offering.

                                            - */ -export interface ReservedNodeOffering { - /** - *

                                            The offering identifier.

                                            - */ - ReservedNodeOfferingId?: string; - - /** - *

                                            The node type offered by the reserved node offering.

                                            - */ - NodeType?: string; - - /** - *

                                            The duration, in seconds, for which the offering will reserve the node.

                                            - */ - Duration?: number; - - /** - *

                                            The upfront fixed charge you will pay to purchase the specific reserved node - * offering.

                                            - */ - FixedPrice?: number; - - /** - *

                                            The rate you are charged for each hour the cluster that is using the offering is - * running.

                                            - */ - UsagePrice?: number; - - /** - *

                                            The currency code for the compute nodes offering.

                                            - */ - CurrencyCode?: string; - - /** - *

                                            The anticipated utilization of the reserved node, as defined in the reserved node - * offering.

                                            - */ - OfferingType?: string; - - /** - *

                                            The charge to your account regardless of whether you are creating any clusters - * using the node offering. Recurring charges are only in effect for heavy-utilization - * reserved nodes.

                                            - */ - RecurringCharges?: RecurringCharge[]; - - /** - *

                                            - */ - ReservedNodeOfferingType?: ReservedNodeOfferingType | string; -} - -export namespace ReservedNodeOffering { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ReservedNodeOffering): any => ({ - ...obj, - }); -} - -/** - *

                                            - */ -export interface ReservedNodeOfferingsMessage { - /** - *

                                            A value that indicates the starting point for the next set of response records in a - * subsequent request. If a value is returned in a response, you can retrieve the next set - * of records by providing this returned marker value in the Marker parameter - * and retrying the command. If the Marker field is empty, all response - * records have been retrieved for the request.

                                            - */ - Marker?: string; - - /** - *

                                            A list of ReservedNodeOffering objects.

                                            - */ - ReservedNodeOfferings?: ReservedNodeOffering[]; -} - -export namespace ReservedNodeOfferingsMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ReservedNodeOfferingsMessage): any => ({ - ...obj, - }); -} - -/** - *

                                            - */ -export interface DescribeReservedNodesMessage { - /** - *

                                            Identifier for the node reservation.

                                            - */ - ReservedNodeId?: string; - - /** - *

                                            The maximum number of response records to return in each call. If the number of - * remaining response records exceeds the specified MaxRecords value, a value - * is returned in a marker field of the response. You can retrieve the next - * set of records by retrying the command with the returned marker value.

                                            - *

                                            Default: 100 - *

                                            - *

                                            Constraints: minimum 20, maximum 100.

                                            - */ - MaxRecords?: number; - - /** - *

                                            An optional parameter that specifies the starting point to return a set of response - * records. When the results of a DescribeReservedNodes request exceed - * the value specified in MaxRecords, AWS returns a value in the - * Marker field of the response. You can retrieve the next set of response - * records by providing the returned marker value in the Marker parameter and - * retrying the request.

                                            - */ - Marker?: string; -} - -export namespace DescribeReservedNodesMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeReservedNodesMessage): any => ({ - ...obj, - }); -} - -/** - *

                                            - */ -export interface ReservedNodesMessage { - /** - *

                                            A value that indicates the starting point for the next set of response records in a - * subsequent request. If a value is returned in a response, you can retrieve the next set - * of records by providing this returned marker value in the Marker parameter - * and retrying the command. If the Marker field is empty, all response - * records have been retrieved for the request.

                                            - */ - Marker?: string; - - /** - *

                                            The list of ReservedNode objects.

                                            - */ - ReservedNodes?: ReservedNode[]; -} - -export namespace ReservedNodesMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ReservedNodesMessage): any => ({ - ...obj, - }); -} - -/** - *

                                            - */ -export interface DescribeResizeMessage { - /** - *

                                            The unique identifier of a cluster whose resize progress you are requesting. This - * parameter is case-sensitive.

                                            - *

                                            By default, resize operations for all clusters defined for an AWS account are - * returned.

                                            - */ - ClusterIdentifier: string | undefined; -} - -export namespace DescribeResizeMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeResizeMessage): any => ({ - ...obj, - }); -} - -export enum ScheduledActionFilterName { - CLUSTER_IDENTIFIER = "cluster-identifier", - IAM_ROLE = "iam-role", -} - -/** - *

                                            A set of elements to filter the returned scheduled actions.

                                            - */ -export interface ScheduledActionFilter { - /** - *

                                            The type of element to filter.

                                            - */ - Name: ScheduledActionFilterName | string | undefined; - - /** - *

                                            List of values. Compare if the value (of type defined by Name) equals an item in the list of scheduled actions.

                                            - */ - Values: string[] | undefined; -} - -export namespace ScheduledActionFilter { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ScheduledActionFilter): any => ({ - ...obj, - }); -} - -export enum ScheduledActionTypeValues { - PAUSE_CLUSTER = "PauseCluster", - RESIZE_CLUSTER = "ResizeCluster", - RESUME_CLUSTER = "ResumeCluster", -} - -export interface DescribeScheduledActionsMessage { - /** - *

                                            The name of the scheduled action to retrieve.

                                            - */ - ScheduledActionName?: string; - - /** - *

                                            The type of the scheduled actions to retrieve.

                                            - */ - TargetActionType?: ScheduledActionTypeValues | string; - - /** - *

                                            The start time in UTC of the scheduled actions to retrieve. - * Only active scheduled actions that have invocations after this time are retrieved.

                                            - */ - StartTime?: Date; - - /** - *

                                            The end time in UTC of the scheduled action to retrieve. - * Only active scheduled actions that have invocations before this time are retrieved.

                                            - */ - EndTime?: Date; - - /** - *

                                            If true, retrieve only active scheduled actions. - * If false, retrieve only disabled scheduled actions.

                                            - */ - Active?: boolean; - - /** - *

                                            List of scheduled action filters.

                                            - */ - Filters?: ScheduledActionFilter[]; - - /** - *

                                            An optional parameter that specifies the starting point to return a set of response - * records. When the results of a DescribeScheduledActions request - * exceed the value specified in MaxRecords, AWS returns a value in the - * Marker field of the response. You can retrieve the next set of response - * records by providing the returned marker value in the Marker parameter and - * retrying the request.

                                            - */ - Marker?: string; - - /** - *

                                            The maximum number of response records to return in each call. If the number of - * remaining response records exceeds the specified MaxRecords value, a value - * is returned in a marker field of the response. You can retrieve the next - * set of records by retrying the command with the returned marker value.

                                            - *

                                            Default: 100 - *

                                            - *

                                            Constraints: minimum 20, maximum 100.

                                            - */ - MaxRecords?: number; -} - -export namespace DescribeScheduledActionsMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeScheduledActionsMessage): any => ({ - ...obj, - }); -} - -export interface ScheduledActionsMessage { - /** - *

                                            An optional parameter that specifies the starting point to return a set of response - * records. When the results of a DescribeScheduledActions request - * exceed the value specified in MaxRecords, AWS returns a value in the - * Marker field of the response. You can retrieve the next set of response - * records by providing the returned marker value in the Marker parameter and - * retrying the request.

                                            - */ - Marker?: string; - - /** - *

                                            List of retrieved scheduled actions.

                                            - */ - ScheduledActions?: ScheduledAction[]; -} - -export namespace ScheduledActionsMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ScheduledActionsMessage): any => ({ - ...obj, - }); -} - -/** - *

                                            The result of the DescribeSnapshotCopyGrants action.

                                            - */ -export interface DescribeSnapshotCopyGrantsMessage { - /** - *

                                            The name of the snapshot copy grant.

                                            - */ - SnapshotCopyGrantName?: string; - - /** - *

                                            The maximum number of response records to return in each call. If the number of - * remaining response records exceeds the specified MaxRecords value, a value - * is returned in a marker field of the response. You can retrieve the next - * set of records by retrying the command with the returned marker value.

                                            - *

                                            Default: 100 - *

                                            - *

                                            Constraints: minimum 20, maximum 100.

                                            - */ - MaxRecords?: number; - - /** - *

                                            An optional parameter that specifies the starting point to return a set of response - * records. When the results of a DescribeSnapshotCopyGrant request exceed the - * value specified in MaxRecords, AWS returns a value in the - * Marker field of the response. You can retrieve the next set of response - * records by providing the returned marker value in the Marker parameter and - * retrying the request.

                                            - *

                                            Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                            - */ - Marker?: string; - - /** - *

                                            A tag key or keys for which you want to return all matching resources that are - * associated with the specified key or keys. For example, suppose that you have resources - * tagged with keys called owner and environment. If you specify - * both of these tag keys in the request, Amazon Redshift returns a response with all resources - * that have either or both of these tag keys associated with them.

                                            - */ - TagKeys?: string[]; - - /** - *

                                            A tag value or values for which you want to return all matching resources that are - * associated with the specified value or values. For example, suppose that you have - * resources tagged with values called admin and test. If you - * specify both of these tag values in the request, Amazon Redshift returns a response with all - * resources that have either or both of these tag values associated with them.

                                            - */ - TagValues?: string[]; -} - -export namespace DescribeSnapshotCopyGrantsMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeSnapshotCopyGrantsMessage): any => ({ - ...obj, - }); -} diff --git a/clients/client-redshift/models/models_1.ts b/clients/client-redshift/models/models_1.ts index 2e49a6da85eba..e4ade18dab594 100644 --- a/clients/client-redshift/models/models_1.ts +++ b/clients/client-redshift/models/models_1.ts @@ -7,8 +7,10 @@ import { EventSubscription, Parameter, PartnerIntegrationStatus, + RecurringCharge, ReservedNode, - ReservedNodeOffering, + ReservedNodeOfferingType, + ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, @@ -20,6 +22,373 @@ import { } from "./models_0"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; +/** + *

                                            Describes a reserved node offering.

                                            + */ +export interface ReservedNodeOffering { + /** + *

                                            The offering identifier.

                                            + */ + ReservedNodeOfferingId?: string; + + /** + *

                                            The node type offered by the reserved node offering.

                                            + */ + NodeType?: string; + + /** + *

                                            The duration, in seconds, for which the offering will reserve the node.

                                            + */ + Duration?: number; + + /** + *

                                            The upfront fixed charge you will pay to purchase the specific reserved node + * offering.

                                            + */ + FixedPrice?: number; + + /** + *

                                            The rate you are charged for each hour the cluster that is using the offering is + * running.

                                            + */ + UsagePrice?: number; + + /** + *

                                            The currency code for the compute nodes offering.

                                            + */ + CurrencyCode?: string; + + /** + *

                                            The anticipated utilization of the reserved node, as defined in the reserved node + * offering.

                                            + */ + OfferingType?: string; + + /** + *

                                            The charge to your account regardless of whether you are creating any clusters + * using the node offering. Recurring charges are only in effect for heavy-utilization + * reserved nodes.

                                            + */ + RecurringCharges?: RecurringCharge[]; + + /** + *

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

                                            + */ +export interface ReservedNodeOfferingsMessage { + /** + *

                                            A value that indicates the starting point for the next set of response records in a + * subsequent request. If a value is returned in a response, you can retrieve the next set + * of records by providing this returned marker value in the Marker parameter + * and retrying the command. If the Marker field is empty, all response + * records have been retrieved for the request.

                                            + */ + Marker?: string; + + /** + *

                                            A list of ReservedNodeOffering objects.

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

                                            + */ +export interface DescribeReservedNodesMessage { + /** + *

                                            Identifier for the node reservation.

                                            + */ + ReservedNodeId?: string; + + /** + *

                                            The maximum number of response records to return in each call. If the number of + * remaining response records exceeds the specified MaxRecords value, a value + * is returned in a marker field of the response. You can retrieve the next + * set of records by retrying the command with the returned marker value.

                                            + *

                                            Default: 100 + *

                                            + *

                                            Constraints: minimum 20, maximum 100.

                                            + */ + MaxRecords?: number; + + /** + *

                                            An optional parameter that specifies the starting point to return a set of response + * records. When the results of a DescribeReservedNodes request exceed + * the value specified in MaxRecords, Amazon Web Services returns a value in the + * Marker field of the response. You can retrieve the next set of response + * records by providing the returned marker value in the Marker parameter and + * retrying the request.

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

                                            + */ +export interface ReservedNodesMessage { + /** + *

                                            A value that indicates the starting point for the next set of response records in a + * subsequent request. If a value is returned in a response, you can retrieve the next set + * of records by providing this returned marker value in the Marker parameter + * and retrying the command. If the Marker field is empty, all response + * records have been retrieved for the request.

                                            + */ + Marker?: string; + + /** + *

                                            The list of ReservedNode objects.

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

                                            + */ +export interface DescribeResizeMessage { + /** + *

                                            The unique identifier of a cluster whose resize progress you are requesting. This + * parameter is case-sensitive.

                                            + *

                                            By default, resize operations for all clusters defined for an account are + * returned.

                                            + */ + ClusterIdentifier: string | undefined; +} + +export namespace DescribeResizeMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeResizeMessage): any => ({ + ...obj, + }); +} + +export enum ScheduledActionFilterName { + CLUSTER_IDENTIFIER = "cluster-identifier", + IAM_ROLE = "iam-role", +} + +/** + *

                                            A set of elements to filter the returned scheduled actions.

                                            + */ +export interface ScheduledActionFilter { + /** + *

                                            The type of element to filter.

                                            + */ + Name: ScheduledActionFilterName | string | undefined; + + /** + *

                                            List of values. Compare if the value (of type defined by Name) equals an item in the list of scheduled actions.

                                            + */ + Values: string[] | undefined; +} + +export namespace ScheduledActionFilter { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ScheduledActionFilter): any => ({ + ...obj, + }); +} + +export enum ScheduledActionTypeValues { + PAUSE_CLUSTER = "PauseCluster", + RESIZE_CLUSTER = "ResizeCluster", + RESUME_CLUSTER = "ResumeCluster", +} + +export interface DescribeScheduledActionsMessage { + /** + *

                                            The name of the scheduled action to retrieve.

                                            + */ + ScheduledActionName?: string; + + /** + *

                                            The type of the scheduled actions to retrieve.

                                            + */ + TargetActionType?: ScheduledActionTypeValues | string; + + /** + *

                                            The start time in UTC of the scheduled actions to retrieve. + * Only active scheduled actions that have invocations after this time are retrieved.

                                            + */ + StartTime?: Date; + + /** + *

                                            The end time in UTC of the scheduled action to retrieve. + * Only active scheduled actions that have invocations before this time are retrieved.

                                            + */ + EndTime?: Date; + + /** + *

                                            If true, retrieve only active scheduled actions. + * If false, retrieve only disabled scheduled actions.

                                            + */ + Active?: boolean; + + /** + *

                                            List of scheduled action filters.

                                            + */ + Filters?: ScheduledActionFilter[]; + + /** + *

                                            An optional parameter that specifies the starting point to return a set of response + * records. When the results of a DescribeScheduledActions request + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the + * Marker field of the response. You can retrieve the next set of response + * records by providing the returned marker value in the Marker parameter and + * retrying the request.

                                            + */ + Marker?: string; + + /** + *

                                            The maximum number of response records to return in each call. If the number of + * remaining response records exceeds the specified MaxRecords value, a value + * is returned in a marker field of the response. You can retrieve the next + * set of records by retrying the command with the returned marker value.

                                            + *

                                            Default: 100 + *

                                            + *

                                            Constraints: minimum 20, maximum 100.

                                            + */ + MaxRecords?: number; +} + +export namespace DescribeScheduledActionsMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeScheduledActionsMessage): any => ({ + ...obj, + }); +} + +export interface ScheduledActionsMessage { + /** + *

                                            An optional parameter that specifies the starting point to return a set of response + * records. When the results of a DescribeScheduledActions request + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the + * Marker field of the response. You can retrieve the next set of response + * records by providing the returned marker value in the Marker parameter and + * retrying the request.

                                            + */ + Marker?: string; + + /** + *

                                            List of retrieved scheduled actions.

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

                                            The result of the DescribeSnapshotCopyGrants action.

                                            + */ +export interface DescribeSnapshotCopyGrantsMessage { + /** + *

                                            The name of the snapshot copy grant.

                                            + */ + SnapshotCopyGrantName?: string; + + /** + *

                                            The maximum number of response records to return in each call. If the number of + * remaining response records exceeds the specified MaxRecords value, a value + * is returned in a marker field of the response. You can retrieve the next + * set of records by retrying the command with the returned marker value.

                                            + *

                                            Default: 100 + *

                                            + *

                                            Constraints: minimum 20, maximum 100.

                                            + */ + MaxRecords?: number; + + /** + *

                                            An optional parameter that specifies the starting point to return a set of response + * records. When the results of a DescribeSnapshotCopyGrant request exceed the + * value specified in MaxRecords, Amazon Web Services returns a value in the + * Marker field of the response. You can retrieve the next set of response + * records by providing the returned marker value in the Marker parameter and + * retrying the request.

                                            + *

                                            Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                            + */ + Marker?: string; + + /** + *

                                            A tag key or keys for which you want to return all matching resources that are + * associated with the specified key or keys. For example, suppose that you have resources + * tagged with keys called owner and environment. If you specify + * both of these tag keys in the request, Amazon Redshift returns a response with all resources + * that have either or both of these tag keys associated with them.

                                            + */ + TagKeys?: string[]; + + /** + *

                                            A tag value or values for which you want to return all matching resources that are + * associated with the specified value or values. For example, suppose that you have + * resources tagged with values called admin and test. If you + * specify both of these tag values in the request, Amazon Redshift returns a response with all + * resources that have either or both of these tag values associated with them.

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

                                            */ @@ -27,7 +396,7 @@ export interface SnapshotCopyGrantMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeSnapshotCopyGrant request exceed the - * value specified in MaxRecords, AWS returns a value in the + * value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -519,7 +888,7 @@ export interface DescribeUsageLimitsMessage { /** *

                                            An optional parameter that specifies the starting point to return a set of response * records. When the results of a DescribeUsageLimits request - * exceed the value specified in MaxRecords, AWS returns a value in the + * exceed the value specified in MaxRecords, Amazon Web Services returns a value in the * Marker field of the response. You can retrieve the next set of response * records by providing the returned marker value in the Marker parameter and * retrying the request.

                                            @@ -797,8 +1166,8 @@ export interface EnableSnapshotCopyMessage { ClusterIdentifier: string | undefined; /** - *

                                            The destination AWS Region that you want to copy snapshots to.

                                            - *

                                            Constraints: Must be the name of a valid AWS Region. For more information, see + *

                                            The destination Region that you want to copy snapshots to.

                                            + *

                                            Constraints: Must be the name of a valid Region. For more information, see * Regions and Endpoints in the Amazon Web Services General Reference. *

                                            */ @@ -813,14 +1182,14 @@ export interface EnableSnapshotCopyMessage { RetentionPeriod?: number; /** - *

                                            The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted + *

                                            The name of the snapshot copy grant to use when snapshots of an Amazon Web Services KMS-encrypted * cluster are copied to the destination region.

                                            */ SnapshotCopyGrantName?: string; /** - *

                                            The number of days to retain newly copied snapshots in the destination AWS Region - * after they are copied from the source AWS Region. If the value is -1, the manual + *

                                            The number of days to retain newly copied snapshots in the destination Region + * after they are copied from the source Region. If the value is -1, the manual * snapshot is retained indefinitely.

                                            *

                                            The value must be either -1 or an integer between 1 and 3,653.

                                            */ @@ -1172,7 +1541,7 @@ export interface ModifyAquaInputMessage { *

                                            The new value of AQUA configuration status. Possible values include the following.

                                            *
                                              *
                                            • - *

                                              enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                              + *

                                              enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                              *
                                            • *
                                            • *

                                              disabled - Don't use AQUA.

                                              @@ -1210,6 +1579,49 @@ export namespace ModifyAquaOutputMessage { }); } +export interface ModifyAuthenticationProfileMessage { + /** + *

                                              The name of the authentication profile to replace.

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

                                              The new content of the authentication profile in JSON format. + * The maximum length of the JSON string is determined by a quota for your account.

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

                                              The name of the authentication profile that was replaced.

                                              + */ + AuthenticationProfileName?: string; + + /** + *

                                              The updated content of the authentication profile in JSON format.

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

                                              */ @@ -1287,13 +1699,13 @@ export interface ModifyClusterMessage { VpcSecurityGroupIds?: string[]; /** - *

                                              The new password for the cluster master user. This change is asynchronously applied + *

                                              The new password for the cluster admin user. This change is asynchronously applied * as soon as possible. Between the time of the request and the completion of the request, * the MasterUserPassword element exists in the * PendingModifiedValues element of the operation response.

                                              * *

                                              Operations never return the password, so this operation provides a way to - * regain access to the master user account for a cluster if the password is + * regain access to the admin user account for a cluster if the password is * lost.

                                              *
                                              *

                                              Default: Uses existing setting.

                                              @@ -1417,7 +1829,7 @@ export interface ModifyClusterMessage { *

                                              Cannot end with a hyphen or contain two consecutive hyphens.

                                              *
                                            • *
                                            • - *

                                              Must be unique for all clusters within an AWS account.

                                              + *

                                              Must be unique for all clusters within an account.

                                              *
                                            • *
                                            * @@ -1471,7 +1883,7 @@ export interface ModifyClusterMessage { Encrypted?: boolean; /** - *

                                            The AWS Key Management Service (KMS) key ID of the encryption key that you want to use + *

                                            The Key Management Service (KMS) key ID of the encryption key that you want to use * to encrypt data in the cluster.

                                            */ KmsKeyId?: string; @@ -1911,7 +2323,7 @@ export interface ModifyEventSubscriptionMessage { *

                                            The type of source that will be generating the events. For example, if you want to * be notified of events generated by a cluster, you would set this parameter to cluster. * If this value is not specified, events are returned for all Amazon Redshift objects in your - * AWS account. You must specify a source type in order to specify source IDs.

                                            + * account. You must specify a source type in order to specify source IDs.

                                            *

                                            Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                            */ SourceType?: string; @@ -2035,20 +2447,19 @@ export namespace ModifyScheduledActionMessage { export interface ModifySnapshotCopyRetentionPeriodMessage { /** *

                                            The unique identifier of the cluster for which you want to change the retention - * period for either automated or manual snapshots that are copied to a destination AWS - * Region.

                                            + * period for either automated or manual snapshots that are copied to a destination Region.

                                            *

                                            Constraints: Must be the valid name of an existing cluster that has cross-region * snapshot copy enabled.

                                            */ ClusterIdentifier: string | undefined; /** - *

                                            The number of days to retain automated snapshots in the destination AWS Region - * after they are copied from the source AWS Region.

                                            + *

                                            The number of days to retain automated snapshots in the destination Region + * after they are copied from the source Region.

                                            *

                                            By default, this only changes the retention period of copied automated snapshots.

                                            *

                                            If you decrease the retention period for automated snapshots that are copied to a - * destination AWS Region, Amazon Redshift deletes any existing automated snapshots that were - * copied to the destination AWS Region and that fall outside of the new retention + * destination Region, Amazon Redshift deletes any existing automated snapshots that were + * copied to the destination Region and that fall outside of the new retention * period.

                                            *

                                            Constraints: Must be at least 1 and no more than 35 for automated snapshots.

                                            *

                                            If you specify the manual option, only newly copied manual snapshots will @@ -2367,7 +2778,7 @@ export interface RestoreFromClusterSnapshotMessage { *

                                            Cannot end with a hyphen or contain two consecutive hyphens.

                                            * *
                                          • - *

                                            Must be unique for all clusters within an AWS account.

                                            + *

                                            Must be unique for all clusters within an account.

                                            *
                                          • *
                                          */ @@ -2424,7 +2835,7 @@ export interface RestoreFromClusterSnapshotMessage { PubliclyAccessible?: boolean; /** - *

                                          The AWS customer account used to create or copy the snapshot. Required if you are + *

                                          The account used to create or copy the snapshot. Required if you are * restoring a snapshot you do not own, optional if you own the snapshot.

                                          */ OwnerAccount?: string; @@ -2514,7 +2925,7 @@ export interface RestoreFromClusterSnapshotMessage { ManualSnapshotRetentionPeriod?: number; /** - *

                                          The AWS Key Management Service (KMS) key ID of the encryption key that you want to + *

                                          The Key Management Service (KMS) key ID of the encryption key that you want to * use to encrypt data in the cluster that you restore from a shared snapshot.

                                          */ KmsKeyId?: string; @@ -2550,8 +2961,8 @@ export interface RestoreFromClusterSnapshotMessage { AdditionalInfo?: string; /** - *

                                          A list of AWS Identity and Access Management (IAM) roles that can be used by the - * cluster to access other AWS services. You must supply the IAM roles in their Amazon + *

                                          A list of Identity and Access Management (IAM) roles that can be used by the + * cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon * Resource Name (ARN) format. You can supply up to 10 IAM roles in a single * request.

                                          *

                                          A cluster can have up to 10 IAM roles associated at any time.

                                          @@ -2587,7 +2998,7 @@ export interface RestoreFromClusterSnapshotMessage { *

                                          The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.

                                          *
                                            *
                                          • - *

                                            enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                            + *

                                            enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                            *
                                          • *
                                          • *

                                            disabled - Don't use AQUA.

                                            @@ -2748,8 +3159,8 @@ export interface RevokeClusterSecurityGroupIngressMessage { EC2SecurityGroupName?: string; /** - *

                                            The AWS account number of the owner of the security group specified in the - * EC2SecurityGroupName parameter. The AWS access key ID is not an + *

                                            The account number of the owner of the security group specified in the + * EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an * acceptable value. If EC2SecurityGroupOwnerId is specified, * EC2SecurityGroupName must also be provided. and CIDRIP * cannot be provided.

                                            @@ -2791,7 +3202,7 @@ export interface RevokeEndpointAccessMessage { ClusterIdentifier?: string; /** - *

                                            The AWS account ID whose access is to be revoked.

                                            + *

                                            The account ID whose access is to be revoked.

                                            */ Account?: string; @@ -2833,7 +3244,7 @@ export interface RevokeSnapshotAccessMessage { SnapshotClusterIdentifier?: string; /** - *

                                            The identifier of the AWS customer account that can no longer restore the specified + *

                                            The identifier of the account that can no longer restore the specified * snapshot.

                                            */ AccountWithRestoreAccess: string | undefined; @@ -2904,7 +3315,7 @@ export namespace RotateEncryptionKeyResult { export interface UpdatePartnerStatusInputMessage { /** - *

                                            The AWS account ID that owns the cluster.

                                            + *

                                            The Region ID that owns the cluster.

                                            */ AccountId: string | undefined; diff --git a/clients/client-redshift/protocols/Aws_query.ts b/clients/client-redshift/protocols/Aws_query.ts index 0bd4e8e70b91a..825ae86ffa14a 100644 --- a/clients/client-redshift/protocols/Aws_query.ts +++ b/clients/client-redshift/protocols/Aws_query.ts @@ -28,6 +28,10 @@ import { CopyClusterSnapshotCommandInput, CopyClusterSnapshotCommandOutput, } from "../commands/CopyClusterSnapshotCommand"; +import { + CreateAuthenticationProfileCommandInput, + CreateAuthenticationProfileCommandOutput, +} from "../commands/CreateAuthenticationProfileCommand"; import { CreateClusterCommandInput, CreateClusterCommandOutput } from "../commands/CreateClusterCommand"; import { CreateClusterParameterGroupCommandInput, @@ -75,6 +79,10 @@ import { } from "../commands/CreateSnapshotScheduleCommand"; import { CreateTagsCommandInput, CreateTagsCommandOutput } from "../commands/CreateTagsCommand"; import { CreateUsageLimitCommandInput, CreateUsageLimitCommandOutput } from "../commands/CreateUsageLimitCommand"; +import { + DeleteAuthenticationProfileCommandInput, + DeleteAuthenticationProfileCommandOutput, +} from "../commands/DeleteAuthenticationProfileCommand"; import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../commands/DeleteClusterCommand"; import { DeleteClusterParameterGroupCommandInput, @@ -127,6 +135,10 @@ import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput, } from "../commands/DescribeAccountAttributesCommand"; +import { + DescribeAuthenticationProfilesCommandInput, + DescribeAuthenticationProfilesCommandOutput, +} from "../commands/DescribeAuthenticationProfilesCommand"; import { DescribeClusterDbRevisionsCommandInput, DescribeClusterDbRevisionsCommandOutput, @@ -252,6 +264,10 @@ import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput, } from "../commands/ModifyAquaConfigurationCommand"; +import { + ModifyAuthenticationProfileCommandInput, + ModifyAuthenticationProfileCommandOutput, +} from "../commands/ModifyAuthenticationProfileCommand"; import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "../commands/ModifyClusterCommand"; import { ModifyClusterDbRevisionCommandInput, @@ -352,6 +368,10 @@ import { AccountWithRestoreAccess, AquaConfiguration, AttributeValueTarget, + AuthenticationProfile, + AuthenticationProfileAlreadyExistsFault, + AuthenticationProfileNotFoundFault, + AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, @@ -411,6 +431,8 @@ import { CopyClusterSnapshotMessage, CopyClusterSnapshotResult, CopyToRegionDisabledFault, + CreateAuthenticationProfileMessage, + CreateAuthenticationProfileResult, CreateClusterMessage, CreateClusterParameterGroupMessage, CreateClusterParameterGroupResult, @@ -438,6 +460,8 @@ import { DataTransferProgress, DefaultClusterParameters, DeferredMaintenanceWindow, + DeleteAuthenticationProfileMessage, + DeleteAuthenticationProfileResult, DeleteClusterMessage, DeleteClusterParameterGroupMessage, DeleteClusterResult, @@ -457,6 +481,8 @@ import { DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, DescribeAccountAttributesMessage, + DescribeAuthenticationProfilesMessage, + DescribeAuthenticationProfilesResult, DescribeClusterDbRevisionsMessage, DescribeClusterParameterGroupsMessage, DescribeClusterParametersMessage, @@ -481,10 +507,6 @@ import { DescribePartnersInputMessage, DescribePartnersOutputMessage, DescribeReservedNodeOfferingsMessage, - DescribeReservedNodesMessage, - DescribeResizeMessage, - DescribeScheduledActionsMessage, - DescribeSnapshotCopyGrantsMessage, EC2SecurityGroup, ElasticIpStatus, Endpoint, @@ -519,6 +541,7 @@ import { HsmStatus, IPRange, InsufficientClusterCapacityFault, + InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, @@ -565,10 +588,7 @@ import { ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, - ReservedNodeOffering, ReservedNodeOfferingNotFoundFault, - ReservedNodeOfferingsMessage, - ReservedNodesMessage, ResizeClusterMessage, ResizeInfo, ResizeNotFoundFault, @@ -583,12 +603,10 @@ import { ScheduleDefinitionTypeUnsupportedFault, ScheduledAction, ScheduledActionAlreadyExistsFault, - ScheduledActionFilter, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionType, ScheduledActionTypeUnsupportedFault, - ScheduledActionsMessage, Snapshot, SnapshotCopyGrant, SnapshotCopyGrantAlreadyExistsFault, @@ -624,6 +642,10 @@ import { VpcSecurityGroupMembership, } from "../models/models_0"; import { + DescribeReservedNodesMessage, + DescribeResizeMessage, + DescribeScheduledActionsMessage, + DescribeSnapshotCopyGrantsMessage, DescribeSnapshotSchedulesMessage, DescribeSnapshotSchedulesOutputMessage, DescribeTableRestoreStatusMessage, @@ -648,6 +670,8 @@ import { InvalidTableRestoreArgumentFault, ModifyAquaInputMessage, ModifyAquaOutputMessage, + ModifyAuthenticationProfileMessage, + ModifyAuthenticationProfileResult, ModifyClusterDbRevisionMessage, ModifyClusterDbRevisionResult, ModifyClusterIamRolesMessage, @@ -675,7 +699,10 @@ import { PurchaseReservedNodeOfferingResult, RebootClusterMessage, RebootClusterResult, + ReservedNodeOffering, + ReservedNodeOfferingsMessage, ReservedNodeQuotaExceededFault, + ReservedNodesMessage, ResetClusterParameterGroupMessage, ResizeClusterResult, RestoreFromClusterSnapshotMessage, @@ -690,6 +717,8 @@ import { RevokeSnapshotAccessResult, RotateEncryptionKeyMessage, RotateEncryptionKeyResult, + ScheduledActionFilter, + ScheduledActionsMessage, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, @@ -870,6 +899,22 @@ export const serializeAws_queryCopyClusterSnapshotCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_queryCreateAuthenticationProfileCommand = async ( + input: CreateAuthenticationProfileCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_queryCreateAuthenticationProfileMessage(input, context), + Action: "CreateAuthenticationProfile", + Version: "2012-12-01", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_queryCreateClusterCommand = async ( input: CreateClusterCommandInput, context: __SerdeContext @@ -1094,6 +1139,22 @@ export const serializeAws_queryCreateUsageLimitCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_queryDeleteAuthenticationProfileCommand = async ( + input: DeleteAuthenticationProfileCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_queryDeleteAuthenticationProfileMessage(input, context), + Action: "DeleteAuthenticationProfile", + Version: "2012-12-01", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_queryDeleteClusterCommand = async ( input: DeleteClusterCommandInput, context: __SerdeContext @@ -1350,6 +1411,22 @@ export const serializeAws_queryDescribeAccountAttributesCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_queryDescribeAuthenticationProfilesCommand = async ( + input: DescribeAuthenticationProfilesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_queryDescribeAuthenticationProfilesMessage(input, context), + Action: "DescribeAuthenticationProfiles", + Version: "2012-12-01", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_queryDescribeClusterDbRevisionsCommand = async ( input: DescribeClusterDbRevisionsCommandInput, context: __SerdeContext @@ -1956,6 +2033,22 @@ export const serializeAws_queryModifyAquaConfigurationCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_queryModifyAuthenticationProfileCommand = async ( + input: ModifyAuthenticationProfileCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_queryModifyAuthenticationProfileMessage(input, context), + Action: "ModifyAuthenticationProfile", + Version: "2012-12-01", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_queryModifyClusterCommand = async ( input: ModifyClusterCommandInput, context: __SerdeContext @@ -3118,6 +3211,76 @@ const deserializeAws_queryCopyClusterSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_queryCreateAuthenticationProfileCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_queryCreateAuthenticationProfileCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_queryCreateAuthenticationProfileResult(data.CreateAuthenticationProfileResult, context); + const response: CreateAuthenticationProfileCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_queryCreateAuthenticationProfileCommandError = 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: string = "UnknownError"; + errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AuthenticationProfileAlreadyExistsFault": + case "com.amazonaws.redshift#AuthenticationProfileAlreadyExistsFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileAlreadyExistsFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AuthenticationProfileQuotaExceededFault": + case "com.amazonaws.redshift#AuthenticationProfileQuotaExceededFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileQuotaExceededFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidAuthenticationProfileRequestFault": + case "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": + response = { + ...(await deserializeAws_queryInvalidAuthenticationProfileRequestFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; + response = { + ...parsedBody.Error, + name: `${errorCode}`, + message: parsedBody.Error.message || parsedBody.Error.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_queryCreateClusterCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -4583,6 +4746,68 @@ const deserializeAws_queryCreateUsageLimitCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_queryDeleteAuthenticationProfileCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_queryDeleteAuthenticationProfileCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_queryDeleteAuthenticationProfileResult(data.DeleteAuthenticationProfileResult, context); + const response: DeleteAuthenticationProfileCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_queryDeleteAuthenticationProfileCommandError = 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: string = "UnknownError"; + errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AuthenticationProfileNotFoundFault": + case "com.amazonaws.redshift#AuthenticationProfileNotFoundFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileNotFoundFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidAuthenticationProfileRequestFault": + case "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": + response = { + ...(await deserializeAws_queryInvalidAuthenticationProfileRequestFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; + response = { + ...parsedBody.Error, + name: `${errorCode}`, + message: parsedBody.Error.message || parsedBody.Error.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_queryDeleteClusterCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5590,6 +5815,71 @@ const deserializeAws_queryDescribeAccountAttributesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_queryDescribeAuthenticationProfilesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_queryDescribeAuthenticationProfilesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_queryDescribeAuthenticationProfilesResult( + data.DescribeAuthenticationProfilesResult, + context + ); + const response: DescribeAuthenticationProfilesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_queryDescribeAuthenticationProfilesCommandError = 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: string = "UnknownError"; + errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AuthenticationProfileNotFoundFault": + case "com.amazonaws.redshift#AuthenticationProfileNotFoundFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileNotFoundFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidAuthenticationProfileRequestFault": + case "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": + response = { + ...(await deserializeAws_queryInvalidAuthenticationProfileRequestFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; + response = { + ...parsedBody.Error, + name: `${errorCode}`, + message: parsedBody.Error.message || parsedBody.Error.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_queryDescribeClusterDbRevisionsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -8024,6 +8314,76 @@ const deserializeAws_queryModifyAquaConfigurationCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_queryModifyAuthenticationProfileCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_queryModifyAuthenticationProfileCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_queryModifyAuthenticationProfileResult(data.ModifyAuthenticationProfileResult, context); + const response: ModifyAuthenticationProfileCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_queryModifyAuthenticationProfileCommandError = 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: string = "UnknownError"; + errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AuthenticationProfileNotFoundFault": + case "com.amazonaws.redshift#AuthenticationProfileNotFoundFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileNotFoundFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AuthenticationProfileQuotaExceededFault": + case "com.amazonaws.redshift#AuthenticationProfileQuotaExceededFault": + response = { + ...(await deserializeAws_queryAuthenticationProfileQuotaExceededFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidAuthenticationProfileRequestFault": + case "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": + response = { + ...(await deserializeAws_queryInvalidAuthenticationProfileRequestFaultResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; + response = { + ...parsedBody.Error, + name: `${errorCode}`, + message: parsedBody.Error.message || parsedBody.Error.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_queryModifyClusterCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -10454,6 +10814,51 @@ const deserializeAws_queryAccessToSnapshotDeniedFaultResponse = async ( return contents; }; +const deserializeAws_queryAuthenticationProfileAlreadyExistsFaultResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_queryAuthenticationProfileAlreadyExistsFault(body.Error, context); + const contents: AuthenticationProfileAlreadyExistsFault = { + name: "AuthenticationProfileAlreadyExistsFault", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_queryAuthenticationProfileNotFoundFaultResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_queryAuthenticationProfileNotFoundFault(body.Error, context); + const contents: AuthenticationProfileNotFoundFault = { + name: "AuthenticationProfileNotFoundFault", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_queryAuthenticationProfileQuotaExceededFaultResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_queryAuthenticationProfileQuotaExceededFault(body.Error, context); + const contents: AuthenticationProfileQuotaExceededFault = { + name: "AuthenticationProfileQuotaExceededFault", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_queryAuthorizationAlreadyExistsFaultResponse = async ( parsedOutput: any, context: __SerdeContext @@ -11114,6 +11519,21 @@ const deserializeAws_queryInsufficientS3BucketPolicyFaultResponse = async ( return contents; }; +const deserializeAws_queryInvalidAuthenticationProfileRequestFaultResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_queryInvalidAuthenticationProfileRequestFault(body.Error, context); + const contents: InvalidAuthenticationProfileRequestFault = { + name: "InvalidAuthenticationProfileRequestFault", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_queryInvalidAuthorizationStateFaultResponse = async ( parsedOutput: any, context: __SerdeContext @@ -12371,6 +12791,20 @@ const serializeAws_queryCopyClusterSnapshotMessage = ( return entries; }; +const serializeAws_queryCreateAuthenticationProfileMessage = ( + input: CreateAuthenticationProfileMessage, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.AuthenticationProfileName !== undefined && input.AuthenticationProfileName !== null) { + entries["AuthenticationProfileName"] = input.AuthenticationProfileName; + } + if (input.AuthenticationProfileContent !== undefined && input.AuthenticationProfileContent !== null) { + entries["AuthenticationProfileContent"] = input.AuthenticationProfileContent; + } + return entries; +}; + const serializeAws_queryCreateClusterMessage = (input: CreateClusterMessage, context: __SerdeContext): any => { const entries: any = {}; if (input.DBName !== undefined && input.DBName !== null) { @@ -12856,6 +13290,17 @@ const serializeAws_queryDbGroupList = (input: string[], context: __SerdeContext) return entries; }; +const serializeAws_queryDeleteAuthenticationProfileMessage = ( + input: DeleteAuthenticationProfileMessage, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.AuthenticationProfileName !== undefined && input.AuthenticationProfileName !== null) { + entries["AuthenticationProfileName"] = input.AuthenticationProfileName; + } + return entries; +}; + const serializeAws_queryDeleteClusterMessage = (input: DeleteClusterMessage, context: __SerdeContext): any => { const entries: any = {}; if (input.ClusterIdentifier !== undefined && input.ClusterIdentifier !== null) { @@ -13054,6 +13499,17 @@ const serializeAws_queryDescribeAccountAttributesMessage = ( return entries; }; +const serializeAws_queryDescribeAuthenticationProfilesMessage = ( + input: DescribeAuthenticationProfilesMessage, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.AuthenticationProfileName !== undefined && input.AuthenticationProfileName !== null) { + entries["AuthenticationProfileName"] = input.AuthenticationProfileName; + } + return entries; +}; + const serializeAws_queryDescribeClusterDbRevisionsMessage = ( input: DescribeClusterDbRevisionsMessage, context: __SerdeContext @@ -13956,6 +14412,20 @@ const serializeAws_queryModifyAquaInputMessage = (input: ModifyAquaInputMessage, return entries; }; +const serializeAws_queryModifyAuthenticationProfileMessage = ( + input: ModifyAuthenticationProfileMessage, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.AuthenticationProfileName !== undefined && input.AuthenticationProfileName !== null) { + entries["AuthenticationProfileName"] = input.AuthenticationProfileName; + } + if (input.AuthenticationProfileContent !== undefined && input.AuthenticationProfileContent !== null) { + entries["AuthenticationProfileContent"] = input.AuthenticationProfileContent; + } + return entries; +}; + const serializeAws_queryModifyClusterDbRevisionMessage = ( input: ModifyClusterDbRevisionMessage, context: __SerdeContext @@ -15140,6 +15610,73 @@ const deserializeAws_queryAttributeValueTarget = (output: any, context: __SerdeC return contents; }; +const deserializeAws_queryAuthenticationProfile = (output: any, context: __SerdeContext): AuthenticationProfile => { + let contents: any = { + AuthenticationProfileName: undefined, + AuthenticationProfileContent: undefined, + }; + if (output["AuthenticationProfileName"] !== undefined) { + contents.AuthenticationProfileName = __expectString(output["AuthenticationProfileName"]); + } + if (output["AuthenticationProfileContent"] !== undefined) { + contents.AuthenticationProfileContent = __expectString(output["AuthenticationProfileContent"]); + } + return contents; +}; + +const deserializeAws_queryAuthenticationProfileAlreadyExistsFault = ( + output: any, + context: __SerdeContext +): AuthenticationProfileAlreadyExistsFault => { + let contents: any = { + message: undefined, + }; + if (output["message"] !== undefined) { + contents.message = __expectString(output["message"]); + } + return contents; +}; + +const deserializeAws_queryAuthenticationProfileList = ( + output: any, + context: __SerdeContext +): AuthenticationProfile[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_queryAuthenticationProfile(entry, context); + }); +}; + +const deserializeAws_queryAuthenticationProfileNotFoundFault = ( + output: any, + context: __SerdeContext +): AuthenticationProfileNotFoundFault => { + let contents: any = { + message: undefined, + }; + if (output["message"] !== undefined) { + contents.message = __expectString(output["message"]); + } + return contents; +}; + +const deserializeAws_queryAuthenticationProfileQuotaExceededFault = ( + output: any, + context: __SerdeContext +): AuthenticationProfileQuotaExceededFault => { + let contents: any = { + message: undefined, + }; + if (output["message"] !== undefined) { + contents.message = __expectString(output["message"]); + } + return contents; +}; + const deserializeAws_queryAuthorizationAlreadyExistsFault = ( output: any, context: __SerdeContext @@ -16464,6 +17001,23 @@ const deserializeAws_queryCopyToRegionDisabledFault = ( return contents; }; +const deserializeAws_queryCreateAuthenticationProfileResult = ( + output: any, + context: __SerdeContext +): CreateAuthenticationProfileResult => { + let contents: any = { + AuthenticationProfileName: undefined, + AuthenticationProfileContent: undefined, + }; + if (output["AuthenticationProfileName"] !== undefined) { + contents.AuthenticationProfileName = __expectString(output["AuthenticationProfileName"]); + } + if (output["AuthenticationProfileContent"] !== undefined) { + contents.AuthenticationProfileContent = __expectString(output["AuthenticationProfileContent"]); + } + return contents; +}; + const deserializeAws_queryCreateClusterParameterGroupResult = ( output: any, context: __SerdeContext @@ -16687,6 +17241,19 @@ const deserializeAws_queryDeferredMaintenanceWindowsList = ( }); }; +const deserializeAws_queryDeleteAuthenticationProfileResult = ( + output: any, + context: __SerdeContext +): DeleteAuthenticationProfileResult => { + let contents: any = { + AuthenticationProfileName: undefined, + }; + if (output["AuthenticationProfileName"] !== undefined) { + contents.AuthenticationProfileName = __expectString(output["AuthenticationProfileName"]); + } + return contents; +}; + const deserializeAws_queryDeleteClusterResult = (output: any, context: __SerdeContext): DeleteClusterResult => { let contents: any = { Cluster: undefined, @@ -16736,6 +17303,25 @@ const deserializeAws_queryDependentServiceUnavailableFault = ( return contents; }; +const deserializeAws_queryDescribeAuthenticationProfilesResult = ( + output: any, + context: __SerdeContext +): DescribeAuthenticationProfilesResult => { + let contents: any = { + AuthenticationProfiles: undefined, + }; + if (output.AuthenticationProfiles === "") { + contents.AuthenticationProfiles = []; + } + if (output["AuthenticationProfiles"] !== undefined && output["AuthenticationProfiles"]["member"] !== undefined) { + contents.AuthenticationProfiles = deserializeAws_queryAuthenticationProfileList( + __getArrayIfSingleItem(output["AuthenticationProfiles"]["member"]), + context + ); + } + return contents; +}; + const deserializeAws_queryDescribeDefaultClusterParametersResult = ( output: any, context: __SerdeContext @@ -17772,6 +18358,19 @@ const deserializeAws_queryInsufficientS3BucketPolicyFault = ( return contents; }; +const deserializeAws_queryInvalidAuthenticationProfileRequestFault = ( + output: any, + context: __SerdeContext +): InvalidAuthenticationProfileRequestFault => { + let contents: any = { + message: undefined, + }; + if (output["message"] !== undefined) { + contents.message = __expectString(output["message"]); + } + return contents; +}; + const deserializeAws_queryInvalidAuthorizationStateFault = ( output: any, context: __SerdeContext @@ -18208,6 +18807,23 @@ const deserializeAws_queryModifyAquaOutputMessage = (output: any, context: __Ser return contents; }; +const deserializeAws_queryModifyAuthenticationProfileResult = ( + output: any, + context: __SerdeContext +): ModifyAuthenticationProfileResult => { + let contents: any = { + AuthenticationProfileName: undefined, + AuthenticationProfileContent: undefined, + }; + if (output["AuthenticationProfileName"] !== undefined) { + contents.AuthenticationProfileName = __expectString(output["AuthenticationProfileName"]); + } + if (output["AuthenticationProfileContent"] !== undefined) { + contents.AuthenticationProfileContent = __expectString(output["AuthenticationProfileContent"]); + } + return contents; +}; + const deserializeAws_queryModifyClusterDbRevisionResult = ( output: any, context: __SerdeContext diff --git a/clients/client-redshift/waiters/waitForClusterAvailable.ts b/clients/client-redshift/waiters/waitForClusterAvailable.ts new file mode 100644 index 0000000000000..bb8264d841ab1 --- /dev/null +++ b/clients/client-redshift/waiters/waitForClusterAvailable.ts @@ -0,0 +1,71 @@ +import { RedshiftClient } from "../RedshiftClient"; +import { DescribeClustersCommand, DescribeClustersCommandInput } from "../commands/DescribeClustersCommand"; +import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter"; + +const checkState = async (client: RedshiftClient, input: DescribeClustersCommandInput): Promise => { + let reason; + try { + let result: any = await client.send(new DescribeClustersCommand(input)); + reason = result; + try { + let returnComparator = () => { + let flat_1: any[] = [].concat(...result.Clusters); + let projection_3 = flat_1.map((element_2: any) => { + return element_2.ClusterStatus; + }); + return projection_3; + }; + let allStringEq_5 = returnComparator().length > 0; + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: WaiterState.SUCCESS, reason }; + } + } catch (e) {} + try { + let returnComparator = () => { + let flat_1: any[] = [].concat(...result.Clusters); + let projection_3 = flat_1.map((element_2: any) => { + return element_2.ClusterStatus; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: WaiterState.FAILURE, reason }; + } + } + } catch (e) {} + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "ClusterNotFound") { + return { state: WaiterState.RETRY, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +/** + * + * @deprecated Use waitUntilClusterAvailable instead. waitForClusterAvailable does not throw error in non-success cases. + */ +export const waitForClusterAvailable = async ( + params: WaiterConfiguration, + input: DescribeClustersCommandInput +): Promise => { + const serviceDefaults = { minDelay: 60, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to DescribeClustersCommand for polling. + */ +export const waitUntilClusterAvailable = async ( + params: WaiterConfiguration, + input: DescribeClustersCommandInput +): Promise => { + const serviceDefaults = { minDelay: 60, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/clients/client-redshift/waiters/waitForClusterDeleted.ts b/clients/client-redshift/waiters/waitForClusterDeleted.ts new file mode 100644 index 0000000000000..f4e6a49ddaa3d --- /dev/null +++ b/clients/client-redshift/waiters/waitForClusterDeleted.ts @@ -0,0 +1,69 @@ +import { RedshiftClient } from "../RedshiftClient"; +import { DescribeClustersCommand, DescribeClustersCommandInput } from "../commands/DescribeClustersCommand"; +import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter"; + +const checkState = async (client: RedshiftClient, input: DescribeClustersCommandInput): Promise => { + let reason; + try { + let result: any = await client.send(new DescribeClustersCommand(input)); + reason = result; + try { + let returnComparator = () => { + let flat_1: any[] = [].concat(...result.Clusters); + let projection_3 = flat_1.map((element_2: any) => { + return element_2.ClusterStatus; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "creating") { + return { state: WaiterState.FAILURE, reason }; + } + } + } catch (e) {} + try { + let returnComparator = () => { + let flat_1: any[] = [].concat(...result.Clusters); + let projection_3 = flat_1.map((element_2: any) => { + return element_2.ClusterStatus; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "modifying") { + return { state: WaiterState.FAILURE, reason }; + } + } + } catch (e) {} + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "ClusterNotFound") { + return { state: WaiterState.SUCCESS, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +/** + * + * @deprecated Use waitUntilClusterDeleted instead. waitForClusterDeleted does not throw error in non-success cases. + */ +export const waitForClusterDeleted = async ( + params: WaiterConfiguration, + input: DescribeClustersCommandInput +): Promise => { + const serviceDefaults = { minDelay: 60, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to DescribeClustersCommand for polling. + */ +export const waitUntilClusterDeleted = async ( + params: WaiterConfiguration, + input: DescribeClustersCommandInput +): Promise => { + const serviceDefaults = { minDelay: 60, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts b/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts index 0fba224b98e90..190b56d1eb47d 100644 --- a/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts @@ -1,6 +1,5 @@ import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; -import { UpdateModelPackageInput } from "../models/models_2"; -import { UpdateModelPackageOutput } from "../models/models_3"; +import { UpdateModelPackageInput, UpdateModelPackageOutput } from "../models/models_3"; import { deserializeAws_json1_1UpdateModelPackageCommand, serializeAws_json1_1UpdateModelPackageCommand, diff --git a/clients/client-sagemaker/models/models_0.ts b/clients/client-sagemaker/models/models_0.ts index 0d5d4ed961c0a..bed8e60ba8a55 100644 --- a/clients/client-sagemaker/models/models_0.ts +++ b/clients/client-sagemaker/models/models_0.ts @@ -5227,8 +5227,9 @@ export enum RepositoryAccessMode { /** *

                                            Specifies an authentication configuration for the private docker registry where your * model image is hosted. Specify a value for this property only if you specified - * Vpc as the value for the RepositoryAccessMode field of the - * ImageConfig object that you passed to a call to CreateModel and the private Docker registry where the model image is + * Vpc as the value for the RepositoryAccessMode field of the + * ImageConfig object that you passed to a call to CreateModel + * and the private Docker registry where the model image is * hosted requires authentication.

                                            */ export interface RepositoryAuthConfig { diff --git a/clients/client-sagemaker/models/models_2.ts b/clients/client-sagemaker/models/models_2.ts index 965e0e3a0f91e..653d3036d181d 100644 --- a/clients/client-sagemaker/models/models_2.ts +++ b/clients/client-sagemaker/models/models_2.ts @@ -6209,6 +6209,25 @@ export namespace TransformJobStepMetadata { }); } +/** + *

                                            Metadata for a tuning step.

                                            + */ +export interface TuningJobStepMetaData { + /** + *

                                            The Amazon Resource Name (ARN) of the tuning job that was run by this step execution.

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

                                            Metadata for a step execution.

                                            */ @@ -6228,6 +6247,11 @@ export interface PipelineExecutionStepMetadata { */ TransformJob?: TransformJobStepMetadata; + /** + *

                                            The Amazon Resource Name (ARN) of the tuning job that was run by this step execution.

                                            + */ + TuningJob?: TuningJobStepMetaData; + /** *

                                            Metadata for the Model step.

                                            */ @@ -10513,29 +10537,3 @@ export namespace UpdateImageResponse { ...obj, }); } - -export interface UpdateModelPackageInput { - /** - *

                                            The Amazon Resource Name (ARN) of the model.

                                            - */ - ModelPackageArn: string | undefined; - - /** - *

                                            The approval status of the model.

                                            - */ - ModelApprovalStatus: ModelApprovalStatus | string | undefined; - - /** - *

                                            A description for the approval status of the model.

                                            - */ - ApprovalDescription?: string; -} - -export namespace UpdateModelPackageInput { - /** - * @internal - */ - export const filterSensitiveLog = (obj: UpdateModelPackageInput): any => ({ - ...obj, - }); -} diff --git a/clients/client-sagemaker/models/models_3.ts b/clients/client-sagemaker/models/models_3.ts index 093c80d8403c3..55b2703644789 100644 --- a/clients/client-sagemaker/models/models_3.ts +++ b/clients/client-sagemaker/models/models_3.ts @@ -1,6 +1,7 @@ import { BooleanOperator, UserSettings } from "./models_0"; import { MemberDefinition, + ModelApprovalStatus, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, @@ -24,6 +25,32 @@ import { Workteam, } from "./models_2"; +export interface UpdateModelPackageInput { + /** + *

                                            The Amazon Resource Name (ARN) of the model.

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

                                            The approval status of the model.

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

                                            A description for the approval status of the model.

                                            + */ + ApprovalDescription?: string; +} + +export namespace UpdateModelPackageInput { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateModelPackageInput): any => ({ + ...obj, + }); +} + export interface UpdateModelPackageOutput { /** *

                                            The Amazon Resource Name (ARN) of the model.

                                            diff --git a/clients/client-sagemaker/protocols/Aws_json1_1.ts b/clients/client-sagemaker/protocols/Aws_json1_1.ts index 8d80c5fa9c8d9..93e270001c10f 100644 --- a/clients/client-sagemaker/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/protocols/Aws_json1_1.ts @@ -1291,6 +1291,7 @@ import { TrialComponentSourceDetail, TrialComponentSummary, TrialSummary, + TuningJobStepMetaData, UpdateActionRequest, UpdateActionResponse, UpdateAppImageConfigRequest, @@ -1313,7 +1314,6 @@ import { UpdateExperimentResponse, UpdateImageRequest, UpdateImageResponse, - UpdateModelPackageInput, UserProfileDetails, VariantProperty, Workforce, @@ -1322,6 +1322,7 @@ import { import { SearchExpression, SearchRequest, + UpdateModelPackageInput, UpdateModelPackageOutput, UpdateMonitoringScheduleRequest, UpdateMonitoringScheduleResponse, @@ -31308,6 +31309,10 @@ const deserializeAws_json1_1PipelineExecutionStepMetadata = ( output.TransformJob !== undefined && output.TransformJob !== null ? deserializeAws_json1_1TransformJobStepMetadata(output.TransformJob, context) : undefined, + TuningJob: + output.TuningJob !== undefined && output.TuningJob !== null + ? deserializeAws_json1_1TuningJobStepMetaData(output.TuningJob, context) + : undefined, } as any; }; @@ -33208,6 +33213,12 @@ const deserializeAws_json1_1TuningJobCompletionCriteria = ( } as any; }; +const deserializeAws_json1_1TuningJobStepMetaData = (output: any, context: __SerdeContext): TuningJobStepMetaData => { + return { + Arn: __expectString(output.Arn), + } as any; +}; + const deserializeAws_json1_1UiConfig = (output: any, context: __SerdeContext): UiConfig => { return { HumanTaskUiArn: __expectString(output.HumanTaskUiArn), diff --git a/clients/client-ssm/README.md b/clients/client-ssm/README.md index d5e12e1f3db9e..42fd9f1d775de 100644 --- a/clients/client-ssm/README.md +++ b/clients/client-ssm/README.md @@ -7,19 +7,17 @@ AWS SDK for JavaScript SSM Client for Node.js, Browser and React Native. -AWS Systems Manager - -

                                            AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as +

                                            Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed instances. A managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any on-premises server or virtual machine (VM) in your hybrid environment that has been configured for Systems Manager.

                                            -

                                            This reference is intended to be used with the AWS Systems Manager User Guide.

                                            +

                                            This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

                                            To get started, verify prerequisites and configure managed instances. For more information, see Setting up -AWS Systems Manager in the AWS Systems Manager User Guide.

                                            +Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

                                            Related resources

                                            @@ -28,15 +26,16 @@ AWS Systems Manager in the AWS Systems Manager User Guide.

                                            For information about how to use a Query API, see Making API requests.

                                          • -

                                            For information about other API actions you can perform on EC2 instances, see the Amazon EC2 API Reference.

                                            +

                                            For information about other API operations you can perform on EC2 instances, see the +Amazon EC2 API Reference.

                                          • -

                                            For information about AWS AppConfig, a capability of Systems Manager, see the AWS AppConfig User Guide and the AWS AppConfig API +

                                            For information about AppConfig, a capability of Systems Manager, see the AppConfig User Guide and the AppConfig API Reference.

                                          • -

                                            For information about AWS Incident Manager, a capability of Systems Manager, see the AWS Incident Manager User Guide -and the AWS Incident Manager API +

                                            For information about Incident Manager, a capability of Systems Manager, see the Incident Manager User Guide +and the Incident Manager API Reference.

                                          diff --git a/clients/client-ssm/SSM.ts b/clients/client-ssm/SSM.ts index 32847fe3f65ee..45fd970897ef5 100644 --- a/clients/client-ssm/SSM.ts +++ b/clients/client-ssm/SSM.ts @@ -665,18 +665,17 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - * AWS Systems Manager - *

                                          AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as + *

                                          Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as * collecting system inventory, applying operating system (OS) patches, automating the creation of * Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. * Systems Manager lets you remotely and securely manage the configuration of your managed instances. A * managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any * on-premises server or virtual machine (VM) in your hybrid environment that has been configured * for Systems Manager.

                                          - *

                                          This reference is intended to be used with the AWS Systems Manager User Guide.

                                          + *

                                          This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

                                          *

                                          To get started, verify prerequisites and configure managed instances. For more information, * see Setting up - * AWS Systems Manager in the AWS Systems Manager User Guide.

                                          + * Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

                                          *

                                          * Related resources *

                                          @@ -685,15 +684,16 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; *

                                          For information about how to use a Query API, see Making API requests.

                                          *
                                        • *
                                        • - *

                                          For information about other API actions you can perform on EC2 instances, see the Amazon EC2 API Reference.

                                          + *

                                          For information about other API operations you can perform on EC2 instances, see the + * Amazon EC2 API Reference.

                                          *
                                        • *
                                        • - *

                                          For information about AWS AppConfig, a capability of Systems Manager, see the AWS AppConfig User Guide and the AWS AppConfig API + *

                                          For information about AppConfig, a capability of Systems Manager, see the AppConfig User Guide and the AppConfig API * Reference.

                                          *
                                        • *
                                        • - *

                                          For information about AWS Incident Manager, a capability of Systems Manager, see the AWS Incident Manager User Guide - * and the AWS Incident Manager API + *

                                          For information about Incident Manager, a capability of Systems Manager, see the Incident Manager User Guide + * and the Incident Manager API * Reference.

                                          *
                                        • *
                                        @@ -705,16 +705,46 @@ export class SSM extends SSMClient { * and patch baselines. Tags enable you to categorize your resources in different ways, for example, * by purpose, owner, or environment. Each tag consists of a key and an optional value, both of * which you define. For example, you could define a set of tags for your account's managed - * instances that helps you track each instance's owner and stack level. For example: Key=Owner and - * Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or - * Test.

                                        - *

                                        Each resource can have a maximum of 50 tags.

                                        + * instances that helps you track each instance's owner and stack level. For example:

                                        + *
                                          + *
                                        • + *

                                          + * Key=Owner,Value=DbAdmin + *

                                          + *
                                        • + *
                                        • + *

                                          + * Key=Owner,Value=SysAdmin + *

                                          + *
                                        • + *
                                        • + *

                                          + * Key=Owner,Value=Dev + *

                                          + *
                                        • + *
                                        • + *

                                          + * Key=Stack,Value=Production + *

                                          + *
                                        • + *
                                        • + *

                                          + * Key=Stack,Value=Pre-Production + *

                                          + *
                                        • + *
                                        • + *

                                          + * Key=Stack,Value=Test + *

                                          + *
                                        • + *
                                        + *

                                        Each resource can have a maximum of 50 tags.

                                        *

                                        We recommend that you devise a set of tag keys that meets your needs for each resource type. * Using a consistent set of tag keys makes it easier for you to manage your resources. You can * search and filter the resources based on the tags you add. Tags don't have any semantic meaning * to and are interpreted strictly as a string of characters.

                                        - *

                                        For more information about using tags with EC2 instances, see Tagging your Amazon EC2 resources in the - * Amazon EC2 User Guide.

                                        + *

                                        For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 + * resources in the Amazon EC2 User Guide.

                                        */ public addTagsToResource( args: AddTagsToResourceCommandInput, @@ -746,9 +776,9 @@ export class SSM extends SSMClient { } /** - *

                                        Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can - * associate an Incident Manager incident or analysis with an OpsItem. Incident Manager is a - * capability of AWS Systems Manager.

                                        + *

                                        Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can associate + * an Incident Manager incident or analysis with an OpsItem. Incident Manager is a capability of + * Amazon Web Services Systems Manager.

                                        */ public associateOpsItemRelatedItem( args: AssociateOpsItemRelatedItemCommandInput, @@ -814,8 +844,8 @@ export class SSM extends SSMClient { /** *

                                        Stops a maintenance window execution that is already in progress and cancels any tasks in - * the window that have not already starting running. (Tasks already in progress will continue to - * completion.)

                                        + * the window that haven't already starting running. Tasks already in progress will continue to + * completion.

                                        */ public cancelMaintenanceWindowExecution( args: CancelMaintenanceWindowExecutionCommandInput, @@ -848,14 +878,14 @@ export class SSM extends SSMClient { /** *

                                        Generates an activation code and activation ID you can use to register your on-premises - * server or virtual machine (VM) with Systems Manager. Registering these machines with Systems Manager makes it + * server or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it * possible to manage them using Systems Manager capabilities. You use the activation code and ID when * installing SSM Agent on machines in your hybrid environment. For more information about * requirements for managing on-premises instances and VMs using Systems Manager, see Setting up - * AWS Systems Manager for hybrid environments in the AWS Systems Manager User Guide.

                                        + * Amazon Web Services Systems Manager for hybrid environments in the Amazon Web Services Systems Manager User Guide.

                                        * - *

                                        On-premises servers or VMs that are registered with Systems Manager and EC2 instances that you manage - * with Systems Manager are all called managed instances.

                                        + *

                                        On-premises servers or VMs that are registered with Systems Manager and Amazon Elastic Compute Cloud (Amazon EC2) instances + * that you manage with Systems Manager are all called managed instances.

                                        *
                                        */ public createActivation( @@ -891,13 +921,13 @@ export class SSM extends SSMClient { *

                                        A State Manager association defines the state that you want to maintain on your instances. * For example, an association can specify that anti-virus software must be installed and running on * your instances, or that certain ports must be closed. For static targets, the association - * specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an AWS - * Resource Group or an AWS Autoscaling Group, State Manager applies the configuration when new - * instances are added to the group. The association also specifies actions to take when applying - * the configuration. For example, an association for anti-virus software might run once a day. If - * the software is not installed, then State Manager installs it. If the software is installed, but - * the service is not running, then the association might instruct State Manager to start the - * service.

                                        + * specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an + * Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a capability of Amazon Web Services Systems Manager + * applies the configuration when new instances are added to the group. The association also + * specifies actions to take when applying the configuration. For example, an association for + * anti-virus software might run once a day. If the software isn't installed, then State Manager + * installs it. If the software is installed, but the service isn't running, then the association + * might instruct State Manager to start the service.

                                        */ public createAssociation( args: CreateAssociationCommandInput, @@ -929,10 +959,11 @@ export class SSM extends SSMClient { } /** - *

                                        Associates the specified Systems Manager document with the specified instances or targets.

                                        + *

                                        Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified instances or + * targets.

                                        *

                                        When you associate a document with one or more instances using instance IDs or tags, - * SSM Agent running on the instance processes the document and configures the instance as - * specified.

                                        + * Amazon Web Services Systems Manager Agent (SSM Agent) running on the instance processes the document and configures the + * instance as specified.

                                        *

                                        If you associate a document with an instance that already has an associated document, the * system returns the AssociationAlreadyExists exception.

                                        */ @@ -966,10 +997,10 @@ export class SSM extends SSMClient { } /** - *

                                        Creates a Systems Manager (SSM) document. An SSM document defines the actions that Systems Manager performs on - * your managed instances. For more information about SSM documents, including information about - * supported schemas, features, and syntax, see AWS Systems Manager Documents in the - * AWS Systems Manager User Guide.

                                        + *

                                        Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs + * on your managed instances. For more information about SSM documents, including information about + * supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the + * Amazon Web Services Systems Manager User Guide.

                                        */ public createDocument( args: CreateDocumentCommandInput, @@ -1041,13 +1072,12 @@ export class SSM extends SSMClient { } /** - *

                                        Creates a new OpsItem. You must have permission in AWS Identity and Access Management (IAM) - * to create a new OpsItem. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                        - *

                                        Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                        + *

                                        Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                        + *

                                        Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see Amazon Web Services Systems Manager OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                        */ public createOpsItem( args: CreateOpsItemCommandInput, @@ -1079,7 +1109,7 @@ export class SSM extends SSMClient { } /** - *

                                        If you create a new application in Application Manager, Systems Manager calls this API action to specify + *

                                        If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify * information about the new application, including the application type.

                                        */ public createOpsMetadata( @@ -1114,8 +1144,8 @@ export class SSM extends SSMClient { /** *

                                        Creates a patch baseline.

                                        * - *

                                        For information about valid key and value pairs in PatchFilters for each - * supported operating system type, see PatchFilter.

                                        + *

                                        For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

                                        *
                                        */ public createPatchBaseline( @@ -1148,25 +1178,26 @@ export class SSM extends SSMClient { } /** - *

                                        A resource data sync helps you view data from multiple sources in a single location. Systems - * Manager offers two types of resource data sync: SyncToDestination and + *

                                        A resource data sync helps you view data from multiple sources in a single location. + * Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination and * SyncFromSource.

                                        *

                                        You can configure Systems Manager Inventory to use the SyncToDestination type to - * synchronize Inventory data from multiple AWS Regions to a single S3 bucket. For more information, - * see Configuring Resource Data - * Sync for Inventory in the AWS Systems Manager User Guide.

                                        + * synchronize Inventory data from multiple Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Configuring resource data + * sync for Inventory in the Amazon Web Services Systems Manager User Guide.

                                        *

                                        You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize - * operational work items (OpsItems) and operational data (OpsData) from multiple AWS Regions to a - * single S3 bucket. This type can synchronize OpsItems and OpsData from multiple AWS accounts and - * Regions or EntireOrganization by using AWS Organizations. For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the - * AWS Systems Manager User Guide.

                                        + * operational work items (OpsItems) and operational data (OpsData) from multiple Regions to a + * single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple + * accounts and Regions or EntireOrganization by using Organizations. For more + * information, see Setting up Systems Manager + * Explorer to display data from multiple accounts and Regions in the + * Amazon Web Services Systems Manager User Guide.

                                        *

                                        A resource data sync is an asynchronous operation that returns immediately. After a * successful initial sync is completed, the system continuously syncs data. To check the status of * a sync, use the ListResourceDataSync.

                                        * - *

                                        By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption - * in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 - * bucket by creating a restrictive bucket policy.

                                        + *

                                        By default, data isn't encrypted in Amazon S3. We strongly recommend that you + * enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you + * secure access to the Amazon S3 bucket by creating a restrictive bucket policy.

                                        *
                                        */ public createResourceDataSync( @@ -1199,9 +1230,9 @@ export class SSM extends SSMClient { } /** - *

                                        Deletes an activation. You are not required to delete an activation. If you delete an + *

                                        Deletes an activation. You aren't required to delete an activation. If you delete an * activation, you can no longer use it to register additional managed instances. Deleting an - * activation does not de-register managed instances. You must manually de-register managed + * activation doesn't de-register managed instances. You must manually de-register managed * instances.

                                        */ public deleteActivation( @@ -1234,8 +1265,9 @@ export class SSM extends SSMClient { } /** - *

                                        Disassociates the specified Systems Manager document from the specified instance.

                                        - *

                                        When you disassociate a document from an instance, it does not change the configuration of + *

                                        Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified + * instance.

                                        + *

                                        When you disassociate a document from an instance, it doesn't change the configuration of * the instance. To change the configuration state of an instance after you disassociate a document, * you must create a new document with the desired configuration and associate it with the * instance.

                                        @@ -1270,7 +1302,8 @@ export class SSM extends SSMClient { } /** - *

                                        Deletes the Systems Manager document and all instance associations to the document.

                                        + *

                                        Deletes the Amazon Web Services Systems Manager document (SSM document) and all instance associations to the + * document.

                                        *

                                        Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

                                        */ public deleteDocument( @@ -1496,9 +1529,9 @@ export class SSM extends SSMClient { } /** - *

                                        Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to + *

                                        Deletes a resource data sync configuration. After the configuration is deleted, changes to * data on managed instances are no longer synced to or from the target. Deleting a sync - * configuration does not delete data.

                                        + * configuration doesn't delete data.

                                        */ public deleteResourceDataSync( args: DeleteResourceDataSyncCommandInput, @@ -1663,8 +1696,9 @@ export class SSM extends SSMClient { /** *

                                        Describes details about the activation, such as the date and time the activation was - * created, its expiration date, the IAM role assigned to the instances in the activation, and the - * number of instances registered by using this activation.

                                        + * created, its expiration date, the Identity and Access Management (IAM) role assigned to + * the instances in the activation, and the number of instances registered by using this + * activation.

                                        */ public describeActivations( args: DescribeActivationsCommandInput, @@ -1698,9 +1732,9 @@ export class SSM extends SSMClient { /** *

                                        Describes the association for the specified target or instance. If you created the * association by using the Targets parameter, then you must retrieve the association - * by using the association ID. If you created the association by specifying an instance ID and a - * Systems Manager document, then you retrieve the association by specifying the document name and the - * instance ID.

                                        + * by using the association ID. If you created the association by specifying an instance ID and an + * Amazon Web Services Systems Manager document (SSM document), then you retrieve the association by specifying the document + * name and the instance ID.

                                        */ public describeAssociation( args: DescribeAssociationCommandInput, @@ -1732,7 +1766,7 @@ export class SSM extends SSMClient { } /** - *

                                        Use this API action to view all executions for a specific association ID.

                                        + *

                                        Views all executions for a specific association ID.

                                        */ public describeAssociationExecutions( args: DescribeAssociationExecutionsCommandInput, @@ -1764,8 +1798,7 @@ export class SSM extends SSMClient { } /** - *

                                        Use this API action to view information about a specific execution of a specific - * association.

                                        + *

                                        Views information about a specific execution of a specific association.

                                        */ public describeAssociationExecutionTargets( args: DescribeAssociationExecutionTargetsCommandInput, @@ -1894,7 +1927,7 @@ export class SSM extends SSMClient { } /** - *

                                        Describes the specified Systems Manager document.

                                        + *

                                        Describes the specified Amazon Web Services Systems Manager document (SSM document).

                                        */ public describeDocument( args: DescribeDocumentCommandInput, @@ -1926,9 +1959,9 @@ export class SSM extends SSMClient { } /** - *

                                        Describes the permissions for a Systems Manager document. If you created the document, you are the - * owner. If a document is shared, it can either be shared privately (by specifying a user's AWS - * account ID) or publicly (All).

                                        + *

                                        Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the + * document, you are the owner. If a document is shared, it can either be shared privately (by + * specifying a user's account ID) or publicly (All).

                                        */ public describeDocumentPermission( args: DescribeDocumentPermissionCommandInput, @@ -1995,7 +2028,7 @@ export class SSM extends SSMClient { /** *

                                        Retrieves the current effective patches (the patch and the approval state) for the specified - * patch baseline. Note that this API applies only to Windows patch baselines.

                                        + * patch baseline. Applies to patch baselines for Windows only.

                                        */ public describeEffectivePatchesForPatchBaseline( args: DescribeEffectivePatchesForPatchBaselineCommandInput, @@ -2064,12 +2097,12 @@ export class SSM extends SSMClient { *

                                        Describes one or more of your instances, including information about the operating system * platform, the version of SSM Agent installed on the instance, instance status, and so on.

                                        *

                                        If you specify one or more instance IDs, it returns information for those instances. If you - * do not specify instance IDs, it returns information for all your instances. If you specify an - * instance ID that is not valid or an instance that you do not own, you receive an error.

                                        + * don't specify instance IDs, it returns information for all your instances. If you specify an + * instance ID that isn't valid or an instance that you don't own, you receive an error.

                                        * - *

                                        The IamRole field for this API action is the Amazon Identity and Access Management (IAM) - * role assigned to on-premises instances. This call does not return the IAM role for EC2 - * instances.

                                        + *

                                        The IamRole field for this API operation is the Identity and Access Management + * (IAM) role assigned to on-premises instances. This call doesn't return the + * IAM role for EC2 instances.

                                        *
                                        */ public describeInstanceInformation( @@ -2336,7 +2369,7 @@ export class SSM extends SSMClient { } /** - *

                                        Retrieves the maintenance windows in an AWS account.

                                        + *

                                        Retrieves the maintenance windows in an account.

                                        */ public describeMaintenanceWindows( args: DescribeMaintenanceWindowsCommandInput, @@ -2467,10 +2500,10 @@ export class SSM extends SSMClient { /** *

                                        Lists the tasks in a maintenance window.

                                        * - *

                                        For maintenance window tasks without a specified target, you cannot supply values for + *

                                        For maintenance window tasks without a specified target, you can't supply values for * --max-errors and --max-concurrency. Instead, the system inserts a * placeholder value of 1, which may be reported in the response to this command. - * These values do not affect the running of your task and can be ignored.

                                        + * These values don't affect the running of your task and can be ignored.

                                        *
                                        */ public describeMaintenanceWindowTasks( @@ -2503,13 +2536,12 @@ export class SSM extends SSMClient { } /** - *

                                        Query a set of OpsItems. You must have permission in AWS Identity and Access Management - * (IAM) to query a list of OpsItems. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                        - *

                                        Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                        + *

                                        Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                        + *

                                        Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                        */ public describeOpsItems( args: DescribeOpsItemsCommandInput, @@ -2542,14 +2574,12 @@ export class SSM extends SSMClient { /** *

                                        Get information about a parameter.

                                        - * - *

                                        Request results are returned on a best-effort basis. If you specify MaxResults - * in the request, the response includes information up to the limit specified. The number of items - * returned, however, can be between zero and the value of MaxResults. If the service - * reaches an internal limit while processing the results, it stops the operation and returns the - * matching values up to that point and a NextToken. You can specify the - * NextToken in a subsequent call to get the next set of results.

                                        - *
                                        + *

                                        Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

                                        */ public describeParameters( args: DescribeParametersCommandInput, @@ -2581,7 +2611,7 @@ export class SSM extends SSMClient { } /** - *

                                        Lists the patch baselines in your AWS account.

                                        + *

                                        Lists the patch baselines in your account.

                                        */ public describePatchBaselines( args: DescribePatchBaselinesCommandInput, @@ -2645,7 +2675,7 @@ export class SSM extends SSMClient { } /** - *

                                        Returns high-level aggregated patch compliance state for a patch group.

                                        + *

                                        Returns high-level aggregated patch compliance state information for a patch group.

                                        */ public describePatchGroupState( args: DescribePatchGroupStateCommandInput, @@ -2679,49 +2709,66 @@ export class SSM extends SSMClient { /** *

                                        Lists the properties of available patches organized by product, product family, * classification, severity, and other properties of available patches. You can use the reported - * properties in the filters you specify in requests for actions such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                        + * properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                        *

                                        The following section lists the properties that can be used in filters for each major * operating system type:

                                        *
                                        *
                                        AMAZON_LINUX
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        AMAZON_LINUX_2
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        CENTOS
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        DEBIAN
                                        *
                                        - *

                                        Valid properties: PRODUCT, PRIORITY

                                        + *

                                        Valid properties: PRODUCT | PRIORITY + *

                                        *
                                        *
                                        MACOS
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION + *

                                        *
                                        *
                                        ORACLE_LINUX
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        REDHAT_ENTERPRISE_LINUX
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        SUSE
                                        *
                                        - *

                                        Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                        + *

                                        Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                        *
                                        *
                                        UBUNTU
                                        *
                                        - *

                                        Valid properties: PRODUCT, PRIORITY

                                        + *

                                        Valid properties: PRODUCT | PRIORITY + *

                                        *
                                        *
                                        WINDOWS
                                        *
                                        - *

                                        Valid properties: PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY

                                        + *

                                        Valid properties: PRODUCT | PRODUCT_FAMILY | + * CLASSIFICATION | MSRC_SEVERITY + *

                                        *
                                        *
                                        */ @@ -2789,8 +2836,8 @@ export class SSM extends SSMClient { /** *

                                        Deletes the association between an OpsItem and a related resource. For example, this API - * action can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability - * of AWS Systems Manager.

                                        + * operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of + * Amazon Web Services Systems Manager.

                                        */ public disassociateOpsItemRelatedItem( args: DisassociateOpsItemRelatedItemCommandInput, @@ -2854,16 +2901,15 @@ export class SSM extends SSMClient { } /** - *

                                        Gets the state of the AWS Systems Manager Change Calendar at an optional, specified time. If you - * specify a time, GetCalendarState returns the state of the calendar at a specific - * time, and returns the next time that the Change Calendar state will transition. If you do not - * specify a time, GetCalendarState assumes the current time. Change Calendar entries - * have two possible states: OPEN or CLOSED.

                                        + *

                                        Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If + * you specify a time, GetCalendarState returns the state of the calendar at that + * specific time, and returns the next time that the change calendar state will transition. If you + * don't specify a time, GetCalendarState uses the current time. Change Calendar + * entries have two possible states: OPEN or CLOSED.

                                        *

                                        If you specify more than one calendar in a request, the command returns the status of * OPEN only if all calendars in the request are open. If one or more calendars in the * request are closed, the status returned is CLOSED.

                                        - *

                                        For more information about Systems Manager Change Calendar, see AWS Systems Manager Change - * Calendar in the AWS Systems Manager User Guide.

                                        + *

                                        For more information about Change Calendar, a capability of Amazon Web Services Systems Manager, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.

                                        */ public getCalendarState( args: GetCalendarStateCommandInput, @@ -2964,10 +3010,9 @@ export class SSM extends SSMClient { } /** - *

                                        Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default - * patch baselines. For example, you can create a default patch baseline for each operating - * system.

                                        - *

                                        If you do not specify an operating system value, the default patch baseline for Windows is + *

                                        Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch + * baselines. For example, you can create a default patch baseline for each operating system.

                                        + *

                                        If you don't specify an operating system value, the default patch baseline for Windows is * returned.

                                        */ public getDefaultPatchBaseline( @@ -3001,7 +3046,14 @@ export class SSM extends SSMClient { /** *

                                        Retrieves the current snapshot for the patch baseline the instance uses. This API is - * primarily used by the AWS-RunPatchBaseline Systems Manager document.

                                        + * primarily used by the AWS-RunPatchBaseline Systems Manager document (SSM document).

                                        + * + *

                                        If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local AWS credentials and the operation fails. To avoid + * this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of + * Amazon Web Services Systems Manager, with an SSM document that enables you to target an instance with a script or command. + * For example, run the command using the AWS-RunShellScript document or the + * AWS-RunPowerShellScript document.

                                        + *
                                        */ public getDeployablePatchSnapshotForInstance( args: GetDeployablePatchSnapshotForInstanceCommandInput, @@ -3035,7 +3087,7 @@ export class SSM extends SSMClient { } /** - *

                                        Gets the contents of the specified Systems Manager document.

                                        + *

                                        Gets the contents of the specified Amazon Web Services Systems Manager document (SSM document).

                                        */ public getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise; public getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void; @@ -3256,10 +3308,10 @@ export class SSM extends SSMClient { /** *

                                        Lists the tasks in a maintenance window.

                                        * - *

                                        For maintenance window tasks without a specified target, you cannot supply values for + *

                                        For maintenance window tasks without a specified target, you can't supply values for * --max-errors and --max-concurrency. Instead, the system inserts a * placeholder value of 1, which may be reported in the response to this command. - * These values do not affect the running of your task and can be ignored.

                                        + * These values don't affect the running of your task and can be ignored.

                                        *
                                        */ public getMaintenanceWindowTask( @@ -3292,14 +3344,13 @@ export class SSM extends SSMClient { } /** - *

                                        Get information about an OpsItem by using the ID. You must have permission in AWS Identity - * and Access Management (IAM) to view information about an OpsItem. For more information, see - * Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                        - *

                                        Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                        + *

                                        Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, + * see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                        + *

                                        Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                        */ public getOpsItem(args: GetOpsItemCommandInput, options?: __HttpHandlerOptions): Promise; public getOpsItem(args: GetOpsItemCommandInput, cb: (err: any, data?: GetOpsItemCommandOutput) => void): void; @@ -3357,7 +3408,10 @@ export class SSM extends SSMClient { } /** - *

                                        View a summary of OpsItems based on specified filters and aggregators.

                                        + *

                                        View a summary of operations metadata (OpsData) based on specified filters and aggregators. + * OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as + * well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager + * Explorer.

                                        */ public getOpsSummary( args: GetOpsSummaryCommandInput, @@ -3389,8 +3443,8 @@ export class SSM extends SSMClient { } /** - *

                                        Get information about a parameter by using the parameter name. Don't confuse this API action - * with the GetParameters API action.

                                        + *

                                        Get information about a parameter by using the parameter name. Don't confuse this API + * operation with the GetParameters API operation.

                                        */ public getParameter( args: GetParameterCommandInput, @@ -3451,7 +3505,7 @@ export class SSM extends SSMClient { } /** - *

                                        Get details of a parameter. Don't confuse this API action with the GetParameter API action.

                                        + *

                                        Get details of a parameter. Don't confuse this API operation with the GetParameter API operation.

                                        */ public getParameters( args: GetParametersCommandInput, @@ -3484,14 +3538,12 @@ export class SSM extends SSMClient { /** *

                                        Retrieve information about one or more parameters in a specific hierarchy.

                                        - * - *

                                        Request results are returned on a best-effort basis. If you specify MaxResults - * in the request, the response includes information up to the limit specified. The number of items - * returned, however, can be between zero and the value of MaxResults. If the service - * reaches an internal limit while processing the results, it stops the operation and returns the - * matching values up to that point and a NextToken. You can specify the - * NextToken in a subsequent call to get the next set of results.

                                        - *
                                        + *

                                        Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

                                        */ public getParametersByPath( args: GetParametersByPathCommandInput, @@ -3588,17 +3640,18 @@ export class SSM extends SSMClient { /** *

                                        - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                        - *

                                        Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of false. This means the user can't use + * this feature unless they change the setting to true and intentionally opt in for a + * paid feature.

                                        + *

                                        Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the UpdateServiceSetting API action to change - * the default setting. Or use the ResetServiceSetting to change the value back to - * the original value defined by the AWS service team.

                                        + * permission for the setting. Use the UpdateServiceSetting API operation to + * change the default setting. Or use the ResetServiceSetting to change the value + * back to the original value defined by the Amazon Web Services service team.

                                        *

                                        Query the current service setting for the account.

                                        */ public getServiceSetting( @@ -3632,9 +3685,9 @@ export class SSM extends SSMClient { /** *

                                        A parameter label is a user-defined alias to help you manage different versions of a - * parameter. When you modify a parameter, Systems Manager automatically saves a new version and increments - * the version number by one. A label can help you remember the purpose of a parameter when there - * are multiple versions.

                                        + * parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and + * increments the version number by one. A label can help you remember the purpose of a parameter + * when there are multiple versions.

                                        *

                                        Parameter labels have the following requirements and restrictions.

                                        *
                                          *
                                        • @@ -3663,9 +3716,9 @@ export class SSM extends SSMClient { * underscores (_).

                                          *
                                        • *
                                        • - *

                                          Labels can't begin with a number, "aws," or "ssm" (not case sensitive). If a label fails - * to meet these requirements, then the label is not associated with a parameter and the system - * displays it in the list of InvalidLabels.

                                          + *

                                          Labels can't begin with a number, "aws" or "ssm" (not case + * sensitive). If a label fails to meet these requirements, then the label isn't associated with a + * parameter and the system displays it in the list of InvalidLabels.

                                          *
                                        • *
                                        */ @@ -3699,9 +3752,9 @@ export class SSM extends SSMClient { } /** - *

                                        Returns all State Manager associations in the current AWS account and Region. You can limit - * the results to a specific State Manager association document or instance by specifying a - * filter.

                                        + *

                                        Returns all State Manager associations in the current account and Region. You + * can limit the results to a specific State Manager association document or instance by specifying + * a filter. State Manager is a capability of Amazon Web Services Systems Manager.

                                        */ public listAssociations( args: ListAssociationsCommandInput, @@ -3767,8 +3820,9 @@ export class SSM extends SSMClient { /** *

                                        An invocation is copy of a command sent to a specific instance. A command can apply to one * or more instances. A command invocation applies to one instance. For example, if a user runs - * SendCommand against three instances, then a command invocation is created for each requested - * instance ID. ListCommandInvocations provide status about command execution.

                                        + * SendCommand against three instances, then a command invocation is created for each + * requested instance ID. ListCommandInvocations provide status about command + * execution.

                                        */ public listCommandInvocations( args: ListCommandInvocationsCommandInput, @@ -3800,7 +3854,7 @@ export class SSM extends SSMClient { } /** - *

                                        Lists the commands requested by users of the AWS account.

                                        + *

                                        Lists the commands requested by users of the account.

                                        */ public listCommands( args: ListCommandsCommandInput, @@ -3829,7 +3883,7 @@ export class SSM extends SSMClient { } /** - *

                                        For a specified resource ID, this API action returns a list of compliance statuses for + *

                                        For a specified resource ID, this API operation returns a list of compliance statuses for * different resource types. Currently, you can only specify one resource ID per call. List results * depend on the criteria specified in the filter.

                                        */ @@ -3929,8 +3983,8 @@ export class SSM extends SSMClient { } /** - *

                                        Returns all Systems Manager (SSM) documents in the current AWS account and Region. You can limit the - * results of this request by using a filter.

                                        + *

                                        Returns all Systems Manager (SSM) documents in the current account and Region. You can + * limit the results of this request by using a filter.

                                        */ public listDocuments( args: ListDocumentsCommandInput, @@ -4026,8 +4080,8 @@ export class SSM extends SSMClient { } /** - *

                                        Returns a list of all OpsItem events in the current AWS account and Region. You can limit - * the results to events associated with specific OpsItems by specifying a filter.

                                        + *

                                        Returns a list of all OpsItem events in the current Region and account. You can + * limit the results to events associated with specific OpsItems by specifying a filter.

                                        */ public listOpsItemEvents( args: ListOpsItemEventsCommandInput, @@ -4091,7 +4145,7 @@ export class SSM extends SSMClient { } /** - *

                                        Systems Manager calls this API action when displaying all Application Manager OpsMetadata objects or + *

                                        Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or * blobs.

                                        */ public listOpsMetadata( @@ -4199,6 +4253,7 @@ export class SSM extends SSMClient { /** *

                                        Returns a list of the tags assigned to the specified resource.

                                        + *

                                        For information about the ID format for each supported resource type, see AddTagsToResource.

                                        */ public listTagsForResource( args: ListTagsForResourceCommandInput, @@ -4230,9 +4285,10 @@ export class SSM extends SSMClient { } /** - *

                                        Shares a Systems Manager document publicly or privately. If you share a document privately, you must - * specify the AWS user account IDs for those people who can use the document. If you share a - * document publicly, you must specify All as the account ID.

                                        + *

                                        Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document + * privately, you must specify the Amazon Web Services user account IDs for those people who can use the + * document. If you share a document publicly, you must specify All as the + * account ID.

                                        */ public modifyDocumentPermission( args: ModifyDocumentPermissionCommandInput, @@ -4265,9 +4321,9 @@ export class SSM extends SSMClient { /** *

                                        Registers a compliance type and other compliance details on a designated resource. This - * action lets you register custom compliance details with a resource. This call overwrites existing - * compliance information on the resource, so you must provide a full list of compliance items each - * time that you send the request.

                                        + * operation lets you register custom compliance details with a resource. This call overwrites + * existing compliance information on the resource, so you must provide a full list of compliance + * items each time that you send the request.

                                        *

                                        ComplianceType can be one of the following:

                                        *
                                          *
                                        • @@ -4295,7 +4351,7 @@ export class SSM extends SSMClient { *

                                          Severity: A patch severity. For example, critical.

                                          *
                                        • *
                                        • - *

                                          DocumentName: A SSM document name. For example, AWS-RunPatchBaseline.

                                          + *

                                          DocumentName: An SSM document name. For example, AWS-RunPatchBaseline.

                                          *
                                        • *
                                        • *

                                          DocumentVersion: An SSM document version number. For example, 4.

                                          @@ -4411,8 +4467,8 @@ export class SSM extends SSMClient { /** *

                                          Defines the default patch baseline for the relevant operating system.

                                          - *

                                          To reset the AWS predefined patch baseline as the default, specify the full patch baseline - * ARN as the baseline ID value. For example, for CentOS, specify + *

                                          To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline + * Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify * arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of * pb-0574b43a65ea646ed.

                                          */ @@ -4575,18 +4631,19 @@ export class SSM extends SSMClient { /** *

                                          - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                          - *

                                          Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

                                          + *

                                          Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the GetServiceSetting API action to view the - * current value. Use the UpdateServiceSetting API action to change the default + * permission for the setting. Use the GetServiceSetting API operation to view the + * current value. Use the UpdateServiceSetting API operation to change the default * setting.

                                          - *

                                          Reset the service setting for the account to the default value as provisioned by the AWS + *

                                          Reset the service setting for the account to the default value as provisioned by the Amazon Web Services * service team.

                                          */ public resetServiceSetting( @@ -4623,7 +4680,7 @@ export class SSM extends SSMClient { * resumed for disconnected sessions, but not terminated sessions.

                                          * *

                                          This command is primarily for use by client machines to automatically reconnect during - * intermittent network issues. It is not intended for any other use.

                                          + * intermittent network issues. It isn't intended for any other use.

                                          *
                                          */ public resumeSession( @@ -4715,8 +4772,8 @@ export class SSM extends SSMClient { } /** - *

                                          Use this API action to run an association immediately and only one time. This action can be - * helpful when troubleshooting associations.

                                          + *

                                          Runs an association immediately and only one time. This operation can be helpful when + * troubleshooting associations.

                                          */ public startAssociationsOnce( args: StartAssociationsOnceCommandInput, @@ -4748,7 +4805,7 @@ export class SSM extends SSMClient { } /** - *

                                          Initiates execution of an Automation document.

                                          + *

                                          Initiates execution of an Automation runbook.

                                          */ public startAutomationExecution( args: StartAutomationExecutionCommandInput, @@ -4780,7 +4837,7 @@ export class SSM extends SSMClient { } /** - *

                                          Creates a change request for Change Manager. The runbooks (Automation documents) specified in the + *

                                          Creates a change request for Change Manager. The Automation runbooks specified in the * change request run only after all required approvals for the change request have been * received.

                                          */ @@ -4818,10 +4875,10 @@ export class SSM extends SSMClient { * URL and token that can be used to open a WebSocket connection for sending input and receiving * outputs.

                                          * - *

                                          AWS CLI usage: start-session is an interactive command that requires the Session Manager + *

                                          Amazon Web Services CLI usage: start-session is an interactive command that requires the Session Manager * plugin to be installed on the client machine making the call. For information, see Install - * the Session Manager plugin for the AWS CLI in the AWS Systems Manager User Guide.

                                          - *

                                          AWS Tools for PowerShell usage: Start-SSMSession is not currently supported by AWS Tools + * the Session Manager plugin for the Amazon Web Services CLI in the Amazon Web Services Systems Manager User Guide.

                                          + *

                                          Amazon Web Services Tools for PowerShell usage: Start-SSMSession isn't currently supported by Amazon Web Services Tools * for PowerShell on Windows local machines.

                                          *
                                          */ @@ -4885,7 +4942,7 @@ export class SSM extends SSMClient { /** *

                                          Permanently ends a session and closes the data connection between the Session Manager client and - * SSM Agent on the instance. A terminated session cannot be resumed.

                                          + * SSM Agent on the instance. A terminated session isn't be resumed.

                                          */ public terminateSession( args: TerminateSessionCommandInput, @@ -4950,13 +5007,13 @@ export class SSM extends SSMClient { /** *

                                          Updates an association. You can update the association name and version, the document - * version, schedule, parameters, and Amazon S3 output.

                                          - *

                                          In order to call this API action, your IAM user account, group, or role must be configured - * with permission to call the DescribeAssociation API action. If you don't have - * permission to call DescribeAssociation, then you receive the following error: An error - * occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: - * is not authorized to perform: ssm:DescribeAssociation on resource: - * + * version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output.

                                          + *

                                          In order to call this API operation, your Identity and Access Management (IAM) user + * account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call + * DescribeAssociation, then you receive the following error: An error occurred + * (AccessDeniedException) when calling the UpdateAssociation operation: User: + * isn't authorized to perform: ssm:DescribeAssociation on resource: + * *

                                          * *

                                          When you update an association, the association immediately runs against the specified @@ -4993,7 +5050,8 @@ export class SSM extends SSMClient { } /** - *

                                          Updates the status of the Systems Manager document associated with the specified instance.

                                          + *

                                          Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified + * instance.

                                          */ public updateAssociationStatus( args: UpdateAssociationStatusCommandInput, @@ -5186,7 +5244,7 @@ export class SSM extends SSMClient { *
                                        • *
                                        * - *

                                        If a parameter is null, then the corresponding field is not modified.

                                        + *

                                        If a parameter is null, then the corresponding field isn't modified.

                                        *
                                        */ public updateMaintenanceWindowTarget( @@ -5223,41 +5281,52 @@ export class SSM extends SSMClient { * can change the following values:

                                        *
                                          *
                                        • - *

                                          TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript to - * AWS-RunShellScript.

                                          + *

                                          + * TaskARN. For example, you can change a RUN_COMMAND task from + * AWS-RunPowerShellScript to AWS-RunShellScript.

                                          *
                                        • *
                                        • - *

                                          ServiceRoleArn

                                          + *

                                          + * ServiceRoleArn + *

                                          *
                                        • *
                                        • - *

                                          TaskInvocationParameters

                                          + *

                                          + * TaskInvocationParameters + *

                                          *
                                        • *
                                        • - *

                                          Priority

                                          + *

                                          + * Priority + *

                                          *
                                        • *
                                        • - *

                                          MaxConcurrency

                                          + *

                                          + * MaxConcurrency + *

                                          *
                                        • *
                                        • - *

                                          MaxErrors

                                          + *

                                          + * MaxErrors + *

                                          *
                                        • *
                                        * *

                                        One or more targets must be specified for maintenance window Run Command-type tasks. * Depending on the task, targets are optional for other maintenance window task types (Automation, - * AWS Lambda, and AWS Step Functions). For more information about running tasks that do not - * specify targets, see Registering + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering * maintenance window tasks without targets in the - * AWS Systems Manager User Guide.

                                        + * Amazon Web Services Systems Manager User Guide.

                                        *
                                        *

                                        If the value for a parameter in UpdateMaintenanceWindowTask is null, then the - * corresponding field is not modified. If you set Replace to true, then all fields - * required by the RegisterTaskWithMaintenanceWindow action are required for this - * request. Optional fields that aren't specified are set to null.

                                        + * corresponding field isn't modified. If you set Replace to true, then all fields + * required by the RegisterTaskWithMaintenanceWindow operation are required for + * this request. Optional fields that aren't specified are set to null.

                                        * *

                                        When you update a maintenance window task that has options specified in * TaskInvocationParameters, you must provide again all the - * TaskInvocationParameters values that you want to retain. The values you do not + * TaskInvocationParameters values that you want to retain. The values you don't * specify again are removed. For example, suppose that when you registered a Run Command task, you * specified TaskInvocationParameters values for Comment, * NotificationConfig, and OutputS3BucketName. If you update the @@ -5295,9 +5364,9 @@ export class SSM extends SSMClient { } /** - *

                                        Changes the Amazon Identity and Access Management (IAM) role that is assigned to the - * on-premises instance or virtual machines (VM). IAM roles are first assigned to these hybrid - * instances during the activation process. For more information, see CreateActivation.

                                        + *

                                        Changes the Identity and Access Management (IAM) role that is assigned to the + * on-premises instance or virtual machines (VM). IAM roles are first assigned to + * these hybrid instances during the activation process. For more information, see CreateActivation.

                                        */ public updateManagedInstanceRole( args: UpdateManagedInstanceRoleCommandInput, @@ -5329,13 +5398,12 @@ export class SSM extends SSMClient { } /** - *

                                        Edit or change an OpsItem. You must have permission in AWS Identity and Access Management - * (IAM) to update an OpsItem. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                        - *

                                        Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                        + *

                                        Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                        + *

                                        Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                        */ public updateOpsItem( args: UpdateOpsItemCommandInput, @@ -5367,7 +5435,7 @@ export class SSM extends SSMClient { } /** - *

                                        Systems Manager calls this API action when you edit OpsMetadata in Application Manager.

                                        + *

                                        Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

                                        */ public updateOpsMetadata( args: UpdateOpsMetadataCommandInput, @@ -5402,8 +5470,8 @@ export class SSM extends SSMClient { *

                                        Modifies an existing patch baseline. Fields not specified in the request are left * unchanged.

                                        * - *

                                        For information about valid key and value pairs in PatchFilters for each - * supported operating system type, see PatchFilter.

                                        + *

                                        For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

                                        *
                                        */ public updatePatchBaseline( @@ -5438,12 +5506,13 @@ export class SSM extends SSMClient { /** *

                                        Update a resource data sync. After you create a resource data sync for a Region, you can't * change the account options for that sync. For example, if you create a sync in the us-east-2 - * (Ohio) Region and you choose the Include only the current account option, you can't edit that - * sync later and choose the Include all accounts from my AWS Organizations configuration option. Instead, - * you must delete the first resource data sync, and create a new one.

                                        + * (Ohio) Region and you choose the Include only the current account option, you can't + * edit that sync later and choose the Include all accounts from my Organizations + * configuration option. Instead, you must delete the first resource data sync, and create a + * new one.

                                        * - *

                                        This API action only supports a resource data sync that was created with a SyncFromSource - * SyncType.

                                        + *

                                        This API operation only supports a resource data sync that was created with a + * SyncFromSource SyncType.

                                        *
                                        */ public updateResourceDataSync( @@ -5477,17 +5546,18 @@ export class SSM extends SSMClient { /** *

                                        - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                        - *

                                        Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

                                        + *

                                        Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the GetServiceSetting API action to view the + * permission for the setting. Use the GetServiceSetting API operation to view the * current value. Or, use the ResetServiceSetting to change the value back to the - * original value defined by the AWS service team.

                                        + * original value defined by the Amazon Web Services service team.

                                        *

                                        Update the service setting for the account.

                                        */ public updateServiceSetting( diff --git a/clients/client-ssm/SSMClient.ts b/clients/client-ssm/SSMClient.ts index c1cc3987d5f25..2d2cc168b49a6 100644 --- a/clients/client-ssm/SSMClient.ts +++ b/clients/client-ssm/SSMClient.ts @@ -869,18 +869,17 @@ type SSMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOp export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {} /** - * AWS Systems Manager - *

                                        AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as + *

                                        Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as * collecting system inventory, applying operating system (OS) patches, automating the creation of * Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. * Systems Manager lets you remotely and securely manage the configuration of your managed instances. A * managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any * on-premises server or virtual machine (VM) in your hybrid environment that has been configured * for Systems Manager.

                                        - *

                                        This reference is intended to be used with the AWS Systems Manager User Guide.

                                        + *

                                        This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

                                        *

                                        To get started, verify prerequisites and configure managed instances. For more information, * see Setting up - * AWS Systems Manager in the AWS Systems Manager User Guide.

                                        + * Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

                                        *

                                        * Related resources *

                                        @@ -889,15 +888,16 @@ export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {} *

                                        For information about how to use a Query API, see Making API requests.

                                        *
                                      • *
                                      • - *

                                        For information about other API actions you can perform on EC2 instances, see the Amazon EC2 API Reference.

                                        + *

                                        For information about other API operations you can perform on EC2 instances, see the + * Amazon EC2 API Reference.

                                        *
                                      • *
                                      • - *

                                        For information about AWS AppConfig, a capability of Systems Manager, see the AWS AppConfig User Guide and the AWS AppConfig API + *

                                        For information about AppConfig, a capability of Systems Manager, see the AppConfig User Guide and the AppConfig API * Reference.

                                        *
                                      • *
                                      • - *

                                        For information about AWS Incident Manager, a capability of Systems Manager, see the AWS Incident Manager User Guide - * and the AWS Incident Manager API + *

                                        For information about Incident Manager, a capability of Systems Manager, see the Incident Manager User Guide + * and the Incident Manager API * Reference.

                                        *
                                      • *
                                      diff --git a/clients/client-ssm/commands/AddTagsToResourceCommand.ts b/clients/client-ssm/commands/AddTagsToResourceCommand.ts index 46c489c004534..ea4534f9a05bd 100644 --- a/clients/client-ssm/commands/AddTagsToResourceCommand.ts +++ b/clients/client-ssm/commands/AddTagsToResourceCommand.ts @@ -26,16 +26,46 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult, * and patch baselines. Tags enable you to categorize your resources in different ways, for example, * by purpose, owner, or environment. Each tag consists of a key and an optional value, both of * which you define. For example, you could define a set of tags for your account's managed - * instances that helps you track each instance's owner and stack level. For example: Key=Owner and - * Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or - * Test.

                                      - *

                                      Each resource can have a maximum of 50 tags.

                                      + * instances that helps you track each instance's owner and stack level. For example:

                                      + *
                                        + *
                                      • + *

                                        + * Key=Owner,Value=DbAdmin + *

                                        + *
                                      • + *
                                      • + *

                                        + * Key=Owner,Value=SysAdmin + *

                                        + *
                                      • + *
                                      • + *

                                        + * Key=Owner,Value=Dev + *

                                        + *
                                      • + *
                                      • + *

                                        + * Key=Stack,Value=Production + *

                                        + *
                                      • + *
                                      • + *

                                        + * Key=Stack,Value=Pre-Production + *

                                        + *
                                      • + *
                                      • + *

                                        + * Key=Stack,Value=Test + *

                                        + *
                                      • + *
                                      + *

                                      Each resource can have a maximum of 50 tags.

                                      *

                                      We recommend that you devise a set of tag keys that meets your needs for each resource type. * Using a consistent set of tag keys makes it easier for you to manage your resources. You can * search and filter the resources based on the tags you add. Tags don't have any semantic meaning * to and are interpreted strictly as a string of characters.

                                      - *

                                      For more information about using tags with EC2 instances, see Tagging your Amazon EC2 resources in the - * Amazon EC2 User Guide.

                                      + *

                                      For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 + * resources in the Amazon EC2 User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/AssociateOpsItemRelatedItemCommand.ts b/clients/client-ssm/commands/AssociateOpsItemRelatedItemCommand.ts index fd92d92c4530e..ca2b2afc4a22d 100644 --- a/clients/client-ssm/commands/AssociateOpsItemRelatedItemCommand.ts +++ b/clients/client-ssm/commands/AssociateOpsItemRelatedItemCommand.ts @@ -23,9 +23,9 @@ export interface AssociateOpsItemRelatedItemCommandOutput __MetadataBearer {} /** - *

                                      Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can - * associate an Incident Manager incident or analysis with an OpsItem. Incident Manager is a - * capability of AWS Systems Manager.

                                      + *

                                      Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can associate + * an Incident Manager incident or analysis with an OpsItem. Incident Manager is a capability of + * Amazon Web Services Systems Manager.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts index a495eed2109e8..03a0a8ca24c48 100644 --- a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts +++ b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts @@ -24,8 +24,8 @@ export interface CancelMaintenanceWindowExecutionCommandOutput /** *

                                      Stops a maintenance window execution that is already in progress and cancels any tasks in - * the window that have not already starting running. (Tasks already in progress will continue to - * completion.)

                                      + * the window that haven't already starting running. Tasks already in progress will continue to + * completion.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/CreateActivationCommand.ts b/clients/client-ssm/commands/CreateActivationCommand.ts index d1595189496b1..9d6e465c01414 100644 --- a/clients/client-ssm/commands/CreateActivationCommand.ts +++ b/clients/client-ssm/commands/CreateActivationCommand.ts @@ -22,14 +22,14 @@ export interface CreateActivationCommandOutput extends CreateActivationResult, _ /** *

                                      Generates an activation code and activation ID you can use to register your on-premises - * server or virtual machine (VM) with Systems Manager. Registering these machines with Systems Manager makes it + * server or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it * possible to manage them using Systems Manager capabilities. You use the activation code and ID when * installing SSM Agent on machines in your hybrid environment. For more information about * requirements for managing on-premises instances and VMs using Systems Manager, see Setting up - * AWS Systems Manager for hybrid environments in the AWS Systems Manager User Guide.

                                      + * Amazon Web Services Systems Manager for hybrid environments in the Amazon Web Services Systems Manager User Guide.

                                      * - *

                                      On-premises servers or VMs that are registered with Systems Manager and EC2 instances that you manage - * with Systems Manager are all called managed instances.

                                      + *

                                      On-premises servers or VMs that are registered with Systems Manager and Amazon Elastic Compute Cloud (Amazon EC2) instances + * that you manage with Systems Manager are all called managed instances.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts index 48d2f866c67b6..db6e02ea86c9c 100644 --- a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts @@ -21,10 +21,11 @@ export interface CreateAssociationBatchCommandInput extends CreateAssociationBat export interface CreateAssociationBatchCommandOutput extends CreateAssociationBatchResult, __MetadataBearer {} /** - *

                                      Associates the specified Systems Manager document with the specified instances or targets.

                                      + *

                                      Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified instances or + * targets.

                                      *

                                      When you associate a document with one or more instances using instance IDs or tags, - * SSM Agent running on the instance processes the document and configures the instance as - * specified.

                                      + * Amazon Web Services Systems Manager Agent (SSM Agent) running on the instance processes the document and configures the + * instance as specified.

                                      *

                                      If you associate a document with an instance that already has an associated document, the * system returns the AssociationAlreadyExists exception.

                                      * @example diff --git a/clients/client-ssm/commands/CreateAssociationCommand.ts b/clients/client-ssm/commands/CreateAssociationCommand.ts index dc98fb4461a40..0510a43bbdf04 100644 --- a/clients/client-ssm/commands/CreateAssociationCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationCommand.ts @@ -24,13 +24,13 @@ export interface CreateAssociationCommandOutput extends CreateAssociationResult, *

                                      A State Manager association defines the state that you want to maintain on your instances. * For example, an association can specify that anti-virus software must be installed and running on * your instances, or that certain ports must be closed. For static targets, the association - * specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an AWS - * Resource Group or an AWS Autoscaling Group, State Manager applies the configuration when new - * instances are added to the group. The association also specifies actions to take when applying - * the configuration. For example, an association for anti-virus software might run once a day. If - * the software is not installed, then State Manager installs it. If the software is installed, but - * the service is not running, then the association might instruct State Manager to start the - * service.

                                      + * specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an + * Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a capability of Amazon Web Services Systems Manager + * applies the configuration when new instances are added to the group. The association also + * specifies actions to take when applying the configuration. For example, an association for + * anti-virus software might run once a day. If the software isn't installed, then State Manager + * installs it. If the software is installed, but the service isn't running, then the association + * might instruct State Manager to start the service.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/CreateDocumentCommand.ts b/clients/client-ssm/commands/CreateDocumentCommand.ts index 1a48555d2e700..94eb88a7e712f 100644 --- a/clients/client-ssm/commands/CreateDocumentCommand.ts +++ b/clients/client-ssm/commands/CreateDocumentCommand.ts @@ -21,10 +21,10 @@ export interface CreateDocumentCommandInput extends CreateDocumentRequest {} export interface CreateDocumentCommandOutput extends CreateDocumentResult, __MetadataBearer {} /** - *

                                      Creates a Systems Manager (SSM) document. An SSM document defines the actions that Systems Manager performs on - * your managed instances. For more information about SSM documents, including information about - * supported schemas, features, and syntax, see AWS Systems Manager Documents in the - * AWS Systems Manager User Guide.

                                      + *

                                      Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs + * on your managed instances. For more information about SSM documents, including information about + * supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the + * Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/CreateOpsItemCommand.ts b/clients/client-ssm/commands/CreateOpsItemCommand.ts index 8069adaf913ca..70954cc1b4679 100644 --- a/clients/client-ssm/commands/CreateOpsItemCommand.ts +++ b/clients/client-ssm/commands/CreateOpsItemCommand.ts @@ -21,13 +21,12 @@ export interface CreateOpsItemCommandInput extends CreateOpsItemRequest {} export interface CreateOpsItemCommandOutput extends CreateOpsItemResponse, __MetadataBearer {} /** - *

                                      Creates a new OpsItem. You must have permission in AWS Identity and Access Management (IAM) - * to create a new OpsItem. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                      - *

                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                      + *

                                      Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                      + *

                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see Amazon Web Services Systems Manager OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/CreateOpsMetadataCommand.ts b/clients/client-ssm/commands/CreateOpsMetadataCommand.ts index 3169f0eec58fe..32948ebb658c9 100644 --- a/clients/client-ssm/commands/CreateOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/CreateOpsMetadataCommand.ts @@ -21,7 +21,7 @@ export interface CreateOpsMetadataCommandInput extends CreateOpsMetadataRequest export interface CreateOpsMetadataCommandOutput extends CreateOpsMetadataResult, __MetadataBearer {} /** - *

                                      If you create a new application in Application Manager, Systems Manager calls this API action to specify + *

                                      If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify * information about the new application, including the application type.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts index 3bc4b5ee86887..069fc95854001 100644 --- a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts @@ -23,8 +23,8 @@ export interface CreatePatchBaselineCommandOutput extends CreatePatchBaselineRes /** *

                                      Creates a patch baseline.

                                      * - *

                                      For information about valid key and value pairs in PatchFilters for each - * supported operating system type, see PatchFilter.

                                      + *

                                      For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts index a79d0689fd53a..8f10f3051ac94 100644 --- a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts @@ -21,25 +21,26 @@ export interface CreateResourceDataSyncCommandInput extends CreateResourceDataSy export interface CreateResourceDataSyncCommandOutput extends CreateResourceDataSyncResult, __MetadataBearer {} /** - *

                                      A resource data sync helps you view data from multiple sources in a single location. Systems - * Manager offers two types of resource data sync: SyncToDestination and + *

                                      A resource data sync helps you view data from multiple sources in a single location. + * Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination and * SyncFromSource.

                                      *

                                      You can configure Systems Manager Inventory to use the SyncToDestination type to - * synchronize Inventory data from multiple AWS Regions to a single S3 bucket. For more information, - * see Configuring Resource Data - * Sync for Inventory in the AWS Systems Manager User Guide.

                                      + * synchronize Inventory data from multiple Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Configuring resource data + * sync for Inventory in the Amazon Web Services Systems Manager User Guide.

                                      *

                                      You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize - * operational work items (OpsItems) and operational data (OpsData) from multiple AWS Regions to a - * single S3 bucket. This type can synchronize OpsItems and OpsData from multiple AWS accounts and - * Regions or EntireOrganization by using AWS Organizations. For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the - * AWS Systems Manager User Guide.

                                      + * operational work items (OpsItems) and operational data (OpsData) from multiple Regions to a + * single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple + * accounts and Regions or EntireOrganization by using Organizations. For more + * information, see Setting up Systems Manager + * Explorer to display data from multiple accounts and Regions in the + * Amazon Web Services Systems Manager User Guide.

                                      *

                                      A resource data sync is an asynchronous operation that returns immediately. After a * successful initial sync is completed, the system continuously syncs data. To check the status of * a sync, use the ListResourceDataSync.

                                      * - *

                                      By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption - * in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 - * bucket by creating a restrictive bucket policy.

                                      + *

                                      By default, data isn't encrypted in Amazon S3. We strongly recommend that you + * enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you + * secure access to the Amazon S3 bucket by creating a restrictive bucket policy.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/DeleteActivationCommand.ts b/clients/client-ssm/commands/DeleteActivationCommand.ts index 43babb34d8350..6546fd441a2ca 100644 --- a/clients/client-ssm/commands/DeleteActivationCommand.ts +++ b/clients/client-ssm/commands/DeleteActivationCommand.ts @@ -21,9 +21,9 @@ export interface DeleteActivationCommandInput extends DeleteActivationRequest {} export interface DeleteActivationCommandOutput extends DeleteActivationResult, __MetadataBearer {} /** - *

                                      Deletes an activation. You are not required to delete an activation. If you delete an + *

                                      Deletes an activation. You aren't required to delete an activation. If you delete an * activation, you can no longer use it to register additional managed instances. Deleting an - * activation does not de-register managed instances. You must manually de-register managed + * activation doesn't de-register managed instances. You must manually de-register managed * instances.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/DeleteAssociationCommand.ts b/clients/client-ssm/commands/DeleteAssociationCommand.ts index 862dc35d9f5f7..d45d98721c15a 100644 --- a/clients/client-ssm/commands/DeleteAssociationCommand.ts +++ b/clients/client-ssm/commands/DeleteAssociationCommand.ts @@ -21,8 +21,9 @@ export interface DeleteAssociationCommandInput extends DeleteAssociationRequest export interface DeleteAssociationCommandOutput extends DeleteAssociationResult, __MetadataBearer {} /** - *

                                      Disassociates the specified Systems Manager document from the specified instance.

                                      - *

                                      When you disassociate a document from an instance, it does not change the configuration of + *

                                      Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified + * instance.

                                      + *

                                      When you disassociate a document from an instance, it doesn't change the configuration of * the instance. To change the configuration state of an instance after you disassociate a document, * you must create a new document with the desired configuration and associate it with the * instance.

                                      diff --git a/clients/client-ssm/commands/DeleteDocumentCommand.ts b/clients/client-ssm/commands/DeleteDocumentCommand.ts index d013494582a77..7b4b9ac7a3466 100644 --- a/clients/client-ssm/commands/DeleteDocumentCommand.ts +++ b/clients/client-ssm/commands/DeleteDocumentCommand.ts @@ -21,7 +21,8 @@ export interface DeleteDocumentCommandInput extends DeleteDocumentRequest {} export interface DeleteDocumentCommandOutput extends DeleteDocumentResult, __MetadataBearer {} /** - *

                                      Deletes the Systems Manager document and all instance associations to the document.

                                      + *

                                      Deletes the Amazon Web Services Systems Manager document (SSM document) and all instance associations to the + * document.

                                      *

                                      Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts index 9430068d3c51d..4deddb4de6fdc 100644 --- a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts @@ -21,9 +21,9 @@ export interface DeleteResourceDataSyncCommandInput extends DeleteResourceDataSy export interface DeleteResourceDataSyncCommandOutput extends DeleteResourceDataSyncResult, __MetadataBearer {} /** - *

                                      Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to + *

                                      Deletes a resource data sync configuration. After the configuration is deleted, changes to * data on managed instances are no longer synced to or from the target. Deleting a sync - * configuration does not delete data.

                                      + * configuration doesn't delete data.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeActivationsCommand.ts b/clients/client-ssm/commands/DescribeActivationsCommand.ts index e1985522d6546..f0f31b7a92cfe 100644 --- a/clients/client-ssm/commands/DescribeActivationsCommand.ts +++ b/clients/client-ssm/commands/DescribeActivationsCommand.ts @@ -22,8 +22,9 @@ export interface DescribeActivationsCommandOutput extends DescribeActivationsRes /** *

                                      Describes details about the activation, such as the date and time the activation was - * created, its expiration date, the IAM role assigned to the instances in the activation, and the - * number of instances registered by using this activation.

                                      + * created, its expiration date, the Identity and Access Management (IAM) role assigned to + * the instances in the activation, and the number of instances registered by using this + * activation.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeAssociationCommand.ts b/clients/client-ssm/commands/DescribeAssociationCommand.ts index 5d81db4d3af87..4ab521c03df0e 100644 --- a/clients/client-ssm/commands/DescribeAssociationCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationCommand.ts @@ -23,9 +23,9 @@ export interface DescribeAssociationCommandOutput extends DescribeAssociationRes /** *

                                      Describes the association for the specified target or instance. If you created the * association by using the Targets parameter, then you must retrieve the association - * by using the association ID. If you created the association by specifying an instance ID and a - * Systems Manager document, then you retrieve the association by specifying the document name and the - * instance ID.

                                      + * by using the association ID. If you created the association by specifying an instance ID and an + * Amazon Web Services Systems Manager document (SSM document), then you retrieve the association by specifying the document + * name and the instance ID.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts index 70aa44b8be302..311e0a845f4cd 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts @@ -26,8 +26,7 @@ export interface DescribeAssociationExecutionTargetsCommandOutput __MetadataBearer {} /** - *

                                      Use this API action to view information about a specific execution of a specific - * association.

                                      + *

                                      Views information about a specific execution of a specific association.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts index 9e61e740b11b8..e72d86d1554a7 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts @@ -23,7 +23,7 @@ export interface DescribeAssociationExecutionsCommandOutput __MetadataBearer {} /** - *

                                      Use this API action to view all executions for a specific association ID.

                                      + *

                                      Views all executions for a specific association ID.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeDocumentCommand.ts b/clients/client-ssm/commands/DescribeDocumentCommand.ts index 97db0415068d5..0de23682e9562 100644 --- a/clients/client-ssm/commands/DescribeDocumentCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentCommand.ts @@ -21,7 +21,7 @@ export interface DescribeDocumentCommandInput extends DescribeDocumentRequest {} export interface DescribeDocumentCommandOutput extends DescribeDocumentResult, __MetadataBearer {} /** - *

                                      Describes the specified Systems Manager document.

                                      + *

                                      Describes the specified Amazon Web Services Systems Manager document (SSM document).

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts index 7c30a717fcf2d..156362deec7df 100644 --- a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts @@ -21,9 +21,9 @@ export interface DescribeDocumentPermissionCommandInput extends DescribeDocument export interface DescribeDocumentPermissionCommandOutput extends DescribeDocumentPermissionResponse, __MetadataBearer {} /** - *

                                      Describes the permissions for a Systems Manager document. If you created the document, you are the - * owner. If a document is shared, it can either be shared privately (by specifying a user's AWS - * account ID) or publicly (All).

                                      + *

                                      Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the + * document, you are the owner. If a document is shared, it can either be shared privately (by + * specifying a user's account ID) or publicly (All).

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts index 9d52acfd064b5..9b3666713c011 100644 --- a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts @@ -28,7 +28,7 @@ export interface DescribeEffectivePatchesForPatchBaselineCommandOutput /** *

                                      Retrieves the current effective patches (the patch and the approval state) for the specified - * patch baseline. Note that this API applies only to Windows patch baselines.

                                      + * patch baseline. Applies to patch baselines for Windows only.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts index ab0ed2c1b5026..395deaf57cfab 100644 --- a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts +++ b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts @@ -24,12 +24,12 @@ export interface DescribeInstanceInformationCommandOutput extends DescribeInstan *

                                      Describes one or more of your instances, including information about the operating system * platform, the version of SSM Agent installed on the instance, instance status, and so on.

                                      *

                                      If you specify one or more instance IDs, it returns information for those instances. If you - * do not specify instance IDs, it returns information for all your instances. If you specify an - * instance ID that is not valid or an instance that you do not own, you receive an error.

                                      + * don't specify instance IDs, it returns information for all your instances. If you specify an + * instance ID that isn't valid or an instance that you don't own, you receive an error.

                                      * - *

                                      The IamRole field for this API action is the Amazon Identity and Access Management (IAM) - * role assigned to on-premises instances. This call does not return the IAM role for EC2 - * instances.

                                      + *

                                      The IamRole field for this API operation is the Identity and Access Management + * (IAM) role assigned to on-premises instances. This call doesn't return the + * IAM role for EC2 instances.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts index c4bc8ca13fed8..47ad6f607e8db 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts @@ -25,10 +25,10 @@ export interface DescribeMaintenanceWindowTasksCommandOutput /** *

                                      Lists the tasks in a maintenance window.

                                      * - *

                                      For maintenance window tasks without a specified target, you cannot supply values for + *

                                      For maintenance window tasks without a specified target, you can't supply values for * --max-errors and --max-concurrency. Instead, the system inserts a * placeholder value of 1, which may be reported in the response to this command. - * These values do not affect the running of your task and can be ignored.

                                      + * These values don't affect the running of your task and can be ignored.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts index a5b8ea8de616a..04e239e85c5d0 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts @@ -21,7 +21,7 @@ export interface DescribeMaintenanceWindowsCommandInput extends DescribeMaintena export interface DescribeMaintenanceWindowsCommandOutput extends DescribeMaintenanceWindowsResult, __MetadataBearer {} /** - *

                                      Retrieves the maintenance windows in an AWS account.

                                      + *

                                      Retrieves the maintenance windows in an account.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts index ba8c02045a1b8..ff77650806e51 100644 --- a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts +++ b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts @@ -21,13 +21,12 @@ export interface DescribeOpsItemsCommandInput extends DescribeOpsItemsRequest {} export interface DescribeOpsItemsCommandOutput extends DescribeOpsItemsResponse, __MetadataBearer {} /** - *

                                      Query a set of OpsItems. You must have permission in AWS Identity and Access Management - * (IAM) to query a list of OpsItems. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                      - *

                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                      + *

                                      Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                      + *

                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribeParametersCommand.ts b/clients/client-ssm/commands/DescribeParametersCommand.ts index 1e5c78faf1f87..51c37251322f5 100644 --- a/clients/client-ssm/commands/DescribeParametersCommand.ts +++ b/clients/client-ssm/commands/DescribeParametersCommand.ts @@ -22,14 +22,12 @@ export interface DescribeParametersCommandOutput extends DescribeParametersResul /** *

                                      Get information about a parameter.

                                      - * - *

                                      Request results are returned on a best-effort basis. If you specify MaxResults - * in the request, the response includes information up to the limit specified. The number of items - * returned, however, can be between zero and the value of MaxResults. If the service - * reaches an internal limit while processing the results, it stops the operation and returns the - * matching values up to that point and a NextToken. You can specify the - * NextToken in a subsequent call to get the next set of results.

                                      - *
                                      + *

                                      Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts index c17e336231685..1fefee88cc070 100644 --- a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts @@ -21,7 +21,7 @@ export interface DescribePatchBaselinesCommandInput extends DescribePatchBaselin export interface DescribePatchBaselinesCommandOutput extends DescribePatchBaselinesResult, __MetadataBearer {} /** - *

                                      Lists the patch baselines in your AWS account.

                                      + *

                                      Lists the patch baselines in your account.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts index 46a7af9fbe5ee..f53ef6dee755b 100644 --- a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts +++ b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts @@ -21,7 +21,7 @@ export interface DescribePatchGroupStateCommandInput extends DescribePatchGroupS export interface DescribePatchGroupStateCommandOutput extends DescribePatchGroupStateResult, __MetadataBearer {} /** - *

                                      Returns high-level aggregated patch compliance state for a patch group.

                                      + *

                                      Returns high-level aggregated patch compliance state information for a patch group.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts index 923ac55766ddf..1cfa3e8a70b13 100644 --- a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts @@ -23,49 +23,66 @@ export interface DescribePatchPropertiesCommandOutput extends DescribePatchPrope /** *

                                      Lists the properties of available patches organized by product, product family, * classification, severity, and other properties of available patches. You can use the reported - * properties in the filters you specify in requests for actions such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                      + * properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                      *

                                      The following section lists the properties that can be used in filters for each major * operating system type:

                                      *
                                      *
                                      AMAZON_LINUX
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      AMAZON_LINUX_2
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      CENTOS
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      DEBIAN
                                      *
                                      - *

                                      Valid properties: PRODUCT, PRIORITY

                                      + *

                                      Valid properties: PRODUCT | PRIORITY + *

                                      *
                                      *
                                      MACOS
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION + *

                                      *
                                      *
                                      ORACLE_LINUX
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      REDHAT_ENTERPRISE_LINUX
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      SUSE
                                      *
                                      - *

                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                      + *

                                      Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

                                      *
                                      *
                                      UBUNTU
                                      *
                                      - *

                                      Valid properties: PRODUCT, PRIORITY

                                      + *

                                      Valid properties: PRODUCT | PRIORITY + *

                                      *
                                      *
                                      WINDOWS
                                      *
                                      - *

                                      Valid properties: PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY

                                      + *

                                      Valid properties: PRODUCT | PRODUCT_FAMILY | + * CLASSIFICATION | MSRC_SEVERITY + *

                                      *
                                      *
                                      * @example diff --git a/clients/client-ssm/commands/DisassociateOpsItemRelatedItemCommand.ts b/clients/client-ssm/commands/DisassociateOpsItemRelatedItemCommand.ts index 9d8b2fb3bcf92..6e2c69d420f0d 100644 --- a/clients/client-ssm/commands/DisassociateOpsItemRelatedItemCommand.ts +++ b/clients/client-ssm/commands/DisassociateOpsItemRelatedItemCommand.ts @@ -24,8 +24,8 @@ export interface DisassociateOpsItemRelatedItemCommandOutput /** *

                                      Deletes the association between an OpsItem and a related resource. For example, this API - * action can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability - * of AWS Systems Manager.

                                      + * operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of + * Amazon Web Services Systems Manager.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetCalendarStateCommand.ts b/clients/client-ssm/commands/GetCalendarStateCommand.ts index ec482e1c203cd..f607bf3df25d9 100644 --- a/clients/client-ssm/commands/GetCalendarStateCommand.ts +++ b/clients/client-ssm/commands/GetCalendarStateCommand.ts @@ -21,16 +21,15 @@ export interface GetCalendarStateCommandInput extends GetCalendarStateRequest {} export interface GetCalendarStateCommandOutput extends GetCalendarStateResponse, __MetadataBearer {} /** - *

                                      Gets the state of the AWS Systems Manager Change Calendar at an optional, specified time. If you - * specify a time, GetCalendarState returns the state of the calendar at a specific - * time, and returns the next time that the Change Calendar state will transition. If you do not - * specify a time, GetCalendarState assumes the current time. Change Calendar entries - * have two possible states: OPEN or CLOSED.

                                      + *

                                      Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If + * you specify a time, GetCalendarState returns the state of the calendar at that + * specific time, and returns the next time that the change calendar state will transition. If you + * don't specify a time, GetCalendarState uses the current time. Change Calendar + * entries have two possible states: OPEN or CLOSED.

                                      *

                                      If you specify more than one calendar in a request, the command returns the status of * OPEN only if all calendars in the request are open. If one or more calendars in the * request are closed, the status returned is CLOSED.

                                      - *

                                      For more information about Systems Manager Change Calendar, see AWS Systems Manager Change - * Calendar in the AWS Systems Manager User Guide.

                                      + *

                                      For more information about Change Calendar, a capability of Amazon Web Services Systems Manager, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts index 202ebf8b9261d..78d3b21085945 100644 --- a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts @@ -21,10 +21,9 @@ export interface GetDefaultPatchBaselineCommandInput extends GetDefaultPatchBase export interface GetDefaultPatchBaselineCommandOutput extends GetDefaultPatchBaselineResult, __MetadataBearer {} /** - *

                                      Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default - * patch baselines. For example, you can create a default patch baseline for each operating - * system.

                                      - *

                                      If you do not specify an operating system value, the default patch baseline for Windows is + *

                                      Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch + * baselines. For example, you can create a default patch baseline for each operating system.

                                      + *

                                      If you don't specify an operating system value, the default patch baseline for Windows is * returned.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts index 5028d0979d912..1f17d932ce764 100644 --- a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts +++ b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts @@ -28,7 +28,14 @@ export interface GetDeployablePatchSnapshotForInstanceCommandOutput /** *

                                      Retrieves the current snapshot for the patch baseline the instance uses. This API is - * primarily used by the AWS-RunPatchBaseline Systems Manager document.

                                      + * primarily used by the AWS-RunPatchBaseline Systems Manager document (SSM document).

                                      + * + *

                                      If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local AWS credentials and the operation fails. To avoid + * this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of + * Amazon Web Services Systems Manager, with an SSM document that enables you to target an instance with a script or command. + * For example, run the command using the AWS-RunShellScript document or the + * AWS-RunPowerShellScript document.

                                      + *
                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetDocumentCommand.ts b/clients/client-ssm/commands/GetDocumentCommand.ts index 74eb937af7d1a..c104e5e5d6f0b 100644 --- a/clients/client-ssm/commands/GetDocumentCommand.ts +++ b/clients/client-ssm/commands/GetDocumentCommand.ts @@ -21,7 +21,7 @@ export interface GetDocumentCommandInput extends GetDocumentRequest {} export interface GetDocumentCommandOutput extends GetDocumentResult, __MetadataBearer {} /** - *

                                      Gets the contents of the specified Systems Manager document.

                                      + *

                                      Gets the contents of the specified Amazon Web Services Systems Manager document (SSM document).

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts index 615b1fc9c8eb9..1709e784eb5df 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts @@ -23,10 +23,10 @@ export interface GetMaintenanceWindowTaskCommandOutput extends GetMaintenanceWin /** *

                                      Lists the tasks in a maintenance window.

                                      * - *

                                      For maintenance window tasks without a specified target, you cannot supply values for + *

                                      For maintenance window tasks without a specified target, you can't supply values for * --max-errors and --max-concurrency. Instead, the system inserts a * placeholder value of 1, which may be reported in the response to this command. - * These values do not affect the running of your task and can be ignored.

                                      + * These values don't affect the running of your task and can be ignored.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/GetOpsItemCommand.ts b/clients/client-ssm/commands/GetOpsItemCommand.ts index 3ffb77b4d7f0e..c0afd8a96e3f9 100644 --- a/clients/client-ssm/commands/GetOpsItemCommand.ts +++ b/clients/client-ssm/commands/GetOpsItemCommand.ts @@ -21,14 +21,13 @@ export interface GetOpsItemCommandInput extends GetOpsItemRequest {} export interface GetOpsItemCommandOutput extends GetOpsItemResponse, __MetadataBearer {} /** - *

                                      Get information about an OpsItem by using the ID. You must have permission in AWS Identity - * and Access Management (IAM) to view information about an OpsItem. For more information, see - * Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                      - *

                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                      + *

                                      Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, + * see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                      + *

                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetOpsSummaryCommand.ts b/clients/client-ssm/commands/GetOpsSummaryCommand.ts index cb028413a8185..0a55620ab4644 100644 --- a/clients/client-ssm/commands/GetOpsSummaryCommand.ts +++ b/clients/client-ssm/commands/GetOpsSummaryCommand.ts @@ -22,7 +22,10 @@ export interface GetOpsSummaryCommandInput extends GetOpsSummaryRequest {} export interface GetOpsSummaryCommandOutput extends GetOpsSummaryResult, __MetadataBearer {} /** - *

                                      View a summary of OpsItems based on specified filters and aggregators.

                                      + *

                                      View a summary of operations metadata (OpsData) based on specified filters and aggregators. + * OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as + * well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager + * Explorer.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetParameterCommand.ts b/clients/client-ssm/commands/GetParameterCommand.ts index 82e5d1a9a2280..7fd666aeebb34 100644 --- a/clients/client-ssm/commands/GetParameterCommand.ts +++ b/clients/client-ssm/commands/GetParameterCommand.ts @@ -21,8 +21,8 @@ export interface GetParameterCommandInput extends GetParameterRequest {} export interface GetParameterCommandOutput extends GetParameterResult, __MetadataBearer {} /** - *

                                      Get information about a parameter by using the parameter name. Don't confuse this API action - * with the GetParameters API action.

                                      + *

                                      Get information about a parameter by using the parameter name. Don't confuse this API + * operation with the GetParameters API operation.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetParametersByPathCommand.ts b/clients/client-ssm/commands/GetParametersByPathCommand.ts index a48c73f315e36..b389bf22a643c 100644 --- a/clients/client-ssm/commands/GetParametersByPathCommand.ts +++ b/clients/client-ssm/commands/GetParametersByPathCommand.ts @@ -22,14 +22,12 @@ export interface GetParametersByPathCommandOutput extends GetParametersByPathRes /** *

                                      Retrieve information about one or more parameters in a specific hierarchy.

                                      - * - *

                                      Request results are returned on a best-effort basis. If you specify MaxResults - * in the request, the response includes information up to the limit specified. The number of items - * returned, however, can be between zero and the value of MaxResults. If the service - * reaches an internal limit while processing the results, it stops the operation and returns the - * matching values up to that point and a NextToken. You can specify the - * NextToken in a subsequent call to get the next set of results.

                                      - *
                                      + *

                                      Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetParametersCommand.ts b/clients/client-ssm/commands/GetParametersCommand.ts index f56f6cb3cdefd..d0e16128c0d7a 100644 --- a/clients/client-ssm/commands/GetParametersCommand.ts +++ b/clients/client-ssm/commands/GetParametersCommand.ts @@ -21,7 +21,7 @@ export interface GetParametersCommandInput extends GetParametersRequest {} export interface GetParametersCommandOutput extends GetParametersResult, __MetadataBearer {} /** - *

                                      Get details of a parameter. Don't confuse this API action with the GetParameter API action.

                                      + *

                                      Get details of a parameter. Don't confuse this API operation with the GetParameter API operation.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/GetServiceSettingCommand.ts b/clients/client-ssm/commands/GetServiceSettingCommand.ts index 98360e9a1a583..c03db41236872 100644 --- a/clients/client-ssm/commands/GetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/GetServiceSettingCommand.ts @@ -22,17 +22,18 @@ export interface GetServiceSettingCommandOutput extends GetServiceSettingResult, /** *

                                      - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                      - *

                                      Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of false. This means the user can't use + * this feature unless they change the setting to true and intentionally opt in for a + * paid feature.

                                      + *

                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the UpdateServiceSetting API action to change - * the default setting. Or use the ResetServiceSetting to change the value back to - * the original value defined by the AWS service team.

                                      + * permission for the setting. Use the UpdateServiceSetting API operation to + * change the default setting. Or use the ResetServiceSetting to change the value + * back to the original value defined by the Amazon Web Services service team.

                                      *

                                      Query the current service setting for the account.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/LabelParameterVersionCommand.ts b/clients/client-ssm/commands/LabelParameterVersionCommand.ts index b1dfdddc8748c..0a845c1bcb0e4 100644 --- a/clients/client-ssm/commands/LabelParameterVersionCommand.ts +++ b/clients/client-ssm/commands/LabelParameterVersionCommand.ts @@ -22,9 +22,9 @@ export interface LabelParameterVersionCommandOutput extends LabelParameterVersio /** *

                                      A parameter label is a user-defined alias to help you manage different versions of a - * parameter. When you modify a parameter, Systems Manager automatically saves a new version and increments - * the version number by one. A label can help you remember the purpose of a parameter when there - * are multiple versions.

                                      + * parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and + * increments the version number by one. A label can help you remember the purpose of a parameter + * when there are multiple versions.

                                      *

                                      Parameter labels have the following requirements and restrictions.

                                      *
                                        *
                                      • @@ -53,9 +53,9 @@ export interface LabelParameterVersionCommandOutput extends LabelParameterVersio * underscores (_).

                                        *
                                      • *
                                      • - *

                                        Labels can't begin with a number, "aws," or "ssm" (not case sensitive). If a label fails - * to meet these requirements, then the label is not associated with a parameter and the system - * displays it in the list of InvalidLabels.

                                        + *

                                        Labels can't begin with a number, "aws" or "ssm" (not case + * sensitive). If a label fails to meet these requirements, then the label isn't associated with a + * parameter and the system displays it in the list of InvalidLabels.

                                        *
                                      • *
                                      * @example diff --git a/clients/client-ssm/commands/ListAssociationsCommand.ts b/clients/client-ssm/commands/ListAssociationsCommand.ts index cb018bd332afd..cee8e5f327e7b 100644 --- a/clients/client-ssm/commands/ListAssociationsCommand.ts +++ b/clients/client-ssm/commands/ListAssociationsCommand.ts @@ -21,9 +21,9 @@ export interface ListAssociationsCommandInput extends ListAssociationsRequest {} export interface ListAssociationsCommandOutput extends ListAssociationsResult, __MetadataBearer {} /** - *

                                      Returns all State Manager associations in the current AWS account and Region. You can limit - * the results to a specific State Manager association document or instance by specifying a - * filter.

                                      + *

                                      Returns all State Manager associations in the current account and Region. You + * can limit the results to a specific State Manager association document or instance by specifying + * a filter. State Manager is a capability of Amazon Web Services Systems Manager.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts index c5f221cbf29bd..e52fe67e088d5 100644 --- a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts +++ b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts @@ -23,8 +23,9 @@ export interface ListCommandInvocationsCommandOutput extends ListCommandInvocati /** *

                                      An invocation is copy of a command sent to a specific instance. A command can apply to one * or more instances. A command invocation applies to one instance. For example, if a user runs - * SendCommand against three instances, then a command invocation is created for each requested - * instance ID. ListCommandInvocations provide status about command execution.

                                      + * SendCommand against three instances, then a command invocation is created for each + * requested instance ID. ListCommandInvocations provide status about command + * execution.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ListCommandsCommand.ts b/clients/client-ssm/commands/ListCommandsCommand.ts index edb09aff6d46a..c08db3e8eb1ca 100644 --- a/clients/client-ssm/commands/ListCommandsCommand.ts +++ b/clients/client-ssm/commands/ListCommandsCommand.ts @@ -21,7 +21,7 @@ export interface ListCommandsCommandInput extends ListCommandsRequest {} export interface ListCommandsCommandOutput extends ListCommandsResult, __MetadataBearer {} /** - *

                                      Lists the commands requested by users of the AWS account.

                                      + *

                                      Lists the commands requested by users of the account.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ListComplianceItemsCommand.ts b/clients/client-ssm/commands/ListComplianceItemsCommand.ts index 254c39cf07234..ba118f33eb867 100644 --- a/clients/client-ssm/commands/ListComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/ListComplianceItemsCommand.ts @@ -21,7 +21,7 @@ export interface ListComplianceItemsCommandInput extends ListComplianceItemsRequ export interface ListComplianceItemsCommandOutput extends ListComplianceItemsResult, __MetadataBearer {} /** - *

                                      For a specified resource ID, this API action returns a list of compliance statuses for + *

                                      For a specified resource ID, this API operation returns a list of compliance statuses for * different resource types. Currently, you can only specify one resource ID per call. List results * depend on the criteria specified in the filter.

                                      * @example diff --git a/clients/client-ssm/commands/ListDocumentsCommand.ts b/clients/client-ssm/commands/ListDocumentsCommand.ts index 5c29961de84c6..594798c909359 100644 --- a/clients/client-ssm/commands/ListDocumentsCommand.ts +++ b/clients/client-ssm/commands/ListDocumentsCommand.ts @@ -21,8 +21,8 @@ export interface ListDocumentsCommandInput extends ListDocumentsRequest {} export interface ListDocumentsCommandOutput extends ListDocumentsResult, __MetadataBearer {} /** - *

                                      Returns all Systems Manager (SSM) documents in the current AWS account and Region. You can limit the - * results of this request by using a filter.

                                      + *

                                      Returns all Systems Manager (SSM) documents in the current account and Region. You can + * limit the results of this request by using a filter.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ListOpsItemEventsCommand.ts b/clients/client-ssm/commands/ListOpsItemEventsCommand.ts index 762f2fef2de8d..fce27ec251367 100644 --- a/clients/client-ssm/commands/ListOpsItemEventsCommand.ts +++ b/clients/client-ssm/commands/ListOpsItemEventsCommand.ts @@ -21,8 +21,8 @@ export interface ListOpsItemEventsCommandInput extends ListOpsItemEventsRequest export interface ListOpsItemEventsCommandOutput extends ListOpsItemEventsResponse, __MetadataBearer {} /** - *

                                      Returns a list of all OpsItem events in the current AWS account and Region. You can limit - * the results to events associated with specific OpsItems by specifying a filter.

                                      + *

                                      Returns a list of all OpsItem events in the current Region and account. You can + * limit the results to events associated with specific OpsItems by specifying a filter.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ListOpsMetadataCommand.ts b/clients/client-ssm/commands/ListOpsMetadataCommand.ts index 02daa0d70679f..b04eef6d0e9d6 100644 --- a/clients/client-ssm/commands/ListOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/ListOpsMetadataCommand.ts @@ -21,7 +21,7 @@ export interface ListOpsMetadataCommandInput extends ListOpsMetadataRequest {} export interface ListOpsMetadataCommandOutput extends ListOpsMetadataResult, __MetadataBearer {} /** - *

                                      Systems Manager calls this API action when displaying all Application Manager OpsMetadata objects or + *

                                      Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or * blobs.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/ListTagsForResourceCommand.ts b/clients/client-ssm/commands/ListTagsForResourceCommand.ts index bc6f5bf217799..a6d564598fc28 100644 --- a/clients/client-ssm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ssm/commands/ListTagsForResourceCommand.ts @@ -22,6 +22,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes /** *

                                      Returns a list of the tags assigned to the specified resource.

                                      + *

                                      For information about the ID format for each supported resource type, see AddTagsToResource.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts index 168595db3f010..b5b670c2131bf 100644 --- a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts @@ -21,9 +21,10 @@ export interface ModifyDocumentPermissionCommandInput extends ModifyDocumentPerm export interface ModifyDocumentPermissionCommandOutput extends ModifyDocumentPermissionResponse, __MetadataBearer {} /** - *

                                      Shares a Systems Manager document publicly or privately. If you share a document privately, you must - * specify the AWS user account IDs for those people who can use the document. If you share a - * document publicly, you must specify All as the account ID.

                                      + *

                                      Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document + * privately, you must specify the Amazon Web Services user account IDs for those people who can use the + * document. If you share a document publicly, you must specify All as the + * account ID.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/PutComplianceItemsCommand.ts b/clients/client-ssm/commands/PutComplianceItemsCommand.ts index ca7e50f2671e1..a1c8bd761eff1 100644 --- a/clients/client-ssm/commands/PutComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/PutComplianceItemsCommand.ts @@ -22,9 +22,9 @@ export interface PutComplianceItemsCommandOutput extends PutComplianceItemsResul /** *

                                      Registers a compliance type and other compliance details on a designated resource. This - * action lets you register custom compliance details with a resource. This call overwrites existing - * compliance information on the resource, so you must provide a full list of compliance items each - * time that you send the request.

                                      + * operation lets you register custom compliance details with a resource. This call overwrites + * existing compliance information on the resource, so you must provide a full list of compliance + * items each time that you send the request.

                                      *

                                      ComplianceType can be one of the following:

                                      *
                                        *
                                      • @@ -52,7 +52,7 @@ export interface PutComplianceItemsCommandOutput extends PutComplianceItemsResul *

                                        Severity: A patch severity. For example, critical.

                                        *
                                      • *
                                      • - *

                                        DocumentName: A SSM document name. For example, AWS-RunPatchBaseline.

                                        + *

                                        DocumentName: An SSM document name. For example, AWS-RunPatchBaseline.

                                        *
                                      • *
                                      • *

                                        DocumentVersion: An SSM document version number. For example, 4.

                                        diff --git a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts index 34613be8aea05..400126748951a 100644 --- a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts @@ -24,8 +24,8 @@ export interface RegisterDefaultPatchBaselineCommandOutput /** *

                                        Defines the default patch baseline for the relevant operating system.

                                        - *

                                        To reset the AWS predefined patch baseline as the default, specify the full patch baseline - * ARN as the baseline ID value. For example, for CentOS, specify + *

                                        To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline + * Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify * arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of * pb-0574b43a65ea646ed.

                                        * @example diff --git a/clients/client-ssm/commands/ResetServiceSettingCommand.ts b/clients/client-ssm/commands/ResetServiceSettingCommand.ts index 31b005dabddf8..ba5320f2518b8 100644 --- a/clients/client-ssm/commands/ResetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/ResetServiceSettingCommand.ts @@ -22,18 +22,19 @@ export interface ResetServiceSettingCommandOutput extends ResetServiceSettingRes /** *

                                        - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                        - *

                                        Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

                                        + *

                                        Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the GetServiceSetting API action to view the - * current value. Use the UpdateServiceSetting API action to change the default + * permission for the setting. Use the GetServiceSetting API operation to view the + * current value. Use the UpdateServiceSetting API operation to change the default * setting.

                                        - *

                                        Reset the service setting for the account to the default value as provisioned by the AWS + *

                                        Reset the service setting for the account to the default value as provisioned by the Amazon Web Services * service team.

                                        * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/ResumeSessionCommand.ts b/clients/client-ssm/commands/ResumeSessionCommand.ts index 326697087f5f1..8c774daf38ce9 100644 --- a/clients/client-ssm/commands/ResumeSessionCommand.ts +++ b/clients/client-ssm/commands/ResumeSessionCommand.ts @@ -25,7 +25,7 @@ export interface ResumeSessionCommandOutput extends ResumeSessionResponse, __Met * resumed for disconnected sessions, but not terminated sessions.

                                        * *

                                        This command is primarily for use by client machines to automatically reconnect during - * intermittent network issues. It is not intended for any other use.

                                        + * intermittent network issues. It isn't intended for any other use.

                                        *
                                        * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts index 7b47f04da6620..b4eacb1970cbb 100644 --- a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts +++ b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts @@ -21,8 +21,8 @@ export interface StartAssociationsOnceCommandInput extends StartAssociationsOnce export interface StartAssociationsOnceCommandOutput extends StartAssociationsOnceResult, __MetadataBearer {} /** - *

                                        Use this API action to run an association immediately and only one time. This action can be - * helpful when troubleshooting associations.

                                        + *

                                        Runs an association immediately and only one time. This operation can be helpful when + * troubleshooting associations.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts index 5e6553e2f6732..52a0414ca7e38 100644 --- a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts @@ -21,7 +21,7 @@ export interface StartAutomationExecutionCommandInput extends StartAutomationExe export interface StartAutomationExecutionCommandOutput extends StartAutomationExecutionResult, __MetadataBearer {} /** - *

                                        Initiates execution of an Automation document.

                                        + *

                                        Initiates execution of an Automation runbook.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/StartChangeRequestExecutionCommand.ts b/clients/client-ssm/commands/StartChangeRequestExecutionCommand.ts index feb3a4ee4f102..ce8d6cdde12b4 100644 --- a/clients/client-ssm/commands/StartChangeRequestExecutionCommand.ts +++ b/clients/client-ssm/commands/StartChangeRequestExecutionCommand.ts @@ -21,7 +21,7 @@ export interface StartChangeRequestExecutionCommandInput extends StartChangeRequ export interface StartChangeRequestExecutionCommandOutput extends StartChangeRequestExecutionResult, __MetadataBearer {} /** - *

                                        Creates a change request for Change Manager. The runbooks (Automation documents) specified in the + *

                                        Creates a change request for Change Manager. The Automation runbooks specified in the * change request run only after all required approvals for the change request have been * received.

                                        * @example diff --git a/clients/client-ssm/commands/StartSessionCommand.ts b/clients/client-ssm/commands/StartSessionCommand.ts index d878d74f6f729..8e563ec048a2a 100644 --- a/clients/client-ssm/commands/StartSessionCommand.ts +++ b/clients/client-ssm/commands/StartSessionCommand.ts @@ -25,10 +25,10 @@ export interface StartSessionCommandOutput extends StartSessionResponse, __Metad * URL and token that can be used to open a WebSocket connection for sending input and receiving * outputs.

                                        * - *

                                        AWS CLI usage: start-session is an interactive command that requires the Session Manager + *

                                        Amazon Web Services CLI usage: start-session is an interactive command that requires the Session Manager * plugin to be installed on the client machine making the call. For information, see Install - * the Session Manager plugin for the AWS CLI in the AWS Systems Manager User Guide.

                                        - *

                                        AWS Tools for PowerShell usage: Start-SSMSession is not currently supported by AWS Tools + * the Session Manager plugin for the Amazon Web Services CLI in the Amazon Web Services Systems Manager User Guide.

                                        + *

                                        Amazon Web Services Tools for PowerShell usage: Start-SSMSession isn't currently supported by Amazon Web Services Tools * for PowerShell on Windows local machines.

                                        *
                                        * @example diff --git a/clients/client-ssm/commands/TerminateSessionCommand.ts b/clients/client-ssm/commands/TerminateSessionCommand.ts index 191cc844a119f..12e1cf232ae68 100644 --- a/clients/client-ssm/commands/TerminateSessionCommand.ts +++ b/clients/client-ssm/commands/TerminateSessionCommand.ts @@ -22,7 +22,7 @@ export interface TerminateSessionCommandOutput extends TerminateSessionResponse, /** *

                                        Permanently ends a session and closes the data connection between the Session Manager client and - * SSM Agent on the instance. A terminated session cannot be resumed.

                                        + * SSM Agent on the instance. A terminated session isn't be resumed.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/UpdateAssociationCommand.ts b/clients/client-ssm/commands/UpdateAssociationCommand.ts index e20716789054e..da3f073912cd9 100644 --- a/clients/client-ssm/commands/UpdateAssociationCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationCommand.ts @@ -22,13 +22,13 @@ export interface UpdateAssociationCommandOutput extends UpdateAssociationResult, /** *

                                        Updates an association. You can update the association name and version, the document - * version, schedule, parameters, and Amazon S3 output.

                                        - *

                                        In order to call this API action, your IAM user account, group, or role must be configured - * with permission to call the DescribeAssociation API action. If you don't have - * permission to call DescribeAssociation, then you receive the following error: An error - * occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: - * is not authorized to perform: ssm:DescribeAssociation on resource: - * + * version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output.

                                        + *

                                        In order to call this API operation, your Identity and Access Management (IAM) user + * account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call + * DescribeAssociation, then you receive the following error: An error occurred + * (AccessDeniedException) when calling the UpdateAssociation operation: User: + * isn't authorized to perform: ssm:DescribeAssociation on resource: + * *

                                        * *

                                        When you update an association, the association immediately runs against the specified diff --git a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts index 22ff2f966a6e2..504825a912df3 100644 --- a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts @@ -21,7 +21,8 @@ export interface UpdateAssociationStatusCommandInput extends UpdateAssociationSt export interface UpdateAssociationStatusCommandOutput extends UpdateAssociationStatusResult, __MetadataBearer {} /** - *

                                        Updates the status of the Systems Manager document associated with the specified instance.

                                        + *

                                        Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified + * instance.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts index be123a125d818..1feb7e2415bcb 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts @@ -48,7 +48,7 @@ export interface UpdateMaintenanceWindowTargetCommandOutput *
                                      • *
                                      * - *

                                      If a parameter is null, then the corresponding field is not modified.

                                      + *

                                      If a parameter is null, then the corresponding field isn't modified.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts index 5ea32c45c3376..99cd873ff0bb2 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts @@ -25,41 +25,52 @@ export interface UpdateMaintenanceWindowTaskCommandOutput extends UpdateMaintena * can change the following values:

                                      *
                                        *
                                      • - *

                                        TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript to - * AWS-RunShellScript.

                                        + *

                                        + * TaskARN. For example, you can change a RUN_COMMAND task from + * AWS-RunPowerShellScript to AWS-RunShellScript.

                                        *
                                      • *
                                      • - *

                                        ServiceRoleArn

                                        + *

                                        + * ServiceRoleArn + *

                                        *
                                      • *
                                      • - *

                                        TaskInvocationParameters

                                        + *

                                        + * TaskInvocationParameters + *

                                        *
                                      • *
                                      • - *

                                        Priority

                                        + *

                                        + * Priority + *

                                        *
                                      • *
                                      • - *

                                        MaxConcurrency

                                        + *

                                        + * MaxConcurrency + *

                                        *
                                      • *
                                      • - *

                                        MaxErrors

                                        + *

                                        + * MaxErrors + *

                                        *
                                      • *
                                      * *

                                      One or more targets must be specified for maintenance window Run Command-type tasks. * Depending on the task, targets are optional for other maintenance window task types (Automation, - * AWS Lambda, and AWS Step Functions). For more information about running tasks that do not - * specify targets, see Registering + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering * maintenance window tasks without targets in the - * AWS Systems Manager User Guide.

                                      + * Amazon Web Services Systems Manager User Guide.

                                      *
                                      *

                                      If the value for a parameter in UpdateMaintenanceWindowTask is null, then the - * corresponding field is not modified. If you set Replace to true, then all fields - * required by the RegisterTaskWithMaintenanceWindow action are required for this - * request. Optional fields that aren't specified are set to null.

                                      + * corresponding field isn't modified. If you set Replace to true, then all fields + * required by the RegisterTaskWithMaintenanceWindow operation are required for + * this request. Optional fields that aren't specified are set to null.

                                      * *

                                      When you update a maintenance window task that has options specified in * TaskInvocationParameters, you must provide again all the - * TaskInvocationParameters values that you want to retain. The values you do not + * TaskInvocationParameters values that you want to retain. The values you don't * specify again are removed. For example, suppose that when you registered a Run Command task, you * specified TaskInvocationParameters values for Comment, * NotificationConfig, and OutputS3BucketName. If you update the diff --git a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts index e72bb5d252c6e..8d9f9f6d50020 100644 --- a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts +++ b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts @@ -21,9 +21,9 @@ export interface UpdateManagedInstanceRoleCommandInput extends UpdateManagedInst export interface UpdateManagedInstanceRoleCommandOutput extends UpdateManagedInstanceRoleResult, __MetadataBearer {} /** - *

                                      Changes the Amazon Identity and Access Management (IAM) role that is assigned to the - * on-premises instance or virtual machines (VM). IAM roles are first assigned to these hybrid - * instances during the activation process. For more information, see CreateActivation.

                                      + *

                                      Changes the Identity and Access Management (IAM) role that is assigned to the + * on-premises instance or virtual machines (VM). IAM roles are first assigned to + * these hybrid instances during the activation process. For more information, see CreateActivation.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/UpdateOpsItemCommand.ts b/clients/client-ssm/commands/UpdateOpsItemCommand.ts index fe2112c433898..4ce07a52f4a5c 100644 --- a/clients/client-ssm/commands/UpdateOpsItemCommand.ts +++ b/clients/client-ssm/commands/UpdateOpsItemCommand.ts @@ -21,13 +21,12 @@ export interface UpdateOpsItemCommandInput extends UpdateOpsItemRequest {} export interface UpdateOpsItemCommandOutput extends UpdateOpsItemResponse, __MetadataBearer {} /** - *

                                      Edit or change an OpsItem. You must have permission in AWS Identity and Access Management - * (IAM) to update an OpsItem. For more information, see Getting started with - * OpsCenter in the AWS Systems Manager User Guide.

                                      - *

                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                      + *

                                      Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Getting started with + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                      + *

                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts b/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts index e6ec3ce9b4c80..a4166f1768587 100644 --- a/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts @@ -21,7 +21,7 @@ export interface UpdateOpsMetadataCommandInput extends UpdateOpsMetadataRequest export interface UpdateOpsMetadataCommandOutput extends UpdateOpsMetadataResult, __MetadataBearer {} /** - *

                                      Systems Manager calls this API action when you edit OpsMetadata in Application Manager.

                                      + *

                                      Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts index 92d2fad5158ce..1268b2ebff539 100644 --- a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts @@ -24,8 +24,8 @@ export interface UpdatePatchBaselineCommandOutput extends UpdatePatchBaselineRes *

                                      Modifies an existing patch baseline. Fields not specified in the request are left * unchanged.

                                      * - *

                                      For information about valid key and value pairs in PatchFilters for each - * supported operating system type, see PatchFilter.

                                      + *

                                      For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts index 3f13105104048..fb009efcf6b30 100644 --- a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts @@ -23,12 +23,13 @@ export interface UpdateResourceDataSyncCommandOutput extends UpdateResourceDataS /** *

                                      Update a resource data sync. After you create a resource data sync for a Region, you can't * change the account options for that sync. For example, if you create a sync in the us-east-2 - * (Ohio) Region and you choose the Include only the current account option, you can't edit that - * sync later and choose the Include all accounts from my AWS Organizations configuration option. Instead, - * you must delete the first resource data sync, and create a new one.

                                      + * (Ohio) Region and you choose the Include only the current account option, you can't + * edit that sync later and choose the Include all accounts from my Organizations + * configuration option. Instead, you must delete the first resource data sync, and create a + * new one.

                                      * - *

                                      This API action only supports a resource data sync that was created with a SyncFromSource - * SyncType.

                                      + *

                                      This API operation only supports a resource data sync that was created with a + * SyncFromSource SyncType.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts index 2d6ce6b1a4f21..77cc1163468f0 100644 --- a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts +++ b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts @@ -22,17 +22,18 @@ export interface UpdateServiceSettingCommandOutput extends UpdateServiceSettingR /** *

                                      - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                      - *

                                      Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

                                      + *

                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the GetServiceSetting API action to view the + * permission for the setting. Use the GetServiceSetting API operation to view the * current value. Or, use the ResetServiceSetting to change the value back to the - * original value defined by the AWS service team.

                                      + * original value defined by the Amazon Web Services service team.

                                      *

                                      Update the service setting for the account.

                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ssm/models/models_0.ts b/clients/client-ssm/models/models_0.ts index ed1449bd87df2..a75ad87f11877 100644 --- a/clients/client-ssm/models/models_0.ts +++ b/clients/client-ssm/models/models_0.ts @@ -2,12 +2,12 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; /** - *

                                      Information includes the AWS account ID where the current document is shared and the version - * shared with that account.

                                      + *

                                      Information includes the account ID where the current document is shared and the + * version shared with that account.

                                      */ export interface AccountSharingInfo { /** - *

                                      The AWS account ID where the current document is shared.

                                      + *

                                      The account ID where the current document is shared.

                                      */ AccountId?: string; @@ -27,10 +27,10 @@ export namespace AccountSharingInfo { } /** - *

                                      Metadata that you assign to your AWS resources. Tags enable you to categorize your resources - * in different ways, for example, by purpose, owner, or environment. In Systems Manager, you can apply tags - * to documents, managed instances, maintenance windows, Parameter Store parameters, and patch - * baselines.

                                      + *

                                      Metadata that you assign to your Amazon Web Services resources. Tags enable you to categorize your + * resources in different ways, for example, by purpose, owner, or environment. In Amazon Web Services Systems Manager, you + * can apply tags to Systems Manager documents (SSM documents), managed instances, maintenance windows, + * parameters, patch baselines, OpsItems, and OpsMetadata.

                                      */ export interface Tag { /** @@ -54,9 +54,9 @@ export namespace Tag { } /** - *

                                      An activation registers one or more on-premises servers or virtual machines (VMs) with AWS + *

                                      An activation registers one or more on-premises servers or virtual machines (VMs) with Amazon Web Services * so that you can configure those servers or VMs using Run Command. A server or VM that has been - * registered with AWS is called a managed instance.

                                      + * registered with Amazon Web Services Systems Manager is called a managed instance.

                                      */ export interface Activation { /** @@ -75,7 +75,7 @@ export interface Activation { DefaultInstanceName?: string; /** - *

                                      The Amazon Identity and Access Management (IAM) role to assign to the managed + *

                                      The Identity and Access Management (IAM) role to assign to the managed * instance.

                                      */ IamRole?: string; @@ -134,9 +134,11 @@ export interface AddTagsToResourceRequest { /** *

                                      Specifies the type of resource you are tagging.

                                      * - *

                                      The ManagedInstance type for this API action is for on-premises managed instances. You must - * specify the name of the managed instance in the following format: mi-ID_number. For example, - * mi-1a2b3c4d5e6f.

                                      + *

                                      The ManagedInstance type for this API operation is for on-premises managed + * instances. You must specify the name of the managed instance in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

                                      *
                                      */ ResourceType: ResourceTypeForTagging | string | undefined; @@ -144,20 +146,31 @@ export interface AddTagsToResourceRequest { /** *

                                      The resource ID you want to tag.

                                      *

                                      Use the ID of the resource. Here are some examples:

                                      - *

                                      ManagedInstance: mi-012345abcde

                                      - *

                                      MaintenanceWindow: mw-012345abcde

                                      - *

                                      PatchBaseline: pb-012345abcde

                                      - *

                                      OpsMetadata object: ResourceID for tagging is created from the Amazon Resource - * Name (ARN) for the object. Specifically, ResourceID is created from the strings that - * come after the word opsmetadata in the ARN. For example, an OpsMetadata object with - * an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager - * has a ResourceID of either aws/ssm/MyGroup/appmanager or + *

                                      + * MaintenanceWindow: mw-012345abcde + *

                                      + *

                                      + * PatchBaseline: pb-012345abcde + *

                                      + *

                                      + * OpsMetadata object: ResourceID for tagging is created from the + * Amazon Resource Name (ARN) for the object. Specifically, ResourceID is created from + * the strings that come after the word opsmetadata in the ARN. For example, an + * OpsMetadata object with an ARN of + * arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a + * ResourceID of either aws/ssm/MyGroup/appmanager or * /aws/ssm/MyGroup/appmanager.

                                      - *

                                      For the Document and Parameter values, use the name of the resource.

                                      + *

                                      For the Document and Parameter values, use the name of the + * resource.

                                      + *

                                      + * ManagedInstance: mi-012345abcde + *

                                      * - *

                                      The ManagedInstance type for this API action is only for on-premises managed instances. You - * must specify the name of the managed instance in the following format: mi-ID_number. For - * example, mi-1a2b3c4d5e6f.

                                      + *

                                      The ManagedInstance type for this API operation is only for on-premises + * managed instances. You must specify the name of the managed instance in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

                                      *
                                      */ ResourceId: string | undefined; @@ -165,7 +178,7 @@ export interface AddTagsToResourceRequest { /** *

                                      One or more tags. The value parameter is required.

                                      * - *

                                      Do not enter personally identifiable information in this field.

                                      + *

                                      Don't enter personally identifiable information in this field.

                                      *
                                      */ Tags: Tag[] | undefined; @@ -210,7 +223,7 @@ export namespace InternalServerError { } /** - *

                                      The resource ID is not valid. Verify that you entered the correct ID and try again.

                                      + *

                                      The resource ID isn't valid. Verify that you entered the correct ID and try again.

                                      */ export interface InvalidResourceId extends __SmithyException, $MetadataBearer { name: "InvalidResourceId"; @@ -227,7 +240,7 @@ export namespace InvalidResourceId { } /** - *

                                      The resource type is not valid. For example, if you are attempting to tag an instance, the + *

                                      The resource type isn't valid. For example, if you are attempting to tag an instance, the * instance must be a registered, managed instance.

                                      */ export interface InvalidResourceType extends __SmithyException, $MetadataBearer { @@ -315,15 +328,15 @@ export interface AssociateOpsItemRelatedItemRequest { *

                                      The type of resource that you want to associate with an OpsItem. OpsCenter supports the * following types:

                                      *

                                      - * AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident - * Manager is a capability of AWS Systems Manager.

                                      + * AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident Manager is a + * capability of Amazon Web Services Systems Manager.

                                      *

                                      * AWS::SSM::Document: a Systems Manager (SSM) document.

                                      */ ResourceType: string | undefined; /** - *

                                      The Amazon Resource Name (ARN) of the AWS resource that you want to associate with the + *

                                      The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the * OpsItem.

                                      */ ResourceUri: string | undefined; @@ -475,7 +488,7 @@ export namespace CancelCommandResult { } /** - *

                                      You cannot specify an instance ID in more than one association.

                                      + *

                                      You can't specify an instance ID in more than one association.

                                      */ export interface DuplicateInstanceId extends __SmithyException, $MetadataBearer { name: "DuplicateInstanceId"; @@ -492,7 +505,7 @@ export namespace DuplicateInstanceId { } /** - *

                                      The specified command ID is not valid. Verify the ID and try again.

                                      + *

                                      The specified command ID isn't valid. Verify the ID and try again.

                                      */ export interface InvalidCommandId extends __SmithyException, $MetadataBearer { name: "InvalidCommandId"; @@ -510,11 +523,23 @@ export namespace InvalidCommandId { /** *

                                      The following problems can cause this exception:

                                      - *

                                      You do not have permission to access the instance.

                                      - *

                                      SSM Agent is not running. Verify that SSM Agent is running.

                                      - *

                                      SSM Agent is not registered with the SSM endpoint. Try reinstalling SSM Agent.

                                      - *

                                      The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. - * Invalid states are: Shutting-down and Terminated.

                                      + *
                                        + *
                                      • + *

                                        You don't have permission to access the instance.

                                        + *
                                      • + *
                                      • + *

                                        Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

                                        + *
                                      • + *
                                      • + *

                                        SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

                                        + *
                                      • + *
                                      • + *

                                        The instance isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

                                        + *
                                      • + *
                                      */ export interface InvalidInstanceId extends __SmithyException, $MetadataBearer { name: "InvalidInstanceId"; @@ -564,10 +589,10 @@ export namespace CancelMaintenanceWindowExecutionResult { } /** - *

                                      Error returned when the ID specified for a resource, such as a maintenance window or Patch + *

                                      Error returned when the ID specified for a resource, such as a maintenance window or patch * baseline, doesn't exist.

                                      - *

                                      For information about resource quotas in Systems Manager, see Systems Manager service quotas in the - * AWS General Reference.

                                      + *

                                      For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

                                      */ export interface DoesNotExistException extends __SmithyException, $MetadataBearer { name: "DoesNotExistException"; @@ -588,31 +613,32 @@ export interface CreateActivationRequest { /** *

                                      A user-defined description of the resource that you want to register with Systems Manager.

                                      * - *

                                      Do not enter personally identifiable information in this field.

                                      + *

                                      Don't enter personally identifiable information in this field.

                                      *
                                      */ Description?: string; /** - *

                                      The name of the registered, managed instance as it will appear in the Systems Manager console or when - * you use the AWS command line tools to list Systems Manager resources.

                                      + *

                                      The name of the registered, managed instance as it will appear in the Amazon Web Services Systems Manager console or + * when you use the Amazon Web Services command line tools to list Systems Manager resources.

                                      * - *

                                      Do not enter personally identifiable information in this field.

                                      + *

                                      Don't enter personally identifiable information in this field.

                                      *
                                      */ DefaultInstanceName?: string; /** - *

                                      The Amazon Identity and Access Management (IAM) role that you want to assign to the managed - * instance. This IAM role must provide AssumeRole permissions for the Systems Manager service principal - * ssm.amazonaws.com. For more information, see Create an IAM service role for a - * hybrid environment in the AWS Systems Manager User Guide.

                                      + *

                                      The Identity and Access Management (IAM) role that you want to assign to the managed + * instance. This IAMrole must provide AssumeRole permissions for the Amazon Web Services Systems Manager + * service principal ssm.amazonaws.com. For more information, see Create an + * IAM service role for a hybrid environment in the + * Amazon Web Services Systems Manager User Guide.

                                      */ IamRole: string | undefined; /** - *

                                      Specify the maximum number of managed instances you want to register. The default value is 1 - * instance.

                                      + *

                                      Specify the maximum number of managed instances you want to register. The default value is + * 1.

                                      */ RegistrationLimit?: number; @@ -627,8 +653,7 @@ export interface CreateActivationRequest { *

                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in * different ways, such as by purpose, owner, or environment. For example, you might want to tag an * activation to identify which servers or virtual machines (VMs) in your on-premises environment - * you intend to activate. In this case, you could specify the following key name/value - * pairs:

                                      + * you intend to activate. In this case, you could specify the following key-value pairs:

                                      *
                                        *
                                      • *

                                        @@ -642,13 +667,13 @@ export interface CreateActivationRequest { *

                                      • *
                                      * - *

                                      When you install SSM Agent on your on-premises servers and VMs, you specify an activation - * ID and code. When you specify the activation ID and code, tags assigned to the activation are + *

                                      When you install SSM Agent on your on-premises servers and VMs, you specify an activation ID + * and code. When you specify the activation ID and code, tags assigned to the activation are * automatically applied to the on-premises servers or VMs.

                                      *
                                      *

                                      You can't add tags to or delete tags from an existing activation. You can tag your * on-premises servers and VMs after they connect to Systems Manager for the first time and are assigned a - * managed instance ID. This means they are listed in the AWS Systems Manager console with an ID that is + * managed instance ID. This means they are listed in the Amazon Web Services Systems Manager console with an ID that is * prefixed with "mi-". For information about how to add tags to your managed instances, see AddTagsToResource. For information about how to remove tags from your managed * instances, see RemoveTagsFromResource.

                                      */ @@ -734,8 +759,8 @@ export enum AssociationComplianceSeverity { */ export interface S3OutputLocation { /** - *

                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager - * automatically determines the Region of the S3 bucket.

                                      + *

                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, + * Amazon Web Services Systems Manager automatically determines the Region of the S3 bucket.

                                      */ OutputS3Region?: string; @@ -761,8 +786,8 @@ export namespace S3OutputLocation { /** *

                                      An S3 bucket where you want to store the results of this request.

                                      - *

                                      For the minimal permissions required to enable Amazon S3 output for an association, see Creating - * associations in the Systems Manager User Guide.

                                      + *

                                      For the minimal permissions required to enable Amazon S3 output for an association, + * see Creating associations in the Systems Manager User Guide.

                                      */ export interface InstanceAssociationOutputLocation { /** @@ -786,22 +811,22 @@ export enum AssociationSyncCompliance { } /** - *

                                      The combination of AWS Regions and accounts targeted by the current Automation + *

                                      The combination of Regions and accounts targeted by the current Automation * execution.

                                      */ export interface TargetLocation { /** - *

                                      The AWS accounts targeted by the current Automation execution.

                                      + *

                                      The accounts targeted by the current Automation execution.

                                      */ Accounts?: string[]; /** - *

                                      The AWS Regions targeted by the current Automation execution.

                                      + *

                                      The Regions targeted by the current Automation execution.

                                      */ Regions?: string[]; /** - *

                                      The maximum number of AWS accounts and AWS regions allowed to run the Automation + *

                                      The maximum number of Regions and accounts allowed to run the Automation * concurrently.

                                      */ TargetLocationMaxConcurrency?: string; @@ -829,15 +854,15 @@ export namespace TargetLocation { } /** - *

                                      An array of search criteria that targets instances using a Key,Value combination that you + *

                                      An array of search criteria that targets instances using a key-value pair that you * specify.

                                      * *

                                      One or more targets must be specified for maintenance window Run Command-type tasks. * Depending on the task, targets are optional for other maintenance window task types (Automation, - * AWS Lambda, and AWS Step Functions). For more information about running tasks that do not - * specify targets, see Registering + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering * maintenance window tasks without targets in the - * AWS Systems Manager User Guide.

                                      + * Amazon Web Services Systems Manager User Guide.

                                      *
                                      *

                                      Supported formats include the following.

                                      *
                                        @@ -911,8 +936,8 @@ export namespace TargetLocation { * Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC * *

                                        - *

                                        This example demonstrates how to target only EC2 instances and VPCs in your maintenance - * window.

                                        + *

                                        This example demonstrates how to target only Amazon Elastic Compute Cloud (Amazon EC2) + * instances and VPCs in your maintenance window.

                                        * *
                                      • *

                                        @@ -926,12 +951,12 @@ export namespace TargetLocation { * Key=InstanceIds,Values=* * *

                                        - *

                                        This example demonstrates how to target all managed instances in the AWS Region where the - * association was created.

                                        + *

                                        This example demonstrates how to target all managed instances in the Region where + * the association was created.

                                        *
                                      • *
                                      *

                                      For more information about how to send commands that target instances using - * Key,Value parameters, see Targeting multiple instances in the AWS Systems Manager User Guide.

                                      + * Key,Value parameters, see Targeting multiple instances in the Amazon Web Services Systems Manager User Guide.

                                      */ export interface Target { /** @@ -944,8 +969,8 @@ export interface Target { *

                                      User-defined criteria that maps to Key. For example, if you specified * tag:ServerRole, you could specify value:WebServer to run a command on * instances that include EC2 tags of ServerRole,WebServer.

                                      - *

                                      Depending on the type of Target, the maximum number of values for a - * Key might be lower than the global maximum of 50.

                                      + *

                                      Depending on the type of target, the maximum number of values for a key might be lower than + * the global maximum of 50.

                                      */ Values?: string[]; } @@ -961,12 +986,12 @@ export namespace Target { export interface CreateAssociationRequest { /** - *

                                      The name of the SSM document that contains the configuration information for the instance. - * You can specify Command or Automation documents.

                                      - *

                                      You can specify AWS-predefined documents, documents you created, or a document that is + *

                                      The name of the SSM Command document or Automation runbook that contains the configuration + * information for the instance.

                                      + *

                                      You can specify Amazon Web Services-predefined documents, documents you created, or a document that is * shared with you from another account.

                                      - *

                                      For SSM documents that are shared with you from other AWS accounts, you must specify the - * complete SSM document ARN, in the following format:

                                      + *

                                      For Systems Manager documents (SSM documents) that are shared with you from other accounts, you + * must specify the complete SSM document ARN, in the following format:

                                      *

                                      * arn:partition:ssm:region:account-id:document/document-name * @@ -975,8 +1000,8 @@ export interface CreateAssociationRequest { *

                                      * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document *

                                      - *

                                      For AWS-predefined documents and SSM documents you created in your account, you only need to - * specify the document name. For example, AWS-ApplyPatchBaseline or + *

                                      For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or * My-Document.

                                      */ Name: string | undefined; @@ -993,12 +1018,12 @@ export interface CreateAssociationRequest { *

                                      * InstanceId has been deprecated. To specify an instance ID for an association, * use the Targets parameter. Requests that include the - * parameter InstanceID with SSM documents that use schema version 2.0 or later will - * fail. In addition, if you use the parameter InstanceId, you - * cannot use the parameters AssociationName, DocumentVersion, - * MaxErrors, MaxConcurrency, OutputLocation, or - * ScheduleExpression. To use these parameters, you must use the Targets - * parameter.

                                      + * parameter InstanceID with Systems Manager documents (SSM documents) that use schema version + * 2.0 or later will fail. In addition, if you use the parameter + * InstanceId, you can't use the parameters AssociationName, + * DocumentVersion, MaxErrors, MaxConcurrency, + * OutputLocation, or ScheduleExpression. To use these parameters, you + * must use the Targets parameter.

                                      * */ InstanceId?: string; @@ -1009,10 +1034,10 @@ export interface CreateAssociationRequest { Parameters?: { [key: string]: string[] }; /** - *

                                      The targets for the association. You can target instances by using tags, AWS Resource - * Groups, all instances in an AWS account, or individual instance IDs. For more information about + *

                                      The targets for the association. You can target instances by using tags, Amazon Web Services resource + * groups, all instances in an account, or individual instance IDs. For more information about * choosing targets for an association, see Using targets and rate controls with State Manager associations in the - * AWS Systems Manager User Guide.

                                      + * Amazon Web Services Systems Manager User Guide.

                                      */ Targets?: Target[]; @@ -1022,7 +1047,8 @@ export interface CreateAssociationRequest { ScheduleExpression?: string; /** - *

                                      An S3 bucket where you want to store the output details of the request.

                                      + *

                                      An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output + * details of the request.

                                      */ OutputLocation?: InstanceAssociationOutputLocation; @@ -1033,7 +1059,8 @@ export interface CreateAssociationRequest { /** *

                                      Specify the target for the association. This target is required for associations that use an - * Automation document and target resources by using rate controls.

                                      + * Automation runbook and target resources by using rate controls. Automation is a capability of + * Amazon Web Services Systems Manager.

                                      */ AutomationTargetParameterName?: string; @@ -1043,12 +1070,12 @@ export interface CreateAssociationRequest { * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, * the system stops sending requests when the fourth error is received. If you specify 0, then the * system stops sending requests after the first error is returned. If you run an association on 50 - * instances and set MaxError to 10%, then the system stops sending the request when the sixth error - * is received.

                                      - *

                                      Executions that are already running an association when MaxErrors is reached are allowed to - * complete, but some of these executions may fail as well. If you need to ensure that there won't - * be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one - * at a time.

                                      + * instances and set MaxError to 10%, then the system stops sending the request when + * the sixth error is received.

                                      + *

                                      Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

                                      */ MaxErrors?: string; @@ -1057,9 +1084,9 @@ export interface CreateAssociationRequest { * specify a number, for example 10, or a percentage of the target set, for example 10%. The default * value is 100%, which means all targets run the association at the same time.

                                      *

                                      If a new instance starts and attempts to run an association while Systems Manager is running - * MaxConcurrency associations, the association is allowed to run. During the next association - * interval, the new instance will process its association within the limit specified for - * MaxConcurrency.

                                      + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new instance will process its association within the limit specified + * for MaxConcurrency.

                                      */ MaxConcurrency?: string; @@ -1075,8 +1102,8 @@ export interface CreateAssociationRequest { * then the association is COMPLIANT. If the association execution doesn't run * successfully, the association is NON-COMPLIANT.

                                      *

                                      In MANUAL mode, you must specify the AssociationId as a parameter - * for the PutComplianceItems API action. In this case, compliance data is not - * managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                      + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager. It is managed by your direct call to the PutComplianceItems API operation.

                                      *

                                      By default, all associations use AUTO mode.

                                      */ SyncCompliance?: AssociationSyncCompliance | string; @@ -1084,21 +1111,21 @@ export interface CreateAssociationRequest { /** *

                                      By default, when you create a new association, the system runs it immediately after it is * created and then according to the schedule you specified. Specify this option if you don't want - * an association to run immediately after you create it. This parameter is not supported for rate + * an association to run immediately after you create it. This parameter isn't supported for rate * expressions.

                                      */ ApplyOnlyAtCronInterval?: boolean; /** - *

                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type - * documents you want to gate your associations under. The associations only run when that Change - * Calendar is open. For more information, see AWS Systems Manager Change + *

                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to + * gate your associations under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change * Calendar.

                                      */ CalendarNames?: string[]; /** - *

                                      A location is a combination of AWS Regions and AWS accounts where you want to run the + *

                                      A location is a combination of Regions and accounts where you want to run the * association. Use this action to create an association in multiple Regions and multiple * accounts.

                                      */ @@ -1190,7 +1217,7 @@ export namespace AssociationStatus { */ export interface AssociationDescription { /** - *

                                      The name of the Systems Manager document.

                                      + *

                                      The name of the SSM document.

                                      */ Name?: string; @@ -1231,7 +1258,8 @@ export interface AssociationDescription { /** *

                                      Specify the target for the association. This target is required for associations that use an - * Automation document and target resources by using rate controls.

                                      + * Automation runbook and target resources by using rate controls. Automation is a capability of + * Amazon Web Services Systems Manager.

                                      */ AutomationTargetParameterName?: string; @@ -1281,12 +1309,12 @@ export interface AssociationDescription { * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, * the system stops sending requests when the fourth error is received. If you specify 0, then the * system stops sending requests after the first error is returned. If you run an association on 50 - * instances and set MaxError to 10%, then the system stops sending the request when the sixth error - * is received.

                                      - *

                                      Executions that are already running an association when MaxErrors is reached are allowed to - * complete, but some of these executions may fail as well. If you need to ensure that there won't - * be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one - * at a time.

                                      + * instances and set MaxError to 10%, then the system stops sending the request when + * the sixth error is received.

                                      + *

                                      Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

                                      */ MaxErrors?: string; @@ -1295,9 +1323,9 @@ export interface AssociationDescription { * specify a number, for example 10, or a percentage of the target set, for example 10%. The default * value is 100%, which means all targets run the association at the same time.

                                      *

                                      If a new instance starts and attempts to run an association while Systems Manager is running - * MaxConcurrency associations, the association is allowed to run. During the next association - * interval, the new instance will process its association within the limit specified for - * MaxConcurrency.

                                      + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new instance will process its association within the limit specified + * for MaxConcurrency.

                                      */ MaxConcurrency?: string; @@ -1313,8 +1341,9 @@ export interface AssociationDescription { * then the association is COMPLIANT. If the association execution doesn't run * successfully, the association is NON-COMPLIANT.

                                      *

                                      In MANUAL mode, you must specify the AssociationId as a parameter - * for the PutComplianceItems API action. In this case, compliance data is not - * managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                      + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

                                      *

                                      By default, all associations use AUTO mode.

                                      */ SyncCompliance?: AssociationSyncCompliance | string; @@ -1322,21 +1351,21 @@ export interface AssociationDescription { /** *

                                      By default, when you create a new associations, the system runs it immediately after it is * created and then according to the schedule you specified. Specify this option if you don't want - * an association to run immediately after you create it. This parameter is not supported for rate + * an association to run immediately after you create it. This parameter isn't supported for rate * expressions.

                                      */ ApplyOnlyAtCronInterval?: boolean; /** - *

                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type - * documents your associations are gated under. The associations only run when that Change - * Calendar is open. For more information, see - * AWS Systems Manager Change Calendar.

                                      + *

                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

                                      */ CalendarNames?: string[]; /** - *

                                      The combination of AWS Regions and AWS accounts where you want to run the + *

                                      The combination of Regions and accounts where you want to run the * association.

                                      */ TargetLocations?: TargetLocation[]; @@ -1368,16 +1397,14 @@ export namespace CreateAssociationResult { } /** - *

                                      The specified document does not exist.

                                      + *

                                      The specified SSM document doesn't exist.

                                      */ export interface InvalidDocument extends __SmithyException, $MetadataBearer { name: "InvalidDocument"; $fault: "client"; /** - *

                                      The document does not exist or the document is not available to the user. This exception can - * be issued by CreateAssociation, CreateAssociationBatch, DeleteAssociation, DeleteDocument, - * DescribeAssociation, DescribeDocument, GetDocument, SendCommand, or UpdateAssociationStatus. - *

                                      + *

                                      The SSM document doesn't exist or the document isn't available to the user. This exception + * can be issued by various API operations.

                                      */ Message?: string; } @@ -1392,7 +1419,7 @@ export namespace InvalidDocument { } /** - *

                                      The document version is not valid or does not exist.

                                      + *

                                      The document version isn't valid or doesn't exist.

                                      */ export interface InvalidDocumentVersion extends __SmithyException, $MetadataBearer { name: "InvalidDocumentVersion"; @@ -1410,7 +1437,7 @@ export namespace InvalidDocumentVersion { } /** - *

                                      The output location is not valid or does not exist.

                                      + *

                                      The output location isn't valid or doesn't exist.

                                      */ export interface InvalidOutputLocation extends __SmithyException, $MetadataBearer { name: "InvalidOutputLocation"; @@ -1427,8 +1454,8 @@ export namespace InvalidOutputLocation { } /** - *

                                      You must specify values for all required parameters in the Systems Manager document. You can only - * supply values to parameters defined in the Systems Manager document.

                                      + *

                                      You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

                                      */ export interface InvalidParameters extends __SmithyException, $MetadataBearer { name: "InvalidParameters"; @@ -1464,7 +1491,7 @@ export namespace InvalidSchedule { } /** - *

                                      The target is not valid or does not exist. It might not be configured for Systems Manager or you might + *

                                      The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might * not have permission to perform the operation.

                                      */ export interface InvalidTarget extends __SmithyException, $MetadataBearer { @@ -1483,8 +1510,8 @@ export namespace InvalidTarget { } /** - *

                                      The document does not support the platform type of the given instance ID(s). For example, - * you sent an document for a Windows instance to a Linux instance.

                                      + *

                                      The document doesn't support the platform type of the given instance ID(s). For example, you + * sent an document for a Windows instance to a Linux instance.

                                      */ export interface UnsupportedPlatformType extends __SmithyException, $MetadataBearer { name: "UnsupportedPlatformType"; @@ -1502,15 +1529,15 @@ export namespace UnsupportedPlatformType { } /** - *

                                      Describes the association of a Systems Manager SSM document and an instance.

                                      + *

                                      Describes the association of a Amazon Web Services Systems Manager document (SSM document) and an instance.

                                      */ export interface CreateAssociationBatchRequestEntry { /** *

                                      The name of the SSM document that contains the configuration information for the instance. - * You can specify Command or Automation documents.

                                      - *

                                      You can specify AWS-predefined documents, documents you created, or a document that is + * You can specify Command or Automation runbooks.

                                      + *

                                      You can specify Amazon Web Services-predefined documents, documents you created, or a document that is * shared with you from another account.

                                      - *

                                      For SSM documents that are shared with you from other AWS accounts, you must specify the + *

                                      For SSM documents that are shared with you from other accounts, you must specify the * complete SSM document ARN, in the following format:

                                      *

                                      * arn:aws:ssm:region:account-id:document/document-name @@ -1520,8 +1547,8 @@ export interface CreateAssociationBatchRequestEntry { *

                                      * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document *

                                      - *

                                      For AWS-predefined documents and SSM documents you created in your account, you only need to - * specify the document name. For example, AWS-ApplyPatchBaseline or + *

                                      For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or * My-Document.

                                      */ Name: string | undefined; @@ -1538,7 +1565,8 @@ export interface CreateAssociationBatchRequestEntry { /** *

                                      Specify the target for the association. This target is required for associations that use an - * Automation document and target resources by using rate controls.

                                      + * Automation runbook and target resources by using rate controls. Automation is a capability of + * Amazon Web Services Systems Manager.

                                      */ AutomationTargetParameterName?: string; @@ -1573,12 +1601,12 @@ export interface CreateAssociationBatchRequestEntry { * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, * the system stops sending requests when the fourth error is received. If you specify 0, then the * system stops sending requests after the first error is returned. If you run an association on 50 - * instances and set MaxError to 10%, then the system stops sending the request when the sixth error - * is received.

                                      - *

                                      Executions that are already running an association when MaxErrors is reached are allowed to - * complete, but some of these executions may fail as well. If you need to ensure that there won't - * be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one - * at a time.

                                      + * instances and set MaxError to 10%, then the system stops sending the request when + * the sixth error is received.

                                      + *

                                      Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

                                      */ MaxErrors?: string; @@ -1587,9 +1615,9 @@ export interface CreateAssociationBatchRequestEntry { * specify a number, for example 10, or a percentage of the target set, for example 10%. The default * value is 100%, which means all targets run the association at the same time.

                                      *

                                      If a new instance starts and attempts to run an association while Systems Manager is running - * MaxConcurrency associations, the association is allowed to run. During the next association - * interval, the new instance will process its association within the limit specified for - * MaxConcurrency.

                                      + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new instance will process its association within the limit specified + * for MaxConcurrency.

                                      */ MaxConcurrency?: string; @@ -1605,8 +1633,9 @@ export interface CreateAssociationBatchRequestEntry { * then the association is COMPLIANT. If the association execution doesn't run * successfully, the association is NON-COMPLIANT.

                                      *

                                      In MANUAL mode, you must specify the AssociationId as a parameter - * for the PutComplianceItems API action. In this case, compliance data is not - * managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                      + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

                                      *

                                      By default, all associations use AUTO mode.

                                      */ SyncCompliance?: AssociationSyncCompliance | string; @@ -1614,16 +1643,16 @@ export interface CreateAssociationBatchRequestEntry { /** *

                                      By default, when you create a new associations, the system runs it immediately after it is * created and then according to the schedule you specified. Specify this option if you don't want - * an association to run immediately after you create it. This parameter is not supported for rate + * an association to run immediately after you create it. This parameter isn't supported for rate * expressions.

                                      */ ApplyOnlyAtCronInterval?: boolean; /** - *

                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type - * documents your associations are gated under. The associations only run when that Change - * Calendar is open. For more information, see - * AWS Systems Manager Change Calendar.

                                      + *

                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations only run when that Change Calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

                                      */ CalendarNames?: string[]; @@ -1830,18 +1859,18 @@ export interface CreateDocumentRequest { *

                                      The content for the new SSM document in JSON or YAML format. We recommend storing the * contents for your new document in an external JSON or YAML file and referencing the file in a * command.

                                      - *

                                      For examples, see the following topics in the AWS Systems Manager User Guide.

                                      + *

                                      For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

                                      *
                                        *
                                      • *

                                        * Create an SSM document - * (AWS API) + * (Amazon Web Services API) *

                                        *
                                      • *
                                      • *

                                        * Create an SSM document - * (AWS CLI) + * (Amazon Web Services CLI) *

                                        *
                                      • *
                                      • @@ -1855,25 +1884,25 @@ export interface CreateDocumentRequest { Content: string | undefined; /** - *

                                        A list of SSM documents required by a document. This parameter is used exclusively by AWS + *

                                        A list of SSM documents required by a document. This parameter is used exclusively by * AppConfig. When a user creates an AppConfig configuration in an SSM document, the user must also * specify a required document for validation purposes. In this case, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document for validation purposes. For more - * information, see AWS AppConfig in the - * AWS Systems Manager User Guide.

                                        + * information, see What is AppConfig? in the + * AppConfig User Guide.

                                        */ Requires?: DocumentRequires[]; /** - *

                                        A list of key and value pairs that describe attachments to a version of a document.

                                        + *

                                        A list of key-value pairs that describe attachments to a version of a document.

                                        */ Attachments?: AttachmentsSource[]; /** - *

                                        A name for the Systems Manager document.

                                        + *

                                        A name for the SSM document.

                                        * - *

                                        You can't use the following strings as document name prefixes. These are reserved by AWS + *

                                        You can't use the following strings as document name prefixes. These are reserved by Amazon Web Services * for use as document name prefixes:

                                        *
                                          *
                                        • @@ -1897,16 +1926,16 @@ export interface CreateDocumentRequest { Name: string | undefined; /** - *

                                          An optional field where you can specify a friendly name for the Systems Manager document. This value - * can differ for each version of the document. You can update this value at a later time using the - * UpdateDocument action.

                                          + *

                                          An optional field where you can specify a friendly name for the SSM document. This value can + * differ for each version of the document. You can update this value at a later time using the + * UpdateDocument operation.

                                          */ DisplayName?: string; /** *

                                          An optional field specifying the version of the artifact you are creating with the document. * For example, "Release 12, Update 6". This value is unique across all versions of a document, and - * cannot be changed.

                                          + * can't be changed.

                                          */ VersionName?: string; @@ -1923,10 +1952,11 @@ export interface CreateDocumentRequest { /** *

                                          Specify a target type to define the kinds of resources the document can run on. For example, - * to run a document on EC2 instances, specify the following value: /AWS::EC2::Instance. If you - * specify a value of '/' the document can run on all types of resources. If you don't specify a - * value, the document can't run on any resources. For a list of valid resource types, see AWS resource and property types - * reference in the AWS CloudFormation User Guide.

                                          + * to run a document on EC2 instances, specify the following value: + * /AWS::EC2::Instance. If you specify a value of '/' the document can run on all types + * of resources. If you don't specify a value, the document can't run on any resources. For a list + * of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

                                          */ TargetType?: string; @@ -1934,7 +1964,7 @@ export interface CreateDocumentRequest { *

                                          Optional metadata that you assign to a resource. Tags enable you to categorize a resource in * different ways, such as by purpose, owner, or environment. For example, you might want to tag an * SSM document to identify the types of targets or the environment where it will run. In this case, - * you could specify the following key name/value pairs:

                                          + * you could specify the following key-value pairs:

                                          *
                                            *
                                          • *

                                            @@ -1949,7 +1979,7 @@ export interface CreateDocumentRequest { *

                                          * *

                                          To add tags to an existing SSM document, use the AddTagsToResource - * action.

                                          + * operation.

                                          *
                                          */ Tags?: Tag[]; @@ -2077,7 +2107,7 @@ export enum DocumentStatus { } /** - *

                                          Describes a Systems Manager document.

                                          + *

                                          Describes a Amazon Web Services Systems Manager document (SSM document).

                                          */ export interface DocumentDescription { /** @@ -2103,12 +2133,12 @@ export interface DocumentDescription { HashType?: DocumentHashType | string; /** - *

                                          The name of the Systems Manager document.

                                          + *

                                          The name of the SSM document.

                                          */ Name?: string; /** - *

                                          The friendly name of the Systems Manager document. This value can differ for each version of the + *

                                          The friendly name of the SSM document. This value can differ for each version of the * document. If you want to update this value, see UpdateDocument.

                                          */ DisplayName?: string; @@ -2119,7 +2149,7 @@ export interface DocumentDescription { VersionName?: string; /** - *

                                          The AWS user account that created the document.

                                          + *

                                          The Amazon Web Services user account that created the document.

                                          */ Owner?: string; @@ -2129,14 +2159,14 @@ export interface DocumentDescription { CreatedDate?: Date; /** - *

                                          The status of the Systems Manager document.

                                          + *

                                          The status of the SSM document.

                                          */ Status?: DocumentStatus | string; /** - *

                                          A message returned by AWS Systems Manager that explains the Status value. For example, a + *

                                          A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a * Failed status might be explained by the StatusInformation message, - * "The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."

                                          + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

                                          */ StatusInformation?: string; @@ -2156,7 +2186,7 @@ export interface DocumentDescription { Parameters?: DocumentParameter[]; /** - *

                                          The list of OS platforms compatible with this Systems Manager document.

                                          + *

                                          The list of OS platforms compatible with this SSM document.

                                          */ PlatformTypes?: (PlatformType | string)[]; @@ -2187,8 +2217,8 @@ export interface DocumentDescription { /** *

                                          The target type which defines the kinds of resources the document can run on. For example, - * /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types - * reference in the AWS CloudFormation User Guide.

                                          + * /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

                                          */ TargetType?: string; @@ -2246,7 +2276,7 @@ export namespace DocumentDescription { export interface CreateDocumentResult { /** - *

                                          Information about the Systems Manager document.

                                          + *

                                          Information about the SSM document.

                                          */ DocumentDescription?: DocumentDescription; } @@ -2279,7 +2309,7 @@ export namespace DocumentAlreadyExists { } /** - *

                                          You can have at most 500 active Systems Manager documents.

                                          + *

                                          You can have at most 500 active SSM documents.

                                          */ export interface DocumentLimitExceeded extends __SmithyException, $MetadataBearer { name: "DocumentLimitExceeded"; @@ -2297,7 +2327,7 @@ export namespace DocumentLimitExceeded { } /** - *

                                          The content for the document is not valid.

                                          + *

                                          The content for the document isn't valid.

                                          */ export interface InvalidDocumentContent extends __SmithyException, $MetadataBearer { name: "InvalidDocumentContent"; @@ -2318,7 +2348,7 @@ export namespace InvalidDocumentContent { } /** - *

                                          The version of the document schema is not supported.

                                          + *

                                          The version of the document schema isn't supported.

                                          */ export interface InvalidDocumentSchemaVersion extends __SmithyException, $MetadataBearer { name: "InvalidDocumentSchemaVersion"; @@ -2367,15 +2397,15 @@ export interface CreateMaintenanceWindowRequest { /** *

                                          The date and time, in ISO-8601 Extended format, for when you want the maintenance window to - * become active. StartDate allows you to delay activation of the maintenance window until the - * specified future date.

                                          + * become active. StartDate allows you to delay activation of the maintenance window + * until the specified future date.

                                          */ StartDate?: string; /** *

                                          The date and time, in ISO-8601 Extended format, for when you want the maintenance window to - * become inactive. EndDate allows you to set a date and time in the future when the maintenance - * window will no longer run.

                                          + * become inactive. EndDate allows you to set a date and time in the future when the + * maintenance window will no longer run.

                                          */ EndDate?: string; @@ -2393,7 +2423,7 @@ export interface CreateMaintenanceWindowRequest { ScheduleTimezone?: string; /** - *

                                          The number of days to wait after the date and time specified by a CRON expression before + *

                                          The number of days to wait after the date and time specified by a cron expression before * running the maintenance window.

                                          *

                                          For example, the following cron expression schedules a maintenance window to run on the * third Tuesday of every month at 11:30 PM.

                                          @@ -2411,13 +2441,13 @@ export interface CreateMaintenanceWindowRequest { Duration: number | undefined; /** - *

                                          The number of hours before the end of the maintenance window that Systems Manager stops scheduling new - * tasks for execution.

                                          + *

                                          The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

                                          */ Cutoff: number | undefined; /** - *

                                          Enables a maintenance window task to run on managed instances, even if you have not + *

                                          Enables a maintenance window task to run on managed instances, even if you haven't * registered those instances as targets. If enabled, then you must specify the unregistered * instances (by instance ID) when you register a task with the maintenance window.

                                          *

                                          If you don't enable this option, then you must specify previously-registered targets when @@ -2434,8 +2464,7 @@ export interface CreateMaintenanceWindowRequest { *

                                          Optional metadata that you assign to a resource. Tags enable you to categorize a resource in * different ways, such as by purpose, owner, or environment. For example, you might want to tag a * maintenance window to identify the type of tasks it will run, the types of targets, and the - * environment it will run in. In this case, you could specify the following key name/value - * pairs:

                                          + * environment it will run in. In this case, you could specify the following key-value pairs:

                                          *
                                            *
                                          • *

                                            @@ -2455,7 +2484,7 @@ export interface CreateMaintenanceWindowRequest { *

                                          * *

                                          To add tags to an existing maintenance window, use the AddTagsToResource - * action.

                                          + * operation.

                                          *
                                          */ Tags?: Tag[]; @@ -2509,8 +2538,8 @@ export namespace IdempotentParameterMismatch { /** *

                                          Error returned when the caller has exceeded the default resource quotas. For example, too * many maintenance windows or patch baselines have been created.

                                          - *

                                          For information about resource quotas in Systems Manager, see Systems Manager service quotas in the - * AWS General Reference.

                                          + *

                                          For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

                                          */ export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer { name: "ResourceLimitExceededException"; @@ -2532,8 +2561,8 @@ export namespace ResourceLimitExceededException { */ export interface OpsItemNotification { /** - *

                                          The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this - * OpsItem is edited or changed.

                                          + *

                                          The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where + * notifications are sent when this OpsItem is edited or changed.

                                          */ Arn?: string; } @@ -2616,18 +2645,19 @@ export interface CreateOpsItemRequest { * other relevant data. You enter operational data as key-value pairs. The key has a maximum length * of 128 characters. The value has a maximum size of 20 KB.

                                          * - *

                                          Operational data keys can't begin with the following: amazon, aws, - * amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                          + *

                                          Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

                                          *
                                          *

                                          You can choose to make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem Overview page (as - * provided by the DescribeOpsItems API action) can view and search on the - * specified data. Operational data that is not searchable is only viewable by users who have access - * to the OpsItem (as provided by the GetOpsItem API action).

                                          + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

                                          *

                                          Use the /aws/resources key in OperationalData to specify a related resource in * the request. Use the /aws/automations key in OperationalData to associate an - * Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see - * Creating OpsItems manually in the AWS Systems Manager User Guide.

                                          + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                          */ OperationalData?: { [key: string]: OpsItemDataValue }; @@ -2652,7 +2682,8 @@ export interface CreateOpsItemRequest { /** *

                                          The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

                                          * - *

                                          The source name can't contain the following strings: aws, amazon, and amzn.

                                          + *

                                          The source name can't contain the following strings: aws, amazon, + * and amzn.

                                          *
                                          */ Source: string | undefined; @@ -2664,15 +2695,17 @@ export interface CreateOpsItemRequest { /** *

                                          Optional metadata that you assign to a resource. You can restrict access to OpsItems by - * using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.

                                          + * using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                          *

                                          Tags use a key-value pair. For example:

                                          *

                                          * Key=Department,Value=Finance *

                                          - * - *

                                          To add tags to an existing OpsItem, use the AddTagsToResource - * action.

                                          - *
                                          + * + *

                                          To add tags to a new OpsItem, a user must have IAM permissions for both the + * ssm:CreateOpsItems operation and the ssm:AddTagsToResource operation. + * To add tags to an existing OpsItem, use the AddTagsToResource + * operation.

                                          + *
                                          */ Tags?: Tag[]; @@ -2789,7 +2822,7 @@ export interface CreateOpsMetadataRequest { *

                                          Optional metadata that you assign to a resource. You can specify a maximum of five tags for * an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by * purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to - * identify an environment or target AWS Region. In this case, you could specify the following + * identify an environment or target Region. In this case, you could specify the following * key-value pairs:

                                          *
                                            *
                                          • @@ -2940,12 +2973,14 @@ export enum PatchFilterKey { /** *

                                            Defines which patches should be included in a patch baseline.

                                            *

                                            A patch filter consists of a key and a set of values. The filter key is a patch property. - * For example, the available filter keys for WINDOWS are PATCH_SET, PRODUCT, PRODUCT_FAMILY, - * CLASSIFICATION, and MSRC_SEVERITY. The filter values define a matching criterion for the patch - * property indicated by the key. For example, if the filter key is PRODUCT and the filter values - * are ["Office 2013", "Office 2016"], then the filter accepts all patches where product name is - * either "Office 2013" or "Office 2016". The filter values can be exact values for the patch - * property given as a key, or a wildcard (*), which matches all values.

                                            + * For example, the available filter keys for WINDOWS are PATCH_SET, + * PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, and + * MSRC_SEVERITY.

                                            + *

                                            The filter values define a matching criterion for the patch property indicated by the key. + * For example, if the filter key is PRODUCT and the filter values are ["Office + * 2013", "Office 2016"], then the filter accepts all patches where product name is either + * "Office 2013" or "Office 2016". The filter values can be exact values for the patch property + * given as a key, or a wildcard (*), which matches all values.

                                            *

                                            You can view lists of valid values for the patch properties by running the * DescribePatchProperties command. For information about which patch properties can * be used with each major operating system, see DescribePatchProperties.

                                            @@ -3020,14 +3055,14 @@ export interface PatchRule { *

                                            The cutoff date for auto approval of released patches. Any patches released on or before * this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

                                            *

                                            Enter dates in the format YYYY-MM-DD. For example, - * 2020-12-31.

                                            + * 2021-12-31.

                                            */ ApproveUntilDate?: string; /** *

                                            For instances identified by the approval rule filters, enables a patch baseline to apply - * non-security updates available in the specified repository. The default value is 'false'. Applies - * to Linux instances only.

                                            + * non-security updates available in the specified repository. The default value is + * false. Applies to Linux instances only.

                                            */ EnableNonSecurity?: boolean; } @@ -3129,8 +3164,8 @@ export namespace PatchSource { export interface CreatePatchBaselineRequest { /** - *

                                            Defines the operating system the patch baseline applies to. The Default value is - * WINDOWS.

                                            + *

                                            Defines the operating system the patch baseline applies to. The default value is + * WINDOWS.

                                            */ OperatingSystem?: OperatingSystem | string; @@ -3153,20 +3188,21 @@ export interface CreatePatchBaselineRequest { *

                                            A list of explicitly approved patches for the baseline.

                                            *

                                            For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                            + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                            */ ApprovedPatches?: string[]; /** *

                                            Defines the compliance level for approved patches. When an approved patch is reported as * missing, this value describes the severity of the compliance violation. The default value is - * UNSPECIFIED.

                                            + * UNSPECIFIED.

                                            */ ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string; /** *

                                            Indicates whether the list of approved patches includes non-security updates that should be - * applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                            + * applied to the instances. The default value is false. Applies to Linux instances + * only.

                                            */ ApprovedPatchesEnableNonSecurity?: boolean; @@ -3174,28 +3210,32 @@ export interface CreatePatchBaselineRequest { *

                                            A list of explicitly rejected patches for the baseline.

                                            *

                                            For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                            + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                            */ RejectedPatches?: string[]; /** - *

                                            The action for Patch Manager to take on patches included in the RejectedPackages - * list.

                                            + *

                                            The action for Patch Manager to take on patches included in the + * RejectedPackages list.

                                            *
                                              *
                                            • *

                                              - * ALLOW_AS_DEPENDENCY: A package in the Rejected patches - * list is installed only if it is a dependency of another package. It is considered compliant - * with the patch baseline, and its status is reported as InstalledOther. - * This is the default action if no option is specified.

                                              + * + * ALLOW_AS_DEPENDENCY + * : A package in the + * Rejected patches list is installed only if it is a dependency of another package. + * It is considered compliant with the patch baseline, and its status is reported as + * InstalledOther. This is the default action if no option is specified.

                                              *
                                            • *
                                            • *

                                              - * BLOCK: Packages in the RejectedPatches list, and packages - * that include them as dependencies, are not installed under any circumstances. If a package was - * installed before it was added to the Rejected patches list, it is considered non-compliant with - * the patch baseline, and its status is reported as - * InstalledRejected.

                                              + * + * BLOCK + * : Packages in the + * RejectedPatches list, and packages that include them as dependencies, aren't + * installed under any circumstances. If a package was installed before it was added to the + * Rejected patches list, it is considered non-compliant with the patch baseline, and its status + * is reported as InstalledRejected.

                                              *
                                            • *
                                            */ @@ -3221,7 +3261,7 @@ export interface CreatePatchBaselineRequest { *

                                            Optional metadata that you assign to a resource. Tags enable you to categorize a resource in * different ways, such as by purpose, owner, or environment. For example, you might want to tag a * patch baseline to identify the severity level of patches it specifies and the operating system - * family it applies to. In this case, you could specify the following key name/value pairs:

                                            + * family it applies to. In this case, you could specify the following key-value pairs:

                                            *
                                              *
                                            • *

                                              @@ -3236,7 +3276,7 @@ export interface CreatePatchBaselineRequest { *

                                            * *

                                            To add tags to an existing patch baseline, use the AddTagsToResource - * action.

                                            + * operation.

                                            *
                                            */ Tags?: Tag[]; @@ -3269,9 +3309,9 @@ export namespace CreatePatchBaselineResult { } /** - *

                                            Synchronize Systems Manager Inventory data from multiple AWS accounts defined in AWS Organizations to - * a centralized S3 bucket. Data is synchronized to individual key prefixes in the central bucket. - * Each key prefix represents a different AWS account ID.

                                            + *

                                            Synchronize Amazon Web Services Systems Manager Inventory data from multiple accounts defined in Organizations to a + * centralized Amazon S3 bucket. Data is synchronized to individual key prefixes in the + * central bucket. Each key prefix represents a different account ID.

                                            */ export interface ResourceDataSyncDestinationDataSharing { /** @@ -3294,7 +3334,7 @@ export enum ResourceDataSyncS3Format { } /** - *

                                            Information about the target S3 bucket for the Resource Data Sync.

                                            + *

                                            Information about the target S3 bucket for the resource data sync.

                                            */ export interface ResourceDataSyncS3Destination { /** @@ -3313,13 +3353,13 @@ export interface ResourceDataSyncS3Destination { SyncFormat: ResourceDataSyncS3Format | string | undefined; /** - *

                                            The AWS Region with the S3 bucket targeted by the Resource Data Sync.

                                            + *

                                            The Region with the S3 bucket targeted by the resource data sync.

                                            */ Region: string | undefined; /** - *

                                            The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as - * the destination S3 bucket.

                                            + *

                                            The ARN of an encryption key for a destination in Amazon S3. Must belong to the same + * Region as the destination S3 bucket.

                                            */ AWSKMSKeyARN?: string; @@ -3339,11 +3379,11 @@ export namespace ResourceDataSyncS3Destination { } /** - *

                                            The AWS Organizations organizational unit data source for the sync.

                                            + *

                                            The Organizations organizational unit data source for the sync.

                                            */ export interface ResourceDataSyncOrganizationalUnit { /** - *

                                            The AWS Organization unit ID data source for the sync.

                                            + *

                                            The Organizations unit ID data source for the sync.

                                            */ OrganizationalUnitId?: string; } @@ -3358,21 +3398,21 @@ export namespace ResourceDataSyncOrganizationalUnit { } /** - *

                                            Information about the AwsOrganizationsSource resource data sync source. A sync source of - * this type can synchronize data from AWS Organizations or, if an AWS Organization is not present, from - * multiple AWS Regions.

                                            + *

                                            Information about the AwsOrganizationsSource resource data sync source. A sync + * source of this type can synchronize data from Organizations or, if an Amazon Web Services organization isn't + * present, from multiple Regions.

                                            */ export interface ResourceDataSyncAwsOrganizationsSource { /** - *

                                            If an AWS Organization is present, this is either OrganizationalUnits or + *

                                            If an Amazon Web Services organization is present, this is either OrganizationalUnits or * EntireOrganization. For OrganizationalUnits, the data is aggregated * from a set of organization units. For EntireOrganization, the data is aggregated - * from the entire AWS Organization.

                                            + * from the entire Amazon Web Services organization.

                                            */ OrganizationSourceType: string | undefined; /** - *

                                            The AWS Organizations organization units included in the sync.

                                            + *

                                            The Organizations organization units included in the sync.

                                            */ OrganizationalUnits?: ResourceDataSyncOrganizationalUnit[]; } @@ -3392,33 +3432,33 @@ export namespace ResourceDataSyncAwsOrganizationsSource { export interface ResourceDataSyncSource { /** *

                                            The type of data source for the resource data sync. SourceType is either - * AwsOrganizations (if an organization is present in AWS Organizations) or + * AwsOrganizations (if an organization is present in Organizations) or * SingleAccountMultiRegions.

                                            */ SourceType: string | undefined; /** - *

                                            Information about the AwsOrganizationsSource resource data sync source. A sync source of - * this type can synchronize data from AWS Organizations.

                                            + *

                                            Information about the AwsOrganizationsSource resource data sync source. A sync + * source of this type can synchronize data from Organizations.

                                            */ AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; /** - *

                                            The SyncSource AWS Regions included in the resource data sync.

                                            + *

                                            The SyncSource Regions included in the resource data sync.

                                            */ SourceRegions: string[] | undefined; /** - *

                                            Whether to automatically synchronize and aggregate data from new AWS Regions when those + *

                                            Whether to automatically synchronize and aggregate data from new Regions when those * Regions come online.

                                            */ IncludeFutureRegions?: boolean; /** - *

                                            When you create a resource data sync, if you choose one of the AWS Organizations options, then Systems Manager - * automatically enables all OpsData sources in the selected AWS Regions for all AWS accounts in + *

                                            When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager + * automatically enables all OpsData sources in the selected Regions for all accounts in * your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the - * AWS Systems Manager User Guide.

                                            + * Amazon Web Services Systems Manager User Guide.

                                            */ EnableAllOpsDataSources?: boolean; } @@ -3448,9 +3488,9 @@ export interface CreateResourceDataSyncRequest { *

                                            Specify SyncToDestination to create a resource data sync that synchronizes data * to an S3 bucket for Inventory. If you specify SyncToDestination, you must provide a * value for S3Destination. Specify SyncFromSource to synchronize data - * from a single account and multiple Regions, or multiple AWS accounts and Regions, as listed in - * AWS Organizations for Explorer. If you specify SyncFromSource, you must provide a value for - * SyncSource. The default value is SyncToDestination.

                                            + * from a single account and multiple Regions, or multiple accounts and Regions, as + * listed in Organizations for Explorer. If you specify SyncFromSource, you must provide a + * value for SyncSource. The default value is SyncToDestination.

                                            */ SyncType?: string; @@ -3563,8 +3603,8 @@ export namespace DeleteActivationResult { } /** - *

                                            The activation is not valid. The activation might have been deleted, or the ActivationId and - * the ActivationCode do not match.

                                            + *

                                            The activation isn't valid. The activation might have been deleted, or the ActivationId and + * the ActivationCode don't match.

                                            */ export interface InvalidActivation extends __SmithyException, $MetadataBearer { name: "InvalidActivation"; @@ -3582,7 +3622,7 @@ export namespace InvalidActivation { } /** - *

                                            The activation ID is not valid. Verify the you entered the correct ActivationId or + *

                                            The activation ID isn't valid. Verify the you entered the correct ActivationId or * ActivationCode and try again.

                                            */ export interface InvalidActivationId extends __SmithyException, $MetadataBearer { @@ -3601,7 +3641,7 @@ export namespace InvalidActivationId { } /** - *

                                            The specified association does not exist.

                                            + *

                                            The specified association doesn't exist.

                                            */ export interface AssociationDoesNotExist extends __SmithyException, $MetadataBearer { name: "AssociationDoesNotExist"; @@ -3620,7 +3660,7 @@ export namespace AssociationDoesNotExist { export interface DeleteAssociationRequest { /** - *

                                            The name of the Systems Manager document.

                                            + *

                                            The name of the SSM document.

                                            */ Name?: string; @@ -3694,7 +3734,7 @@ export interface DeleteDocumentRequest { *

                                            Some SSM document types require that you specify a Force flag before you can * delete the document. For example, you must specify a Force flag to delete a document * of type ApplicationConfigurationSchema. You can restrict access to the - * Force flag in an AWS Identity and Access Management (IAM) policy.

                                            + * Force flag in an Identity and Access Management (IAM) policy.

                                            */ Force?: boolean; } @@ -3756,7 +3796,7 @@ export interface DeleteInventoryRequest { * custom inventory type. Choose one of the following options:

                                            *

                                            DisableSchema: If you choose this option, the system ignores all inventory data for the * specified version, and any earlier versions. To enable this schema again, you must call the - * PutInventory action for a version greater than the disabled version.

                                            + * PutInventory operation for a version greater than the disabled version.

                                            *

                                            DeleteSchema: This option deletes the specified custom type from the Inventory service. You * can recreate the schema later, if you want.

                                            */ @@ -3819,7 +3859,7 @@ export namespace InventoryDeletionSummaryItem { */ export interface InventoryDeletionSummary { /** - *

                                            The total number of items to delete. This count does not change during the delete + *

                                            The total number of items to delete. This count doesn't change during the delete * operation.

                                            */ TotalCount?: number; @@ -3846,9 +3886,9 @@ export namespace InventoryDeletionSummary { export interface DeleteInventoryResult { /** - *

                                            Every DeleteInventory action is assigned a unique ID. This option returns a + *

                                            Every DeleteInventory operation is assigned a unique ID. This option returns a * unique ID. You can use this ID to query the status of a delete operation. This option is useful - * for ensuring that a delete operation has completed before you begin other actions.

                                            + * for ensuring that a delete operation has completed before you begin other operations.

                                            */ DeletionId?: string; @@ -3858,7 +3898,7 @@ export interface DeleteInventoryResult { TypeName?: string; /** - *

                                            A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the AWS Systems Manager User Guide.

                                            + *

                                            A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the Amazon Web Services Systems Manager User Guide.

                                            */ DeletionSummary?: InventoryDeletionSummary; } @@ -3873,7 +3913,7 @@ export namespace DeleteInventoryResult { } /** - *

                                            One or more of the parameters specified for the delete operation is not valid. Verify all + *

                                            One or more of the parameters specified for the delete operation isn't valid. Verify all * parameters and try again.

                                            */ export interface InvalidDeleteInventoryParametersException extends __SmithyException, $MetadataBearer { @@ -3892,7 +3932,7 @@ export namespace InvalidDeleteInventoryParametersException { } /** - *

                                            The request is not valid.

                                            + *

                                            The request isn't valid.

                                            */ export interface InvalidInventoryRequestException extends __SmithyException, $MetadataBearer { name: "InvalidInventoryRequestException"; @@ -3910,7 +3950,7 @@ export namespace InvalidInventoryRequestException { } /** - *

                                            The delete inventory option specified is not valid. Verify the option and try again.

                                            + *

                                            The delete inventory option specified isn't valid. Verify the option and try again.

                                            */ export interface InvalidOptionException extends __SmithyException, $MetadataBearer { name: "InvalidOptionException"; @@ -3928,7 +3968,7 @@ export namespace InvalidOptionException { } /** - *

                                            The parameter type name is not valid.

                                            + *

                                            The parameter type name isn't valid.

                                            */ export interface InvalidTypeNameException extends __SmithyException, $MetadataBearer { name: "InvalidTypeNameException"; @@ -4005,7 +4045,7 @@ export namespace DeleteOpsMetadataResult { } /** - *

                                            The OpsMetadata object does not exist.

                                            + *

                                            The OpsMetadata object doesn't exist.

                                            */ export interface OpsMetadataNotFoundException extends __SmithyException, $MetadataBearer { name: "OpsMetadataNotFoundException"; @@ -4050,7 +4090,7 @@ export namespace DeleteParameterResult { } /** - *

                                            The parameter could not be found. Verify the name and try again.

                                            + *

                                            The parameter couldn't be found. Verify the name and try again.

                                            */ export interface ParameterNotFound extends __SmithyException, $MetadataBearer { name: "ParameterNotFound"; @@ -4090,7 +4130,7 @@ export interface DeleteParametersResult { DeletedParameters?: string[]; /** - *

                                            The names of parameters that weren't deleted because the parameters are not valid.

                                            + *

                                            The names of parameters that weren't deleted because the parameters aren't valid.

                                            */ InvalidParameters?: string[]; } @@ -4188,7 +4228,7 @@ export namespace DeleteResourceDataSyncResult { } /** - *

                                            The specified sync name was not found.

                                            + *

                                            The specified sync name wasn't found.

                                            */ export interface ResourceDataSyncNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceDataSyncNotFoundException"; @@ -4290,7 +4330,7 @@ export interface DeregisterTargetFromMaintenanceWindowRequest { /** *

                                            The system checks if the target is being referenced by a task. If the target is being - * referenced, the system returns an error and does not deregister the target from the maintenance + * referenced, the system returns an error and doesn't deregister the target from the maintenance * window.

                                            */ Safe?: boolean; @@ -4446,7 +4486,7 @@ export namespace DescribeActivationsRequest { export interface DescribeActivationsResult { /** - *

                                            A list of activations for your AWS account.

                                            + *

                                            A list of activations for your account.

                                            */ ActivationList?: Activation[]; @@ -4467,7 +4507,7 @@ export namespace DescribeActivationsResult { } /** - *

                                            The filter name is not valid. Verify the you entered the correct name and try again.

                                            + *

                                            The filter name isn't valid. Verify the you entered the correct name and try again.

                                            */ export interface InvalidFilter extends __SmithyException, $MetadataBearer { name: "InvalidFilter"; @@ -4485,7 +4525,7 @@ export namespace InvalidFilter { } /** - *

                                            The specified token is not valid.

                                            + *

                                            The specified token isn't valid.

                                            */ export interface InvalidNextToken extends __SmithyException, $MetadataBearer { name: "InvalidNextToken"; @@ -4504,7 +4544,7 @@ export namespace InvalidNextToken { export interface DescribeAssociationRequest { /** - *

                                            The name of the Systems Manager document.

                                            + *

                                            The name of the SSM document.

                                            */ Name?: string; @@ -4553,7 +4593,7 @@ export namespace DescribeAssociationResult { } /** - *

                                            The version you specified is not valid. Use ListAssociationVersions to view all versions of + *

                                            The version you specified isn't valid. Use ListAssociationVersions to view all versions of * an association according to the association ID. Or, use the $LATEST parameter to * view the latest version of the association.

                                            */ @@ -4725,7 +4765,7 @@ export namespace DescribeAssociationExecutionsResult { } /** - *

                                            The specified execution ID does not exist. Verify the ID number and try again.

                                            + *

                                            The specified execution ID doesn't exist. Verify the ID number and try again.

                                            */ export interface AssociationExecutionDoesNotExist extends __SmithyException, $MetadataBearer { name: "AssociationExecutionDoesNotExist"; @@ -4822,8 +4862,7 @@ export interface OutputSource { OutputSourceId?: string; /** - *

                                            The type of source where the association execution details are stored, for example, - * Amazon S3.

                                            + *

                                            The type of source where the association execution details are stored, for example, Amazon S3.

                                            */ OutputSourceType?: string; } @@ -5047,8 +5086,7 @@ export namespace ResolvedTargets { } /** - *

                                            Information about an Automation runbook (Automation document) used in a runbook workflow in - * Change Manager.

                                            + *

                                            Information about an Automation runbook used in a runbook workflow in Change Manager.

                                            * *

                                            The Automation runbooks specified for the runbook workflow can't run until all required * approvals for the change request have been received.

                                            @@ -5056,13 +5094,12 @@ export namespace ResolvedTargets { */ export interface Runbook { /** - *

                                            The name of the Automation runbook (Automation document) used in a runbook workflow.

                                            + *

                                            The name of the Automation runbook used in a runbook workflow.

                                            */ DocumentName: string | undefined; /** - *

                                            The version of the Automation runbook (Automation document) used in a - * runbook workflow.

                                            + *

                                            The version of the Automation runbook used in a runbook workflow.

                                            */ DocumentVersion?: string; @@ -5079,7 +5116,7 @@ export interface Runbook { TargetParameterName?: string; /** - *

                                            A key-value mapping to target resources that the Runbook operation performs tasks on. + *

                                            A key-value mapping to target resources that the runbook operation performs tasks on. * Required if you specify TargetParameterName.

                                            */ Targets?: Target[]; @@ -5099,7 +5136,7 @@ export interface Runbook { MaxErrors?: string; /** - *

                                            Information about the AWS Regions and accounts targeted by the current Runbook + *

                                            Information about the Regions and accounts targeted by the current Runbook * operation.

                                            */ TargetLocations?: TargetLocation[]; @@ -5124,7 +5161,7 @@ export interface AutomationExecutionMetadata { AutomationExecutionId?: string; /** - *

                                            The name of the Automation document used during execution.

                                            + *

                                            The name of the Automation runbook used during execution.

                                            */ DocumentName?: string; @@ -5144,13 +5181,13 @@ export interface AutomationExecutionMetadata { ExecutionStartTime?: Date; /** - *

                                            The time the execution finished. This is not populated if the execution is still in + *

                                            The time the execution finished. This isn't populated if the execution is still in * progress.

                                            */ ExecutionEndTime?: Date; /** - *

                                            The IAM role ARN of the user who ran the Automation.

                                            + *

                                            The IAM role ARN of the user who ran the automation.

                                            */ ExecutedBy?: string; @@ -5160,7 +5197,7 @@ export interface AutomationExecutionMetadata { LogFile?: string; /** - *

                                            The list of execution outputs as defined in the Automation document.

                                            + *

                                            The list of execution outputs as defined in the Automation runbook.

                                            */ Outputs?: { [key: string]: string[] }; @@ -5170,7 +5207,7 @@ export interface AutomationExecutionMetadata { Mode?: ExecutionMode | string; /** - *

                                            The ExecutionId of the parent Automation.

                                            + *

                                            The execution ID of the parent automation.

                                            */ ParentAutomationExecutionId?: string; @@ -5185,17 +5222,17 @@ export interface AutomationExecutionMetadata { CurrentAction?: string; /** - *

                                            The list of execution outputs as defined in the Automation document.

                                            + *

                                            The list of execution outputs as defined in the Automation runbook.

                                            */ FailureMessage?: string; /** - *

                                            The list of execution outputs as defined in the Automation document.

                                            + *

                                            The list of execution outputs as defined in the Automation runbook.

                                            */ TargetParameterName?: string; /** - *

                                            The targets defined by the user when starting the Automation.

                                            + *

                                            The targets defined by the user when starting the automation.

                                            */ Targets?: Target[]; @@ -5210,25 +5247,26 @@ export interface AutomationExecutionMetadata { ResolvedTargets?: ResolvedTargets; /** - *

                                            The MaxConcurrency value specified by the user when starting the Automation.

                                            + *

                                            The MaxConcurrency value specified by the user when starting the + * automation.

                                            */ MaxConcurrency?: string; /** - *

                                            The MaxErrors value specified by the user when starting the Automation.

                                            + *

                                            The MaxErrors value specified by the user when starting the automation.

                                            */ MaxErrors?: string; /** - *

                                            The list of execution outputs as defined in the Automation document.

                                            + *

                                            The list of execution outputs as defined in the Automation runbook.

                                            */ Target?: string; /** *

                                            Use this filter with DescribeAutomationExecutions. Specify either Local or - * CrossAccount. CrossAccount is an Automation that runs in multiple AWS Regions and accounts. For - * more information, see Running Automation workflows in multiple AWS Regions and accounts in the - * AWS Systems Manager User Guide.

                                            + * CrossAccount. CrossAccount is an Automation that runs in multiple Regions and + * accounts. For more information, see Running Automation workflows in multiple Regions and accounts in the + * Amazon Web Services Systems Manager User Guide.

                                            */ AutomationType?: AutomationType | string; @@ -5244,8 +5282,8 @@ export interface AutomationExecutionMetadata { ScheduledTime?: Date; /** - *

                                            Information about the Automation runbooks (Automation documents) that are run during a - * runbook workflow in Change Manager.

                                            + *

                                            Information about the Automation runbooks that are run during a runbook workflow in + * Change Manager.

                                            * *

                                            The Automation runbooks specified for the runbook workflow can't run until all required * approvals for the change request have been received.

                                            @@ -5302,7 +5340,7 @@ export namespace DescribeAutomationExecutionsResult { } /** - *

                                            The specified key is not valid.

                                            + *

                                            The specified key isn't valid.

                                            */ export interface InvalidFilterKey extends __SmithyException, $MetadataBearer { name: "InvalidFilterKey"; @@ -5319,7 +5357,7 @@ export namespace InvalidFilterKey { } /** - *

                                            The filter value is not valid. Verify the value and try again.

                                            + *

                                            The filter value isn't valid. Verify the value and try again.

                                            */ export interface InvalidFilterValue extends __SmithyException, $MetadataBearer { name: "InvalidFilterValue"; @@ -5479,24 +5517,25 @@ export interface StepExecution { TimeoutSeconds?: number; /** - *

                                            The action to take if the step fails. The default value is Abort.

                                            + *

                                            The action to take if the step fails. The default value is Abort.

                                            */ OnFailure?: string; /** - *

                                            The maximum number of tries to run the action of the step. The default value is 1.

                                            + *

                                            The maximum number of tries to run the action of the step. The default value is + * 1.

                                            */ MaxAttempts?: number; /** *

                                            If a step has begun execution, this contains the time the step started. If the step is in - * Pending status, this field is not populated.

                                            + * Pending status, this field isn't populated.

                                            */ ExecutionStartTime?: Date; /** *

                                            If a step has finished execution, this contains the time the execution ended. If the step - * has not yet concluded, this field is not populated.

                                            + * hasn't yet concluded, this field isn't populated.

                                            */ ExecutionEndTime?: Date; @@ -5576,7 +5615,7 @@ export interface StepExecution { Targets?: Target[]; /** - *

                                            The combination of AWS Regions and accounts targeted by the current Automation + *

                                            The combination of Regions and accounts targeted by the current Automation * execution.

                                            */ TargetLocation?: TargetLocation; @@ -5614,7 +5653,31 @@ export namespace DescribeAutomationStepExecutionsResult { } /** - *

                                            Defines a filter used in Patch Manager APIs.

                                            + *

                                            Defines a filter used in Patch Manager APIs. Supported filter keys depend on the API + * operation that includes the filter. Patch Manager API operations that use + * PatchOrchestratorFilter include the following:

                                            + * */ export interface PatchOrchestratorFilter { /** @@ -5639,7 +5702,190 @@ export namespace PatchOrchestratorFilter { export interface DescribeAvailablePatchesRequest { /** - *

                                            Filters used to scope down the returned patches.

                                            + *

                                            Each element in the array is a structure containing a key-value pair.

                                            + *

                                            + * Windows Server + *

                                            + *

                                            Supported keys for Windows Server instance patches include the following:

                                            + *
                                              + *
                                            • + *

                                              + * + * PATCH_SET + * + *

                                              + *

                                              Sample values: OS | APPLICATION + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * PRODUCT + * + *

                                              + *

                                              Sample values: WindowsServer2012 | Office 2010 | + * MicrosoftDefenderAntivirus + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * PRODUCT_FAMILY + * + *

                                              + *

                                              Sample values: Windows | Office + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * MSRC_SEVERITY + * + *

                                              + *

                                              Sample values: ServicePacks | Important | Moderate + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * CLASSIFICATION + * + *

                                              + *

                                              Sample values: ServicePacks | SecurityUpdates | + * DefinitionUpdates + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * PATCH_ID + * + *

                                              + *

                                              Sample values: KB123456 | KB4516046 + *

                                              + *
                                            • + *
                                            + * + *

                                            + * Linux + *

                                            + * + *

                                            When specifying filters for Linux patches, you must specify a key-pair for + * PRODUCT. For example, using the Command Line Interface (CLI), the + * following command fails:

                                            + *

                                            + * aws ssm describe-available-patches --filters + * Key=CVE_ID,Values=CVE-2018-3615 + *

                                            + *

                                            However, the following command succeeds:

                                            + *

                                            + * aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 + * Key=CVE_ID,Values=CVE-2018-3615 + *

                                            + *
                                            + *

                                            Supported keys for Linux instance patches include the following:

                                            + *
                                              + *
                                            • + *

                                              + * + * PRODUCT + * + *

                                              + *

                                              Sample values: AmazonLinux2018.03 | AmazonLinux2.0 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * NAME + * + *

                                              + *

                                              Sample values: kernel-headers | samba-python | php + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * SEVERITY + * + *

                                              + *

                                              Sample values: Critical | Important | Medium | + * Low + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * EPOCH + * + *

                                              + *

                                              Sample values: 0 | 1 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * VERSION + * + *

                                              + *

                                              Sample values: 78.6.1 | 4.10.16 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * RELEASE + * + *

                                              + *

                                              Sample values: 9.56.amzn1 | 1.amzn2 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * ARCH + * + *

                                              + *

                                              Sample values: i686 | x86_64 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * REPOSITORY + * + *

                                              + *

                                              Sample values: Core | Updates + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * ADVISORY_ID + * + *

                                              + *

                                              Sample values: ALAS-2018-1058 | ALAS2-2021-1594 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * CVE_ID + * + *

                                              + *

                                              Sample values: CVE-2018-3615 | CVE-2020-1472 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * BUGZILLA_ID + * + *

                                              + *

                                              Sample values: 1463241 + *

                                              + *
                                            • + *
                                            */ Filters?: PatchOrchestratorFilter[]; @@ -5671,7 +5917,7 @@ export interface Patch { /** *

                                            The ID of the patch. Applies to Windows patches only.

                                            * - *

                                            This ID is not the same as the Microsoft Knowledge Base ID.

                                            + *

                                            This ID isn't the same as the Microsoft Knowledge Base ID.

                                            *
                                            */ Id?: string; @@ -5839,7 +6085,7 @@ export namespace DescribeAvailablePatchesResult { export interface DescribeDocumentRequest { /** - *

                                            The name of the Systems Manager document.

                                            + *

                                            The name of the SSM document.

                                            */ Name: string | undefined; @@ -5852,7 +6098,7 @@ export interface DescribeDocumentRequest { /** *

                                            An optional field specifying the version of the artifact associated with the document. For * example, "Release 12, Update 6". This value is unique across all versions of a document, and - * cannot be changed.

                                            + * can't be changed.

                                            */ VersionName?: string; } @@ -5868,7 +6114,7 @@ export namespace DescribeDocumentRequest { export interface DescribeDocumentResult { /** - *

                                            Information about the Systems Manager document.

                                            + *

                                            Information about the SSM document.

                                            */ Document?: DocumentDescription; } @@ -5922,14 +6168,14 @@ export namespace DescribeDocumentPermissionRequest { export interface DescribeDocumentPermissionResponse { /** - *

                                            The account IDs that have permission to use this document. The ID can be either an AWS + *

                                            The account IDs that have permission to use this document. The ID can be either an * account or All.

                                            */ AccountIds?: string[]; /** - *

                                            A list of AWS accounts where the current document is shared and the version shared with each - * account.

                                            + *

                                            A list of accounts where the current document is shared and the version shared with + * each account.

                                            */ AccountSharingInfoList?: AccountSharingInfo[]; @@ -5950,7 +6196,7 @@ export namespace DescribeDocumentPermissionResponse { } /** - *

                                            The permission type is not supported. Share is the only supported + *

                                            The permission type isn't supported. Share is the only supported * permission type.

                                            */ export interface InvalidPermissionType extends __SmithyException, $MetadataBearer { @@ -6091,8 +6337,7 @@ export enum PatchDeploymentStatus { */ export interface PatchStatus { /** - *

                                            The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, - * EXPLICIT_REJECTED).

                                            + *

                                            The approval status of a patch.

                                            */ DeploymentStatus?: PatchDeploymentStatus | string; @@ -6103,7 +6348,7 @@ export interface PatchStatus { /** *

                                            The date the patch was approved (or will be approved if the status is - * PENDING_APPROVAL).

                                            + * PENDING_APPROVAL).

                                            */ ApprovalDate?: Date; } @@ -6118,10 +6363,11 @@ export namespace PatchStatus { } /** - *

                                            The EffectivePatch structure defines metadata about a patch along with the approval state of - * the patch in a particular patch baseline. The approval state includes information about whether - * the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly - * rejected and the date the patch was or will be approved.

                                            + *

                                            The EffectivePatch structure defines metadata about a patch along with the + * approval state of the patch in a particular patch baseline. The approval state includes + * information about whether the patch is currently approved, due to be approved by a rule, + * explicitly approved, or explicitly rejected and the date the patch was or will be + * approved.

                                            */ export interface EffectivePatch { /** @@ -6170,7 +6416,7 @@ export namespace DescribeEffectivePatchesForPatchBaselineResult { } /** - *

                                            The operating systems you specified is not supported, or the operation is not supported for + *

                                            The operating systems you specified isn't supported, or the operation isn't supported for * the operating system.

                                            */ export interface UnsupportedOperatingSystem extends __SmithyException, $MetadataBearer { @@ -6217,7 +6463,8 @@ export namespace DescribeInstanceAssociationsStatusRequest { } /** - *

                                            A URL for the S3 bucket where you want to store the results of this request.

                                            + *

                                            A URL for the Amazon Web Services Systems Manager (Systems Manager) bucket where you want to store the + * results of this request.

                                            */ export interface S3OutputUrl { /** @@ -6360,7 +6607,7 @@ export interface InstanceInformationStringFilter { * Key"

                                            * *

                                            - * Tag key is not a valid filter. You must specify either tag-key or + * Tag key isn't a valid filter. You must specify either tag-key or * tag:keyname and a string. Here are some valid examples: tag-key, tag:123, tag:al!, * tag:Windows. Here are some invalid examples: tag-keys, Tag Key, tag:, * tagKey, abc:keyname.

                                            @@ -6397,8 +6644,8 @@ export enum InstanceInformationFilterKey { /** *

                                            Describes a filter for a specific list of instances. You can filter instances information by * using tags. You specify tags by using a key-value mapping.

                                            - *

                                            Use this action instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The - * InstanceInformationFilterList method is a legacy method and does not support tags. + *

                                            Use this operation instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The + * InstanceInformationFilterList method is a legacy method and doesn't support tags. *

                                            */ export interface InstanceInformationFilter { @@ -6528,9 +6775,9 @@ export interface InstanceInformation { /** *

                                            Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. - * This field does not indicate whether or not the latest version is installed on Windows managed - * instances, because some older versions of Windows Server use the EC2Config service to process SSM - * requests.

                                            + * This field doesn't indicate whether or not the latest version is installed on Windows managed + * instances, because some older versions of Windows Server use the EC2Config service to process + * Systems Manager requests.

                                            */ IsLatestVersion?: boolean; @@ -6550,21 +6797,22 @@ export interface InstanceInformation { PlatformVersion?: string; /** - *

                                            The activation ID created by Systems Manager when the server or VM was registered.

                                            + *

                                            The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was + * registered.

                                            */ ActivationId?: string; /** - *

                                            The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager - * managed instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM - * role for an EC2 instance, use the Amazon EC2 DescribeInstances action. For information, - * see DescribeInstances in the - * Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.

                                            + *

                                            The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager + * managed instance. This call doesn't return the IAM role for Amazon Elastic Compute Cloud + * (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use + * the Amazon EC2 DescribeInstances operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in + * the Amazon Web Services CLI Command Reference.

                                            */ IamRole?: string; /** - *

                                            The date the server or VM was registered with AWS as a managed instance.

                                            + *

                                            The date the server or VM was registered with Amazon Web Services as a managed instance.

                                            */ RegistrationDate?: Date; @@ -6579,10 +6827,11 @@ export interface InstanceInformation { * using the CreateActivation command. It is applied to the managed instance by * specifying the Activation Code and Activation ID when you install SSM Agent on the instance, as * explained in Install SSM Agent for a - * hybrid environment (Linux) and Install SSM Agent for a hybrid environment - * (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2 - * DescribeInstances action. For information, see DescribeInstances in the - * Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.

                                            + * hybrid environment (Linux) and Install SSM Agent for a + * hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2 + * DescribeInstances operation. For information, see DescribeInstances in the + * Amazon EC2 API Reference or describe-instances in the + * Amazon Web Services CLI Command Reference.

                                            */ Name?: string; @@ -6649,7 +6898,7 @@ export namespace DescribeInstanceInformationResult { } /** - *

                                            The specified filter value is not valid.

                                            + *

                                            The specified filter value isn't valid.

                                            */ export interface InvalidInstanceInformationFilterValue extends __SmithyException, $MetadataBearer { name: "InvalidInstanceInformationFilterValue"; @@ -6673,9 +6922,47 @@ export interface DescribeInstancePatchesRequest { InstanceId: string | undefined; /** - *

                                            An array of structures. Each entry in the array is a structure containing a Key, Value - * combination. Valid values for Key are Classification | KBId | - * Severity | State.

                                            + *

                                            Each element in the array is a structure containing a key-value pair.

                                            + *

                                            Supported keys for DescribeInstancePatchesinclude the following:

                                            + *
                                              + *
                                            • + *

                                              + * + * Classification + * + *

                                              + *

                                              Sample values: Security | SecurityUpdates + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * KBId + * + *

                                              + *

                                              Sample values: KB4480056 | java-1.7.0-openjdk.x86_64 + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * Severity + * + *

                                              + *

                                              Sample values: Important | Medium | Low + *

                                              + *
                                            • + *
                                            • + *

                                              + * + * State + * + *

                                              + *

                                              Sample values: Installed | InstalledOther | + * InstalledPendingReboot + *

                                              + *
                                            • + *
                                            */ Filters?: PatchOrchestratorFilter[]; @@ -6726,25 +7013,26 @@ export interface PatchComplianceData { KBId: string | undefined; /** - *

                                            The classification of the patch (for example, SecurityUpdates, Updates, - * CriticalUpdates).

                                            + *

                                            The classification of the patch, such as SecurityUpdates, Updates, + * and CriticalUpdates.

                                            */ Classification: string | undefined; /** - *

                                            The severity of the patch (for example, Critical, Important, Moderate).

                                            + *

                                            The severity of the patchsuch as Critical, Important, and + * Moderate.

                                            */ Severity: string | undefined; /** *

                                            The state of the patch on the instance, such as INSTALLED or FAILED.

                                            - *

                                            For descriptions of each patch state, see About patch compliance in the AWS Systems Manager User Guide.

                                            + *

                                            For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.

                                            */ State: PatchComplianceDataState | string | undefined; /** - *

                                            The date/time the patch was installed on the instance. Note that not all operating systems - * provide this level of information.

                                            + *

                                            The date/time the patch was installed on the instance. Not all operating systems provide + * this level of information.

                                            */ InstalledTime: Date | undefined; @@ -6767,13 +7055,29 @@ export namespace PatchComplianceData { export interface DescribeInstancePatchesResult { /** *

                                            Each entry in the array is a structure containing:

                                            - *

                                            Title (string)

                                            - *

                                            KBId (string)

                                            - *

                                            Classification (string)

                                            - *

                                            Severity (string)

                                            - *

                                            State (string, such as "INSTALLED" or "FAILED")

                                            - *

                                            InstalledTime (DateTime)

                                            - *

                                            InstalledBy (string)

                                            + *
                                              + *
                                            • + *

                                              Title (string)

                                              + *
                                            • + *
                                            • + *

                                              KBId (string)

                                              + *
                                            • + *
                                            • + *

                                              Classification (string)

                                              + *
                                            • + *
                                            • + *

                                              Severity (string)

                                              + *
                                            • + *
                                            • + *

                                              State (string, such as "INSTALLED" or "FAILED")

                                              + *
                                            • + *
                                            • + *

                                              InstalledTime (DateTime)

                                              + *
                                            • + *
                                            • + *

                                              InstalledBy (string)

                                              + *
                                            • + *
                                            */ Patches?: PatchComplianceData[]; @@ -6795,7 +7099,7 @@ export namespace DescribeInstancePatchesResult { export interface DescribeInstancePatchStatesRequest { /** - *

                                            The ID of the instance whose patch state information should be retrieved.

                                            + *

                                            The ID of the instance for which patch state information should be retrieved.

                                            */ InstanceIds: string[] | undefined; @@ -6859,12 +7163,14 @@ export interface InstancePatchState { SnapshotId?: string; /** - *

                                            An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch - * installation list, which you maintain in an S3 bucket in YAML format and specify in the SSM - * document AWS-RunPatchBaseline, overrides the patches specified by the default patch - * baseline.

                                            + *

                                            An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of + * patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML + * format and specify in the SSM document AWS-RunPatchBaseline, overrides the patches + * specified by the default patch baseline.

                                            *

                                            For more information about the InstallOverrideList parameter, see About the - * SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.

                                            + * AWS-RunPatchBaseline + * SSM document in the + * Amazon Web Services Systems Manager User Guide.

                                            */ InstallOverrideList?: string; @@ -6893,9 +7199,8 @@ export interface InstancePatchState { /** *

                                            The number of patches installed on an instance that are specified in a - * RejectedPatches list. Patches with a status of - * InstalledRejected were typically installed before they were added to a - * RejectedPatches list.

                                            + * RejectedPatches list. Patches with a status of InstalledRejected were + * typically installed before they were added to a RejectedPatches list.

                                            * *

                                            If ALLOW_AS_DEPENDENCY is the specified option for * RejectedPatchesAction, the value of InstalledRejectedCount will @@ -6917,8 +7222,8 @@ export interface InstancePatchState { FailedCount?: number; /** - *

                                            The number of patches beyond the supported limit of NotApplicableCount that are - * not reported by name to Systems Manager Inventory.

                                            + *

                                            The number of patches beyond the supported limit of NotApplicableCount that + * aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

                                            */ UnreportedNotApplicableCount?: number; @@ -6941,8 +7246,17 @@ export interface InstancePatchState { OperationEndTime: Date | undefined; /** - *

                                            The type of patching operation that was performed: SCAN (assess patch - * compliance state) or INSTALL (install missing patches).

                                            + *

                                            The type of patching operation that was performed: or

                                            + *
                                              + *
                                            • + *

                                              + * SCAN assesses the patch compliance state.

                                              + *
                                            • + *
                                            • + *

                                              + * INSTALL installs missing patches.

                                              + *
                                            • + *
                                            */ Operation: PatchOperationType | string | undefined; @@ -6955,47 +7269,47 @@ export interface InstancePatchState { /** *

                                            Indicates the reboot option specified in the patch baseline.

                                            * - *

                                            Reboot options apply to Install operations only. Reboots are not attempted for + *

                                            Reboot options apply to Install operations only. Reboots aren't attempted for * Patch Manager Scan operations.

                                            *
                                            *
                                              *
                                            • *

                                              - * RebootIfNeeded: Patch Manager tries to reboot the - * instance if it installed any patches, or if any patches are detected with a status of + * RebootIfNeeded: Patch Manager tries to reboot the instance if it installed + * any patches, or if any patches are detected with a status of * InstalledPendingReboot.

                                              *
                                            • *
                                            • *

                                              - * NoReboot: Patch Manager attempts to install missing - * packages without trying to reboot the system. Patches installed with this option are assigned a - * status of InstalledPendingReboot. These patches might not be in effect until a - * reboot is performed.

                                              + * NoReboot: Patch Manager attempts to install missing packages without trying + * to reboot the system. Patches installed with this option are assigned a status of + * InstalledPendingReboot. These patches might not be in effect until a reboot is + * performed.

                                              *
                                            • *
                                            */ RebootOption?: RebootOption | string; /** - *

                                            The number of instances where patches that are specified as "Critical" for compliance - * reporting in the patch baseline are not installed. These patches might be missing, have failed - * installation, were rejected, or were installed but awaiting a required instance reboot. The - * status of these instances is NON_COMPLIANT.

                                            + *

                                            The number of instances where patches that are specified as Critical for + * compliance reporting in the patch baseline aren't installed. These patches might be missing, have + * failed installation, were rejected, or were installed but awaiting a required instance reboot. + * The status of these instances is NON_COMPLIANT.

                                            */ CriticalNonCompliantCount?: number; /** - *

                                            The number of instances where patches that are specified as "Security" in a patch advisory - * are not installed. These patches might be missing, have failed installation, were rejected, or - * were installed but awaiting a required instance reboot. The status of these instances is - * NON_COMPLIANT.

                                            + *

                                            The number of instances where patches that are specified as Security in a patch + * advisory aren't installed. These patches might be missing, have failed installation, were + * rejected, or were installed but awaiting a required instance reboot. The status of these + * instances is NON_COMPLIANT.

                                            */ SecurityNonCompliantCount?: number; /** - *

                                            The number of instances with patches installed that are specified as other than "Critical" - * or "Security" but are not compliant with the patch baseline. The status of these instances is - * NON_COMPLIANT.

                                            + *

                                            The number of instances with patches installed that are specified as other than + * Critical or Security but aren't compliant with the patch baseline. The + * status of these instances is NON_COMPLIANT.

                                            */ OtherNonCompliantCount?: number; } @@ -7043,24 +7357,82 @@ export enum InstancePatchStateOperatorType { } /** - *

                                            Defines a filter used in DescribeInstancePatchStatesForPatchGroup used to - * scope down the information returned by the API.

                                            + *

                                            Defines a filter used in DescribeInstancePatchStatesForPatchGroup to scope + * down the information returned by the API.

                                            + *

                                            + * Example: To filter for all instances in a patch group + * having more than three patches with a FailedCount status, use the following for the + * filter:

                                            + *
                                              + *
                                            • + *

                                              Value for Key: FailedCount + *

                                              + *
                                            • + *
                                            • + *

                                              Value for Type: GreaterThan + *

                                              + *
                                            • + *
                                            • + *

                                              Value for Values: 3 + *

                                              + *
                                            • + *
                                            */ export interface InstancePatchStateFilter { /** - *

                                            The key for the filter. Supported values are FailedCount, InstalledCount, - * InstalledOtherCount, MissingCount and NotApplicableCount.

                                            + *

                                            The key for the filter. Supported values include the following:

                                            + *
                                              + *
                                            • + *

                                              + * InstalledCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * InstalledOtherCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * InstalledPendingRebootCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * InstalledRejectedCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * MissingCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * FailedCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * UnreportedNotApplicableCount + *

                                              + *
                                            • + *
                                            • + *

                                              + * NotApplicableCount + *

                                              + *
                                            • + *
                                            */ Key: string | undefined; /** - *

                                            The value for the filter, must be an integer greater than or equal to 0.

                                            + *

                                            The value for the filter. Must be an integer greater than or equal to 0.

                                            */ Values: string[] | undefined; /** - *

                                            The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or - * GreaterThan.

                                            + *

                                            The type of comparison that should be performed for the value.

                                            */ Type: InstancePatchStateOperatorType | string | undefined; } @@ -7083,9 +7455,17 @@ export interface DescribeInstancePatchStatesForPatchGroupRequest { /** *

                                            Each entry in the array is a structure containing:

                                            - *

                                            Key (string between 1 and 200 characters)

                                            - *

                                            Values (array containing a single string)

                                            - *

                                            Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

                                            + *
                                              + *
                                            • + *

                                              Key (string between 1 and 200 characters)

                                              + *
                                            • + *
                                            • + *

                                              Values (array containing a single string)

                                              + *
                                            • + *
                                            • + *

                                              Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

                                              + *
                                            • + *
                                            */ Filters?: InstancePatchStateFilter[]; @@ -7138,7 +7518,7 @@ export namespace DescribeInstancePatchStatesForPatchGroupResult { export interface DescribeInventoryDeletionsRequest { /** *

                                            Specify the delete inventory ID for which you want information. This ID was returned by the - * DeleteInventory action.

                                            + * DeleteInventory operation.

                                            */ DeletionId?: string; @@ -7169,11 +7549,11 @@ export enum InventoryDeletionStatus { } /** - *

                                            Status information returned by the DeleteInventory action.

                                            + *

                                            Status information returned by the DeleteInventory operation.

                                            */ export interface InventoryDeletionStatusItem { /** - *

                                            The deletion ID returned by the DeleteInventory action.

                                            + *

                                            The deletion ID returned by the DeleteInventory operation.

                                            */ DeletionId?: string; @@ -7199,7 +7579,7 @@ export interface InventoryDeletionStatusItem { /** *

                                            Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the - * AWS Systems Manager User Guide.

                                            + * Amazon Web Services Systems Manager User Guide.

                                            */ DeletionSummary?: InventoryDeletionSummary; @@ -7241,7 +7621,7 @@ export namespace DescribeInventoryDeletionsResult { } /** - *

                                            The ID specified for the delete operation does not exist or is not valid. Verify the ID and + *

                                            The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and * try again.

                                            */ export interface InvalidDeletionIdException extends __SmithyException, $MetadataBearer { @@ -7260,7 +7640,41 @@ export namespace InvalidDeletionIdException { } /** - *

                                            Filter used in the request. Supported filter keys are Name and Enabled.

                                            + *

                                            Filter used in the request. Supported filter keys depend on the API operation that includes + * the filter. API operations that use MaintenanceWindowFilter> include the + * following:

                                            + * */ export interface MaintenanceWindowFilter { /** @@ -7291,10 +7705,17 @@ export interface DescribeMaintenanceWindowExecutionsRequest { /** *

                                            Each entry in the array is a structure containing:

                                            - *

                                            Key (string, between 1 and 128 characters)

                                            - *

                                            Values (array of strings, each string is between 1 and 256 characters)

                                            - *

                                            The supported Keys are ExecutedBefore and ExecutedAfter with the value being a date/time - * string such as 2016-11-04T05:00:00Z.

                                            + *
                                              + *
                                            • + *

                                              Key. A string between 1 and 128 characters. Supported keys include + * ExecutedBefore and ExecutedAfter.

                                              + *
                                            • + *
                                            • + *

                                              Values. An array of strings, each between 1 and 256 characters. Supported values are + * date/time strings in a valid ISO 8601 date/time format, such as + * 2021-11-04T05:00:00Z.

                                              + *
                                            • + *
                                            */ Filters?: MaintenanceWindowFilter[]; @@ -7351,7 +7772,7 @@ export interface MaintenanceWindowExecution { Status?: MaintenanceWindowExecutionStatus | string; /** - *

                                            The details explaining the Status. Only available for certain status values.

                                            + *

                                            The details explaining the status. Not available for all status values.

                                            */ StatusDetails?: string; @@ -7410,8 +7831,9 @@ export interface DescribeMaintenanceWindowExecutionTaskInvocationsRequest { /** *

                                            Optional filters used to scope down the returned task invocations. The supported filter key - * is STATUS with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, - * CANCELLING, and CANCELLED.

                                            + * is STATUS with the corresponding values PENDING, + * IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, + * CANCELLING, and CANCELLED.

                                            */ Filters?: MaintenanceWindowFilter[]; @@ -7466,7 +7888,7 @@ export interface MaintenanceWindowExecutionTaskInvocationIdentity { /** *

                                            The ID of the action performed in the service that actually handled the task invocation. If - * the task type is RUN_COMMAND, this value is the command ID.

                                            + * the task type is RUN_COMMAND, this value is the command ID.

                                            */ ExecutionId?: string; @@ -7486,7 +7908,7 @@ export interface MaintenanceWindowExecutionTaskInvocationIdentity { Status?: MaintenanceWindowExecutionStatus | string; /** - *

                                            The details explaining the status of the task invocation. Only available for certain Status + *

                                            The details explaining the status of the task invocation. Not available for all status * values.

                                            */ StatusDetails?: string; @@ -7503,7 +7925,8 @@ export interface MaintenanceWindowExecutionTaskInvocationIdentity { /** *

                                            User-provided value that was specified when the target was registered with the maintenance - * window. This was also included in any CloudWatch events raised during the task invocation.

                                            + * window. This was also included in any Amazon CloudWatch Events events raised during the task + * invocation.

                                            */ OwnerInformation?: string; @@ -7559,9 +7982,10 @@ export interface DescribeMaintenanceWindowExecutionTasksRequest { WindowExecutionId: string | undefined; /** - *

                                            Optional filters used to scope down the returned tasks. The supported filter key is STATUS - * with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, and - * CANCELLED.

                                            + *

                                            Optional filters used to scope down the returned tasks. The supported filter key is + * STATUS with the corresponding values PENDING, + * IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, + * CANCELLING, and CANCELLED.

                                            */ Filters?: MaintenanceWindowFilter[]; @@ -7608,7 +8032,7 @@ export interface MaintenanceWindowExecutionTaskIdentity { Status?: MaintenanceWindowExecutionStatus | string; /** - *

                                            The details explaining the status of the task execution. Only available for certain status + *

                                            The details explaining the status of the task execution. Not available for all status * values.

                                            */ StatusDetails?: string; @@ -7624,7 +8048,7 @@ export interface MaintenanceWindowExecutionTaskIdentity { EndTime?: Date; /** - *

                                            The ARN of the task that ran.

                                            + *

                                            The Amazon Resource Name (ARN) of the task that ran.

                                            */ TaskArn?: string; @@ -7668,7 +8092,8 @@ export namespace DescribeMaintenanceWindowExecutionTasksResult { export interface DescribeMaintenanceWindowsRequest { /** *

                                            Optional filters used to narrow down the scope of the returned maintenance windows. - * Supported filter keys are Name and Enabled.

                                            + * Supported filter keys are Name and Enabled. For example, + * Name=MyMaintenanceWindow and Enabled=True.

                                            */ Filters?: MaintenanceWindowFilter[]; @@ -7724,8 +8149,8 @@ export interface MaintenanceWindowIdentity { Duration?: number; /** - *

                                            The number of hours before the end of the maintenance window that Systems Manager stops scheduling new - * tasks for execution.

                                            + *

                                            The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

                                            */ Cutoff?: number; @@ -7741,7 +8166,7 @@ export interface MaintenanceWindowIdentity { ScheduleTimezone?: string; /** - *

                                            The number of days to wait to run a maintenance window after the scheduled CRON expression + *

                                            The number of days to wait to run a maintenance window after the scheduled cron expression * date and time.

                                            */ ScheduleOffset?: number; @@ -7812,12 +8237,13 @@ export interface DescribeMaintenanceWindowScheduleRequest { WindowId?: string; /** - *

                                            The instance ID or key/value pair to retrieve information about.

                                            + *

                                            The instance ID or key-value pair to retrieve information about.

                                            */ Targets?: Target[]; /** - *

                                            The type of resource you want to retrieve information about. For example, "INSTANCE".

                                            + *

                                            The type of resource you want to retrieve information about. For example, + * INSTANCE.

                                            */ ResourceType?: MaintenanceWindowResourceType | string; @@ -7903,12 +8329,13 @@ export namespace DescribeMaintenanceWindowScheduleResult { export interface DescribeMaintenanceWindowsForTargetRequest { /** - *

                                            The instance ID or key/value pair to retrieve information about.

                                            + *

                                            The instance ID or key-value pair to retrieve information about.

                                            */ Targets: Target[] | undefined; /** - *

                                            The type of resource you want to retrieve information about. For example, "INSTANCE".

                                            + *

                                            The type of resource you want to retrieve information about. For example, + * INSTANCE.

                                            */ ResourceType: MaintenanceWindowResourceType | string | undefined; @@ -7988,7 +8415,8 @@ export interface DescribeMaintenanceWindowTargetsRequest { /** *

                                            Optional filters that can be used to narrow down the scope of the returned window targets. - * The supported filter keys are Type, WindowTargetId and OwnerInformation.

                                            + * The supported filter keys are Type, WindowTargetId, and + * OwnerInformation.

                                            */ Filters?: MaintenanceWindowFilter[]; @@ -8046,8 +8474,8 @@ export interface MaintenanceWindowTarget { Targets?: Target[]; /** - *

                                            A user-provided value that will be included in any CloudWatch events that are raised while - * running tasks for these targets in this maintenance window.

                                            + *

                                            A user-provided value that will be included in any Amazon CloudWatch Events events that are + * raised while running tasks for these targets in this maintenance window.

                                            */ OwnerInformation?: string; @@ -8104,7 +8532,8 @@ export interface DescribeMaintenanceWindowTasksRequest { /** *

                                            Optional filters used to narrow down the scope of the returned tasks. The supported filter - * keys are WindowTaskId, TaskArn, Priority, and TaskType.

                                            + * keys are WindowTaskId, TaskArn, Priority, and + * TaskType.

                                            */ Filters?: MaintenanceWindowFilter[]; @@ -8131,12 +8560,13 @@ export namespace DescribeMaintenanceWindowTasksRequest { } /** - *

                                            Information about an S3 bucket to write instance-level logs to.

                                            + *

                                            Information about an Amazon Simple Storage Service (Amazon S3) bucket to write + * instance-level logs to.

                                            * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            *
                                            */ @@ -8202,22 +8632,22 @@ export interface MaintenanceWindowTask { WindowTaskId?: string; /** - *

                                            The resource that the task uses during execution. For RUN_COMMAND and AUTOMATION task types, - * TaskArn is the Systems Manager document name or ARN. For LAMBDA tasks, it's the function name - * or ARN. For STEP_FUNCTIONS tasks, it's the state machine ARN.

                                            + *

                                            The resource that the task uses during execution. For RUN_COMMAND and + * AUTOMATION task types, TaskArn is the Amazon Web Services Systems Manager (SSM document) name or + * ARN. For LAMBDA tasks, it's the function name or ARN. For + * STEP_FUNCTIONS tasks, it's the state machine ARN.

                                            */ TaskArn?: string; /** - *

                                            The type of task. The type can be one of the following: RUN_COMMAND, AUTOMATION, LAMBDA, or - * STEP_FUNCTIONS.

                                            + *

                                            The type of task.

                                            */ Type?: MaintenanceWindowTaskType | string; /** *

                                            The targets (either instances or tags). Instances are specified using - * Key=instanceids,Values=,. Tags are specified using - * Key=,Values=.

                                            + * Key=instanceids,Values=,. Tags are specified + * using Key=,Values=.

                                            */ Targets?: Target[]; @@ -8243,17 +8673,17 @@ export interface MaintenanceWindowTask { *

                                            Information about an S3 bucket to write task-level logs to.

                                            * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            *
                                            */ LoggingInfo?: LoggingInfo; /** - *

                                            The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for - * maintenance window Run Command tasks.

                                            + *

                                            The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

                                            */ ServiceRoleArn?: string; @@ -8325,6 +8755,7 @@ export enum OpsItemFilterKey { CHANGE_REQUEST_TEMPLATE = "ChangeRequestByTemplate", CREATED_BY = "CreatedBy", CREATED_TIME = "CreatedTime", + INSIGHT_TYPE = "InsightByType", LAST_MODIFIED_TIME = "LastModifiedTime", OPERATIONAL_DATA = "OperationalData", OPERATIONAL_DATA_KEY = "OperationalDataKey", @@ -8406,11 +8837,11 @@ export interface DescribeOpsItemsRequest { *

                                            Operations: Equals

                                            *
                                          • *
                                          • - *

                                            Key: Title

                                            - *

                                            Operations: Contains

                                            + *

                                            Key: Title*

                                            + *

                                            Operations: Equals,Contains

                                            *
                                          • *
                                          • - *

                                            Key: OperationalData*

                                            + *

                                            Key: OperationalData**

                                            *

                                            Operations: Equals

                                            *
                                          • *
                                          • @@ -8434,7 +8865,10 @@ export interface DescribeOpsItemsRequest { *

                                            Operations: Equals

                                            *
                                          • *
                                          - *

                                          *If you filter the response by using the OperationalData operator, specify a key-value pair + *

                                          *The Equals operator for Title matches the first 100 characters. If you specify more than + * 100 characters, they system returns an error that the filter value exceeds the length + * limit.

                                          + *

                                          **If you filter the response by using the OperationalData operator, specify a key-value pair * by using the following JSON format: {"key":"key_name","value":"a_value"}

                                          */ OpsItemFilters?: OpsItemFilter[]; @@ -8466,6 +8900,7 @@ export enum OpsItemStatus { CANCELLING = "Cancelling", CHANGE_CALENDAR_OVERRIDE_APPROVED = "ChangeCalendarOverrideApproved", CHANGE_CALENDAR_OVERRIDE_REJECTED = "ChangeCalendarOverrideRejected", + CLOSED = "Closed", COMPLETED_WITH_FAILURE = "CompletedWithFailure", COMPLETED_WITH_SUCCESS = "CompletedWithSuccess", FAILED = "Failed", @@ -8486,7 +8921,8 @@ export enum OpsItemStatus { */ export interface OpsItemSummary { /** - *

                                          The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.

                                          + *

                                          The Amazon Resource Name (ARN) of the IAM entity that created the + * OpsItem.

                                          */ CreatedBy?: string; @@ -8496,7 +8932,8 @@ export interface OpsItemSummary { CreatedTime?: Date; /** - *

                                          The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.

                                          + *

                                          The Amazon Resource Name (ARN) of the IAM entity that created the + * OpsItem.

                                          */ LastModifiedBy?: string; @@ -8511,7 +8948,7 @@ export interface OpsItemSummary { Priority?: number; /** - *

                                          The impacted AWS resource.

                                          + *

                                          The impacted Amazon Web Services resource.

                                          */ Source?: string; @@ -8645,17 +9082,16 @@ export namespace ParametersFilter { export interface ParameterStringFilter { /** *

                                          The name of the filter.

                                          - * - *

                                          The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API actions. However, - * not all of the pattern values listed for Key can be used with both actions.

                                          - *

                                          For DescribeActions, all of the listed patterns are valid, with the exception - * of Label.

                                          - *

                                          For GetParametersByPath, the following patterns listed for Key - * are not valid: tag, Name, Path, and - * Tier.

                                          - *

                                          For examples of CLI commands demonstrating valid parameter filter constructions, see Searching for - * Systems Manager parameters in the AWS Systems Manager User Guide.

                                          - *
                                          + *

                                          The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. + * However, not all of the pattern values listed for Key can be used with both + * operations.

                                          + *

                                          For DescribeActions, all of the listed patterns are valid, with the exception + * of Label.

                                          + *

                                          For GetParametersByPath, the following patterns listed for Key + * aren't valid: tag, Name, Path, and + * Tier.

                                          + *

                                          For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see + * Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

                                          */ Key: string | undefined; @@ -8729,14 +9165,14 @@ export interface ParameterInlinePolicy { PolicyText?: string; /** - *

                                          The type of policy. Parameter Store supports the following policy types: Expiration, - * ExpirationNotification, and NoChangeNotification.

                                          + *

                                          The type of policy. Parameter Store, a capablility of Amazon Web Services Systems Manager, supports the following + * policy types: Expiration, ExpirationNotification, and NoChangeNotification.

                                          */ PolicyType?: string; /** - *

                                          The status of the policy. Policies report the following statuses: Pending (the policy has - * not been enforced or applied yet), Finished (the policy was applied), Failed (the policy was not + *

                                          The status of the policy. Policies report the following statuses: Pending (the policy hasn't + * been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't * applied), or InProgress (the policy is being applied now).

                                          */ PolicyStatus?: string; @@ -8790,7 +9226,7 @@ export interface ParameterMetadata { LastModifiedDate?: Date; /** - *

                                          Amazon Resource Name (ARN) of the AWS user who last changed the parameter.

                                          + *

                                          Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

                                          */ LastModifiedUser?: string; diff --git a/clients/client-ssm/models/models_1.ts b/clients/client-ssm/models/models_1.ts index 3787ca66efda9..eb1bac63e4db3 100644 --- a/clients/client-ssm/models/models_1.ts +++ b/clients/client-ssm/models/models_1.ts @@ -53,14 +53,14 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; /** - *

                                          The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path + *

                                          The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path * filter, valid options are Recursive and OneLevel.

                                          */ export interface InvalidFilterOption extends __SmithyException, $MetadataBearer { name: "InvalidFilterOption"; $fault: "client"; /** - *

                                          The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path + *

                                          The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path * filter, valid options are Recursive and OneLevel.

                                          */ message?: string; @@ -77,9 +77,37 @@ export namespace InvalidFilterOption { export interface DescribePatchBaselinesRequest { /** - *

                                          Each element in the array is a structure containing:

                                          - *

                                          Key: (string, "NAME_PREFIX" or "OWNER")

                                          - *

                                          Value: (array of strings, exactly 1 entry, between 1 and 255 characters)

                                          + *

                                          Each element in the array is a structure containing a key-value pair.

                                          + *

                                          Supported keys for DescribePatchBaselines include the following:

                                          + *
                                            + *
                                          • + *

                                            + * + * NAME_PREFIX + * + *

                                            + *

                                            Sample values: AWS- | My- + *

                                            + *
                                          • + *
                                          • + *

                                            + * + * OWNER + * + *

                                            + *

                                            Sample values: AWS | Self + *

                                            + *
                                          • + *
                                          • + *

                                            + * + * OPERATING_SYSTEM + * + *

                                            + *

                                            Sample values: AMAZON_LINUX | SUSE | WINDOWS + *

                                            + *
                                          • + *
                                          */ Filters?: PatchOrchestratorFilter[]; @@ -119,8 +147,8 @@ export interface PatchBaselineIdentity { BaselineName?: string; /** - *

                                          Defines the operating system the patch baseline applies to. The Default value is WINDOWS. - *

                                          + *

                                          Defines the operating system the patch baseline applies to. The default value is + * WINDOWS.

                                          */ OperatingSystem?: OperatingSystem | string; @@ -130,9 +158,8 @@ export interface PatchBaselineIdentity { BaselineDescription?: string; /** - *

                                          Whether this is the default baseline. Note that Systems Manager supports creating multiple default - * patch baselines. For example, you can create a default patch baseline for each operating - * system.

                                          + *

                                          Whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch + * baselines. For example, you can create a default patch baseline for each operating system.

                                          */ DefaultBaseline?: boolean; } @@ -148,7 +175,7 @@ export namespace PatchBaselineIdentity { export interface DescribePatchBaselinesResult { /** - *

                                          An array of PatchBaselineIdentity elements.

                                          + *

                                          An array of PatchBaselineIdentity elements.

                                          */ BaselineIdentities?: PatchBaselineIdentity[]; @@ -175,30 +202,25 @@ export interface DescribePatchGroupsRequest { MaxResults?: number; /** - *

                                          One or more filters. Use a filter to return a more specific list of results.

                                          - *

                                          For DescribePatchGroups,valid filter keys include the following:

                                          + *

                                          Each element in the array is a structure containing a key-value pair.

                                          + *

                                          Supported keys for DescribePatchGroups include the following:

                                          *
                                            *
                                          • *

                                            - * NAME_PREFIX: The name of the patch group. Wildcards (*) are accepted.

                                            + * + * NAME_PREFIX + * + *

                                            + *

                                            Sample values: AWS- | My-.

                                            *
                                          • *
                                          • *

                                            - * OPERATING_SYSTEM: The supported operating system type to return results for. - * For valid operating system values, see GetDefaultPatchBaselineRequest$OperatingSystem in CreatePatchBaseline.

                                            - *

                                            Examples:

                                            - *
                                              - *
                                            • - *

                                              - * --filters Key=NAME_PREFIX,Values=MyPatchGroup* - *

                                              - *
                                            • - *
                                            • - *

                                              - * --filters Key=OPERATING_SYSTEM,Values=AMAZON_LINUX_2 - *

                                              - *
                                            • - *
                                            + * + * OPERATING_SYSTEM + * + *

                                            + *

                                            Sample values: AMAZON_LINUX | SUSE | WINDOWS + *

                                            *
                                          • *
                                          */ @@ -248,9 +270,18 @@ export namespace PatchGroupPatchBaselineMapping { export interface DescribePatchGroupsResult { /** *

                                          Each entry in the array contains:

                                          - *

                                          PatchGroup: string (between 1 and 256 characters, Regex: - * ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)

                                          - *

                                          PatchBaselineIdentity: A PatchBaselineIdentity element.

                                          + *
                                            + *
                                          • + *

                                            + * PatchGroup: string (between 1 and 256 characters. Regex: + * ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$) + *

                                            + *
                                          • + *
                                          • + *

                                            + * PatchBaselineIdentity: A PatchBaselineIdentity element.

                                            + *
                                          • + *
                                          */ Mappings?: PatchGroupPatchBaselineMapping[]; @@ -304,18 +335,19 @@ export interface DescribePatchGroupStateResult { InstancesWithInstalledOtherPatches?: number; /** - *

                                          The number of instances with patches installed by Patch Manager that have not been rebooted - * after the patch installation. The status of these instances is NON_COMPLIANT.

                                          + *

                                          The number of instances with patches installed by Patch Manager that haven't been rebooted + * after the patch installation. The status of these instances is NON_COMPLIANT.

                                          */ InstancesWithInstalledPendingRebootPatches?: number; /** - *

                                          The number of instances with patches installed that are specified in a RejectedPatches list. - * Patches with a status of INSTALLED_REJECTED were typically installed before - * they were added to a RejectedPatches list.

                                          + *

                                          The number of instances with patches installed that are specified in a + * RejectedPatches list. Patches with a status of INSTALLED_REJECTED were + * typically installed before they were added to a RejectedPatches list.

                                          * - *

                                          If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the value of - * InstancesWithInstalledRejectedPatches will always be 0 (zero).

                                          + *

                                          If ALLOW_AS_DEPENDENCY is the specified option for + * RejectedPatchesAction, the value of + * InstancesWithInstalledRejectedPatches will always be 0 (zero).

                                          *
                                          */ InstancesWithInstalledRejectedPatches?: number; @@ -337,30 +369,30 @@ export interface DescribePatchGroupStateResult { /** *

                                          The number of instances with NotApplicable patches beyond the supported limit, - * which are not reported by name to Systems Manager Inventory.

                                          + * which aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

                                          */ InstancesWithUnreportedNotApplicablePatches?: number; /** - *

                                          The number of instances where patches that are specified as "Critical" for compliance - * reporting in the patch baseline are not installed. These patches might be missing, have failed - * installation, were rejected, or were installed but awaiting a required instance reboot. The - * status of these instances is NON_COMPLIANT.

                                          + *

                                          The number of instances where patches that are specified as Critical for + * compliance reporting in the patch baseline aren't installed. These patches might be missing, have + * failed installation, were rejected, or were installed but awaiting a required instance reboot. + * The status of these instances is NON_COMPLIANT.

                                          */ InstancesWithCriticalNonCompliantPatches?: number; /** - *

                                          The number of instances where patches that are specified as "Security" in a patch advisory - * are not installed. These patches might be missing, have failed installation, were rejected, or - * were installed but awaiting a required instance reboot. The status of these instances is - * NON_COMPLIANT.

                                          + *

                                          The number of instances where patches that are specified as Security in a patch + * advisory aren't installed. These patches might be missing, have failed installation, were + * rejected, or were installed but awaiting a required instance reboot. The status of these + * instances is NON_COMPLIANT.

                                          */ InstancesWithSecurityNonCompliantPatches?: number; /** - *

                                          The number of instances with patches installed that are specified as other than "Critical" - * or "Security" but are not compliant with the patch baseline. The status of these instances is - * NON_COMPLIANT.

                                          + *

                                          The number of instances with patches installed that are specified as other than + * Critical or Security but aren't compliant with the patch baseline. The + * status of these instances is NON_COMPLIANT.

                                          */ InstancesWithOtherNonCompliantPatches?: number; } @@ -400,8 +432,8 @@ export interface DescribePatchPropertiesRequest { Property: PatchProperty | string | undefined; /** - *

                                          Indicates whether to list patches for the Windows operating system or for Microsoft - * applications. Not applicable for the Linux or macOS operating systems.

                                          + *

                                          Indicates whether to list patches for the Windows operating system or for applications + * released by Microsoft. Not applicable for the Linux or macOS operating systems.

                                          */ PatchSet?: PatchSet | string; @@ -481,7 +513,8 @@ export interface SessionFilter { *

                                          Target: Specify an instance to which session connections have been made.

                                          *
                                        • *
                                        • - *

                                          Owner: Specify an AWS user account to see a list of sessions started by that user.

                                          + *

                                          Owner: Specify an Amazon Web Services user account to see a list of sessions started by that + * user.

                                          *
                                        • *
                                        • *

                                          Status: Specify a valid session status to see a list of all sessions with that status. @@ -631,7 +664,7 @@ export interface Session { DocumentName?: string; /** - *

                                          The ID of the AWS user account that started the session.

                                          + *

                                          The ID of the Amazon Web Services user account that started the session.

                                          */ Owner?: string; @@ -712,7 +745,7 @@ export namespace DisassociateOpsItemRelatedItemResponse { } /** - *

                                          The association was not found using the parameters you specified in the call. Verify the + *

                                          The association wasn't found using the parameters you specified in the call. Verify the * information and try again.

                                          */ export interface OpsItemRelatedItemAssociationNotFoundException extends __SmithyException, $MetadataBearer { @@ -733,7 +766,7 @@ export namespace OpsItemRelatedItemAssociationNotFoundException { export interface GetAutomationExecutionRequest { /** *

                                          The unique identifier for an existing automation execution to examine. The execution ID is - * returned by StartAutomationExecution when the execution of an Automation document is + * returned by StartAutomationExecution when the execution of an Automation runbook is * initiated.

                                          */ AutomationExecutionId: string | undefined; @@ -749,37 +782,37 @@ export namespace GetAutomationExecutionRequest { } /** - *

                                          An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and - * multi-account Automation execution.

                                          + *

                                          An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a + * multi-Region and multi-account Automation execution.

                                          */ export interface ProgressCounters { /** - *

                                          The total number of steps run in all specified AWS Regions and accounts for the current - * Automation execution.

                                          + *

                                          The total number of steps run in all specified Regions and accounts for the + * current Automation execution.

                                          */ TotalSteps?: number; /** - *

                                          The total number of steps that successfully completed in all specified AWS Regions and + *

                                          The total number of steps that successfully completed in all specified Regions and * accounts for the current Automation execution.

                                          */ SuccessSteps?: number; /** - *

                                          The total number of steps that failed to run in all specified AWS Regions and accounts for - * the current Automation execution.

                                          + *

                                          The total number of steps that failed to run in all specified Regions and + * accounts for the current Automation execution.

                                          */ FailedSteps?: number; /** - *

                                          The total number of steps that the system cancelled in all specified AWS Regions and + *

                                          The total number of steps that the system cancelled in all specified Regions and * accounts for the current Automation execution.

                                          */ CancelledSteps?: number; /** - *

                                          The total number of steps that timed out in all specified AWS Regions and accounts for the - * current Automation execution.

                                          + *

                                          The total number of steps that timed out in all specified Regions and accounts + * for the current Automation execution.

                                          */ TimedOutSteps?: number; } @@ -803,7 +836,7 @@ export interface AutomationExecution { AutomationExecutionId?: string; /** - *

                                          The name of the Automation document used during the execution.

                                          + *

                                          The name of the Automation runbook used during the execution.

                                          */ DocumentName?: string; @@ -829,25 +862,24 @@ export interface AutomationExecution { /** *

                                          A list of details about the current state of all steps that comprise an execution. An - * Automation document contains a list of steps that are run in order.

                                          + * Automation runbook contains a list of steps that are run in order.

                                          */ StepExecutions?: StepExecution[]; /** *

                                          A boolean value that indicates if the response contains the full list of the Automation step - * executions. If true, use the DescribeAutomationStepExecutions API action to get the full list of - * step executions.

                                          + * executions. If true, use the DescribeAutomationStepExecutions API operation to get the full list + * of step executions.

                                          */ StepExecutionsTruncated?: boolean; /** - *

                                          The key-value map of execution parameters, which were supplied when calling - * StartAutomationExecution.

                                          + *

                                          The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.

                                          */ Parameters?: { [key: string]: string[] }; /** - *

                                          The list of execution outputs as defined in the automation document.

                                          + *

                                          The list of execution outputs as defined in the Automation runbook.

                                          */ Outputs?: { [key: string]: string[] }; @@ -902,7 +934,8 @@ export interface AutomationExecution { ResolvedTargets?: ResolvedTargets; /** - *

                                          The MaxConcurrency value specified by the user when the execution started.

                                          + *

                                          The MaxConcurrency value specified by the user when the execution + * started.

                                          */ MaxConcurrency?: string; @@ -917,14 +950,14 @@ export interface AutomationExecution { Target?: string; /** - *

                                          The combination of AWS Regions and/or AWS accounts where you want to run the + *

                                          The combination of Regions and/or accounts where you want to run the * Automation.

                                          */ TargetLocations?: TargetLocation[]; /** - *

                                          An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and - * multi-account Automation execution.

                                          + *

                                          An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a + * multi-Region and multi-account Automation execution.

                                          */ ProgressCounters?: ProgressCounters; @@ -940,8 +973,7 @@ export interface AutomationExecution { ScheduledTime?: Date; /** - *

                                          Information about the Automation runbooks (Automation documents) that are run as part of a - * runbook workflow.

                                          + *

                                          Information about the Automation runbooks that are run as part of a runbook workflow.

                                          * *

                                          The Automation runbooks specified for the runbook workflow can't run until all required * approvals for the change request have been received.

                                          @@ -992,14 +1024,14 @@ export namespace GetAutomationExecutionResult { export interface GetCalendarStateRequest { /** - *

                                          The names or Amazon Resource Names (ARNs) of the Systems Manager documents that represent the calendar - * entries for which you want to get the state.

                                          + *

                                          The names or Amazon Resource Names (ARNs) of the Systems Manager documents (SSM documents) that + * represent the calendar entries for which you want to get the state.

                                          */ CalendarNames: string[] | undefined; /** - *

                                          (Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you do not add - * AtTime, the current time is assumed.

                                          + *

                                          (Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you don't specify a + * value or AtTime, the current time is used.

                                          */ AtTime?: string; } @@ -1021,14 +1053,14 @@ export enum CalendarState { export interface GetCalendarStateResponse { /** *

                                          The state of the calendar. An OPEN calendar indicates that actions are allowed - * to proceed, and a CLOSED calendar indicates that actions are not allowed to + * to proceed, and a CLOSED calendar indicates that actions aren't allowed to * proceed.

                                          */ State?: CalendarState | string; /** *

                                          The time, as an ISO 8601 string, - * that you specified in your command. If you did not specify a time, GetCalendarState + * that you specified in your command. If you don't specify a time, GetCalendarState * uses the current time.

                                          */ AtTime?: string; @@ -1052,7 +1084,7 @@ export namespace GetCalendarStateResponse { } /** - *

                                          The document type is not valid. Valid document types are described in the + *

                                          The SSM document type isn't valid. Valid document types are described in the * DocumentType property.

                                          */ export interface InvalidDocumentType extends __SmithyException, $MetadataBearer { @@ -1071,7 +1103,7 @@ export namespace InvalidDocumentType { } /** - *

                                          The calendar entry contained in the specified Systems Manager document is not supported.

                                          + *

                                          The calendar entry contained in the specified SSM document isn't supported.

                                          */ export interface UnsupportedCalendarException extends __SmithyException, $MetadataBearer { name: "UnsupportedCalendarException"; @@ -1097,7 +1129,7 @@ export interface GetCommandInvocationRequest { /** *

                                          (Required) The ID of the managed instance targeted by the command. A managed instance can be * an Amazon Elastic Compute Cloud (Amazon EC2) instance or an instance in your hybrid environment that is configured for - * AWS Systems Manager.

                                          + * Amazon Web Services Systems Manager.

                                          */ InstanceId: string | undefined; @@ -1105,8 +1137,8 @@ export interface GetCommandInvocationRequest { *

                                          The name of the plugin for which you want detailed results. If the document contains only * one plugin, you can omit the name and details for that plugin. If the document contains more than * one plugin, you must specify the name of the plugin for which you want to view details.

                                          - *

                                          Plugin names are also referred to as step names in Systems Manager documents. For - * example, aws:RunShellScript is a plugin.

                                          + *

                                          Plugin names are also referred to as step names in Systems Manager documents (SSM + * documents). For example, aws:RunShellScript is a plugin.

                                          *

                                          To find the PluginName, check the document content and find the name of the * plugin. Alternatively, use ListCommandInvocations with the * CommandId and Details parameters. The PluginName is the @@ -1126,13 +1158,17 @@ export namespace GetCommandInvocationRequest { } /** - *

                                          Configuration options for sending command output to CloudWatch Logs.

                                          + *

                                          Configuration options for sending command output to Amazon CloudWatch Logs.

                                          */ export interface CloudWatchOutputConfig { /** - *

                                          The name of the CloudWatch log group where you want to send command output. If you don't - * specify a group name, Systems Manager automatically creates a log group for you. The log group uses the - * following naming format: aws/ssm/SystemsManagerDocumentName.

                                          + *

                                          The name of the CloudWatch Logs log group where you want to send command output. If you + * don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group + * uses the following naming format:

                                          + *

                                          + * aws/ssm/SystemsManagerDocumentName + * + *

                                          */ CloudWatchLogGroupName?: string; @@ -1185,7 +1221,7 @@ export interface GetCommandInvocationResult { DocumentName?: string; /** - *

                                          The SSM document version used in the request.

                                          + *

                                          The Systems Manager document (SSM document) version used in the request.

                                          */ DocumentVersion?: string; @@ -1197,19 +1233,19 @@ export interface GetCommandInvocationResult { /** *

                                          The error level response code for the plugin script. If the response code is - * -1, then the command has not started running on the instance, or it was not received + * -1, then the command hasn't started running on the instance, or it wasn't received * by the instance.

                                          */ ResponseCode?: number; /** *

                                          The date and time the plugin started running. Date and time are written in ISO 8601 format. - * For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses + * For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses * the InvokedBefore filter.

                                          *

                                          * aws ssm list-commands --filters key=InvokedBefore,value=2017-06-07T00:00:00Z *

                                          - *

                                          If the plugin has not started to run, the string is empty.

                                          + *

                                          If the plugin hasn't started to run, the string is empty.

                                          */ ExecutionStartDateTime?: string; @@ -1220,12 +1256,12 @@ export interface GetCommandInvocationResult { /** *

                                          The date and time the plugin finished running. Date and time are written in ISO 8601 format. - * For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses + * For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses * the InvokedAfter filter.

                                          *

                                          * aws ssm list-commands --filters key=InvokedAfter,value=2017-06-07T00:00:00Z *

                                          - *

                                          If the plugin has not started to run, the string is empty.

                                          + *

                                          If the plugin hasn't started to run, the string is empty.

                                          */ ExecutionEndDateTime?: string; @@ -1240,18 +1276,18 @@ export interface GetCommandInvocationResult { * includes more information than Status because it includes states resulting from * error and concurrency control parameters. StatusDetails can show different results * than Status. For more information about these statuses, see Understanding - * command statuses in the AWS Systems Manager User Guide. + * command statuses in the Amazon Web Services Systems Manager User Guide. * StatusDetails can be one of the following values:

                                          *
                                            *
                                          • - *

                                            Pending: The command has not been sent to the instance.

                                            + *

                                            Pending: The command hasn't been sent to the instance.

                                            *
                                          • *
                                          • - *

                                            In Progress: The command has been sent to the instance but has not reached a terminal + *

                                            In Progress: The command has been sent to the instance but hasn't reached a terminal * state.

                                            *
                                          • *
                                          • - *

                                            Delayed: The system attempted to send the command to the target, but the target was not + *

                                            Delayed: The system attempted to send the command to the target, but the target wasn't * available. The instance might not be available because of network issues, because the instance * was stopped, or for similar reasons. The system will try to send the command again.

                                            *
                                          • @@ -1259,20 +1295,20 @@ export interface GetCommandInvocationResult { *

                                            Success: The command or plugin ran successfully. This is a terminal state.

                                            * *
                                          • - *

                                            Delivery Timed Out: The command was not delivered to the instance before the delivery - * timeout expired. Delivery timeouts do not count against the parent command's + *

                                            Delivery Timed Out: The command wasn't delivered to the instance before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's * MaxErrors limit, but they do contribute to whether the parent command status is * Success or Incomplete. This is a terminal state.

                                            *
                                          • *
                                          • - *

                                            Execution Timed Out: The command started to run on the instance, but the execution was not + *

                                            Execution Timed Out: The command started to run on the instance, but the execution wasn't * complete before the timeout expired. Execution timeouts count against the * MaxErrors limit of the parent command. This is a terminal state.

                                            *
                                          • *
                                          • *

                                            Failed: The command wasn't run successfully on the instance. For a plugin, this indicates - * that the result code was not zero. For a command invocation, this indicates that the result - * code for one or more plugins was not zero. Invocation failures count against the + * that the result code wasn't zero. For a command invocation, this indicates that the result code + * for one or more plugins wasn't zero. Invocation failures count against the * MaxErrors limit of the parent command. This is a terminal state.

                                            *
                                          • *
                                          • @@ -1294,32 +1330,32 @@ export interface GetCommandInvocationResult { StatusDetails?: string; /** - *

                                            The first 24,000 characters written by the plugin to stdout. If the command has - * not finished running, if ExecutionStatus is neither Succeeded nor Failed, then this - * string is empty.

                                            + *

                                            The first 24,000 characters written by the plugin to stdout. If the command + * hasn't finished running, if ExecutionStatus is neither Succeeded nor Failed, then + * this string is empty.

                                            */ StandardOutputContent?: string; /** - *

                                            The URL for the complete text written by the plugin to stdout in Amazon Simple Storage Service - * (Amazon S3). If an S3 bucket was not specified, then this string is empty.

                                            + *

                                            The URL for the complete text written by the plugin to stdout in Amazon Simple Storage Service (Amazon S3). If an S3 bucket wasn't specified, then this string is + * empty.

                                            */ StandardOutputUrl?: string; /** - *

                                            The first 8,000 characters written by the plugin to stderr. If the command has - * not finished running, then this string is empty.

                                            + *

                                            The first 8,000 characters written by the plugin to stderr. If the command + * hasn't finished running, then this string is empty.

                                            */ StandardErrorContent?: string; /** *

                                            The URL for the complete text written by the plugin to stderr. If the command - * has not finished running, then this string is empty.

                                            + * hasn't finished running, then this string is empty.

                                            */ StandardErrorUrl?: string; /** - *

                                            CloudWatch Logs information where Systems Manager sent the command output.

                                            + *

                                            Amazon CloudWatch Logs information where Systems Manager sent the command output.

                                            */ CloudWatchOutputConfig?: CloudWatchOutputConfig; } @@ -1334,7 +1370,7 @@ export namespace GetCommandInvocationResult { } /** - *

                                            The plugin name is not valid.

                                            + *

                                            The plugin name isn't valid.

                                            */ export interface InvalidPluginName extends __SmithyException, $MetadataBearer { name: "InvalidPluginName"; @@ -1351,7 +1387,7 @@ export namespace InvalidPluginName { } /** - *

                                            The command ID and instance ID you specified did not match any invocations. Verify the + *

                                            The command ID and instance ID you specified didn't match any invocations. Verify the * command ID and the instance ID and try again.

                                            */ export interface InvocationDoesNotExist extends __SmithyException, $MetadataBearer { @@ -1471,7 +1507,7 @@ export interface BaselineOverride { *

                                            A list of explicitly approved patches for the baseline.

                                            *

                                            For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                            + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                            */ ApprovedPatches?: string[]; @@ -1485,20 +1521,21 @@ export interface BaselineOverride { *

                                            A list of explicitly rejected patches for the baseline.

                                            *

                                            For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                            + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                            */ RejectedPatches?: string[]; /** - *

                                            The action for Patch Manager to take on patches included in the RejectedPackages list. A - * patch can be allowed only if it is a dependency of another package, or blocked entirely along - * with packages that include it as a dependency.

                                            + *

                                            The action for Patch Manager to take on patches included in the + * RejectedPackages list. A patch can be allowed only if it is a dependency of another + * package, or blocked entirely along with packages that include it as a dependency.

                                            */ RejectedPatchesAction?: PatchAction | string; /** *

                                            Indicates whether the list of approved patches includes non-security updates that should be - * applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                            + * applied to the instances. The default value is false. Applies to Linux instances + * only.

                                            */ ApprovedPatchesEnableNonSecurity?: boolean; @@ -1526,7 +1563,7 @@ export interface GetDeployablePatchSnapshotForInstanceRequest { InstanceId: string | undefined; /** - *

                                            The user-defined snapshot ID.

                                            + *

                                            The snapshot ID provided by the user when running AWS-RunPatchBaseline.

                                            */ SnapshotId: string | undefined; @@ -1557,7 +1594,8 @@ export interface GetDeployablePatchSnapshotForInstanceResult { SnapshotId?: string; /** - *

                                            A pre-signed Amazon S3 URL that can be used to download the patch snapshot.

                                            + *

                                            A pre-signed Amazon Simple Storage Service (Amazon S3) URL that can be used to download the + * patch snapshot.

                                            */ SnapshotDownloadUrl?: string; @@ -1578,10 +1616,10 @@ export namespace GetDeployablePatchSnapshotForInstanceResult { } /** - *

                                            Microsoft application patching is only available on EC2 instances and advanced instances. To - * patch Microsoft applications on on-premises servers and VMs, you must enable advanced instances. - * For more information, see Using the - * advanced-instances tier in the AWS Systems Manager User Guide.

                                            + *

                                            Patching for applications released by Microsoft is only available on EC2 instances and + * advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, + * you must enable advanced instances. For more information, see Enabling + * the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.

                                            */ export interface UnsupportedFeatureRequiredException extends __SmithyException, $MetadataBearer { name: "UnsupportedFeatureRequiredException"; @@ -1600,7 +1638,7 @@ export namespace UnsupportedFeatureRequiredException { export interface GetDocumentRequest { /** - *

                                            The name of the Systems Manager document.

                                            + *

                                            The name of the SSM document.

                                            */ Name: string | undefined; @@ -1677,24 +1715,24 @@ export namespace AttachmentContent { export interface GetDocumentResult { /** - *

                                            The name of the Systems Manager document.

                                            + *

                                            The name of the SSM document.

                                            */ Name?: string; /** - *

                                            The date the Systems Manager document was created.

                                            + *

                                            The date the SSM document was created.

                                            */ CreatedDate?: Date; /** - *

                                            The friendly name of the Systems Manager document. This value can differ for each version of the + *

                                            The friendly name of the SSM document. This value can differ for each version of the * document. If you want to update this value, see UpdateDocument.

                                            */ DisplayName?: string; /** *

                                            The version of the artifact associated with the document. For example, "Release 12, Update - * 6". This value is unique across all versions of a document, and cannot be changed.

                                            + * 6". This value is unique across all versions of a document, and can't be changed.

                                            */ VersionName?: string; @@ -1704,20 +1742,20 @@ export interface GetDocumentResult { DocumentVersion?: string; /** - *

                                            The status of the Systems Manager document, such as Creating, Active, + *

                                            The status of the SSM document, such as Creating, Active, * Updating, Failed, and Deleting.

                                            */ Status?: DocumentStatus | string; /** - *

                                            A message returned by AWS Systems Manager that explains the Status value. For example, a + *

                                            A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a * Failed status might be explained by the StatusInformation message, - * "The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."

                                            + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

                                            */ StatusInformation?: string; /** - *

                                            The contents of the Systems Manager document.

                                            + *

                                            The contents of the SSM document.

                                            */ Content?: string; @@ -1783,8 +1821,8 @@ export interface InventoryFilter { /** *

                                            Inventory filter values. Example: inventory filter where instance IDs are specified as - * values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal - *

                                            + * values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, + * i-1a2b3c4d5e6,Type=Equal.

                                            */ Values: string[] | undefined; @@ -1793,7 +1831,7 @@ export interface InventoryFilter { * *

                                            The Exists filter must be used with aggregators. For more information, see * Aggregating inventory - * data in the AWS Systems Manager User Guide.

                                            + * data in the Amazon Web Services Systems Manager User Guide.

                                            *
                                            */ Type?: InventoryQueryOperatorType | string; @@ -1840,8 +1878,8 @@ export namespace InventoryGroup { */ export interface ResultAttribute { /** - *

                                            Name of the inventory item type. Valid value: AWS:InstanceInformation. Default Value: - * AWS:InstanceInformation.

                                            + *

                                            Name of the inventory item type. Valid value: AWS:InstanceInformation. Default + * Value: AWS:InstanceInformation.

                                            */ TypeName: string | undefined; } @@ -1876,8 +1914,8 @@ export interface InventoryResultItem { /** *

                                            MD5 hash of the inventory item type contents. The content hash is used to determine whether - * to update inventory information. The PutInventory API does not update the inventory item type - * contents if the MD5 hash has not changed since last update.

                                            + * to update inventory information. The PutInventory API doesn't update the inventory item type + * contents if the MD5 hash hasn't changed since last update.

                                            */ ContentHash?: string; @@ -1946,9 +1984,9 @@ export namespace GetInventoryResult { } /** - *

                                            The specified aggregator is not valid for inventory groups. Verify that the aggregator uses - * a valid inventory type such as AWS:Application or - * AWS:InstanceInformation.

                                            + *

                                            The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a + * valid inventory type such as AWS:Application or + * AWS:InstanceInformation.

                                            */ export interface InvalidAggregatorException extends __SmithyException, $MetadataBearer { name: "InvalidAggregatorException"; @@ -1966,7 +2004,7 @@ export namespace InvalidAggregatorException { } /** - *

                                            The specified inventory group is not valid.

                                            + *

                                            The specified inventory group isn't valid.

                                            */ export interface InvalidInventoryGroupException extends __SmithyException, $MetadataBearer { name: "InvalidInventoryGroupException"; @@ -1984,7 +2022,7 @@ export namespace InvalidInventoryGroupException { } /** - *

                                            The specified inventory item result attribute is not valid.

                                            + *

                                            The specified inventory item result attribute isn't valid.

                                            */ export interface InvalidResultAttributeException extends __SmithyException, $MetadataBearer { name: "InvalidResultAttributeException"; @@ -2078,10 +2116,11 @@ export namespace InventoryItemAttribute { */ export interface InventoryItemSchema { /** - *

                                            The name of the inventory type. Default inventory item type names start with AWS. Custom + *

                                            The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom * inventory type names will start with Custom. Default inventory item types include the following: - * AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and - * AWS:WindowsUpdate.

                                            + * AWS:AWSComponent, AWS:Application, + * AWS:InstanceInformation, AWS:Network, and + * AWS:WindowsUpdate.

                                            */ TypeName: string | undefined; @@ -2166,13 +2205,13 @@ export interface GetMaintenanceWindowResult { /** *

                                            The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled - * to become active. The maintenance window will not run before this specified time.

                                            + * to become active. The maintenance window won't run before this specified time.

                                            */ StartDate?: string; /** *

                                            The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled - * to become inactive. The maintenance window will not run after this specified time.

                                            + * to become inactive. The maintenance window won't run after this specified time.

                                            */ EndDate?: string; @@ -2190,7 +2229,7 @@ export interface GetMaintenanceWindowResult { ScheduleTimezone?: string; /** - *

                                            The number of days to wait to run a maintenance window after the scheduled CRON expression + *

                                            The number of days to wait to run a maintenance window after the scheduled cron expression * date and time.

                                            */ ScheduleOffset?: number; @@ -2207,8 +2246,8 @@ export interface GetMaintenanceWindowResult { Duration?: number; /** - *

                                            The number of hours before the end of the maintenance window that Systems Manager stops scheduling new - * tasks for execution.

                                            + *

                                            The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

                                            */ Cutoff?: number; @@ -2277,7 +2316,7 @@ export interface GetMaintenanceWindowExecutionResult { Status?: MaintenanceWindowExecutionStatus | string; /** - *

                                            The details explaining the Status. Only available for certain status values.

                                            + *

                                            The details explaining the status. Not available for all status values.

                                            */ StatusDetails?: string; @@ -2336,7 +2375,7 @@ export interface GetMaintenanceWindowExecutionTaskResult { TaskExecutionId?: string; /** - *

                                            The ARN of the task that ran.

                                            + *

                                            The Amazon Resource Name (ARN) of the task that ran.

                                            */ TaskArn?: string; @@ -2360,8 +2399,16 @@ export interface GetMaintenanceWindowExecutionTaskResult { * types, see MaintenanceWindowTaskInvocationParameters.

                                            * *

                                            The map has the following format:

                                            - *

                                            Key: string, between 1 and 255 characters

                                            - *

                                            Value: an array of strings, each string is between 1 and 255 characters

                                            + *
                                              + *
                                            • + *

                                              + * Key: string, between 1 and 255 characters

                                              + *
                                            • + *
                                            • + *

                                              + * Value: an array of strings, each between 1 and 255 characters

                                              + *
                                            • + *
                                            */ TaskParameters?: { [key: string]: MaintenanceWindowTaskParameterValueExpression }[]; @@ -2387,7 +2434,7 @@ export interface GetMaintenanceWindowExecutionTaskResult { Status?: MaintenanceWindowExecutionStatus | string; /** - *

                                            The details explaining the Status. Only available for certain status values.

                                            + *

                                            The details explaining the status. Not available for all status values.

                                            */ StatusDetails?: string; @@ -2460,8 +2507,7 @@ export interface GetMaintenanceWindowExecutionTaskInvocationResult { ExecutionId?: string; /** - *

                                            Retrieves the task type for a maintenance window. Task types include the following: LAMBDA, - * STEP_FUNCTIONS, AUTOMATION, RUN_COMMAND.

                                            + *

                                            Retrieves the task type for a maintenance window.

                                            */ TaskType?: MaintenanceWindowTaskType | string; @@ -2492,8 +2538,8 @@ export interface GetMaintenanceWindowExecutionTaskInvocationResult { EndTime?: Date; /** - *

                                            User-provided value to be included in any CloudWatch events raised while running tasks for - * these targets in this maintenance window.

                                            + *

                                            User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge + * events raised while running tasks for these targets in this maintenance window.

                                            */ OwnerInformation?: string; @@ -2536,23 +2582,22 @@ export namespace GetMaintenanceWindowTaskRequest { } /** - *

                                            The parameters for an AUTOMATION task type.

                                            + *

                                            The parameters for an AUTOMATION task type.

                                            */ export interface MaintenanceWindowAutomationParameters { /** - *

                                            The version of an Automation document to use during task execution.

                                            + *

                                            The version of an Automation runbook to use during task execution.

                                            */ DocumentVersion?: string; /** - *

                                            The parameters for the AUTOMATION task.

                                            + *

                                            The parameters for the AUTOMATION task.

                                            *

                                            For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                            * - * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            * *

                                            @@ -2560,7 +2605,8 @@ export interface MaintenanceWindowAutomationParameters { * instead use the Parameters option in the TaskInvocationParameters structure. For information * about how Systems Manager handles these options for the supported maintenance window task * types, see MaintenanceWindowTaskInvocationParameters.

                                            - *

                                            For AUTOMATION task types, Systems Manager ignores any values specified for these parameters.

                                            + *

                                            For AUTOMATION task types, Amazon Web Services Systems Manager ignores any values specified for these + * parameters.

                                            *
                                            */ Parameters?: { [key: string]: string[] }; @@ -2576,14 +2622,13 @@ export namespace MaintenanceWindowAutomationParameters { } /** - *

                                            The parameters for a LAMBDA task type.

                                            + *

                                            The parameters for a LAMBDA task type.

                                            *

                                            For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                            * - * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            * *

                                            @@ -2597,17 +2642,17 @@ export namespace MaintenanceWindowAutomationParameters { */ export interface MaintenanceWindowLambdaParameters { /** - *

                                            Pass client-specific information to the Lambda function that you are invoking. You can then - * process the client information in your Lambda function as you choose through the context - * variable.

                                            + *

                                            Pass client-specific information to the Lambda function that you are + * invoking. You can then process the client information in your Lambda function as you + * choose through the context variable.

                                            */ ClientContext?: string; /** - *

                                            (Optional) Specify a Lambda function version or alias name. If you specify a function - * version, the action uses the qualified function ARN to invoke a specific Lambda function. If you - * specify an alias name, the action uses the alias ARN to invoke the Lambda function version to - * which the alias points.

                                            + *

                                            (Optional) Specify an Lambda function version or alias name. If you specify a + * function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke + * a specific Lambda function. If you specify an alias name, the operation uses the + * alias ARN to invoke the Lambda function version to which the alias points.

                                            */ Qualifier?: string; @@ -2646,24 +2691,32 @@ export enum NotificationType { */ export interface NotificationConfig { /** - *

                                            An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes - * notifications about command status changes to this topic.

                                            + *

                                            An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run + * Command pushes notifications about command status changes to this topic.

                                            */ NotificationArn?: string; /** - *

                                            The different events for which you can receive notifications. These events include the - * following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about - * these events, see Monitoring Systems - * Manager status changes using Amazon SNS notifications in the - * AWS Systems Manager User Guide.

                                            + *

                                            The different events for which you can receive notifications. To learn more about these + * events, see Monitoring Systems Manager status + * changes using Amazon SNS notifications in the + * Amazon Web Services Systems Manager User Guide.

                                            */ NotificationEvents?: (NotificationEvent | string)[]; /** - *

                                            Command: Receive notification when the status of a command changes. Invocation: For commands - * sent to multiple instances, receive notification on a per-instance basis when the status of a - * command changes.

                                            + *

                                            The type of notification.

                                            + *
                                              + *
                                            • + *

                                              + * Command: Receive notification when the status of a command changes.

                                              + *
                                            • + *
                                            • + *

                                              + * Invocation: For commands sent to multiple instances, receive notification on + * a per-instance basis when the status of a command changes.

                                              + *
                                            • + *
                                            */ NotificationType?: NotificationType | string; } @@ -2678,14 +2731,13 @@ export namespace NotificationConfig { } /** - *

                                            The parameters for a RUN_COMMAND task type.

                                            + *

                                            The parameters for a RUN_COMMAND task type.

                                            *

                                            For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                            * - * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            * *

                                            @@ -2693,8 +2745,8 @@ export namespace NotificationConfig { * instead use the Parameters option in the TaskInvocationParameters structure. For information * about how Systems Manager handles these options for the supported maintenance window task * types, see MaintenanceWindowTaskInvocationParameters.

                                            - *

                                            For Run Command tasks, Systems Manager uses specified values for TaskParameters and - * LoggingInfo only if no values are specified for + *

                                            For RUN_COMMAND tasks, Systems Manager uses specified values for + * TaskParameters and LoggingInfo only if no values are specified for * TaskInvocationParameters.

                                            *
                                            */ @@ -2705,7 +2757,7 @@ export interface MaintenanceWindowRunCommandParameters { Comment?: string; /** - *

                                            Configuration options for sending command output to CloudWatch Logs.

                                            + *

                                            Configuration options for sending command output to Amazon CloudWatch Logs.

                                            */ CloudWatchOutputConfig?: CloudWatchOutputConfig; @@ -2721,13 +2773,19 @@ export interface MaintenanceWindowRunCommandParameters { DocumentHashType?: DocumentHashType | string; /** - *

                                            The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a - * specific version number. If you run commands by using the AWS CLI, then you must escape the first - * two options by using a backslash. If you specify a version number, then you don't need to use the - * backslash. For example:

                                            - *

                                            --document-version "\$DEFAULT"

                                            - *

                                            --document-version "\$LATEST"

                                            - *

                                            --document-version "3"

                                            + *

                                            The Amazon Web Services Systems Manager document (SSM document) version to use in the request. You can specify + * $DEFAULT, $LATEST, or a specific version number. If you run commands + * by using the Amazon Web Services CLI, then you must escape the first two options by using a backslash. If you + * specify a version number, then you don't need to use the backslash. For example:

                                            + *

                                            + * --document-version "\$DEFAULT" + *

                                            + *

                                            + * --document-version "\$LATEST" + *

                                            + *

                                            + * --document-version "3" + *

                                            */ DocumentVersion?: string; @@ -2738,7 +2796,7 @@ export interface MaintenanceWindowRunCommandParameters { NotificationConfig?: NotificationConfig; /** - *

                                            The name of the S3 bucket.

                                            + *

                                            The name of the Amazon Simple Storage Service (Amazon S3) bucket.

                                            */ OutputS3BucketName?: string; @@ -2748,18 +2806,18 @@ export interface MaintenanceWindowRunCommandParameters { OutputS3KeyPrefix?: string; /** - *

                                            The parameters for the RUN_COMMAND task execution.

                                            + *

                                            The parameters for the RUN_COMMAND task execution.

                                            */ Parameters?: { [key: string]: string[] }; /** - *

                                            The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for - * maintenance window Run Command tasks.

                                            + *

                                            The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

                                            */ ServiceRoleArn?: string; /** - *

                                            If this time is reached and the command has not already started running, it doesn't + *

                                            If this time is reached and the command hasn't already started running, it doesn't * run.

                                            */ TimeoutSeconds?: number; @@ -2775,14 +2833,13 @@ export namespace MaintenanceWindowRunCommandParameters { } /** - *

                                            The parameters for a STEP_FUNCTIONS task.

                                            + *

                                            The parameters for a STEP_FUNCTIONS task.

                                            *

                                            For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                            * - * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            * *

                                            @@ -2796,12 +2853,12 @@ export namespace MaintenanceWindowRunCommandParameters { */ export interface MaintenanceWindowStepFunctionsParameters { /** - *

                                            The inputs for the STEP_FUNCTIONS task.

                                            + *

                                            The inputs for the STEP_FUNCTIONS task.

                                            */ Input?: string; /** - *

                                            The name of the STEP_FUNCTIONS task.

                                            + *

                                            The name of the STEP_FUNCTIONS task.

                                            */ Name?: string; } @@ -2821,22 +2878,22 @@ export namespace MaintenanceWindowStepFunctionsParameters { */ export interface MaintenanceWindowTaskInvocationParameters { /** - *

                                            The parameters for a RUN_COMMAND task type.

                                            + *

                                            The parameters for a RUN_COMMAND task type.

                                            */ RunCommand?: MaintenanceWindowRunCommandParameters; /** - *

                                            The parameters for an AUTOMATION task type.

                                            + *

                                            The parameters for an AUTOMATION task type.

                                            */ Automation?: MaintenanceWindowAutomationParameters; /** - *

                                            The parameters for a STEP_FUNCTIONS task type.

                                            + *

                                            The parameters for a STEP_FUNCTIONS task type.

                                            */ StepFunctions?: MaintenanceWindowStepFunctionsParameters; /** - *

                                            The parameters for a LAMBDA task type.

                                            + *

                                            The parameters for a LAMBDA task type.

                                            */ Lambda?: MaintenanceWindowLambdaParameters; } @@ -2871,15 +2928,16 @@ export interface GetMaintenanceWindowTaskResult { Targets?: Target[]; /** - *

                                            The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, - * the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. - * For STEP_FUNCTIONS tasks, the value is the state machine ARN.

                                            + *

                                            The resource that the task used during execution. For RUN_COMMAND and + * AUTOMATION task types, the value of TaskArn is the SSM document + * name/ARN. For LAMBDA tasks, the value is the function name/ARN. For + * STEP_FUNCTIONS tasks, the value is the state machine ARN.

                                            */ TaskArn?: string; /** - *

                                            The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for - * maintenance window Run Command tasks.

                                            + *

                                            The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

                                            */ ServiceRoleArn?: string; @@ -2914,9 +2972,9 @@ export interface GetMaintenanceWindowTaskResult { /** *

                                            The maximum number of targets allowed to run this task in parallel.

                                            * - *

                                            For maintenance window tasks without a target specified, you cannot supply a value for this + *

                                            For maintenance window tasks without a target specified, you can't supply a value for this * option. Instead, the system inserts a placeholder value of 1, which may be reported - * in the response to this command. This value does not affect the running of your task and can be + * in the response to this command. This value doesn't affect the running of your task and can be * ignored.

                                            *
                                            */ @@ -2925,21 +2983,22 @@ export interface GetMaintenanceWindowTaskResult { /** *

                                            The maximum number of errors allowed before the task stops being scheduled.

                                            * - *

                                            For maintenance window tasks without a target specified, you cannot supply a value for this + *

                                            For maintenance window tasks without a target specified, you can't supply a value for this * option. Instead, the system inserts a placeholder value of 1, which may be reported - * in the response to this command. This value does not affect the running of your task and can be + * in the response to this command. This value doesn't affect the running of your task and can be * ignored.

                                            *
                                            */ MaxErrors?: string; /** - *

                                            The location in Amazon S3 where the task results are logged.

                                            + *

                                            The location in Amazon Simple Storage Service (Amazon S3) where the task results are + * logged.

                                            * *

                                            - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                            *
                                            */ @@ -2989,14 +3048,14 @@ export namespace GetOpsItemRequest { } /** - *

                                            Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate - * operational issues impacting the performance and health of their AWS resources. For more - * information, see AWS Systems Manager OpsCenter in the - * AWS Systems Manager User Guide.

                                            + *

                                            Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

                                            */ export interface OpsItem { /** - *

                                            The ARN of the AWS account that created the OpsItem.

                                            + *

                                            The ARN of the account that created the OpsItem.

                                            */ CreatedBy?: string; @@ -3017,7 +3076,7 @@ export interface OpsItem { Description?: string; /** - *

                                            The ARN of the AWS account that last updated the OpsItem.

                                            + *

                                            The ARN of the account that last updated the OpsItem.

                                            */ LastModifiedBy?: string; @@ -3027,8 +3086,8 @@ export interface OpsItem { LastModifiedTime?: Date; /** - *

                                            The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this - * OpsItem is edited or changed.

                                            + *

                                            The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where + * notifications are sent when this OpsItem is edited or changed.

                                            */ Notifications?: OpsItemNotification[]; @@ -3046,7 +3105,7 @@ export interface OpsItem { /** *

                                            The OpsItem status. Status can be Open, In Progress, or - * Resolved. For more information, see Editing OpsItem details in the AWS Systems Manager User Guide.

                                            + * Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

                                            */ Status?: OpsItemStatus | string; @@ -3078,18 +3137,19 @@ export interface OpsItem { * other relevant data. You enter operational data as key-value pairs. The key has a maximum length * of 128 characters. The value has a maximum size of 20 KB.

                                            * - *

                                            Operational data keys can't begin with the following: amazon, aws, - * amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                            + *

                                            Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

                                            *
                                            *

                                            You can choose to make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem Overview page (as - * provided by the DescribeOpsItems API action) can view and search on the - * specified data. Operational data that is not searchable is only viewable by users who have access - * to the OpsItem (as provided by the GetOpsItem API action).

                                            + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

                                            *

                                            Use the /aws/resources key in OperationalData to specify a related resource in * the request. Use the /aws/automations key in OperationalData to associate an - * Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see - * Creating OpsItems manually in the AWS Systems Manager User Guide.

                                            + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                            */ OperationalData?: { [key: string]: OpsItemDataValue }; @@ -3218,7 +3278,7 @@ export enum OpsFilterOperatorType { } /** - *

                                            A filter for viewing OpsItem summaries.

                                            + *

                                            A filter for viewing OpsData summaries.

                                            */ export interface OpsFilter { /** @@ -3251,8 +3311,9 @@ export namespace OpsFilter { */ export interface OpsResultAttribute { /** - *

                                            Name of the data type. Valid value: AWS:OpsItem, AWS:EC2InstanceInformation, - * AWS:OpsItemTrendline, or AWS:ComplianceSummary.

                                            + *

                                            Name of the data type. Valid value: AWS:OpsItem, + * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or + * AWS:ComplianceSummary.

                                            */ TypeName: string | undefined; } @@ -3267,16 +3328,16 @@ export namespace OpsResultAttribute { } /** - *

                                            The OpsItem summaries result item.

                                            + *

                                            The OpsData summary.

                                            */ export interface OpsEntityItem { /** - *

                                            The time OpsItem data was captured.

                                            + *

                                            The time the OpsData was captured.

                                            */ CaptureTime?: string; /** - *

                                            The detailed data content for an OpsItem summaries result item.

                                            + *

                                            The details of an OpsData summary.

                                            */ Content?: { [key: string]: string }[]; } @@ -3316,7 +3377,7 @@ export namespace OpsEntity { export interface GetOpsSummaryResult { /** - *

                                            The list of aggregated and filtered OpsItems.

                                            + *

                                            The list of aggregated and filtered OpsData.

                                            */ Entities?: OpsEntity[]; @@ -3343,8 +3404,8 @@ export interface GetParameterRequest { Name: string | undefined; /** - *

                                            Return decrypted values for secure string parameters. This flag is ignored for String and - * StringList parameter types.

                                            + *

                                            Return decrypted values for secure string parameters. This flag is ignored for + * String and StringList parameter types.

                                            */ WithDecryption?: boolean; } @@ -3359,7 +3420,7 @@ export namespace GetParameterRequest { } /** - *

                                            An Systems Manager parameter in Parameter Store.

                                            + *

                                            An Amazon Web Services Systems Manager parameter in Parameter Store.

                                            */ export interface Parameter { /** @@ -3392,8 +3453,8 @@ export interface Parameter { Selector?: string; /** - *

                                            Applies to parameters that reference information in other AWS services. SourceResult is the - * raw result or response from the source.

                                            + *

                                            Applies to parameters that reference information in other Amazon Web Services services. + * SourceResult is the raw result or response from the source.

                                            */ SourceResult?: string; @@ -3440,7 +3501,7 @@ export namespace GetParameterResult { } /** - *

                                            The query key ID is not valid.

                                            + *

                                            The query key ID isn't valid.

                                            */ export interface InvalidKeyId extends __SmithyException, $MetadataBearer { name: "InvalidKeyId"; @@ -3458,8 +3519,8 @@ export namespace InvalidKeyId { } /** - *

                                            The specified parameter version was not found. Verify the parameter name and version, and - * try again.

                                            + *

                                            The specified parameter version wasn't found. Verify the parameter name and version, and try + * again.

                                            */ export interface ParameterVersionNotFound extends __SmithyException, $MetadataBearer { name: "ParameterVersionNotFound"; @@ -3483,8 +3544,8 @@ export interface GetParameterHistoryRequest { Name: string | undefined; /** - *

                                            Return decrypted values for secure string parameters. This flag is ignored for String and - * StringList parameter types.

                                            + *

                                            Return decrypted values for secure string parameters. This flag is ignored for + * String and StringList parameter types.

                                            */ WithDecryption?: boolean; @@ -3535,7 +3596,7 @@ export interface ParameterHistory { LastModifiedDate?: Date; /** - *

                                            Amazon Resource Name (ARN) of the AWS user who last changed the parameter.

                                            + *

                                            Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

                                            */ LastModifiedUser?: string; @@ -3574,7 +3635,7 @@ export interface ParameterHistory { *

                                            Information about the policies assigned to a parameter.

                                            *

                                            * Assigning parameter - * policies in the AWS Systems Manager User Guide.

                                            + * policies in the Amazon Web Services Systems Manager User Guide.

                                            */ Policies?: ParameterInlinePolicy[]; @@ -3624,7 +3685,7 @@ export interface GetParametersRequest { /** *

                                            Return decrypted secure string value. Return decrypted values for secure string parameters. - * This flag is ignored for String and StringList parameter types.

                                            + * This flag is ignored for String and StringList parameter types.

                                            */ WithDecryption?: boolean; } @@ -3645,7 +3706,7 @@ export interface GetParametersResult { Parameters?: Parameter[]; /** - *

                                            A list of parameters that are not formatted correctly or do not run during an + *

                                            A list of parameters that aren't formatted correctly or don't run during an * execution.

                                            */ InvalidParameters?: string[]; @@ -3664,8 +3725,8 @@ export interface GetParametersByPathRequest { /** *

                                            The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is * the parameter name except the last part of the parameter. For the API call to succeeed, the last - * part of the parameter name cannot be in the path. A parameter name hierarchy can have a maximum - * of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33 + * part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of + * 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33 * *

                                            */ @@ -3676,9 +3737,9 @@ export interface GetParametersByPathRequest { * *

                                            If a user has access to a path, then the user can access all levels of that path. For * example, if a user has permission to access path /a, then the user can also access - * /a/b. Even if a user has explicitly been denied access in IAM for parameter - * /a/b, they can still call the GetParametersByPath API action recursively for - * /a and view /a/b.

                                            + * /a/b. Even if a user has explicitly been denied access in IAM for + * parameter /a/b, they can still call the GetParametersByPath API operation + * recursively for /a and view /a/b.

                                            *
                                            */ Recursive?: boolean; @@ -3799,7 +3860,8 @@ export interface GetPatchBaselineResult { /** *

                                            Indicates whether the list of approved patches includes non-security updates that should be - * applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                            + * applied to the instances. The default value is false. Applies to Linux instances + * only.

                                            */ ApprovedPatchesEnableNonSecurity?: boolean; @@ -3809,9 +3871,9 @@ export interface GetPatchBaselineResult { RejectedPatches?: string[]; /** - *

                                            The action specified to take on patches included in the RejectedPatches list. A patch can be - * allowed only if it is a dependency of another package, or blocked entirely along with packages - * that include it as a dependency.

                                            + *

                                            The action specified to take on patches included in the RejectedPatches list. A + * patch can be allowed only if it is a dependency of another package, or blocked entirely along + * with packages that include it as a dependency.

                                            */ RejectedPatchesAction?: PatchAction | string; @@ -3900,7 +3962,7 @@ export namespace GetPatchBaselineForPatchGroupResult { } /** - *

                                            The request body of the GetServiceSetting API action.

                                            + *

                                            The request body of the GetServiceSetting API operation.

                                            */ export interface GetServiceSettingRequest { /** @@ -3953,17 +4015,18 @@ export namespace GetServiceSettingRequest { /** *

                                            The service setting data structure.

                                            *

                                            - * ServiceSetting is an account-level setting for an AWS service. This setting + * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting * defines how a user interacts with or uses a service or a feature of a service. For example, if an - * AWS service charges money to the account based on feature or service usage, then the AWS service - * team might create a default setting of "false". This means the user can't use this feature unless - * they change the setting to "true" and intentionally opt in for a paid feature.

                                            - *

                                            Services map a SettingId object to a setting value. AWS services teams define + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

                                            + *

                                            Services map a SettingId object to a setting value. Amazon Web Services services teams define * the default value for a SettingId. You can't create a new SettingId, * but you can overwrite the default value if you have the ssm:UpdateServiceSetting - * permission for the setting. Use the UpdateServiceSetting API action to change - * the default setting. Or, use the ResetServiceSetting to change the value back - * to the original value defined by the AWS service team.

                                            + * permission for the setting. Use the UpdateServiceSetting API operation to + * change the default setting. Or, use the ResetServiceSetting to change the value + * back to the original value defined by the Amazon Web Services service team.

                                            */ export interface ServiceSetting { /** @@ -3997,7 +4060,7 @@ export interface ServiceSetting { * PendingUpdate.

                                            *
                                              *
                                            • - *

                                              Default: The current setting uses a default value provisioned by the AWS service + *

                                              Default: The current setting uses a default value provisioned by the Amazon Web Services service * team.

                                              *
                                            • *
                                            • @@ -4022,7 +4085,7 @@ export namespace ServiceSetting { } /** - *

                                              The query result body of the GetServiceSetting API action.

                                              + *

                                              The query result body of the GetServiceSetting API operation.

                                              */ export interface GetServiceSettingResult { /** @@ -4041,8 +4104,8 @@ export namespace GetServiceSettingResult { } /** - *

                                              The specified service setting was not found. Either the service name or the setting has not - * been provisioned by the AWS service team.

                                              + *

                                              The specified service setting wasn't found. Either the service name or the setting hasn't + * been provisioned by the Amazon Web Services service team.

                                              */ export interface ServiceSettingNotFound extends __SmithyException, $MetadataBearer { name: "ServiceSettingNotFound"; @@ -4088,9 +4151,9 @@ export namespace LabelParameterVersionRequest { export interface LabelParameterVersionResult { /** - *

                                              The label does not meet the requirements. For information about parameter label - * requirements, see Labeling parameters - * in the AWS Systems Manager User Guide.

                                              + *

                                              The label doesn't meet the requirements. For information about parameter label requirements, + * see Labeling parameters + * in the Amazon Web Services Systems Manager User Guide.

                                              */ InvalidLabels?: string[]; @@ -4173,7 +4236,7 @@ export interface ListAssociationsRequest { *

                                              Filtering associations using the InstanceID attribute only returns legacy * associations created using the InstanceID attribute. Associations targeting the * instance that are part of the Target Attributes ResourceGroup or Tags - * are not returned.

                                              + * aren't returned.

                                              * */ AssociationFilterList?: AssociationFilter[]; @@ -4201,11 +4264,11 @@ export namespace ListAssociationsRequest { } /** - *

                                              Describes an association of a Systems Manager document and an instance.

                                              + *

                                              Describes an association of a Amazon Web Services Systems Manager document (SSM document) and an instance.

                                              */ export interface Association { /** - *

                                              The name of the Systems Manager document.

                                              + *

                                              The name of the SSM document.

                                              */ Name?: string; @@ -4340,7 +4403,8 @@ export interface AssociationVersionInfo { Name?: string; /** - *

                                              The version of a Systems Manager document used when the association version was created.

                                              + *

                                              The version of an Amazon Web Services Systems Manager document (SSM document) used when the association version was + * created.

                                              */ DocumentVersion?: string; @@ -4361,8 +4425,8 @@ export interface AssociationVersionInfo { ScheduleExpression?: string; /** - *

                                              The location in Amazon S3 specified for the association when the association version was - * created.

                                              + *

                                              The location in Amazon S3 specified for the association when the association version + * was created.

                                              */ OutputLocation?: InstanceAssociationOutputLocation; @@ -4378,12 +4442,12 @@ export interface AssociationVersionInfo { * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, * the system stops sending requests when the fourth error is received. If you specify 0, then the * system stops sending requests after the first error is returned. If you run an association on 50 - * instances and set MaxError to 10%, then the system stops sending the request when the sixth error - * is received.

                                              - *

                                              Executions that are already running an association when MaxErrors is reached are allowed to - * complete, but some of these executions may fail as well. If you need to ensure that there won't - * be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one - * at a time.

                                              + * instances and set MaxError to 10%, then the system stops sending the request when + * the sixth error is received.

                                              + *

                                              Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

                                              */ MaxErrors?: string; @@ -4392,9 +4456,9 @@ export interface AssociationVersionInfo { * specify a number, for example 10, or a percentage of the target set, for example 10%. The default * value is 100%, which means all targets run the association at the same time.

                                              *

                                              If a new instance starts and attempts to run an association while Systems Manager is running - * MaxConcurrency associations, the association is allowed to run. During the next association - * interval, the new instance will process its association within the limit specified for - * MaxConcurrency.

                                              + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new instance will process its association within the limit specified + * for MaxConcurrency.

                                              */ MaxConcurrency?: string; @@ -4410,8 +4474,9 @@ export interface AssociationVersionInfo { * then the association is COMPLIANT. If the association execution doesn't run * successfully, the association is NON-COMPLIANT.

                                              *

                                              In MANUAL mode, you must specify the AssociationId as a parameter - * for the PutComplianceItems API action. In this case, compliance data is not - * managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                              + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

                                              *

                                              By default, all associations use AUTO mode.

                                              */ SyncCompliance?: AssociationSyncCompliance | string; @@ -4419,22 +4484,22 @@ export interface AssociationVersionInfo { /** *

                                              By default, when you create a new associations, the system runs it immediately after it is * created and then according to the schedule you specified. Specify this option if you don't want - * an association to run immediately after you create it. This parameter is not supported for rate + * an association to run immediately after you create it. This parameter isn't supported for rate * expressions.

                                              */ ApplyOnlyAtCronInterval?: boolean; /** - *

                                              The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type - * documents your associations are gated under. The associations for this version only run when - * that Change Calendar is open. For more information, see - * AWS Systems Manager Change Calendar.

                                              + *

                                              The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations for this version only run when that Change + * Calendar is open. For more information, see Amazon Web Services Systems Manager Change + * Calendar.

                                              */ CalendarNames?: string[]; /** - *

                                              The combination of AWS Regions and AWS accounts where you wanted to run the association when - * this association version was created.

                                              + *

                                              The combination of Regions and accounts where you wanted to run the association + * when this association version was created.

                                              */ TargetLocations?: TargetLocation[]; } @@ -4497,14 +4562,14 @@ export interface CommandFilter { *
                                            • *

                                              * InvokedAfter: Specify a timestamp to limit your results. - * For example, specify 2018-07-07T00:00:00Z to see a list of command executions - * occurring July 7, 2018, and later.

                                              + * For example, specify 2021-07-07T00:00:00Z to see a list of command executions + * occurring July 7, 2021, and later.

                                              *
                                            • *
                                            • *

                                              * InvokedBefore: Specify a timestamp to limit your results. - * For example, specify 2018-07-07T00:00:00Z to see a list of command executions from - * before July 7, 2018.

                                              + * For example, specify 2021-07-07T00:00:00Z to see a list of command executions from + * before July 7, 2021.

                                              *
                                            • *
                                            • *

                                              @@ -4550,8 +4615,8 @@ export interface CommandFilter { *

                                            • *
                                            • *

                                              - * DocumentName: Specify name of the SSM document for which - * you want to see command execution results. For example, specify + * DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM + * document) for which you want to see command execution results. For example, specify * AWS-RunPatchBaseline to see command executions that used this SSM document to * perform security patching operations on instances.

                                              *
                                            • @@ -4617,7 +4682,7 @@ export interface ListCommandInvocationsRequest { /** *

                                              (Optional) If set this returns the response of the command executions and any command - * output. The default value is 'false'.

                                              + * output. The default value is false.

                                              */ Details?: boolean; } @@ -4645,9 +4710,10 @@ export enum CommandPluginStatus { */ export interface CommandPlugin { /** - *

                                              The name of the plugin. Must be one of the following: aws:updateAgent, aws:domainjoin, - * aws:applications, aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, aws:runShellScript, or - * aws:updateSSMAgent.

                                              + *

                                              The name of the plugin. Must be one of the following: aws:updateAgent, + * aws:domainjoin, aws:applications, + * aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, + * aws:runShellScript, or aws:updateSSMAgent.

                                              */ Name?: string; @@ -4657,17 +4723,18 @@ export interface CommandPlugin { Status?: CommandPluginStatus | string; /** - *

                                              A detailed status of the plugin execution. StatusDetails includes more information than - * Status because it includes states resulting from error and concurrency control parameters. - * StatusDetails can show different results than Status. For more information about these statuses, - * see Understanding command statuses in the AWS Systems Manager User Guide. - * StatusDetails can be one of the following values:

                                              + *

                                              A detailed status of the plugin execution. StatusDetails includes more + * information than Status because it includes states resulting from error and concurrency control + * parameters. StatusDetails can show different results than Status. For more information about + * these statuses, see Understanding command + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the + * following values:

                                              *
                                                *
                                              • - *

                                                Pending: The command has not been sent to the instance.

                                                + *

                                                Pending: The command hasn't been sent to the instance.

                                                *
                                              • *
                                              • - *

                                                In Progress: The command has been sent to the instance but has not reached a terminal + *

                                                In Progress: The command has been sent to the instance but hasn't reached a terminal * state.

                                                *
                                              • *
                                              • @@ -4675,20 +4742,20 @@ export interface CommandPlugin { * terminal state.

                                                *
                                              • *
                                              • - *

                                                Delivery Timed Out: The command was not delivered to the instance before the delivery - * timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit, - * but they do contribute to whether the parent command status is Success or Incomplete. This is a - * terminal state.

                                                + *

                                                Delivery Timed Out: The command wasn't delivered to the instance before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's + * MaxErrors limit, but they do contribute to whether the parent command status is + * Success or Incomplete. This is a terminal state.

                                                *
                                              • *
                                              • - *

                                                Execution Timed Out: Command execution started on the instance, but the execution was not - * complete before the execution timeout expired. Execution timeouts count against the MaxErrors - * limit of the parent command. This is a terminal state.

                                                + *

                                                Execution Timed Out: Command execution started on the instance, but the execution wasn't + * complete before the execution timeout expired. Execution timeouts count against the + * MaxErrors limit of the parent command. This is a terminal state.

                                                *
                                              • *
                                              • - *

                                                Failed: The command was not successful on the instance. For a plugin, this indicates that - * the result code was not zero. For a command invocation, this indicates that the result code for - * one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the + *

                                                Failed: The command wasn't successful on the instance. For a plugin, this indicates that + * the result code wasn't zero. For a command invocation, this indicates that the result code for + * one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the * parent command. This is a terminal state.

                                                *
                                              • *
                                              • @@ -4731,31 +4798,37 @@ export interface CommandPlugin { Output?: string; /** - *

                                                The URL for the complete text written by the plugin to stdout in Amazon S3. If the S3 bucket for - * the command was not specified, then this string is empty.

                                                + *

                                                The URL for the complete text written by the plugin to stdout in Amazon S3. If the + * S3 bucket for the command wasn't specified, then this string is empty.

                                                */ StandardOutputUrl?: string; /** - *

                                                The URL for the complete text written by the plugin to stderr. If execution is not yet + *

                                                The URL for the complete text written by the plugin to stderr. If execution isn't yet * complete, then this string is empty.

                                                */ StandardErrorUrl?: string; /** - *

                                                (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager - * automatically determines the S3 bucket region.

                                                + *

                                                (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, + * Amazon Web Services Systems Manager automatically determines the S3 bucket region.

                                                */ OutputS3Region?: string; /** *

                                                The S3 bucket where the responses to the command executions should be stored. This was * requested when issuing the command. For example, in the following response:

                                                - *

                                                doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript

                                                - *

                                                doc-example-bucket is the name of the S3 bucket;

                                                - *

                                                ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                - *

                                                i-02573cafcfEXAMPLE is the instance ID;

                                                - *

                                                awsrunShellScript is the name of the plugin.

                                                + *

                                                + * doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript + *

                                                + *

                                                + * doc-example-bucket is the name of the S3 bucket;

                                                + *

                                                + * ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                + *

                                                + * i-02573cafcfEXAMPLE is the instance ID;

                                                + *

                                                + * awsrunShellScript is the name of the plugin.

                                                */ OutputS3BucketName?: string; @@ -4763,11 +4836,17 @@ export interface CommandPlugin { *

                                                The S3 directory path inside the bucket where the responses to the command executions should * be stored. This was requested when issuing the command. For example, in the following * response:

                                                - *

                                                doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript

                                                - *

                                                doc-example-bucket is the name of the S3 bucket;

                                                - *

                                                ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                - *

                                                i-02573cafcfEXAMPLE is the instance ID;

                                                - *

                                                awsrunShellScript is the name of the plugin.

                                                + *

                                                + * doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript + *

                                                + *

                                                + * doc-example-bucket is the name of the S3 bucket;

                                                + *

                                                + * ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                + *

                                                + * i-02573cafcfEXAMPLE is the instance ID;

                                                + *

                                                + * awsrunShellScript is the name of the plugin.

                                                */ OutputS3KeyPrefix?: string; } @@ -4800,8 +4879,8 @@ export interface CommandInvocation { InstanceId?: string; /** - *

                                                The name of the invocation target. For EC2 instances this is the value for the aws:Name tag. - * For on-premises instances, this is the name of the instance.

                                                + *

                                                The name of the invocation target. For EC2 instances this is the value for the + * aws:Name tag. For on-premises instances, this is the name of the instance.

                                                */ InstanceName?: string; @@ -4817,7 +4896,7 @@ export interface CommandInvocation { DocumentName?: string; /** - *

                                                The SSM document version.

                                                + *

                                                The Systems Manager document (SSM document) version.

                                                */ DocumentVersion?: string; @@ -4836,14 +4915,14 @@ export interface CommandInvocation { * the command). StatusDetails includes more information than Status because it includes states * resulting from error and concurrency control parameters. StatusDetails can show different results * than Status. For more information about these statuses, see Understanding command - * statuses in the AWS Systems Manager User Guide. StatusDetails can be one of the + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the * following values:

                                                *
                                                  *
                                                • - *

                                                  Pending: The command has not been sent to the instance.

                                                  + *

                                                  Pending: The command hasn't been sent to the instance.

                                                  *
                                                • *
                                                • - *

                                                  In Progress: The command has been sent to the instance but has not reached a terminal + *

                                                  In Progress: The command has been sent to the instance but hasn't reached a terminal * state.

                                                  *
                                                • *
                                                • @@ -4851,21 +4930,21 @@ export interface CommandInvocation { * terminal state.

                                                  *
                                                • *
                                                • - *

                                                  Delivery Timed Out: The command was not delivered to the instance before the delivery - * timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit, - * but they do contribute to whether the parent command status is Success or Incomplete. This is a - * terminal state.

                                                  + *

                                                  Delivery Timed Out: The command wasn't delivered to the instance before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's + * MaxErrors limit, but they do contribute to whether the parent command status is + * Success or Incomplete. This is a terminal state.

                                                  *
                                                • *
                                                • - *

                                                  Execution Timed Out: Command execution started on the instance, but the execution was not - * complete before the execution timeout expired. Execution timeouts count against the MaxErrors - * limit of the parent command. This is a terminal state.

                                                  + *

                                                  Execution Timed Out: Command execution started on the instance, but the execution wasn't + * complete before the execution timeout expired. Execution timeouts count against the + * MaxErrors limit of the parent command. This is a terminal state.

                                                  *
                                                • *
                                                • - *

                                                  Failed: The command was not successful on the instance. For a plugin, this indicates that - * the result code was not zero. For a command invocation, this indicates that the result code for - * one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the - * parent command. This is a terminal state.

                                                  + *

                                                  Failed: The command wasn't successful on the instance. For a plugin, this indicates that + * the result code wasn't zero. For a command invocation, this indicates that the result code for + * one or more plugins wasn't zero. Invocation failures count against the MaxErrors + * limit of the parent command. This is a terminal state.

                                                  *
                                                • *
                                                • *

                                                  Canceled: The command was terminated before it was completed. This is a terminal @@ -4891,16 +4970,18 @@ export interface CommandInvocation { TraceOutput?: string; /** - *

                                                  The URL to the plugin's StdOut file in Amazon S3, if the S3 bucket was defined for the parent - * command. For an invocation, StandardOutputUrl is populated if there is just one plugin defined - * for the command, and the S3 bucket was defined for the command.

                                                  + *

                                                  The URL to the plugin's StdOut file in Amazon Simple Storage Service (Amazon S3), if the S3 + * bucket was defined for the parent command. For an invocation, StandardOutputUrl is + * populated if there is just one plugin defined for the command, and the S3 bucket was defined for + * the command.

                                                  */ StandardOutputUrl?: string; /** - *

                                                  The URL to the plugin's StdErr file in Amazon S3, if the S3 bucket was defined for the parent - * command. For an invocation, StandardErrorUrl is populated if there is just one plugin defined for - * the command, and the S3 bucket was defined for the command.

                                                  + *

                                                  The URL to the plugin's StdErr file in Amazon Simple Storage Service (Amazon S3), if the S3 + * bucket was defined for the parent command. For an invocation, StandardErrorUrl is + * populated if there is just one plugin defined for the command, and the S3 bucket was defined for + * the command.

                                                  */ StandardErrorUrl?: string; @@ -4910,8 +4991,9 @@ export interface CommandInvocation { CommandPlugins?: CommandPlugin[]; /** - *

                                                  The IAM service role that Run Command uses to act on your behalf when sending notifications - * about command status changes on a per instance basis.

                                                  + *

                                                  The Identity and Access Management (IAM) service role that Run Command, a capability + * of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes + * on a per instance basis.

                                                  */ ServiceRole?: string; @@ -4922,7 +5004,8 @@ export interface CommandInvocation { NotificationConfig?: NotificationConfig; /** - *

                                                  CloudWatch Logs information where you want Systems Manager to send the command output.

                                                  + *

                                                  Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command + * output.

                                                  */ CloudWatchOutputConfig?: CloudWatchOutputConfig; } @@ -4968,7 +5051,7 @@ export interface ListCommandsRequest { *

                                                  (Optional) Lists commands issued against this instance ID.

                                                  * *

                                                  You can't specify an instance ID in the same command that you specify Status = - * Pending. This is because the command has not reached the instance yet.

                                                  + * Pending. This is because the command hasn't reached the instance yet.

                                                  *
                                                  */ InstanceId?: string; @@ -5026,7 +5109,7 @@ export interface Command { DocumentName?: string; /** - *

                                                  The SSM document version.

                                                  + *

                                                  The Systems Manager document (SSM document) version.

                                                  */ DocumentVersion?: string; @@ -5037,8 +5120,9 @@ export interface Command { Comment?: string; /** - *

                                                  If this time is reached and the command has not already started running, it will not run. - * Calculated based on the ExpiresAfter user input provided as part of the SendCommand API.

                                                  + *

                                                  If this time is reached and the command hasn't already started running, it won't run. + * Calculated based on the ExpiresAfter user input provided as part of the + * SendCommand API operation.

                                                  */ ExpiresAfter?: Date; @@ -5069,18 +5153,19 @@ export interface Command { Status?: CommandStatus | string; /** - *

                                                  A detailed status of the command execution. StatusDetails includes more information than - * Status because it includes states resulting from error and concurrency control parameters. - * StatusDetails can show different results than Status. For more information about these statuses, - * see Understanding command statuses in the AWS Systems Manager User Guide. - * StatusDetails can be one of the following values:

                                                  + *

                                                  A detailed status of the command execution. StatusDetails includes more + * information than Status because it includes states resulting from error and + * concurrency control parameters. StatusDetails can show different results than + * Status. For more information about these statuses, see Understanding command + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the + * following values:

                                                  *
                                                    *
                                                  • - *

                                                    Pending: The command has not been sent to any instances.

                                                    + *

                                                    Pending: The command hasn't been sent to any instances.

                                                    *
                                                  • *
                                                  • - *

                                                    In Progress: The command has been sent to at least one instance but has not reached a - * final state on all instances.

                                                    + *

                                                    In Progress: The command has been sent to at least one instance but hasn't reached a final + * state on all instances.

                                                    *
                                                  • *
                                                  • *

                                                    Success: The command successfully ran on all invocations. This is a terminal state.

                                                    @@ -5098,9 +5183,9 @@ export interface Command { * is a terminal state.

                                                    *
                                                  • *
                                                  • - *

                                                    Incomplete: The command was attempted on all instances and one or more invocations does - * not have a value of Success but not enough invocations failed for the status to be Failed. This - * is a terminal state.

                                                    + *

                                                    Incomplete: The command was attempted on all instances and one or more invocations doesn't + * have a value of Success but not enough invocations failed for the status to be Failed. This is + * a terminal state.

                                                    *
                                                  • *
                                                  • *

                                                    Canceled: The command was terminated before it was completed. This is a terminal @@ -5136,16 +5221,18 @@ export interface Command { /** *

                                                    The maximum number of instances that are allowed to run the command at the same time. You * can specify a number of instances, such as 10, or a percentage of instances, such as 10%. The - * default value is 50. For more information about how to use MaxConcurrency, see Running commands - * using Systems Manager Run Command in the AWS Systems Manager User Guide.

                                                    + * default value is 50. For more information about how to use MaxConcurrency, see + * Running + * commands using Systems Manager Run Command in the Amazon Web Services Systems Manager User Guide.

                                                    */ MaxConcurrency?: string; /** *

                                                    The maximum number of errors allowed before the system stops sending the command to * additional targets. You can specify a number of errors, such as 10, or a percentage or errors, - * such as 10%. The default value is 0. For more information about how to use MaxErrors, see Running commands - * using Systems Manager Run Command in the AWS Systems Manager User Guide.

                                                    + * such as 10%. The default value is 0. For more information about how to use + * MaxErrors, see Running commands using Systems Manager Run + * Command in the Amazon Web Services Systems Manager User Guide.

                                                    */ MaxErrors?: string; @@ -5172,8 +5259,9 @@ export interface Command { DeliveryTimedOutCount?: number; /** - *

                                                    The IAM service role that Run Command uses to act on your behalf when sending notifications - * about command status changes.

                                                    + *

                                                    The Identity and Access Management (IAM) service role that Run Command, a capability + * of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes. + *

                                                    */ ServiceRole?: string; @@ -5183,7 +5271,8 @@ export interface Command { NotificationConfig?: NotificationConfig; /** - *

                                                    CloudWatch Logs information where you want Systems Manager to send the command output.

                                                    + *

                                                    Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command + * output.

                                                    */ CloudWatchOutputConfig?: CloudWatchOutputConfig; @@ -5548,12 +5637,12 @@ export namespace CompliantSummary { } /** - *

                                                    A summary of resources that are not compliant. The summary is organized according to - * resource type.

                                                    + *

                                                    A summary of resources that aren't compliant. The summary is organized according to resource + * type.

                                                    */ export interface NonCompliantSummary { /** - *

                                                    The total number of compliance items that are not compliant.

                                                    + *

                                                    The total number of compliance items that aren't compliant.

                                                    */ NonCompliantCount?: number; @@ -5833,38 +5922,56 @@ export namespace DocumentFilter { /** *

                                                    One or more filters. Use a filter to return a more specific list of documents.

                                                    *

                                                    For keys, you can specify one or more tags that have been applied to a document.

                                                    - *

                                                    You can also use AWS-provided keys, some of which have specific allowed values. These keys + *

                                                    You can also use Amazon Web Services-provided keys, some of which have specific allowed values. These keys * and their associated values are as follows:

                                                    *
                                                    *
                                                    DocumentType
                                                    *
                                                    *
                                                      *
                                                    • - *

                                                      ApplicationConfiguration

                                                      + *

                                                      + * ApplicationConfiguration + *

                                                      *
                                                    • *
                                                    • - *

                                                      ApplicationConfigurationSchema

                                                      + *

                                                      + * ApplicationConfigurationSchema + *

                                                      *
                                                    • *
                                                    • - *

                                                      Automation

                                                      + *

                                                      + * Automation + *

                                                      *
                                                    • *
                                                    • - *

                                                      ChangeCalendar

                                                      + *

                                                      + * ChangeCalendar + *

                                                      *
                                                    • *
                                                    • - *

                                                      Command

                                                      + *

                                                      + * Command + *

                                                      *
                                                    • *
                                                    • - *

                                                      DeploymentStrategy

                                                      + *

                                                      + * DeploymentStrategy + *

                                                      *
                                                    • *
                                                    • - *

                                                      Package

                                                      + *

                                                      + * Package + *

                                                      *
                                                    • *
                                                    • - *

                                                      Policy

                                                      + *

                                                      + * Policy + *

                                                      *
                                                    • *
                                                    • - *

                                                      Session

                                                      + *

                                                      + * Session + *

                                                      *
                                                    • *
                                                    *
                                                    @@ -5874,19 +5981,29 @@ export namespace DocumentFilter { * Key=Owner,Values=Self.

                                                    *
                                                      *
                                                    • - *

                                                      Amazon

                                                      + *

                                                      + * Amazon + *

                                                      *
                                                    • *
                                                    • - *

                                                      Private

                                                      + *

                                                      + * Private + *

                                                      *
                                                    • *
                                                    • - *

                                                      Public

                                                      + *

                                                      + * Public + *

                                                      *
                                                    • *
                                                    • - *

                                                      Self

                                                      + *

                                                      + * Self + *

                                                      *
                                                    • *
                                                    • - *

                                                      ThirdParty

                                                      + *

                                                      + * ThirdParty + *

                                                      *
                                                    • *
                                                    * @@ -5894,30 +6011,34 @@ export namespace DocumentFilter { *
                                                    *
                                                      *
                                                    • - *

                                                      Linux

                                                      + *

                                                      + * Linux + *

                                                      *
                                                    • *
                                                    • - *

                                                      Windows

                                                      + *

                                                      + * Windows + *

                                                      *
                                                    • *
                                                    *
                                                    *
                                                    *

                                                    - * Name is another AWS-provided key. If you use Name as a key, you - * can use a name prefix to return a list of documents. For example, in the AWS CLI, to return a - * list of all documents that begin with Te, run the following command:

                                                    + * Name is another Amazon Web Services-provided key. If you use Name as a key, you + * can use a name prefix to return a list of documents. For example, in the Amazon Web Services CLI, to return a list + * of all documents that begin with Te, run the following command:

                                                    *

                                                    * aws ssm list-documents --filters Key=Name,Values=Te *

                                                    - *

                                                    You can also use the TargetType AWS-provided key. For a list of valid resource - * type values that can be used with this key, see AWS resource and property types - * reference in the AWS CloudFormation User Guide.

                                                    + *

                                                    You can also use the TargetType Amazon Web Services-provided key. For a list of valid + * resource type values that can be used with this key, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

                                                    *

                                                    If you specify more than two keys, only documents that are identified by all the tags are * returned in the results. If you specify more than two values for a key, documents that are * identified by any of the values are returned in the results.

                                                    - *

                                                    To specify a custom key and value pair, use the format + *

                                                    To specify a custom key-value pair, use the format * Key=tag:tagName,Values=valueName.

                                                    - *

                                                    For example, if you created a key called region and are using the AWS CLI to call the + *

                                                    For example, if you created a key called region and are using the Amazon Web Services CLI to call the * list-documents command:

                                                    *

                                                    * aws ssm list-documents --filters Key=tag:region,Values=east,west @@ -5959,8 +6080,8 @@ export interface ListDocumentsRequest { * to return documents you own use Key=Owner,Values=Self. To specify a custom key-value * pair, use the format Key=tag:tagName,Values=valueName.

                                                    * - *

                                                    This API action only supports filtering documents by using a single tag key and one or more - * tag values. For example: Key=tag:tagName,Values=valueName1,valueName2 + *

                                                    This API operation only supports filtering documents by using a single tag key and one or + * more tag values. For example: Key=tag:tagName,Values=valueName1,valueName2 *

                                                    *
                                                    */ @@ -5989,34 +6110,34 @@ export namespace ListDocumentsRequest { } /** - *

                                                    Describes the name of a Systems Manager document.

                                                    + *

                                                    Describes the name of a SSM document.

                                                    */ export interface DocumentIdentifier { /** - *

                                                    The name of the Systems Manager document.

                                                    + *

                                                    The name of the SSM document.

                                                    */ Name?: string; /** - *

                                                    The date the Systems Manager document was created.

                                                    + *

                                                    The date the SSM document was created.

                                                    */ CreatedDate?: Date; /** - *

                                                    An optional field where you can specify a friendly name for the Systems Manager document. This value - * can differ for each version of the document. If you want to update this value, see UpdateDocument.

                                                    + *

                                                    An optional field where you can specify a friendly name for the SSM document. This value can + * differ for each version of the document. If you want to update this value, see UpdateDocument.

                                                    */ DisplayName?: string; /** - *

                                                    The AWS user account that created the document.

                                                    + *

                                                    The Amazon Web Services user account that created the document.

                                                    */ Owner?: string; /** *

                                                    An optional field specifying the version of the artifact associated with the document. For * example, "Release 12, Update 6". This value is unique across all versions of a document, and - * cannot be changed.

                                                    + * can't be changed.

                                                    */ VersionName?: string; @@ -6047,8 +6168,8 @@ export interface DocumentIdentifier { /** *

                                                    The target type which defines the kinds of resources the document can run on. For example, - * /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types - * reference in the AWS CloudFormation User Guide.

                                                    + * /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

                                                    */ TargetType?: string; @@ -6086,7 +6207,7 @@ export namespace DocumentIdentifier { export interface ListDocumentsResult { /** - *

                                                    The names of the Systems Manager documents.

                                                    + *

                                                    The names of the SSM documents.

                                                    */ DocumentIdentifiers?: DocumentIdentifier[]; @@ -6144,7 +6265,7 @@ export interface DocumentVersionInfo { Name?: string; /** - *

                                                    The friendly name of the Systems Manager document. This value can differ for each version of the + *

                                                    The friendly name of the SSM document. This value can differ for each version of the * document. If you want to update this value, see UpdateDocument.

                                                    */ DisplayName?: string; @@ -6156,7 +6277,7 @@ export interface DocumentVersionInfo { /** *

                                                    The version of the artifact associated with the document. For example, "Release 12, Update - * 6". This value is unique across all versions of a document, and cannot be changed.

                                                    + * 6". This value is unique across all versions of a document, and can't be changed.

                                                    */ VersionName?: string; @@ -6176,15 +6297,15 @@ export interface DocumentVersionInfo { DocumentFormat?: DocumentFormat | string; /** - *

                                                    The status of the Systems Manager document, such as Creating, Active, + *

                                                    The status of the SSM document, such as Creating, Active, * Failed, and Deleting.

                                                    */ Status?: DocumentStatus | string; /** - *

                                                    A message returned by AWS Systems Manager that explains the Status value. For example, a + *

                                                    A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a * Failed status might be explained by the StatusInformation message, - * "The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."

                                                    + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

                                                    */ StatusInformation?: string; @@ -6377,7 +6498,8 @@ export namespace ListOpsItemEventsRequest { */ export interface OpsItemIdentity { /** - *

                                                    The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem event.

                                                    + *

                                                    The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem + * event.

                                                    */ Arn?: string; } @@ -6839,9 +6961,8 @@ export namespace ListResourceComplianceSummariesResult { export interface ListResourceDataSyncRequest { /** *

                                                    View a list of resource data syncs according to the sync type. Specify - * SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 - * bucket. Specify SyncFromSource to view resource data syncs from AWS Organizations or from - * multiple AWS Regions.

                                                    + * SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations + * or from multiple Regions.

                                                    */ SyncType?: string; @@ -6879,18 +7000,18 @@ export enum LastResourceDataSyncStatus { * OrganizationNotExists (Your organization doesn't exist)

                                                    *

                                                    * NoPermissions (The system can't locate the service-linked role. This role is - * automatically created when a user creates a resource data sync in Explorer.)

                                                    + * automatically created when a user creates a resource data sync in Amazon Web Services Systems Manager Explorer.)

                                                    *

                                                    * InvalidOrganizationalUnit (You specified or selected an invalid unit in the * resource data sync configuration.)

                                                    *

                                                    * TrustedAccessDisabled (You disabled Systems Manager access in the organization in - * AWS Organizations.)

                                                    + * Organizations.)

                                                    */ export interface ResourceDataSyncSourceWithState { /** *

                                                    The type of data source for the resource data sync. SourceType is either - * AwsOrganizations (if an organization is present in AWS Organizations) or + * AwsOrganizations (if an organization is present in Organizations) or * singleAccountMultiRegions.

                                                    */ SourceType?: string; @@ -6902,12 +7023,12 @@ export interface ResourceDataSyncSourceWithState { AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; /** - *

                                                    The SyncSource AWS Regions included in the resource data sync.

                                                    + *

                                                    The SyncSource Regions included in the resource data sync.

                                                    */ SourceRegions?: string[]; /** - *

                                                    Whether to automatically synchronize and aggregate data from new AWS Regions when those + *

                                                    Whether to automatically synchronize and aggregate data from new Regions when those * Regions come online.

                                                    */ IncludeFutureRegions?: boolean; @@ -6925,15 +7046,15 @@ export interface ResourceDataSyncSourceWithState { * resource data sync configuration.

                                                    *

                                                    * TrustedAccessDisabled: You disabled Systems Manager access in the organization in - * AWS Organizations.

                                                    + * Organizations.

                                                    */ State?: string; /** - *

                                                    When you create a resource data sync, if you choose one of the AWS Organizations options, then Systems Manager - * automatically enables all OpsData sources in the selected AWS Regions for all AWS accounts in + *

                                                    When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager + * automatically enables all OpsData sources in the selected Regions for all accounts in * your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the - * AWS Systems Manager User Guide.

                                                    + * Amazon Web Services Systems Manager User Guide.

                                                    */ EnableAllOpsDataSources?: boolean; } @@ -6948,20 +7069,20 @@ export namespace ResourceDataSyncSourceWithState { } /** - *

                                                    Information about a Resource Data Sync configuration, including its current status and last + *

                                                    Information about a resource data sync configuration, including its current status and last * successful sync.

                                                    */ export interface ResourceDataSyncItem { /** - *

                                                    The name of the Resource Data Sync.

                                                    + *

                                                    The name of the resource data sync.

                                                    */ SyncName?: string; /** *

                                                    The type of resource data sync. If SyncType is SyncToDestination, * then the resource data sync synchronizes data to an S3 bucket. If the SyncType is - * SyncFromSource then the resource data sync synchronizes data from AWS Organizations or from - * multiple AWS Regions.

                                                    + * SyncFromSource then the resource data sync synchronizes data from Organizations or from + * multiple Regions.

                                                    */ SyncType?: string; @@ -7017,7 +7138,7 @@ export namespace ResourceDataSyncItem { export interface ListResourceDataSyncResult { /** - *

                                                    A list of your current Resource Data Sync configurations and their statuses.

                                                    + *

                                                    A list of your current resource data sync configurations and their statuses.

                                                    */ ResourceDataSyncItems?: ResourceDataSyncItem[]; @@ -7075,9 +7196,9 @@ export namespace ListTagsForResourceResult { } /** - *

                                                    The document cannot be shared with more AWS user accounts. You can share a document with a - * maximum of 20 accounts. You can publicly share up to five documents. If you need to increase this - * limit, contact AWS Support.

                                                    + *

                                                    The document can't be shared with more Amazon Web Services user accounts. You can share a document + * with a maximum of 20 accounts. You can publicly share up to five documents. If you need to + * increase this limit, contact Amazon Web Services Support.

                                                    */ export interface DocumentPermissionLimit extends __SmithyException, $MetadataBearer { name: "DocumentPermissionLimit"; @@ -7107,21 +7228,21 @@ export interface ModifyDocumentPermissionRequest { PermissionType: DocumentPermissionType | string | undefined; /** - *

                                                    The AWS user accounts that should have access to the document. The account IDs can either be - * a group of account IDs or All.

                                                    + *

                                                    The Amazon Web Services user accounts that should have access to the document. The account IDs can + * either be a group of account IDs or All.

                                                    */ AccountIdsToAdd?: string[]; /** - *

                                                    The AWS user accounts that should no longer have access to the document. The AWS user - * account can either be a group of account IDs or All. This action has a + *

                                                    The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services + * user account can either be a group of account IDs or All. This action has a * higher priority than AccountIdsToAdd. If you specify an account ID to add * and the same ID to remove, the system removes access to the document.

                                                    */ AccountIdsToRemove?: string[]; /** - *

                                                    (Optional) The version of the document to share. If it's not specified, the system choose + *

                                                    (Optional) The version of the document to share. If it isn't specified, the system choose * the Default version to share.

                                                    */ SharedDocumentVersion?: string; @@ -7167,7 +7288,7 @@ export namespace ComplianceTypeCountLimitExceededException { } /** - *

                                                    One or more content items is not valid.

                                                    + *

                                                    One or more content items isn't valid.

                                                    */ export interface InvalidItemContentException extends __SmithyException, $MetadataBearer { name: "InvalidItemContentException"; @@ -7406,10 +7527,11 @@ export namespace ItemContentMismatchException { */ export interface InventoryItem { /** - *

                                                    The name of the inventory type. Default inventory item type names start with AWS. Custom - * inventory type names will start with Custom. Default inventory item types include the following: - * AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and - * AWS:WindowsUpdate.

                                                    + *

                                                    The name of the inventory type. Default inventory item type names start with + * AWS. Custom inventory type names will start with Custom. Default inventory item + * types include the following: AWS:AWSComponent, AWS:Application, + * AWS:InstanceInformation, AWS:Network, and + * AWS:WindowsUpdate.

                                                    */ TypeName: string | undefined; @@ -7425,8 +7547,8 @@ export interface InventoryItem { /** *

                                                    MD5 hash of the inventory item type contents. The content hash is used to determine whether - * to update inventory information. The PutInventory API does not update the inventory item type - * contents if the MD5 hash has not changed since last update.

                                                    + * to update inventory information. The PutInventory API doesn't update the inventory item type + * contents if the MD5 hash hasn't changed since last update.

                                                    */ ContentHash?: string; @@ -7508,8 +7630,8 @@ export namespace SubTypeCountLimitExceededException { } /** - *

                                                    The Context attribute that you specified for the InventoryItem is - * not allowed for this inventory type. You can only use the Context attribute with + *

                                                    The Context attribute that you specified for the InventoryItem + * isn't allowed for this inventory type. You can only use the Context attribute with * inventory types like AWS:ComplianceItem.

                                                    */ export interface UnsupportedInventoryItemContextException extends __SmithyException, $MetadataBearer { @@ -7549,14 +7671,14 @@ export namespace UnsupportedInventorySchemaVersionException { /** *

                                                    A hierarchy can have a maximum of 15 levels. For more information, see Requirements and - * constraints for parameter names in the AWS Systems Manager User Guide.

                                                    + * constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

                                                    */ export interface HierarchyLevelLimitExceededException extends __SmithyException, $MetadataBearer { name: "HierarchyLevelLimitExceededException"; $fault: "client"; /** *

                                                    A hierarchy can have a maximum of 15 levels. For more information, see Requirements and - * constraints for parameter names in the AWS Systems Manager User Guide.

                                                    + * constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

                                                    */ message?: string; } @@ -7571,7 +7693,7 @@ export namespace HierarchyLevelLimitExceededException { } /** - *

                                                    Parameter Store does not support changing a parameter type in a hierarchy. For example, you + *

                                                    Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you * can't change a parameter from a String type to a SecureString type. You * must create a new, unique parameter.

                                                    */ @@ -7579,7 +7701,7 @@ export interface HierarchyTypeMismatchException extends __SmithyException, $Meta name: "HierarchyTypeMismatchException"; $fault: "client"; /** - *

                                                    Parameter Store does not support changing a parameter type in a hierarchy. For example, you + *

                                                    Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you * can't change a parameter from a String type to a SecureString type. You * must create a new, unique parameter.

                                                    */ @@ -7615,13 +7737,13 @@ export namespace IncompatiblePolicyException { } /** - *

                                                    The request does not meet the regular expression requirement.

                                                    + *

                                                    The request doesn't meet the regular expression requirement.

                                                    */ export interface InvalidAllowedPatternException extends __SmithyException, $MetadataBearer { name: "InvalidAllowedPatternException"; $fault: "client"; /** - *

                                                    The request does not meet the regular expression requirement.

                                                    + *

                                                    The request doesn't meet the regular expression requirement.

                                                    */ message?: string; } @@ -7654,7 +7776,7 @@ export namespace InvalidPolicyAttributeException { } /** - *

                                                    The policy type is not supported. Parameter Store supports the following policy types: + *

                                                    The policy type isn't supported. Parameter Store supports the following policy types: * Expiration, ExpirationNotification, and NoChangeNotification.

                                                    */ export interface InvalidPolicyTypeException extends __SmithyException, $MetadataBearer { @@ -7691,7 +7813,7 @@ export namespace ParameterAlreadyExists { } /** - *

                                                    You have exceeded the number of parameters for this AWS account. Delete one or more + *

                                                    You have exceeded the number of parameters for this account. Delete one or more * parameters and try again.

                                                    */ export interface ParameterLimitExceeded extends __SmithyException, $MetadataBearer { @@ -7713,7 +7835,7 @@ export namespace ParameterLimitExceeded { *

                                                    Parameter Store retains the 100 most recently created versions of a parameter. After this * number of versions has been created, Parameter Store deletes the oldest version when a new one is * created. However, if the oldest version has a label attached to it, - * Parameter Store will not delete the version and instead presents this error message:

                                                    + * Parameter Store won't delete the version and instead presents this error message:

                                                    *

                                                    * An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter * operation: You attempted to create a new version of parameter-name by @@ -7725,9 +7847,7 @@ export namespace ParameterLimitExceeded { *

                                                    This safeguard is to prevent parameter versions with mission critical labels assigned to * them from being deleted. To continue creating new parameters, first move the label from the * oldest version of the parameter to a newer one for use in your operations. For information about - * moving parameter labels, see Move a - * parameter label (console) or Move a - * parameter label (CLI) in the AWS Systems Manager User Guide.

                                                    + * moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.

                                                    */ export interface ParameterMaxVersionLimitExceeded extends __SmithyException, $MetadataBearer { name: "ParameterMaxVersionLimitExceeded"; @@ -7745,13 +7865,13 @@ export namespace ParameterMaxVersionLimitExceeded { } /** - *

                                                    The parameter name is not valid.

                                                    + *

                                                    The parameter name isn't valid.

                                                    */ export interface ParameterPatternMismatchException extends __SmithyException, $MetadataBearer { name: "ParameterPatternMismatchException"; $fault: "client"; /** - *

                                                    The parameter name is not valid.

                                                    + *

                                                    The parameter name isn't valid.

                                                    */ message?: string; } @@ -7797,10 +7917,11 @@ export interface PutParameterRequest { *

                                                    Parameter names are case sensitive.

                                                    *
                                                  • *
                                                  • - *

                                                    A parameter name must be unique within an AWS Region

                                                    + *

                                                    A parameter name must be unique within an Region

                                                    *
                                                  • *
                                                  • - *

                                                    A parameter name can't be prefixed with "aws" or "ssm" (case-insensitive).

                                                    + *

                                                    A parameter name can't be prefixed with "aws" or "ssm" + * (case-insensitive).

                                                    *
                                                  • *
                                                  • *

                                                    Parameter names can include only the following symbols and letters: @@ -7817,10 +7938,10 @@ export interface PutParameterRequest { *

                                                    Parameter hierarchies are limited to a maximum depth of fifteen levels.

                                                    *
                                                  • *
                                                  - *

                                                  For additional information about valid values for parameter names, see Creating Systems Manager parameters in the AWS Systems Manager User Guide.

                                                  + *

                                                  For additional information about valid values for parameter names, see Creating Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

                                                  * *

                                                  The maximum length constraint listed below includes capacity for additional system - * attributes that are not part of the name. The maximum length for a parameter name, including the + * attributes that aren't part of the name. The maximum length for a parameter name, including the * full length of the parameter ARN, is 1011 characters. For example, the length of the following * parameter name is 65 characters, not 20 characters:

                                                  *

                                                  @@ -7834,7 +7955,7 @@ export interface PutParameterRequest { *

                                                  Information about the parameter that you want to add to the system. Optional but * recommended.

                                                  * - *

                                                  Do not enter personally identifiable information in this field.

                                                  + *

                                                  Don't enter personally identifiable information in this field.

                                                  *
                                                  */ Description?: string; @@ -7854,42 +7975,40 @@ export interface PutParameterRequest { *

                                                  The type of parameter that you want to add to the system.

                                                  * *

                                                  - * SecureString is not currently supported for AWS CloudFormation - * templates.

                                                  + * SecureString isn't currently supported for CloudFormation templates.

                                                  *
                                                  *

                                                  Items in a StringList must be separated by a comma (,). You can't * use other punctuation or special character to escape items in the list. If you have a parameter * value that requires a comma, then use the String data type.

                                                  * - *

                                                  Specifying a parameter type is not required when updating a parameter. You must specify a + *

                                                  Specifying a parameter type isn't required when updating a parameter. You must specify a * parameter type when creating a parameter.

                                                  *
                                                  */ Type?: ParameterType | string; /** - *

                                                  The KMS Key ID that you want to use to encrypt a parameter. Either the default AWS Key - * Management Service (AWS KMS) key automatically assigned to your AWS account or a custom key. - * Required for parameters that use the SecureString data type.

                                                  - *

                                                  If you don't specify a key ID, the system uses the default key associated with your AWS + *

                                                  The Key Management Service (KMS) ID that you want to use to encrypt a + * parameter. Either the default KMS key automatically assigned to your account + * or a custom key. Required for parameters that use the SecureString + * data type.

                                                  + *

                                                  If you don't specify a key ID, the system uses the default key associated with your * account.

                                                  *
                                                    *
                                                  • - *

                                                    To use your default AWS KMS key, choose the SecureString data - * type, and do not specify the Key ID when you - * create the parameter. The system automatically populates Key ID with - * your default KMS key.

                                                    + *

                                                    To use your default KMS key, choose the SecureString data type, and do not specify the Key ID when you create the parameter. The system automatically populates + * Key ID with your default KMS key.

                                                    *
                                                  • *
                                                  • - *

                                                    To use a custom KMS key, choose the SecureString data type with - * the Key ID parameter.

                                                    + *

                                                    To use a custom KMS key, choose the SecureString + * data type with the Key ID parameter.

                                                    *
                                                  • *
                                                  */ KeyId?: string; /** - *

                                                  Overwrite an existing parameter. The default value is 'false'.

                                                  + *

                                                  Overwrite an existing parameter. The default value is false.

                                                  */ Overwrite?: boolean; @@ -7904,7 +8023,7 @@ export interface PutParameterRequest { * different ways, such as by purpose, owner, or environment. For example, you might want to tag a * Systems Manager parameter to identify the type of resource to which it applies, the environment, or the * type of configuration data referenced by the parameter. In this case, you could specify the - * following key name/value pairs:

                                                  + * following key-value pairs:

                                                  *
                                                    *
                                                  • *

                                                    @@ -7924,7 +8043,7 @@ export interface PutParameterRequest { *

                                                  * *

                                                  To add tags to an existing Systems Manager parameter, use the AddTagsToResource - * action.

                                                  + * operation.

                                                  *
                                                  */ Tags?: Tag[]; @@ -7933,12 +8052,12 @@ export interface PutParameterRequest { *

                                                  The parameter tier to assign to a parameter.

                                                  *

                                                  Parameter Store offers a standard tier and an advanced tier for parameters. Standard * parameters have a content size limit of 4 KB and can't be configured to use parameter policies. - * You can create a maximum of 10,000 standard parameters for each Region in an AWS account. + * You can create a maximum of 10,000 standard parameters for each Region in an account. * Standard parameters are offered at no additional cost.

                                                  *

                                                  Advanced parameters have a content size limit of 8 KB and can be configured to use parameter - * policies. You can create a maximum of 100,000 advanced parameters for each Region in an AWS + * policies. You can create a maximum of 100,000 advanced parameters for each Region in an * account. Advanced parameters incur a charge. For more information, see Standard and - * advanced parameter tiers in the AWS Systems Manager User Guide.

                                                  + * advanced parameter tiers in the Amazon Web Services Systems Manager User Guide.

                                                  *

                                                  You can change a standard parameter to an advanced parameter any time. But you can't revert * an advanced parameter to a standard parameter. Reverting an advanced parameter to a standard * parameter would result in data loss because the system would truncate the size of the parameter @@ -7951,7 +8070,7 @@ export interface PutParameterRequest { *

                                                  *

                                                  In PutParameter requests, you can specify the tier to create the parameter in. * Whenever you specify a tier in the request, Parameter Store creates or updates the parameter - * according to that request. However, if you do not specify a tier in a request, Parameter Store + * according to that request. However, if you don't specify a tier in a request, Parameter Store * assigns the tier based on the current Parameter Store default tier configuration.

                                                  *

                                                  The default tier when you begin using Parameter Store is the standard-parameter tier. If you * use the advanced-parameter tier, you can specify one of the following as the default:

                                                  @@ -7982,28 +8101,28 @@ export interface PutParameterRequest { *

                                                  The parameter uses a parameter policy.

                                                  *
                                                • *
                                                • - *

                                                  More than 10,000 parameters already exist in your AWS account in the current + *

                                                  More than 10,000 parameters already exist in your account in the current * Region.

                                                  *
                                                • *
                                                *

                                                For more information about configuring the default tier option, see Specifying a - * default parameter tier in the AWS Systems Manager User Guide.

                                                + * default parameter tier in the Amazon Web Services Systems Manager User Guide.

                                                */ Tier?: ParameterTier | string; /** - *

                                                One or more policies to apply to a parameter. This action takes a JSON array. Parameter - * Store supports the following policy types:

                                                + *

                                                One or more policies to apply to a parameter. This operation takes a JSON array. Parameter + * Store, a capability of Amazon Web Services Systems Manager supports the following policy types:

                                                *

                                                Expiration: This policy deletes the parameter after it expires. When you create the policy, * you specify the expiration date. You can update the expiration date and time by updating the - * policy. Updating the parameter does not affect the expiration date and time. + * policy. Updating the parameter doesn't affect the expiration date and time. * When the expiration time is reached, Parameter Store deletes the parameter.

                                                *

                                                ExpirationNotification: This policy triggers an event in Amazon CloudWatch Events that * notifies you about the expiration. By using this policy, you can receive notification before or * after the expiration time is reached, in units of days or hours.

                                                - *

                                                NoChangeNotification: This policy triggers a CloudWatch event if a parameter has not been - * modified for a specified period of time. This policy type is useful when, for example, a secret - * needs to be changed within a period of time, but it has not been changed.

                                                + *

                                                NoChangeNotification: This policy triggers a CloudWatch Events event if a parameter hasn't + * been modified for a specified period of time. This policy type is useful when, for example, a + * secret needs to be changed within a period of time, but it hasn't been changed.

                                                *

                                                All existing policies are preserved until you send new policies or an empty policy. For more * information about parameter policies, see Assigning parameter * policies.

                                                @@ -8012,7 +8131,7 @@ export interface PutParameterRequest { /** *

                                                The data type for a String parameter. Supported data types include plain text - * and Amazon Machine Image IDs.

                                                + * and Amazon Machine Image (AMI) IDs.

                                                *

                                                * The following data type values are supported. *

                                                @@ -8029,11 +8148,10 @@ export interface PutParameterRequest { *
                                              • *
                                              *

                                              When you create a String parameter and specify aws:ec2:image, - * Systems Manager validates the parameter value is in the required format, such as - * ami-12345abcdeEXAMPLE, and that the specified AMI is available in your AWS account. - * For more information, see Native - * parameter support for Amazon Machine Image IDs in the - * AWS Systems Manager User Guide.

                                              + * Amazon Web Services Systems Manager validates the parameter value is in the required format, such as + * ami-12345abcdeEXAMPLE, and that the specified AMI is available in your + * account. For more information, see Native parameter support + * for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide.

                                              */ DataType?: string; } @@ -8051,7 +8169,7 @@ export interface PutParameterResult { /** *

                                              The new version number of a parameter. If you edit a parameter value, Parameter Store * automatically creates a new version and assigns this new version a unique ID. You can reference a - * parameter version ID in API actions or in Systems Manager documents (SSM documents). By default, if you + * parameter version ID in API operations or in Systems Manager documents (SSM documents). By default, if you * don't specify a specific version, the system returns the latest parameter value when a parameter * is called.

                                              */ @@ -8073,7 +8191,7 @@ export namespace PutParameterResult { } /** - *

                                              The parameter type is not supported.

                                              + *

                                              The parameter type isn't supported.

                                              */ export interface UnsupportedParameterType extends __SmithyException, $MetadataBearer { name: "UnsupportedParameterType"; @@ -8124,12 +8242,12 @@ export namespace RegisterDefaultPatchBaselineResult { export interface RegisterPatchBaselineForPatchGroupRequest { /** - *

                                              The ID of the patch baseline to register the patch group with.

                                              + *

                                              The ID of the patch baseline to register with the patch group.

                                              */ BaselineId: string | undefined; /** - *

                                              The name of the patch group that should be registered with the patch baseline.

                                              + *

                                              The name of the patch group to be registered with the patch baseline.

                                              */ PatchGroup: string | undefined; } @@ -8228,13 +8346,13 @@ export interface RegisterTargetWithMaintenanceWindowRequest { * *

                                              For more information about these examples formats, including the best use case for each one, * see Examples: Register - * targets with a maintenance window in the AWS Systems Manager User Guide.

                                              + * targets with a maintenance window in the Amazon Web Services Systems Manager User Guide.

                                              */ Targets: Target[] | undefined; /** - *

                                              User-provided value that will be included in any CloudWatch events raised while running - * tasks for these targets in this maintenance window.

                                              + *

                                              User-provided value that will be included in any Amazon CloudWatch Events events raised while + * running tasks for these targets in this maintenance window.

                                              */ OwnerInformation?: string; @@ -8282,8 +8400,8 @@ export namespace RegisterTargetWithMaintenanceWindowResult { } /** - *

                                              You attempted to register a LAMBDA or STEP_FUNCTIONS task in a region where the - * corresponding service is not available.

                                              + *

                                              You attempted to register a LAMBDA or STEP_FUNCTIONS task in a + * region where the corresponding service isn't available.

                                              */ export interface FeatureNotAvailableException extends __SmithyException, $MetadataBearer { name: "FeatureNotAvailableException"; @@ -8311,10 +8429,10 @@ export interface RegisterTaskWithMaintenanceWindowRequest { * *

                                              One or more targets must be specified for maintenance window Run Command-type tasks. * Depending on the task, targets are optional for other maintenance window task types (Automation, - * AWS Lambda, and AWS Step Functions). For more information about running tasks that do not - * specify targets, see Registering + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering * maintenance window tasks without targets in the - * AWS Systems Manager User Guide.

                                              + * Amazon Web Services Systems Manager User Guide.

                                              *
                                              *

                                              Specify instances using the following format:

                                              *

                                              @@ -8333,11 +8451,11 @@ export interface RegisterTaskWithMaintenanceWindowRequest { TaskArn: string | undefined; /** - *

                                              The ARN of the IAM service role for Systems Manager to assume when running a + *

                                              The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a * maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's * service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run * RegisterTaskWithMaintenanceWindow.

                                              - *

                                              For more information, see the following topics in the in the AWS Systems Manager User Guide:

                                              + *

                                              For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

                                              *
                                                *
                                              • *

                                                @@ -8388,8 +8506,8 @@ export interface RegisterTaskWithMaintenanceWindowRequest { /** *

                                                The maximum number of targets this task can be run for in parallel.

                                                * - *

                                                For maintenance window tasks without a target specified, you cannot supply a value for this - * option. Instead, the system inserts a placeholder value of 1. This value does not + *

                                                For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't * affect the running of your task.

                                                *
                                                */ @@ -8398,20 +8516,21 @@ export interface RegisterTaskWithMaintenanceWindowRequest { /** *

                                                The maximum number of errors allowed before this task stops being scheduled.

                                                * - *

                                                For maintenance window tasks without a target specified, you cannot supply a value for this - * option. Instead, the system inserts a placeholder value of 1. This value does not + *

                                                For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't * affect the running of your task.

                                                *
                                                */ MaxErrors?: string; /** - *

                                                A structure containing information about an S3 bucket to write instance-level logs to.

                                                + *

                                                A structure containing information about an Amazon Simple Storage Service (Amazon S3) bucket + * to write instance-level logs to.

                                                * *

                                                - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                                *
                                                */ @@ -8469,9 +8588,11 @@ export interface RemoveTagsFromResourceRequest { /** *

                                                The type of resource from which you want to remove a tag.

                                                * - *

                                                The ManagedInstance type for this API action is only for on-premises managed instances. - * Specify the name of the managed instance in the following format: mi-ID_number. For example, - * mi-1a2b3c4d5e6f.

                                                + *

                                                The ManagedInstance type for this API operation is only for on-premises + * managed instances. Specify the name of the managed instance in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

                                                *
                                                */ ResourceType: ResourceTypeForTagging | string | undefined; @@ -8489,7 +8610,7 @@ export interface RemoveTagsFromResourceRequest { * /aws/ssm/MyGroup/appmanager.

                                                *

                                                For the Document and Parameter values, use the name of the resource.

                                                * - *

                                                The ManagedInstance type for this API action is only for on-premises managed instances. + *

                                                The ManagedInstance type for this API operation is only for on-premises managed instances. * Specify the name of the managed instance in the following format: mi-ID_number. For example, * mi-1a2b3c4d5e6f.

                                                *
                                                @@ -8523,11 +8644,12 @@ export namespace RemoveTagsFromResourceResult { } /** - *

                                                The request body of the ResetServiceSetting API action.

                                                + *

                                                The request body of the ResetServiceSetting API operation.

                                                */ export interface ResetServiceSettingRequest { /** - *

                                                The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following.

                                                + *

                                                The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of + * the following.

                                                *
                                                  *
                                                • *

                                                  @@ -8574,12 +8696,12 @@ export namespace ResetServiceSettingRequest { } /** - *

                                                  The result body of the ResetServiceSetting API action.

                                                  + *

                                                  The result body of the ResetServiceSetting API operation.

                                                  */ export interface ResetServiceSettingResult { /** *

                                                  The current, effective service setting after calling the ResetServiceSetting API - * action.

                                                  + * operation.

                                                  */ ServiceSetting?: ServiceSetting; } @@ -8626,9 +8748,9 @@ export interface ResumeSessionResponse { * receive output from the instance. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output).

                                                  *

                                                  * region represents the Region identifier for an - * AWS Region supported by AWS Systems Manager, such as us-east-2 for the US East (Ohio) Region. - * For a list of supported region values, see the Region column in Systems Manager service endpoints in the - * AWS General Reference.

                                                  + * Region supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region. + * For a list of supported region values, see the Region column in Systems Manager service endpoints in the + * Amazon Web Services General Reference.

                                                  *

                                                  * session-id represents the ID of a Session Manager session, such as * 1a2b3c4dEXAMPLE.

                                                  @@ -8665,7 +8787,7 @@ export namespace AutomationStepNotFoundException { } /** - *

                                                  The signal is not valid for the current Automation execution.

                                                  + *

                                                  The signal isn't valid for the current Automation execution.

                                                  */ export interface InvalidAutomationSignalException extends __SmithyException, $MetadataBearer { name: "InvalidAutomationSignalException"; @@ -8745,8 +8867,8 @@ export namespace SendAutomationSignalResult { } /** - *

                                                  One or more configuration items is not valid. Verify that a valid Amazon Resource Name (ARN) - * was provided for an Amazon SNS topic.

                                                  + *

                                                  One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN) + * was provided for an Amazon Simple Notification Service topic.

                                                  */ export interface InvalidNotificationConfig extends __SmithyException, $MetadataBearer { name: "InvalidNotificationConfig"; @@ -8764,7 +8886,7 @@ export namespace InvalidNotificationConfig { } /** - *

                                                  The S3 bucket does not exist.

                                                  + *

                                                  The S3 bucket doesn't exist.

                                                  */ export interface InvalidOutputFolder extends __SmithyException, $MetadataBearer { name: "InvalidOutputFolder"; @@ -8781,10 +8903,9 @@ export namespace InvalidOutputFolder { } /** - *

                                                  The role name can't contain invalid characters. Also verify that you specified an IAM role - * for notifications that includes the required trust policy. For information about configuring the - * IAM role for Run Command notifications, see Configuring Amazon SNS - * Notifications for Run Command in the AWS Systems Manager User Guide.

                                                  + *

                                                  The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about + * configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command in the + * Amazon Web Services Systems Manager User Guide.

                                                  */ export interface InvalidRole extends __SmithyException, $MetadataBearer { name: "InvalidRole"; @@ -8812,7 +8933,7 @@ export interface SendCommandRequest { * command to tens, hundreds, or thousands of instances at once.

                                                  *

                                                  For more information about how to use targets, see Using targets and rate * controls to send commands to a fleet in the - * AWS Systems Manager User Guide.

                                                  + * Amazon Web Services Systems Manager User Guide.

                                                  */ InstanceIds?: string[]; @@ -8825,23 +8946,23 @@ export interface SendCommandRequest { *

                                                  To send a command to a smaller number of instances, you can use the InstanceIds * option instead.

                                                  *

                                                  For more information about how to use targets, see Sending commands to a - * fleet in the AWS Systems Manager User Guide.

                                                  + * fleet in the Amazon Web Services Systems Manager User Guide.

                                                  */ Targets?: Target[]; /** - *

                                                  The name of the Systems Manager document to run. This can be a public document or a custom document. - * To run a shared document belonging to another account, specify the document ARN. For more - * information about how to use shared documents, see Using shared SSM documents - * in the AWS Systems Manager User Guide.

                                                  + *

                                                  The name of the Amazon Web Services Systems Manager document (SSM document) to run. This can be a public document or a + * custom document. To run a shared document belonging to another account, specify the document ARN. + * For more information about how to use shared documents, see Using shared SSM documents + * in the Amazon Web Services Systems Manager User Guide.

                                                  */ DocumentName: string | undefined; /** *

                                                  The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a - * specific version number. If you run commands by using the AWS CLI, then you must escape the first - * two options by using a backslash. If you specify a version number, then you don't need to use the - * backslash. For example:

                                                  + * specific version number. If you run commands by using the Command Line Interface (Amazon Web Services CLI), then + * you must escape the first two options by using a backslash. If you specify a version number, then + * you don't need to use the backslash. For example:

                                                  *

                                                  --document-version "\$DEFAULT"

                                                  *

                                                  --document-version "\$LATEST"

                                                  *

                                                  --document-version "3"

                                                  @@ -8865,8 +8986,7 @@ export interface SendCommandRequest { DocumentHashType?: DocumentHashType | string; /** - *

                                                  If this time is reached and the command has not already started running, it will not - * run.

                                                  + *

                                                  If this time is reached and the command hasn't already started running, it won't run.

                                                  */ TimeoutSeconds?: number; @@ -8899,24 +9019,24 @@ export interface SendCommandRequest { /** *

                                                  (Optional) The maximum number of instances that are allowed to run the command at the same - * time. You can specify a number such as 10 or a percentage such as 10%. The default value is 50. - * For more information about how to use MaxConcurrency, see Using - * concurrency controls in the AWS Systems Manager User Guide.

                                                  + * time. You can specify a number such as 10 or a percentage such as 10%. The default value is + * 50. For more information about how to use MaxConcurrency, see Using + * concurrency controls in the Amazon Web Services Systems Manager User Guide.

                                                  */ MaxConcurrency?: string; /** *

                                                  The maximum number of errors allowed without the command failing. When the command fails one - * more time beyond the value of MaxErrors, the systems stops sending the command to additional - * targets. You can specify a number like 10 or a percentage like 10%. The default value is 0. For - * more information about how to use MaxErrors, see Using - * error controls in the AWS Systems Manager User Guide.

                                                  + * more time beyond the value of MaxErrors, the systems stops sending the command to + * additional targets. You can specify a number like 10 or a percentage like 10%. The default value + * is 0. For more information about how to use MaxErrors, see Using + * error controls in the Amazon Web Services Systems Manager User Guide.

                                                  */ MaxErrors?: string; /** - *

                                                  The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for Run - * Command commands.

                                                  + *

                                                  The ARN of the Identity and Access Management (IAM) service role to use to publish + * Amazon Simple Notification Service (Amazon SNS) notifications for Run Command commands.

                                                  */ ServiceRoleArn?: string; @@ -8926,7 +9046,8 @@ export interface SendCommandRequest { NotificationConfig?: NotificationConfig; /** - *

                                                  Enables Systems Manager to send Run Command output to Amazon CloudWatch Logs.

                                                  + *

                                                  Enables Amazon Web Services Systems Manager to send Run Command output to Amazon CloudWatch Logs. Run Command is a + * capability of Amazon Web Services Systems Manager.

                                                  */ CloudWatchOutputConfig?: CloudWatchOutputConfig; } @@ -8958,7 +9079,7 @@ export namespace SendCommandResult { } /** - *

                                                  The association is not valid or does not exist.

                                                  + *

                                                  The association isn't valid or doesn't exist.

                                                  */ export interface InvalidAssociation extends __SmithyException, $MetadataBearer { name: "InvalidAssociation"; @@ -9003,7 +9124,7 @@ export namespace StartAssociationsOnceResult { } /** - *

                                                  An Automation document with the specified name could not be found.

                                                  + *

                                                  An Automation runbook with the specified name couldn't be found.

                                                  */ export interface AutomationDefinitionNotFoundException extends __SmithyException, $MetadataBearer { name: "AutomationDefinitionNotFoundException"; @@ -9021,7 +9142,7 @@ export namespace AutomationDefinitionNotFoundException { } /** - *

                                                  An Automation document with the specified name and version could not be found.

                                                  + *

                                                  An Automation runbook with the specified name and version couldn't be found.

                                                  */ export interface AutomationDefinitionVersionNotFoundException extends __SmithyException, $MetadataBearer { name: "AutomationDefinitionVersionNotFoundException"; @@ -9058,7 +9179,7 @@ export namespace AutomationExecutionLimitExceededException { } /** - *

                                                  The supplied parameters for invoking the specified Automation document are incorrect. For + *

                                                  The supplied parameters for invoking the specified Automation runbook are incorrect. For * example, they may not match the set of parameters permitted for the specified Automation * document.

                                                  */ @@ -9079,21 +9200,21 @@ export namespace InvalidAutomationExecutionParametersException { export interface StartAutomationExecutionRequest { /** - *

                                                  The name of the Systems Manager document to run. This can be a public document or a custom document. - * To run a shared document belonging to another account, specify the document ARN. For more + *

                                                  The name of the SSM document to run. This can be a public document or a custom document. To + * run a shared document belonging to another account, specify the document ARN. For more * information about how to use shared documents, see Using shared SSM documents - * in the AWS Systems Manager User Guide.

                                                  + * in the Amazon Web Services Systems Manager User Guide.

                                                  */ DocumentName: string | undefined; /** - *

                                                  The version of the Automation document to use for this execution.

                                                  + *

                                                  The version of the Automation runbook to use for this execution.

                                                  */ DocumentVersion?: string; /** *

                                                  A key-value map of execution parameters, which match the declared parameters in the - * Automation document.

                                                  + * Automation runbook.

                                                  */ Parameters?: { [key: string]: string[] }; @@ -9122,13 +9243,13 @@ export interface StartAutomationExecutionRequest { /** *

                                                  A key-value mapping of document parameters to target resources. Both Targets and TargetMaps - * cannot be specified together.

                                                  + * can't be specified together.

                                                  */ TargetMaps?: { [key: string]: string[] }[]; /** *

                                                  The maximum number of targets allowed to run this task in parallel. You can specify a - * number, such as 10, or a percentage, such as 10%. The default value is 10.

                                                  + * number, such as 10, or a percentage, such as 10%. The default value is 10.

                                                  */ MaxConcurrency?: string; @@ -9148,10 +9269,10 @@ export interface StartAutomationExecutionRequest { MaxErrors?: string; /** - *

                                                  A location is a combination of AWS Regions and/or AWS accounts where you want to run the - * Automation. Use this action to start an Automation in multiple Regions and multiple accounts. For - * more information, see Running Automation workflows in multiple AWS Regions and accounts in the - * AWS Systems Manager User Guide.

                                                  + *

                                                  A location is a combination of Regions and/or accounts where you want to run the + * automation. Use this operation to start an automation in multiple Regions and multiple + * accounts. For more information, see Running Automation workflows in multiple Regions and accounts in the + * Amazon Web Services Systems Manager User Guide.

                                                  */ TargetLocations?: TargetLocation[]; @@ -9159,7 +9280,7 @@ export interface StartAutomationExecutionRequest { *

                                                  Optional metadata that you assign to a resource. You can specify a maximum of five tags for * an automation. Tags enable you to categorize a resource in different ways, such as by purpose, * owner, or environment. For example, you might want to tag an automation to identify an - * environment or operating system. In this case, you could specify the following key name/value + * environment or operating system. In this case, you could specify the following key-value * pairs:

                                                  *
                                                    *
                                                  • @@ -9175,7 +9296,7 @@ export interface StartAutomationExecutionRequest { *
                                                  * *

                                                  To add tags to an existing patch baseline, use the AddTagsToResource - * action.

                                                  + * operation.

                                                  *
                                                  */ Tags?: Tag[]; @@ -9263,8 +9384,7 @@ export interface StartChangeRequestExecutionRequest { ClientToken?: string; /** - *

                                                  Information about the Automation runbooks (Automation documents) that are run during the - * runbook workflow.

                                                  + *

                                                  Information about the Automation runbooks that are run during the runbook workflow.

                                                  * *

                                                  The Automation runbooks specified for the runbook workflow can't run until all required * approvals for the change request have been received.

                                                  @@ -9276,7 +9396,7 @@ export interface StartChangeRequestExecutionRequest { *

                                                  Optional metadata that you assign to a resource. You can specify a maximum of five tags for * a change request. Tags enable you to categorize a resource in different ways, such as by * purpose, owner, or environment. For example, you might want to tag a change request to identify - * an environment or target AWS Region. In this case, you could specify the following key-value + * an environment or target Region. In this case, you could specify the following key-value * pairs:

                                                  *
                                                    *
                                                  • @@ -9379,9 +9499,9 @@ export interface StartSessionResponse { *

                                                    *

                                                    * region represents the Region identifier for an - * AWS Region supported by AWS Systems Manager, such as us-east-2 for the US East (Ohio) Region. - * For a list of supported region values, see the Region column in Systems Manager service endpoints in the - * AWS General Reference.

                                                    + * Region supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region. + * For a list of supported region values, see the Region column in Systems Manager service endpoints in the + * Amazon Web Services General Reference.

                                                    *

                                                    * session-id represents the ID of a Session Manager session, such as * 1a2b3c4dEXAMPLE.

                                                    @@ -9399,9 +9519,9 @@ export namespace StartSessionResponse { } /** - *

                                                    The specified target instance for the session is not fully configured for use with Session Manager. - * For more information, see Getting started with - * Session Manager in the AWS Systems Manager User Guide. This error is also returned if you + *

                                                    The specified target instance for the session isn't fully configured for use with Session Manager. For + * more information, see Getting started with + * Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you * attempt to start a session on an instance that is located in a different account or Region

                                                    */ export interface TargetNotConnected extends __SmithyException, $MetadataBearer { @@ -9420,7 +9540,7 @@ export namespace TargetNotConnected { } /** - *

                                                    The specified update status operation is not valid.

                                                    + *

                                                    The specified update status operation isn't valid.

                                                    */ export interface InvalidAutomationStatusUpdateException extends __SmithyException, $MetadataBearer { name: "InvalidAutomationStatusUpdateException"; @@ -9509,13 +9629,13 @@ export namespace TerminateSessionResponse { export interface UnlabelParameterVersionRequest { /** - *

                                                    The parameter name of which you want to delete one or more labels.

                                                    + *

                                                    The name of the parameter from which you want to delete one or more labels.

                                                    */ Name: string | undefined; /** *

                                                    The specific version of the parameter which you want to delete one or more labels from. If - * it is not present, the call will fail.

                                                    + * it isn't present, the call will fail.

                                                    */ ParameterVersion: number | undefined; @@ -9541,7 +9661,7 @@ export interface UnlabelParameterVersionResult { RemovedLabels?: string[]; /** - *

                                                    The labels that are not attached to the given parameter version.

                                                    + *

                                                    The labels that aren't attached to the given parameter version.

                                                    */ InvalidLabels?: string[]; } @@ -9575,7 +9695,7 @@ export namespace AssociationVersionLimitExceeded { } /** - *

                                                    The update is not valid.

                                                    + *

                                                    The update isn't valid.

                                                    */ export interface InvalidUpdate extends __SmithyException, $MetadataBearer { name: "InvalidUpdate"; @@ -9600,7 +9720,8 @@ export interface UpdateAssociationRequest { /** *

                                                    The parameters you want to update for the association. If you create a parameter using - * Parameter Store, you can reference the parameter using {{ssm:parameter-name}}

                                                    + * Parameter Store, a capability of Amazon Web Services Systems Manager, you can reference the parameter using + * {{ssm:parameter-name}}.

                                                    */ Parameters?: { [key: string]: string[] }; @@ -9620,12 +9741,12 @@ export interface UpdateAssociationRequest { OutputLocation?: InstanceAssociationOutputLocation; /** - *

                                                    The name of the SSM document that contains the configuration information for the instance. - * You can specify Command or Automation documents.

                                                    - *

                                                    You can specify AWS-predefined documents, documents you created, or a document that is + *

                                                    The name of the SSM Command document or Automation runbook that contains the configuration + * information for the instance.

                                                    + *

                                                    You can specify Amazon Web Services-predefined documents, documents you created, or a document that is * shared with you from another account.

                                                    - *

                                                    For SSM documents that are shared with you from other AWS accounts, you must specify the - * complete SSM document ARN, in the following format:

                                                    + *

                                                    For Systems Manager document (SSM document) that are shared with you from other accounts, you + * must specify the complete SSM document ARN, in the following format:

                                                    *

                                                    * arn:aws:ssm:region:account-id:document/document-name * @@ -9634,8 +9755,8 @@ export interface UpdateAssociationRequest { *

                                                    * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document *

                                                    - *

                                                    For AWS-predefined documents and SSM documents you created in your account, you only need to - * specify the document name. For example, AWS-ApplyPatchBaseline or + *

                                                    For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or * My-Document.

                                                    */ Name?: string; @@ -9659,7 +9780,8 @@ export interface UpdateAssociationRequest { /** *

                                                    Specify the target for the association. This target is required for associations that use an - * Automation document and target resources by using rate controls.

                                                    + * Automation runbook and target resources by using rate controls. Automation is a capability of + * Amazon Web Services Systems Manager.

                                                    */ AutomationTargetParameterName?: string; @@ -9669,12 +9791,12 @@ export interface UpdateAssociationRequest { * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, * the system stops sending requests when the fourth error is received. If you specify 0, then the * system stops sending requests after the first error is returned. If you run an association on 50 - * instances and set MaxError to 10%, then the system stops sending the request when the sixth error - * is received.

                                                    - *

                                                    Executions that are already running an association when MaxErrors is reached are allowed to - * complete, but some of these executions may fail as well. If you need to ensure that there won't - * be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one - * at a time.

                                                    + * instances and set MaxError to 10%, then the system stops sending the request when + * the sixth error is received.

                                                    + *

                                                    Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

                                                    */ MaxErrors?: string; @@ -9683,9 +9805,9 @@ export interface UpdateAssociationRequest { * specify a number, for example 10, or a percentage of the target set, for example 10%. The default * value is 100%, which means all targets run the association at the same time.

                                                    *

                                                    If a new instance starts and attempts to run an association while Systems Manager is running - * MaxConcurrency associations, the association is allowed to run. During the next association - * interval, the new instance will process its association within the limit specified for - * MaxConcurrency.

                                                    + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new instance will process its association within the limit specified + * for MaxConcurrency.

                                                    */ MaxConcurrency?: string; @@ -9701,8 +9823,9 @@ export interface UpdateAssociationRequest { * then the association is COMPLIANT. If the association execution doesn't run * successfully, the association is NON-COMPLIANT.

                                                    *

                                                    In MANUAL mode, you must specify the AssociationId as a parameter - * for the PutComplianceItems API action. In this case, compliance data is not - * managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                    + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

                                                    *

                                                    By default, all associations use AUTO mode.

                                                    */ SyncCompliance?: AssociationSyncCompliance | string; @@ -9710,7 +9833,7 @@ export interface UpdateAssociationRequest { /** *

                                                    By default, when you update an association, the system runs it immediately after it is * updated and then according to the schedule you specified. Specify this option if you don't want - * an association to run immediately after you update it. This parameter is not supported for rate + * an association to run immediately after you update it. This parameter isn't supported for rate * expressions.

                                                    *

                                                    Also, if you specified this option when you created the association, you can reset it. To do * so, specify the no-apply-only-at-cron-interval parameter when you update the @@ -9720,15 +9843,15 @@ export interface UpdateAssociationRequest { ApplyOnlyAtCronInterval?: boolean; /** - *

                                                    The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type - * documents you want to gate your associations under. The associations only run when that Change - * Calendar is open. For more information, see AWS Systems Manager Change + *

                                                    The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to + * gate your associations under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change * Calendar.

                                                    */ CalendarNames?: string[]; /** - *

                                                    A location is a combination of AWS Regions and AWS accounts where you want to run the + *

                                                    A location is a combination of Regions and accounts where you want to run the * association. Use this action to update an association in multiple Regions and multiple * accounts.

                                                    */ @@ -9779,7 +9902,7 @@ export namespace StatusUnchanged { export interface UpdateAssociationStatusRequest { /** - *

                                                    The name of the Systems Manager document.

                                                    + *

                                                    The name of the SSM document.

                                                    */ Name: string | undefined; @@ -9883,18 +10006,18 @@ export interface UpdateDocumentRequest { Content: string | undefined; /** - *

                                                    A list of key and value pairs that describe attachments to a version of a document.

                                                    + *

                                                    A list of key-value pairs that describe attachments to a version of a document.

                                                    */ Attachments?: AttachmentsSource[]; /** - *

                                                    The name of the Systems Manager document that you want to update.

                                                    + *

                                                    The name of the SSM document that you want to update.

                                                    */ Name: string | undefined; /** - *

                                                    The friendly name of the Systems Manager document that you want to update. This value can differ for - * each version of the document. If you do not specify a value for this parameter in your request, + *

                                                    The friendly name of the SSM document that you want to update. This value can differ for + * each version of the document. If you don't specify a value for this parameter in your request, * the existing value is applied to the new document version.

                                                    */ DisplayName?: string; @@ -9902,7 +10025,7 @@ export interface UpdateDocumentRequest { /** *

                                                    An optional field specifying the version of the artifact you are updating with the document. * For example, "Release 12, Update 6". This value is unique across all versions of a document, and - * cannot be changed.

                                                    + * can't be changed.

                                                    */ VersionName?: string; @@ -10110,8 +10233,8 @@ export interface UpdateMaintenanceWindowRequest { /** *

                                                    The date and time, in ISO-8601 Extended format, for when you want the maintenance window to - * become inactive. EndDate allows you to set a date and time in the future when the maintenance - * window will no longer run.

                                                    + * become inactive. EndDate allows you to set a date and time in the future when the + * maintenance window will no longer run.

                                                    */ EndDate?: string; @@ -10129,7 +10252,7 @@ export interface UpdateMaintenanceWindowRequest { ScheduleTimezone?: string; /** - *

                                                    The number of days to wait after the date and time specified by a CRON expression before + *

                                                    The number of days to wait after the date and time specified by a cron expression before * running the maintenance window.

                                                    *

                                                    For example, the following cron expression schedules a maintenance window to run the third * Tuesday of every month at 11:30 PM.

                                                    @@ -10147,8 +10270,8 @@ export interface UpdateMaintenanceWindowRequest { Duration?: number; /** - *

                                                    The number of hours before the end of the maintenance window that Systems Manager stops scheduling new - * tasks for execution.

                                                    + *

                                                    The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

                                                    */ Cutoff?: number; @@ -10164,8 +10287,8 @@ export interface UpdateMaintenanceWindowRequest { Enabled?: boolean; /** - *

                                                    If True, then all fields that are required by the CreateMaintenanceWindow action are also - * required for this API request. Optional fields that are not specified are set to null.

                                                    + *

                                                    If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional + * fields that aren't specified are set to null.

                                                    */ Replace?: boolean; } @@ -10198,13 +10321,13 @@ export interface UpdateMaintenanceWindowResult { /** *

                                                    The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled - * to become active. The maintenance window will not run before this specified time.

                                                    + * to become active. The maintenance window won't run before this specified time.

                                                    */ StartDate?: string; /** *

                                                    The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled - * to become inactive. The maintenance window will not run after this specified time.

                                                    + * to become inactive. The maintenance window won't run after this specified time.

                                                    */ EndDate?: string; @@ -10222,7 +10345,7 @@ export interface UpdateMaintenanceWindowResult { ScheduleTimezone?: string; /** - *

                                                    The number of days to wait to run a maintenance window after the scheduled CRON expression + *

                                                    The number of days to wait to run a maintenance window after the scheduled cron expression * date and time.

                                                    */ ScheduleOffset?: number; @@ -10233,8 +10356,8 @@ export interface UpdateMaintenanceWindowResult { Duration?: number; /** - *

                                                    The number of hours before the end of the maintenance window that Systems Manager stops scheduling new - * tasks for execution.

                                                    + *

                                                    The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

                                                    */ Cutoff?: number; diff --git a/clients/client-ssm/models/models_2.ts b/clients/client-ssm/models/models_2.ts index 4bbdadd9b7635..40695fff0ae4a 100644 --- a/clients/client-ssm/models/models_2.ts +++ b/clients/client-ssm/models/models_2.ts @@ -43,8 +43,8 @@ export interface UpdateMaintenanceWindowTargetRequest { Targets?: Target[]; /** - *

                                                    User-provided value that will be included in any CloudWatch events raised while running - * tasks for these targets in this maintenance window.

                                                    + *

                                                    User-provided value that will be included in any Amazon CloudWatch Events events raised while + * running tasks for these targets in this maintenance window.

                                                    */ OwnerInformation?: string; @@ -59,9 +59,8 @@ export interface UpdateMaintenanceWindowTargetRequest { Description?: string; /** - *

                                                    If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action - * are also required for this API request. Optional fields that are not specified are set to - * null.

                                                    + *

                                                    If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API + * request. Optional fields that aren't specified are set to null.

                                                    */ Replace?: boolean; } @@ -132,16 +131,16 @@ export interface UpdateMaintenanceWindowTaskRequest { WindowTaskId: string | undefined; /** - *

                                                    The targets (either instances or tags) to modify. Instances are specified using - * Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using - * Key=tag_name,Values=tag_value.

                                                    + *

                                                    The targets (either instances or tags) to modify. Instances are specified using the format + * Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using the + * format Key=tag_name,Values=tag_value.

                                                    * *

                                                    One or more targets must be specified for maintenance window Run Command-type tasks. * Depending on the task, targets are optional for other maintenance window task types (Automation, - * AWS Lambda, and AWS Step Functions). For more information about running tasks that do not - * specify targets, see Registering + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering * maintenance window tasks without targets in the - * AWS Systems Manager User Guide.

                                                    + * Amazon Web Services Systems Manager User Guide.

                                                    *
                                                    */ Targets?: Target[]; @@ -152,11 +151,11 @@ export interface UpdateMaintenanceWindowTaskRequest { TaskArn?: string; /** - *

                                                    The ARN of the IAM service role for Systems Manager to assume when running a + *

                                                    The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a * maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's * service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run * RegisterTaskWithMaintenanceWindow.

                                                    - *

                                                    For more information, see the following topics in the in the AWS Systems Manager User Guide:

                                                    + *

                                                    For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

                                                    *
                                                      *
                                                    • *

                                                      @@ -195,7 +194,7 @@ export interface UpdateMaintenanceWindowTaskRequest { * *

                                                      When you update a maintenance window task that has options specified in * TaskInvocationParameters, you must provide again all the - * TaskInvocationParameters values that you want to retain. The values you do not + * TaskInvocationParameters values that you want to retain. The values you don't * specify again are removed. For example, suppose that when you registered a Run Command task, you * specified TaskInvocationParameters values for Comment, * NotificationConfig, and OutputS3BucketName. If you update the @@ -215,9 +214,9 @@ export interface UpdateMaintenanceWindowTaskRequest { *

                                                      The new MaxConcurrency value you want to specify. MaxConcurrency * is the number of targets that are allowed to run this task in parallel.

                                                      * - *

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this + *

                                                      For maintenance window tasks without a target specified, you can't supply a value for this * option. Instead, the system inserts a placeholder value of 1, which may be reported - * in the response to this command. This value does not affect the running of your task and can be + * in the response to this command. This value doesn't affect the running of your task and can be * ignored.

                                                      *
                                                      */ @@ -227,9 +226,9 @@ export interface UpdateMaintenanceWindowTaskRequest { *

                                                      The new MaxErrors value to specify. MaxErrors is the maximum * number of errors that are allowed before the task stops being scheduled.

                                                      * - *

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this + *

                                                      For maintenance window tasks without a target specified, you can't supply a value for this * option. Instead, the system inserts a placeholder value of 1, which may be reported - * in the response to this command. This value does not affect the running of your task and can be + * in the response to this command. This value doesn't affect the running of your task and can be * ignored.

                                                      *
                                                      */ @@ -239,9 +238,9 @@ export interface UpdateMaintenanceWindowTaskRequest { *

                                                      The new logging location in Amazon S3 to specify.

                                                      * *

                                                      - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      *
                                                      */ @@ -258,9 +257,8 @@ export interface UpdateMaintenanceWindowTaskRequest { Description?: string; /** - *

                                                      If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow action - * are also required for this API request. Optional fields that are not specified are set to - * null.

                                                      + *

                                                      If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow operation are also required for this API request. + * Optional fields that aren't specified are set to null.

                                                      */ Replace?: boolean; } @@ -303,8 +301,8 @@ export interface UpdateMaintenanceWindowTaskResult { TaskArn?: string; /** - *

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for - * maintenance window Run Command tasks.

                                                      + *

                                                      The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

                                                      */ ServiceRoleArn?: string; @@ -331,12 +329,12 @@ export interface UpdateMaintenanceWindowTaskResult { Priority?: number; /** - *

                                                      The updated MaxConcurrency value.

                                                      + *

                                                      The updated MaxConcurrency value.

                                                      */ MaxConcurrency?: string; /** - *

                                                      The updated MaxErrors value.

                                                      + *

                                                      The updated MaxErrors value.

                                                      */ MaxErrors?: string; @@ -344,9 +342,9 @@ export interface UpdateMaintenanceWindowTaskResult { *

                                                      The updated logging information in Amazon S3.

                                                      * *

                                                      - * LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the + * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. - * For information about how Systems Manager handles these options for the supported maintenance + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance * window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      *
                                                      */ @@ -426,18 +424,19 @@ export interface UpdateOpsItemRequest { * other relevant data. You enter operational data as key-value pairs. The key has a maximum length * of 128 characters. The value has a maximum size of 20 KB.

                                                      * - *

                                                      Operational data keys can't begin with the following: amazon, aws, - * amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                                      + *

                                                      Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

                                                      *
                                                      *

                                                      You can choose to make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem Overview page (as - * provided by the DescribeOpsItems API action) can view and search on the - * specified data. Operational data that is not searchable is only viewable by users who have access - * to the OpsItem (as provided by the GetOpsItem API action).

                                                      + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

                                                      *

                                                      Use the /aws/resources key in OperationalData to specify a related resource in * the request. Use the /aws/automations key in OperationalData to associate an - * Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see - * Creating OpsItems manually in the AWS Systems Manager User Guide.

                                                      + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                                      */ OperationalData?: { [key: string]: OpsItemDataValue }; @@ -466,7 +465,7 @@ export interface UpdateOpsItemRequest { /** *

                                                      The OpsItem status. Status can be Open, In Progress, or - * Resolved. For more information, see Editing OpsItem details in the AWS Systems Manager User Guide.

                                                      + * Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

                                                      */ Status?: OpsItemStatus | string; @@ -621,7 +620,7 @@ export interface UpdatePatchBaselineRequest { *

                                                      A list of explicitly approved patches for the baseline.

                                                      *

                                                      For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      */ ApprovedPatches?: string[]; @@ -632,7 +631,8 @@ export interface UpdatePatchBaselineRequest { /** *

                                                      Indicates whether the list of approved patches includes non-security updates that should be - * applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      + * applied to the instances. The default value is false. Applies to Linux instances + * only.

                                                      */ ApprovedPatchesEnableNonSecurity?: boolean; @@ -640,28 +640,32 @@ export interface UpdatePatchBaselineRequest { *

                                                      A list of explicitly rejected patches for the baseline.

                                                      *

                                                      For information about accepted formats for lists of approved patches and rejected patches, * see About - * package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      */ RejectedPatches?: string[]; /** - *

                                                      The action for Patch Manager to take on patches included in the RejectedPackages - * list.

                                                      + *

                                                      The action for Patch Manager to take on patches included in the + * RejectedPackages list.

                                                      *
                                                        *
                                                      • *

                                                        - * ALLOW_AS_DEPENDENCY: A package in the Rejected patches - * list is installed only if it is a dependency of another package. It is considered compliant - * with the patch baseline, and its status is reported as InstalledOther. - * This is the default action if no option is specified.

                                                        + * + * ALLOW_AS_DEPENDENCY + * : A package in the + * Rejected patches list is installed only if it is a dependency of another package. + * It is considered compliant with the patch baseline, and its status is reported as + * InstalledOther. This is the default action if no option is specified.

                                                        *
                                                      • *
                                                      • *

                                                        - * BLOCK: Packages in the RejectedPatches list, and packages - * that include them as dependencies, are not installed under any circumstances. If a package was - * installed before it was added to the Rejected patches list, it is considered non-compliant with - * the patch baseline, and its status is reported as - * InstalledRejected.

                                                        + * + * BLOCK + * : Packages in the + * RejectedPatches list, and packages that include them as dependencies, aren't + * installed under any circumstances. If a package was installed before it was added to the + * Rejected patches list, it is considered non-compliant with the patch baseline, + * and its status is reported as InstalledRejected.

                                                        *
                                                      • *
                                                      */ @@ -679,8 +683,9 @@ export interface UpdatePatchBaselineRequest { Sources?: PatchSource[]; /** - *

                                                      If True, then all fields that are required by the CreatePatchBaseline action are also - * required for this API request. Optional fields that are not specified are set to null.

                                                      + *

                                                      If True, then all fields that are required by the CreatePatchBaseline + * operation are also required for this API request. Optional fields that aren't specified are set + * to null.

                                                      */ Replace?: boolean; } @@ -734,7 +739,8 @@ export interface UpdatePatchBaselineResult { /** *

                                                      Indicates whether the list of approved patches includes non-security updates that should be - * applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      + * applied to the instances. The default value is false. Applies to Linux instances + * only.

                                                      */ ApprovedPatchesEnableNonSecurity?: boolean; @@ -744,9 +750,9 @@ export interface UpdatePatchBaselineResult { RejectedPatches?: string[]; /** - *

                                                      The action specified to take on patches included in the RejectedPatches list. A patch can be - * allowed only if it is a dependency of another package, or blocked entirely along with packages - * that include it as a dependency.

                                                      + *

                                                      The action specified to take on patches included in the RejectedPatches list. A + * patch can be allowed only if it is a dependency of another package, or blocked entirely along + * with packages that include it as a dependency.

                                                      */ RejectedPatchesAction?: PatchAction | string; @@ -761,7 +767,7 @@ export interface UpdatePatchBaselineResult { ModifiedDate?: Date; /** - *

                                                      A description of the Patch Baseline.

                                                      + *

                                                      A description of the patch baseline.

                                                      */ Description?: string; @@ -840,7 +846,7 @@ export namespace UpdateResourceDataSyncResult { } /** - *

                                                      The request body of the UpdateServiceSetting API action.

                                                      + *

                                                      The request body of the UpdateServiceSetting API operation.

                                                      */ export interface UpdateServiceSettingRequest { /** @@ -901,11 +907,11 @@ export interface UpdateServiceSettingRequest { * /ssm/managed-instance/activation-tier setting IDs, the setting value can be true or * false.

                                                      *

                                                      For the /ssm/automation/customer-script-log-destination setting ID, the setting - * value can be CloudWatch.

                                                      + * value can be CloudWatch.

                                                      *

                                                      For the /ssm/automation/customer-script-log-group-name setting ID, the setting - * value can be the name of a CloudWatch Logs log group.

                                                      - *

                                                      For the /ssm/documents/console/public-sharing-permission setting ID, the setting - * value can be Enable or Disable.

                                                      + * value can be the name of an Amazon CloudWatch Logs log group.

                                                      + *

                                                      For the /ssm/documents/console/public-sharing-permission setting ID, the + * setting value can be Enable or Disable.

                                                      */ SettingValue: string | undefined; } @@ -920,7 +926,7 @@ export namespace UpdateServiceSettingRequest { } /** - *

                                                      The result body of the UpdateServiceSetting API action.

                                                      + *

                                                      The result body of the UpdateServiceSetting API operation.

                                                      */ export interface UpdateServiceSettingResult {} @@ -964,23 +970,24 @@ export namespace InventoryAggregator { } /** - *

                                                      One or more aggregators for viewing counts of OpsItems using different dimensions such as + *

                                                      One or more aggregators for viewing counts of OpsData using different dimensions such as * Source, CreatedTime, or Source and CreatedTime, to name a * few.

                                                      */ export interface OpsAggregator { /** - *

                                                      Either a Range or Count aggregator for limiting an OpsItem summary.

                                                      + *

                                                      Either a Range or Count aggregator for limiting an OpsData + * summary.

                                                      */ AggregatorType?: string; /** - *

                                                      The data type name to use for viewing counts of OpsItems.

                                                      + *

                                                      The data type name to use for viewing counts of OpsData.

                                                      */ TypeName?: string; /** - *

                                                      The name of an OpsItem attribute on which to limit the count of OpsItems.

                                                      + *

                                                      The name of an OpsData attribute on which to limit the count of OpsData.

                                                      */ AttributeName?: string; @@ -995,7 +1002,7 @@ export interface OpsAggregator { Filters?: OpsFilter[]; /** - *

                                                      A nested aggregator for viewing counts of OpsItems.

                                                      + *

                                                      A nested aggregator for viewing counts of OpsData.

                                                      */ Aggregators?: OpsAggregator[]; } @@ -1057,17 +1064,17 @@ export interface GetOpsSummaryRequest { SyncName?: string; /** - *

                                                      Optional filters used to scope down the returned OpsItems.

                                                      + *

                                                      Optional filters used to scope down the returned OpsData.

                                                      */ Filters?: OpsFilter[]; /** - *

                                                      Optional aggregators that return counts of OpsItems based on one or more expressions.

                                                      + *

                                                      Optional aggregators that return counts of OpsData based on one or more expressions.

                                                      */ Aggregators?: OpsAggregator[]; /** - *

                                                      The OpsItem data type to return.

                                                      + *

                                                      The OpsData data type to return.

                                                      */ ResultAttributes?: OpsResultAttribute[]; diff --git a/clients/client-wellarchitected/WellArchitected.ts b/clients/client-wellarchitected/WellArchitected.ts index de6624dd15184..faceffc8b5667 100644 --- a/clients/client-wellarchitected/WellArchitected.ts +++ b/clients/client-wellarchitected/WellArchitected.ts @@ -384,7 +384,7 @@ export class WellArchitected extends WellArchitectedClient { } /** - *

                                                      Get lens review.

                                                      + *

                                                      Get the answer to a specific question in a workload review.

                                                      */ public getAnswer(args: GetAnswerCommandInput, options?: __HttpHandlerOptions): Promise; public getAnswer(args: GetAnswerCommandInput, cb: (err: any, data?: GetAnswerCommandOutput) => void): void; @@ -896,6 +896,10 @@ export class WellArchitected extends WellArchitectedClient { /** *

                                                      Deletes specified tags from a resource.

                                                      + *

                                                      To specify multiple tags, use separate tagKeys parameters, for example:

                                                      + *

                                                      + * DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2 + *

                                                      */ public untagResource( args: UntagResourceCommandInput, diff --git a/clients/client-wellarchitected/commands/GetAnswerCommand.ts b/clients/client-wellarchitected/commands/GetAnswerCommand.ts index 6690054df84f7..04c30db1a52b5 100644 --- a/clients/client-wellarchitected/commands/GetAnswerCommand.ts +++ b/clients/client-wellarchitected/commands/GetAnswerCommand.ts @@ -21,7 +21,7 @@ export interface GetAnswerCommandInput extends GetAnswerInput {} export interface GetAnswerCommandOutput extends GetAnswerOutput, __MetadataBearer {} /** - *

                                                      Get lens review.

                                                      + *

                                                      Get the answer to a specific question in a workload review.

                                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-wellarchitected/commands/UntagResourceCommand.ts b/clients/client-wellarchitected/commands/UntagResourceCommand.ts index f99ec3f9cb173..e27a32cd1666c 100644 --- a/clients/client-wellarchitected/commands/UntagResourceCommand.ts +++ b/clients/client-wellarchitected/commands/UntagResourceCommand.ts @@ -22,6 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad /** *

                                                      Deletes specified tags from a resource.

                                                      + *

                                                      To specify multiple tags, use separate tagKeys parameters, for example:

                                                      + *

                                                      + * DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2 + *

                                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-wellarchitected/models/models_0.ts b/clients/client-wellarchitected/models/models_0.ts index bd6f371a110b6..c85b36d3e22c6 100644 --- a/clients/client-wellarchitected/models/models_0.ts +++ b/clients/client-wellarchitected/models/models_0.ts @@ -21,6 +21,54 @@ export namespace AccessDeniedException { }); } +export enum ChoiceReason { + ARCHITECTURE_CONSTRAINTS = "ARCHITECTURE_CONSTRAINTS", + BUSINESS_PRIORITIES = "BUSINESS_PRIORITIES", + NONE = "NONE", + OTHER = "OTHER", + OUT_OF_SCOPE = "OUT_OF_SCOPE", +} + +export enum ChoiceStatus { + NOT_APPLICABLE = "NOT_APPLICABLE", + SELECTED = "SELECTED", + UNSELECTED = "UNSELECTED", +} + +/** + *

                                                      A choice that has been answered on a question in your workload.

                                                      + */ +export interface ChoiceAnswer { + /** + *

                                                      The ID of a choice.

                                                      + */ + ChoiceId?: string; + + /** + *

                                                      The status of a choice.

                                                      + */ + Status?: ChoiceStatus | string; + + /** + *

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      + */ + Reason?: ChoiceReason | string; + + /** + *

                                                      The notes associated with a choice.

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

                                                      A choice available to answer question.

                                                      */ @@ -50,6 +98,14 @@ export namespace Choice { }); } +export enum AnswerReason { + ARCHITECTURE_CONSTRAINTS = "ARCHITECTURE_CONSTRAINTS", + BUSINESS_PRIORITIES = "BUSINESS_PRIORITIES", + NONE = "NONE", + OTHER = "OTHER", + OUT_OF_SCOPE = "OUT_OF_SCOPE", +} + export enum Risk { HIGH = "HIGH", MEDIUM = "MEDIUM", @@ -85,6 +141,7 @@ export interface Answer { /** *

                                                      The improvement plan URL for a question.

                                                      + *

                                                      This value is only available if the question has been answered.

                                                      */ ImprovementPlanUrl?: string; @@ -104,6 +161,11 @@ export interface Answer { */ SelectedChoices?: string[]; + /** + *

                                                      A list of selected choices to a question in your workload.

                                                      + */ + ChoiceAnswers?: ChoiceAnswer[]; + /** *

                                                      Defines whether this question is applicable to a lens review.

                                                      */ @@ -118,6 +180,11 @@ export interface Answer { *

                                                      The notes associated with the workload.

                                                      */ Notes?: string; + + /** + *

                                                      The reason why the question is not applicable to your workload.

                                                      + */ + Reason?: AnswerReason | string; } export namespace Answer { @@ -129,6 +196,35 @@ export namespace Answer { }); } +/** + *

                                                      A choice summary that has been answered on a question in your workload.

                                                      + */ +export interface ChoiceAnswerSummary { + /** + *

                                                      The ID of a choice.

                                                      + */ + ChoiceId?: string; + + /** + *

                                                      The status of a choice.

                                                      + */ + Status?: ChoiceStatus | string; + + /** + *

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      + */ + Reason?: ChoiceReason | string; +} + +export namespace ChoiceAnswerSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ChoiceAnswerSummary): any => ({ + ...obj, + }); +} + /** *

                                                      An answer summary of a lens review in a workload.

                                                      */ @@ -160,6 +256,11 @@ export interface AnswerSummary { */ SelectedChoices?: string[]; + /** + *

                                                      A list of selected choices to a question in your workload.

                                                      + */ + ChoiceAnswerSummaries?: ChoiceAnswerSummary[]; + /** *

                                                      Defines whether this question is applicable to a lens review.

                                                      */ @@ -169,6 +270,11 @@ export interface AnswerSummary { *

                                                      The risk for a given workload, lens review, pillar, or question.

                                                      */ Risk?: Risk | string; + + /** + *

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      + */ + Reason?: AnswerReason | string; } export namespace AnswerSummary { @@ -381,6 +487,35 @@ export namespace ValidationException { }); } +/** + *

                                                      A list of choices to be updated.

                                                      + */ +export interface ChoiceUpdate { + /** + *

                                                      The status of a choice.

                                                      + */ + Status: ChoiceStatus | string | undefined; + + /** + *

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      + */ + Reason?: ChoiceReason | string; + + /** + *

                                                      The notes associated with a choice.

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

                                                      Input for milestone creation.

                                                      */ @@ -1817,6 +1952,7 @@ export interface ImprovementSummary { /** *

                                                      The improvement plan URL for a question.

                                                      + *

                                                      This value is only available if the question has been answered.

                                                      */ ImprovementPlanUrl?: string; } @@ -2831,7 +2967,8 @@ export interface UntagResourceInput { WorkloadArn: string | undefined; /** - *

                                                      The keys of the tags to be removed.

                                                      + *

                                                      A list of tag keys. Existing tags of the resource + * whose keys are members of this list are removed from the resource.

                                                      */ TagKeys: string[] | undefined; } @@ -2882,6 +3019,12 @@ export interface UpdateAnswerInput { */ SelectedChoices?: string[]; + /** + *

                                                      A list of choices to update on a question in your workload. The String key + * corresponds to the choice ID to be updated.

                                                      + */ + ChoiceUpdates?: { [key: string]: ChoiceUpdate }; + /** *

                                                      The notes associated with the workload.

                                                      */ @@ -2891,6 +3034,11 @@ export interface UpdateAnswerInput { *

                                                      Defines whether this question is applicable to a lens review.

                                                      */ IsApplicable?: boolean; + + /** + *

                                                      The reason why a question is not applicable to your workload.

                                                      + */ + Reason?: AnswerReason | string; } export namespace UpdateAnswerInput { diff --git a/clients/client-wellarchitected/protocols/Aws_restJson1.ts b/clients/client-wellarchitected/protocols/Aws_restJson1.ts index 37c4c6b022b96..52138163ae300 100644 --- a/clients/client-wellarchitected/protocols/Aws_restJson1.ts +++ b/clients/client-wellarchitected/protocols/Aws_restJson1.ts @@ -61,6 +61,9 @@ import { Answer, AnswerSummary, Choice, + ChoiceAnswer, + ChoiceAnswerSummary, + ChoiceUpdate, ConflictException, ImprovementSummary, InternalServerException, @@ -1041,8 +1044,13 @@ export const serializeAws_restJson1UpdateAnswerCommand = async ( } let body: any; body = JSON.stringify({ + ...(input.ChoiceUpdates !== undefined && + input.ChoiceUpdates !== null && { + ChoiceUpdates: serializeAws_restJson1ChoiceUpdates(input.ChoiceUpdates, context), + }), ...(input.IsApplicable !== undefined && input.IsApplicable !== null && { IsApplicable: input.IsApplicable }), ...(input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes }), + ...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }), ...(input.SelectedChoices !== undefined && input.SelectedChoices !== null && { SelectedChoices: serializeAws_restJson1SelectedChoices(input.SelectedChoices, context), @@ -4295,6 +4303,26 @@ const deserializeAws_restJson1ValidationExceptionResponse = async ( return contents; }; +const serializeAws_restJson1ChoiceUpdate = (input: ChoiceUpdate, context: __SerdeContext): any => { + return { + ...(input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes }), + ...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }), + ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }), + }; +}; + +const serializeAws_restJson1ChoiceUpdates = (input: { [key: string]: ChoiceUpdate }, context: __SerdeContext): any => { + return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: serializeAws_restJson1ChoiceUpdate(value, context), + }; + }, {}); +}; + const serializeAws_restJson1LensAliases = (input: string[], context: __SerdeContext): any => { return input .filter((e: any) => e != null) @@ -4398,6 +4426,10 @@ const serializeAws_restJson1WorkloadPillarPriorities = (input: string[], context const deserializeAws_restJson1Answer = (output: any, context: __SerdeContext): Answer => { return { + ChoiceAnswers: + output.ChoiceAnswers !== undefined && output.ChoiceAnswers !== null + ? deserializeAws_restJson1ChoiceAnswers(output.ChoiceAnswers, context) + : undefined, Choices: output.Choices !== undefined && output.Choices !== null ? deserializeAws_restJson1Choices(output.Choices, context) @@ -4410,6 +4442,7 @@ const deserializeAws_restJson1Answer = (output: any, context: __SerdeContext): A QuestionDescription: __expectString(output.QuestionDescription), QuestionId: __expectString(output.QuestionId), QuestionTitle: __expectString(output.QuestionTitle), + Reason: __expectString(output.Reason), Risk: __expectString(output.Risk), SelectedChoices: output.SelectedChoices !== undefined && output.SelectedChoices !== null @@ -4431,6 +4464,10 @@ const deserializeAws_restJson1AnswerSummaries = (output: any, context: __SerdeCo const deserializeAws_restJson1AnswerSummary = (output: any, context: __SerdeContext): AnswerSummary => { return { + ChoiceAnswerSummaries: + output.ChoiceAnswerSummaries !== undefined && output.ChoiceAnswerSummaries !== null + ? deserializeAws_restJson1ChoiceAnswerSummaries(output.ChoiceAnswerSummaries, context) + : undefined, Choices: output.Choices !== undefined && output.Choices !== null ? deserializeAws_restJson1Choices(output.Choices, context) @@ -4439,6 +4476,7 @@ const deserializeAws_restJson1AnswerSummary = (output: any, context: __SerdeCont PillarId: __expectString(output.PillarId), QuestionId: __expectString(output.QuestionId), QuestionTitle: __expectString(output.QuestionTitle), + Reason: __expectString(output.Reason), Risk: __expectString(output.Risk), SelectedChoices: output.SelectedChoices !== undefined && output.SelectedChoices !== null @@ -4455,6 +4493,45 @@ const deserializeAws_restJson1Choice = (output: any, context: __SerdeContext): C } as any; }; +const deserializeAws_restJson1ChoiceAnswer = (output: any, context: __SerdeContext): ChoiceAnswer => { + return { + ChoiceId: __expectString(output.ChoiceId), + Notes: __expectString(output.Notes), + Reason: __expectString(output.Reason), + Status: __expectString(output.Status), + } as any; +}; + +const deserializeAws_restJson1ChoiceAnswers = (output: any, context: __SerdeContext): ChoiceAnswer[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ChoiceAnswer(entry, context); + }); +}; + +const deserializeAws_restJson1ChoiceAnswerSummaries = (output: any, context: __SerdeContext): ChoiceAnswerSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ChoiceAnswerSummary(entry, context); + }); +}; + +const deserializeAws_restJson1ChoiceAnswerSummary = (output: any, context: __SerdeContext): ChoiceAnswerSummary => { + return { + ChoiceId: __expectString(output.ChoiceId), + Reason: __expectString(output.Reason), + Status: __expectString(output.Status), + } as any; +}; + const deserializeAws_restJson1Choices = (output: any, context: __SerdeContext): Choice[] => { return (output || []) .filter((e: any) => e != null) diff --git a/codegen/sdk-codegen/aws-models/acm.2015-12-08.json b/codegen/sdk-codegen/aws-models/acm.2015-12-08.json index 4666f4bbc25e5..e5c0ac65d2b1e 100644 --- a/codegen/sdk-codegen/aws-models/acm.2015-12-08.json +++ b/codegen/sdk-codegen/aws-models/acm.2015-12-08.json @@ -37,6 +37,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AccessDenied", + "httpResponseCode": 403 + }, "smithy.api#documentation": "

                                                      You do not have access\n required to perform this action.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 403 @@ -71,7 +75,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds one or more tags to an ACM certificate. Tags are labels that you can use to\n identify and organize your AWS resources. Each tag consists of a key and an\n optional value. You specify the certificate on input by its Amazon Resource Name\n (ARN). You specify the tag by using a key-value pair.

                                                      \n\n

                                                      You can apply a tag to just one certificate if you want to identify a specific\n characteristic of that certificate, or you can apply the same tag to multiple certificates if\n you want to filter for a common relationship among those certificates. Similarly, you can\n apply the same tag to multiple resources if you want to specify a relationship among those\n resources. For example, you can add the same tag to an ACM certificate and an Elastic Load\n Balancing load balancer to indicate that they are both used by the same website. For more\n information, see Tagging ACM\n certificates.

                                                      \n\n

                                                      To remove one or more tags, use the RemoveTagsFromCertificate action. To\n view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

                                                      " + "smithy.api#documentation": "

                                                      Adds one or more tags to an ACM certificate. Tags are labels that you can use to\n identify and organize your Amazon Web Services resources. Each tag consists of a key and an\n optional value. You specify the certificate on input by its Amazon Resource Name\n (ARN). You specify the tag by using a key-value pair.

                                                      \n\n

                                                      You can apply a tag to just one certificate if you want to identify a specific\n characteristic of that certificate, or you can apply the same tag to multiple certificates if\n you want to filter for a common relationship among those certificates. Similarly, you can\n apply the same tag to multiple resources if you want to specify a relationship among those\n resources. For example, you can add the same tag to an ACM certificate and an Elastic Load\n Balancing load balancer to indicate that they are both used by the same website. For more\n information, see Tagging ACM\n certificates.

                                                      \n\n

                                                      To remove one or more tags, use the RemoveTagsFromCertificate action. To\n view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

                                                      " } }, "com.amazonaws.acm#AddTagsToCertificateRequest": { @@ -100,7 +104,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" + "smithy.api#pattern": "^arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*$" } }, "com.amazonaws.acm#AvailabilityErrorMessage": { @@ -113,7 +117,7 @@ "min": 1, "max": 32768 }, - "smithy.api#pattern": "-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?" + "smithy.api#pattern": "^-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?$" } }, "com.amazonaws.acm#CertificateBodyBlob": { @@ -132,7 +136,7 @@ "min": 1, "max": 2097152 }, - "smithy.api#pattern": "(-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}\\u000D?\\u000A)*-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?" + "smithy.api#pattern": "^(-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}\\u000D?\\u000A)*-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?$" } }, "com.amazonaws.acm#CertificateChainBlob": { @@ -150,7 +154,7 @@ "CertificateArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see\n Amazon Resource Names (ARNs) in\n the AWS General Reference.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see\n Amazon Resource Names (ARNs) in\n the Amazon Web Services General Reference.

                                                      " } }, "DomainName": { @@ -252,19 +256,19 @@ "InUseBy": { "target": "com.amazonaws.acm#InUseList", "traits": { - "smithy.api#documentation": "

                                                      A list of ARNs for the AWS resources that are using the certificate. A certificate can\n be used by multiple AWS resources.

                                                      " + "smithy.api#documentation": "

                                                      A list of ARNs for the Amazon Web Services resources that are using the certificate. A certificate can\n be used by multiple Amazon Web Services resources.

                                                      " } }, "FailureReason": { "target": "com.amazonaws.acm#FailureReason", "traits": { - "smithy.api#documentation": "

                                                      The reason the certificate request failed. This value exists only when the certificate\n status is FAILED. For more information, see Certificate Request\n Failed in the AWS Certificate Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The reason the certificate request failed. This value exists only when the certificate\n status is FAILED. For more information, see Certificate Request\n Failed in the Amazon Web Services Certificate Manager User Guide.

                                                      " } }, "Type": { "target": "com.amazonaws.acm#CertificateType", "traits": { - "smithy.api#documentation": "

                                                      The source of the certificate. For certificates provided by ACM, this value is\n AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide\n managed renewal for\n imported certificates. For more information about the differences between certificates that\n you import and those that ACM provides, see Importing Certificates in the\n AWS Certificate Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The source of the certificate. For certificates provided by ACM, this value is\n AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide\n managed renewal for\n imported certificates. For more information about the differences between certificates that\n you import and those that ACM provides, see Importing Certificates in the\n Amazon Web Services Certificate Manager User Guide.

                                                      " } }, "RenewalSummary": { @@ -370,7 +374,7 @@ "name": "acm" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Certificate Manager\n

                                                      You can use AWS Certificate Manager (ACM) to manage SSL/TLS certificates for your AWS-based websites\n and applications. For more information about using ACM, see the AWS Certificate Manager User Guide.

                                                      ", + "smithy.api#documentation": "Amazon Web Services Certificate Manager\n

                                                      You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites\n and applications. For more information about using ACM, see the Amazon Web Services Certificate Manager User Guide.

                                                      ", "smithy.api#title": "AWS Certificate Manager" } }, @@ -518,7 +522,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a certificate and its associated private key. If this action succeeds, the\n certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by AWS\n services integrated with ACM.

                                                      \n \n

                                                      You cannot delete an ACM certificate that is being used by another AWS service. To\n delete a certificate that is in use, the certificate association must first be\n removed.

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

                                                      Deletes a certificate and its associated private key. If this action succeeds, the\n certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services\n services integrated with ACM.

                                                      \n \n

                                                      You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To\n delete a certificate that is in use, the certificate association must first be\n removed.

                                                      \n
                                                      " } }, "com.amazonaws.acm#DeleteCertificateRequest": { @@ -762,7 +766,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Object containing\n expiration events options associated with an AWS account.

                                                      " + "smithy.api#documentation": "

                                                      Object containing\n expiration events options associated with an Amazon Web Services account.

                                                      " } }, "com.amazonaws.acm#ExportCertificate": { @@ -1032,7 +1036,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns the account\n configuration options associated with an AWS account.

                                                      " + "smithy.api#documentation": "

                                                      Returns the account\n configuration options associated with an Amazon Web Services account.

                                                      " } }, "com.amazonaws.acm#GetAccountConfigurationResponse": { @@ -1041,7 +1045,7 @@ "ExpiryEvents": { "target": "com.amazonaws.acm#ExpiryEventsConfiguration", "traits": { - "smithy.api#documentation": "

                                                      Expiration events\n configuration options associated with the AWS account.

                                                      " + "smithy.api#documentation": "

                                                      Expiration events\n configuration options associated with the Amazon Web Services account.

                                                      " } } } @@ -1105,7 +1109,7 @@ "min": 1, "max": 32 }, - "smithy.api#pattern": "\\w+" + "smithy.api#pattern": "^\\w+$" } }, "com.amazonaws.acm#ImportCertificate": { @@ -1140,7 +1144,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the AWS Certificate Manager User Guide.

                                                      \n\n \n

                                                      ACM does not provide managed renewal for certificates that you import.

                                                      \n
                                                      \n\n

                                                      Note the following guidelines when importing third party certificates:

                                                      \n\n\n
                                                        \n
                                                      • \n

                                                        You must enter the private key that matches the certificate you are importing.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The private key must be unencrypted. You cannot import a private key that is protected\n by a password or a passphrase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The private key must be no larger than 5 KB (5,120 bytes).

                                                        \n
                                                      • \n
                                                      • \n

                                                        If the certificate you are importing is not self-signed, you must enter its\n certificate chain.

                                                        \n
                                                      • \n
                                                      • \n

                                                        If a certificate chain is included, the issuer must be the subject of one of the\n certificates in the chain.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The certificate, private key, and certificate chain must be PEM-encoded.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The current time must be between the Not Before and Not\n After certificate fields.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The Issuer field must not be empty.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The OCSP authority URL, if present, must not exceed 1000 characters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        To import a new certificate, omit the CertificateArn argument. Include\n this argument only when you want to replace a previously imported certificate.

                                                        \n
                                                      • \n
                                                      • \n

                                                        When you import a certificate by using the CLI, you must specify the certificate, the\n certificate chain, and the private key by their file names preceded by\n fileb://. For example, you can specify a certificate saved in the\n C:\\temp folder as fileb://C:\\temp\\certificate_to_import.pem.\n If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        When you import a certificate by using an SDK, you must specify the certificate, the\n certificate chain, and the private key files in the manner required by the programming\n language you're using.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The cryptographic algorithm of an imported certificate must match the algorithm of the\n signing CA. For example, if the signing CA key type is RSA, then the certificate key type\n must also be RSA.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

                                                      " + "smithy.api#documentation": "

                                                      Imports a certificate into Amazon Web Services Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the Amazon Web Services Certificate Manager User Guide.

                                                      \n\n \n

                                                      ACM does not provide managed renewal for certificates that you import.

                                                      \n
                                                      \n\n

                                                      Note the following guidelines when importing third party certificates:

                                                      \n\n\n
                                                        \n
                                                      • \n

                                                        You must enter the private key that matches the certificate you are importing.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The private key must be unencrypted. You cannot import a private key that is protected\n by a password or a passphrase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The private key must be no larger than 5 KB (5,120 bytes).

                                                        \n
                                                      • \n
                                                      • \n

                                                        If the certificate you are importing is not self-signed, you must enter its\n certificate chain.

                                                        \n
                                                      • \n
                                                      • \n

                                                        If a certificate chain is included, the issuer must be the subject of one of the\n certificates in the chain.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The certificate, private key, and certificate chain must be PEM-encoded.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The current time must be between the Not Before and Not\n After certificate fields.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The Issuer field must not be empty.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The OCSP authority URL, if present, must not exceed 1000 characters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        To import a new certificate, omit the CertificateArn argument. Include\n this argument only when you want to replace a previously imported certificate.

                                                        \n
                                                      • \n
                                                      • \n

                                                        When you import a certificate by using the CLI, you must specify the certificate, the\n certificate chain, and the private key by their file names preceded by\n fileb://. For example, you can specify a certificate saved in the\n C:\\temp folder as fileb://C:\\temp\\certificate_to_import.pem.\n If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        When you import a certificate by using an SDK, you must specify the certificate, the\n certificate chain, and the private key files in the manner required by the programming\n language you're using.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The cryptographic algorithm of an imported certificate must match the algorithm of the\n signing CA. For example, if the signing CA key type is RSA, then the certificate key type\n must also be RSA.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

                                                      " } }, "com.amazonaws.acm#ImportCertificateRequest": { @@ -1273,13 +1277,17 @@ "type": "string", "traits": { "smithy.api#enum": [ + { + "value": "RSA_1024", + "name": "RSA_1024" + }, { "value": "RSA_2048", "name": "RSA_2048" }, { - "value": "RSA_1024", - "name": "RSA_1024" + "value": "RSA_3072", + "name": "RSA_3072" }, { "value": "RSA_4096", @@ -1524,7 +1532,7 @@ "min": 1, "max": 10000 }, - "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*" + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*$" } }, "com.amazonaws.acm#PassphraseBlob": { @@ -1553,7 +1561,7 @@ "min": 1, "max": 524288 }, - "smithy.api#pattern": "-{5}BEGIN PRIVATE KEY-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END PRIVATE KEY-{5}(\\u000D?\\u000A)?", + "smithy.api#pattern": "^-{5}BEGIN PRIVATE KEY-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END PRIVATE KEY-{5}(\\u000D?\\u000A)?$", "smithy.api#sensitive": {} } }, @@ -1801,7 +1809,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Requests an ACM certificate for use with other AWS services. To request an ACM\n certificate, you must specify a fully qualified domain name (FQDN) in the\n DomainName parameter. You can also specify additional FQDNs in the\n SubjectAlternativeNames parameter.

                                                      \n\n

                                                      If you are requesting a private certificate, domain validation is not required. If you are\n requesting a public certificate, each domain name that you specify must be validated to verify\n that you own or control the domain. You can use DNS validation or email validation.\n We recommend that you use DNS validation. ACM issues public certificates after receiving\n approval from the domain owner.

                                                      " + "smithy.api#documentation": "

                                                      Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM\n certificate, you must specify a fully qualified domain name (FQDN) in the\n DomainName parameter. You can also specify additional FQDNs in the\n SubjectAlternativeNames parameter.

                                                      \n

                                                      If you are requesting a private certificate, domain validation is not required. If you are\n requesting a public certificate, each domain name that you specify must be validated to verify\n that you own or control the domain. You can use DNS validation or email validation.\n We recommend that you use DNS validation. ACM issues public certificates after receiving\n approval from the domain owner.

                                                      \n \n \n

                                                      ACM behavior differs from the https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the\n certificate validation process. first checks for a subject alternative name, and, if it\n finds one, ignores the common name (CN)

                                                      \n
                                                      " } }, "com.amazonaws.acm#RequestCertificateRequest": { @@ -1847,7 +1855,7 @@ "CertificateAuthorityArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used\n to issue the certificate. If you do not provide an ARN and you are trying to request a private\n certificate, ACM will attempt to issue a public certificate. For more information about\n private CAs, see the AWS Certificate Manager Private Certificate Authority (PCA) user guide. The ARN must have the following form:

                                                      \n\n

                                                      \n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used\n to issue the certificate. If you do not provide an ARN and you are trying to request a private\n certificate, ACM will attempt to issue a public certificate. For more information about\n private CAs, see the Amazon Web Services Certificate Manager Private Certificate Authority (PCA) user guide. The ARN must have the following form:

                                                      \n\n

                                                      \n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

                                                      " } }, "Tags": { @@ -1938,7 +1946,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The certificate is in use by another AWS service in the caller's account. Remove the\n association and try again.

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

                                                      The certificate is in use by another Amazon Web Services service in the caller's account. Remove the\n association and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -1980,7 +1988,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Contains a DNS record value that you can use to can use to validate ownership or control\n of a domain. This is used by the DescribeCertificate action.

                                                      " + "smithy.api#documentation": "

                                                      Contains a DNS record value that you can use to validate ownership or control\n of a domain. This is used by the DescribeCertificate action.

                                                      " } }, "com.amazonaws.acm#RevocationReason": { @@ -2067,7 +2075,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*" + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*$" } }, "com.amazonaws.acm#TagList": { @@ -2101,7 +2109,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*" + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*$" } }, "com.amazonaws.acm#ThrottlingException": { @@ -2112,6 +2120,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "Throttling", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The request was denied\n because it exceeded a quota.

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

                                                      The supplied input\n failed to satisfy constraints of an AWS service.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ValidationError", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The supplied input\n failed to satisfy constraints of an Amazon Web Services service.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 400 } diff --git a/codegen/sdk-codegen/aws-models/amplifybackend.2020-08-11.json b/codegen/sdk-codegen/aws-models/amplifybackend.2020-08-11.json index 805f5ee65b00e..82b9aef93ff45 100644 --- a/codegen/sdk-codegen/aws-models/amplifybackend.2020-08-11.json +++ b/codegen/sdk-codegen/aws-models/amplifybackend.2020-08-11.json @@ -277,7 +277,7 @@ "ApiName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { - "smithy.api#documentation": "

                                                      The API name used to interact with the data model, configured as a part of the amplify project.

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

                                                      The API name used to interact with the data model, configured as a part of your Amplify project.

                                                      ", "smithy.api#jsonName": "apiName" } }, @@ -314,20 +314,56 @@ "smithy.api#documentation": "

                                                      The resource config for the data model, configured as a part of the Amplify project.

                                                      " } }, + "com.amazonaws.amplifybackend#BackendAuthAppleProviderConfig": { + "type": "structure", + "members": { + "ClientId": { + "target": "com.amazonaws.amplifybackend#__string", + "traits": { + "smithy.api#documentation": "

                                                      Describes the client_id (also called Services ID) that comes from Apple.

                                                      ", + "smithy.api#jsonName": "client_id" + } + }, + "KeyId": { + "target": "com.amazonaws.amplifybackend#__string", + "traits": { + "smithy.api#documentation": "

                                                      Describes the key_id that comes from Apple.

                                                      ", + "smithy.api#jsonName": "key_id" + } + }, + "PrivateKey": { + "target": "com.amazonaws.amplifybackend#__string", + "traits": { + "smithy.api#documentation": "

                                                      Describes the private_key that comes from Apple.

                                                      ", + "smithy.api#jsonName": "private_key" + } + }, + "TeamId": { + "target": "com.amazonaws.amplifybackend#__string", + "traits": { + "smithy.api#documentation": "

                                                      Describes the team_id that comes from Apple.

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

                                                      Describes Apple social federation configurations for allowing your app users to sign in using OAuth.

                                                      " + } + }, "com.amazonaws.amplifybackend#BackendAuthSocialProviderConfig": { "type": "structure", "members": { "ClientId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { - "smithy.api#documentation": "

                                                      Describes the client_id which can be obtained from the third-party social federation provider.

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

                                                      Describes the client_id, which can be obtained from the third-party social federation provider.

                                                      ", "smithy.api#jsonName": "client_id" } }, "ClientSecret": { "target": "com.amazonaws.amplifybackend#__string", "traits": { - "smithy.api#documentation": "

                                                      Describes the client_secret which can be obtained from third-party social federation providers.

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

                                                      Describes the client_secret, which can be obtained from third-party social federation providers.

                                                      ", "smithy.api#jsonName": "client_secret" } } @@ -715,7 +751,7 @@ "DeliveryMethod": { "target": "com.amazonaws.amplifybackend#DeliveryMethod", "traits": { - "smithy.api#documentation": "

                                                      Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.

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

                                                      Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.

                                                      ", "smithy.api#jsonName": "deliveryMethod", "smithy.api#required": {} } @@ -769,7 +805,7 @@ "MFAMode": { "target": "com.amazonaws.amplifybackend#MFAMode", "traits": { - "smithy.api#documentation": "

                                                      Describes whether MFA should be [ON, OFF, OPTIONAL] for authentication in your Amplify project.

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

                                                      Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

                                                      ", "smithy.api#required": {} } }, @@ -782,7 +818,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

                                                      " + "smithy.api#documentation": "

                                                      Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

                                                      " } }, "com.amazonaws.amplifybackend#CreateBackendAuthOAuthConfig": { @@ -822,7 +858,7 @@ "RedirectSignOutURIs": { "target": "com.amazonaws.amplifybackend#ListOf__string", "traits": { - "smithy.api#documentation": "

                                                      Redirect URLs used by OAuth when a user signs out of an Amplify app.

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

                                                      Redirect URLs that OAuth uses when a user signs out of an Amplify app.

                                                      ", "smithy.api#jsonName": "redirectSignOutURIs", "smithy.api#required": {} } @@ -1001,7 +1037,7 @@ "Mfa": { "target": "com.amazonaws.amplifybackend#CreateBackendAuthMFAConfig", "traits": { - "smithy.api#documentation": "

                                                      Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

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

                                                      Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

                                                      ", "smithy.api#jsonName": "mfa" } }, @@ -3241,6 +3277,9 @@ }, "LoginWithAmazon": { "target": "com.amazonaws.amplifybackend#BackendAuthSocialProviderConfig" + }, + "SignInWithApple": { + "target": "com.amazonaws.amplifybackend#BackendAuthAppleProviderConfig" } }, "traits": { @@ -3469,7 +3508,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { - "smithy.api#documentation": "

                                                      A boolean value which can be set to allow or disallow guest-level authorization into your Amplify app.

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

                                                      A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.

                                                      ", "smithy.api#jsonName": "unauthenticatedLogin" } } @@ -3526,14 +3565,14 @@ "RedirectSignInURIs": { "target": "com.amazonaws.amplifybackend#ListOf__string", "traits": { - "smithy.api#documentation": "

                                                      Redirect URLs used by OAuth when a user signs in to an Amplify app.

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

                                                      Redirect URLs that OAuth uses when a user signs in to an Amplify app.

                                                      ", "smithy.api#jsonName": "redirectSignInURIs" } }, "RedirectSignOutURIs": { "target": "com.amazonaws.amplifybackend#ListOf__string", "traits": { - "smithy.api#documentation": "

                                                      Redirect URLs used by OAuth when a user signs out of an Amplify app.

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

                                                      Redirect URLs that OAuth uses when a user signs out of an Amplify app.

                                                      ", "smithy.api#jsonName": "redirectSignOutURIs" } }, @@ -3710,7 +3749,7 @@ "Mfa": { "target": "com.amazonaws.amplifybackend#UpdateBackendAuthMFAConfig", "traits": { - "smithy.api#documentation": "

                                                      Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.

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

                                                      Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

                                                      ", "smithy.api#jsonName": "mfa" } }, @@ -3881,7 +3920,7 @@ "Operation": { "target": "com.amazonaws.amplifybackend#__string", "traits": { - "smithy.api#documentation": "

                                                      Filters the list of response objects to only include those with the specified operation name.

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

                                                      Filters the list of response objects to include only those with the specified operation name.

                                                      ", "smithy.api#jsonName": "operation" } }, diff --git a/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json b/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json index f72d970b2c4f5..ba183a5c4f62a 100644 --- a/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json +++ b/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json @@ -86,7 +86,7 @@ "name": "app-integrations" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n \n

                                                      The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

                                                      \n

                                                      For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.

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

                                                      The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

                                                      \n

                                                      For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.

                                                      ", "smithy.api#title": "Amazon AppIntegrations Service" } }, @@ -148,7 +148,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Creates an EventIntegration, given a specified name, description, and a reference to an\n Amazon Eventbridge bus in your account and a partner event source that will push events to that bus. No\n objects are created in the your account, only metadata that is persisted on the EventIntegration\n control plane.

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

                                                      Creates an EventIntegration, given a specified name, description, and a reference to an\n Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No\n objects are created in the your account, only metadata that is persisted on the EventIntegration\n control plane.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/eventIntegrations", @@ -182,7 +182,7 @@ "EventBridgeBus": { "target": "com.amazonaws.appintegrations#EventBridgeBus", "traits": { - "smithy.api#documentation": "

                                                      The Eventbridge bus.

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

                                                      The EventBridge bus.

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

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Deletes the specified existing event integration. If the event integration is associated\n with clients, the request is rejected.

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

                                                      Deletes the specified existing event integration. If the event integration is associated\n with clients, the request is rejected.

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/eventIntegrations/{Name}", @@ -318,7 +318,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      The event filter.

                                                      " + "smithy.api#documentation": "

                                                      The event filter.

                                                      " } }, "com.amazonaws.appintegrations#EventIntegration": { @@ -351,7 +351,7 @@ "EventBridgeBus": { "target": "com.amazonaws.appintegrations#EventBridgeBus", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Eventbridge bus for the event integration.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon EventBridge bus for the event integration.

                                                      " } }, "Tags": { @@ -362,7 +362,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      The event integration.

                                                      " + "smithy.api#documentation": "

                                                      The event integration.

                                                      " } }, "com.amazonaws.appintegrations#EventIntegrationAssociation": { @@ -395,7 +395,7 @@ "EventBridgeRuleName": { "target": "com.amazonaws.appintegrations#EventBridgeRuleName", "traits": { - "smithy.api#documentation": "

                                                      The name of the Eventbridge rule.

                                                      " + "smithy.api#documentation": "

                                                      The name of the EventBridge rule.

                                                      " } }, "ClientAssociationMetadata": { @@ -406,7 +406,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      The event integration association.

                                                      " + "smithy.api#documentation": "

                                                      The event integration association.

                                                      " } }, "com.amazonaws.appintegrations#EventIntegrationAssociationsList": { @@ -459,7 +459,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Return information about the event integration.

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

                                                      Return information about the event integration.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/eventIntegrations/{Name}", @@ -504,7 +504,7 @@ "EventBridgeBus": { "target": "com.amazonaws.appintegrations#EventBridgeBus", "traits": { - "smithy.api#documentation": "

                                                      The Eventbridge bus.

                                                      " + "smithy.api#documentation": "

                                                      The EventBridge bus.

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

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Returns a paginated list of event integration associations in the account.

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

                                                      Returns a paginated list of event integration associations in the account.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/eventIntegrations/{EventIntegrationName}/associations", @@ -658,7 +658,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Returns a paginated list of event integrations in the account.

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

                                                      Returns a paginated list of event integrations in the account.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/eventIntegrations", @@ -725,7 +725,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Lists the tags for the specified resource.

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

                                                      Lists the tags for the specified resource.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", @@ -797,7 +797,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.appintegrations#ResourceNotFoundException": { @@ -896,7 +896,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Adds the specified tags to the specified resource.

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

                                                      Adds the specified tags to the specified resource.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", @@ -953,7 +953,7 @@ "com.amazonaws.appintegrations#UUID": { "type": "string", "traits": { - "smithy.api#pattern": "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" + "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" } }, "com.amazonaws.appintegrations#UntagResource": { @@ -979,7 +979,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Removes the specified tags from the specified resource.

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

                                                      Removes the specified tags from the specified resource.

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", @@ -1038,7 +1038,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      The Amazon AppIntegrations APIs are in preview release and are subject to change.

                                                      \n

                                                      Updates the description of an event integration.

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

                                                      Updates the description of an event integration.

                                                      ", "smithy.api#http": { "method": "PATCH", "uri": "/eventIntegrations/{Name}", diff --git a/codegen/sdk-codegen/aws-models/auditmanager.2017-07-25.json b/codegen/sdk-codegen/aws-models/auditmanager.2017-07-25.json index 89083b383bc61..ee9bb5a37c1e5 100644 --- a/codegen/sdk-codegen/aws-models/auditmanager.2017-07-25.json +++ b/codegen/sdk-codegen/aws-models/auditmanager.2017-07-25.json @@ -35,24 +35,24 @@ "id": { "target": "com.amazonaws.auditmanager#AccountId", "traits": { - "smithy.api#documentation": "

                                                      \n The identifier for the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The identifier for the specified account. \n

                                                      " } }, "emailAddress": { "target": "com.amazonaws.auditmanager#EmailAddress", "traits": { - "smithy.api#documentation": "

                                                      \n The email address associated with the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The email address associated with the specified account. \n

                                                      " } }, "name": { "target": "com.amazonaws.auditmanager#AccountName", "traits": { - "smithy.api#documentation": "

                                                      \n The name of the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The name of the specified account. \n

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

                                                      \n The wrapper of AWS account details, such as account ID, email address, and so on. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The wrapper of account details, such as account ID, email address, and so on. \n

                                                      " } }, "com.amazonaws.auditmanager#AWSAccounts": { @@ -67,12 +67,12 @@ "serviceName": { "target": "com.amazonaws.auditmanager#AWSServiceName", "traits": { - "smithy.api#documentation": "

                                                      \n The name of the AWS service. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The name of the Amazon Web Service. \n

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

                                                      \n An AWS service such as Amazon S3, AWS CloudTrail, and so on. \n

                                                      " + "smithy.api#documentation": "

                                                      \n An Amazon Web Service such as Amazon S3, CloudTrail, and so on. \n

                                                      " } }, "com.amazonaws.auditmanager#AWSServiceName": { @@ -102,7 +102,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n Your account is not registered with AWS Audit Manager. Check the delegated administrator setup on the AWS Audit Manager settings page, and try again.\n

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

                                                      \n Your account is not registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.\n

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 403 } @@ -217,7 +217,7 @@ "awsAccount": { "target": "com.amazonaws.auditmanager#AWSAccount", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS account associated with the assessment. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The account associated with the assessment. \n

                                                      " } }, "metadata": { @@ -240,7 +240,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n An entity that defines the scope of audit evidence collected by AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS Audit Manager framework. \n

                                                      " + "smithy.api#documentation": "

                                                      \n An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework. \n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentControl": { @@ -302,7 +302,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The control entity that represents a standard or custom control used in an AWS Audit Manager assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The control entity that represents a standard or custom control used in an Audit Manager assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentControlSet": { @@ -358,7 +358,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nRepresents a set of controls in an AWS Audit Manager assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n Represents a set of controls in an Audit Manager assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentControlSets": { @@ -425,7 +425,7 @@ "dataSource": { "target": "com.amazonaws.auditmanager#String", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS service from which the evidence was collected. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The Amazon Web Service from which the evidence was collected. \n

                                                      " } }, "author": { @@ -461,7 +461,7 @@ "evidenceByTypeConfigurationDataCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM.\n

                                                      " } }, "evidenceByTypeManualCount": { @@ -473,30 +473,30 @@ "evidenceByTypeComplianceCheckCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config or AWS Security Hub.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub.\n

                                                      " } }, "evidenceByTypeComplianceCheckIssuesCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

                                                      \n The total number of issues that were reported directly from AWS Security\n Hub, AWS Config, or both.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The total number of issues that were reported directly from Security Hub, Config, or both.\n

                                                      " } }, "evidenceByTypeUserActivityCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the user activity category. This evidence is collected from AWS CloudTrail logs.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs.\n

                                                      " } }, "evidenceAwsServiceSourceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

                                                      \n The total number of AWS resources assessed to generate the evidence. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The total number of Amazon Web Services resources assessed to generate the evidence. \n

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

                                                      \nThe folder in which AWS Audit Manager stores evidence for an assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The folder in which Audit Manager stores evidence for an assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentEvidenceFolderName": { @@ -541,7 +541,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The file used to structure and automate AWS Audit Manager assessments for a given compliance standard.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The file used to structure and automate Audit Manager assessments for a given compliance standard.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentFrameworkDescription": { @@ -670,7 +670,7 @@ "scope": { "target": "com.amazonaws.auditmanager#Scope", "traits": { - "smithy.api#documentation": "

                                                      \n The wrapper of AWS accounts and services in scope for the assessment. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The wrapper of accounts and services in scope for the assessment. \n

                                                      " } }, "roles": { @@ -755,7 +755,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nA metadata object associated with an assessment in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A metadata object associated with an assessment in Audit Manager.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentName": { @@ -792,7 +792,7 @@ "awsAccountId": { "target": "com.amazonaws.auditmanager#AccountId", "traits": { - "smithy.api#documentation": "

                                                      \n The identifier for the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The identifier for the specified account. \n

                                                      " } }, "assessmentId": { @@ -827,7 +827,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n A finalized document generated from an AWS Audit Manager assessment. These reports summarize the relevant evidence collected for your audit, and link to the relevant evidence folders which are named and organized according to the controls specified in your assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A finalized document generated from an Audit Manager assessment. These reports summarize the relevant evidence collected for your audit, and link to the relevant evidence folders which are named and organized according to the controls specified in your assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentReportDescription": { @@ -985,7 +985,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The location in which AWS Audit Manager saves assessment reports for the given assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The location in which Audit Manager saves assessment reports for the given assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#AssessmentReportsMetadata": { @@ -1032,7 +1032,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Associates an evidence folder to the specified assessment report in AWS Audit Manager. \n

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

                                                      \n Associates an evidence folder to the specified assessment report in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/associateToAssessmentReport", @@ -1071,7 +1071,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "^arn:.*:auditmanager:.*" + "smithy.api#pattern": "^arn:.*:auditmanager:" } }, "com.amazonaws.auditmanager#BatchAssociateAssessmentReportEvidence": { @@ -1097,7 +1097,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Associates a list of evidence to an assessment report in an AWS Audit Manager assessment.\n

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

                                                      \n Associates a list of evidence to an assessment report in an Audit Manager assessment.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/batchAssociateToAssessmentReport", @@ -1172,7 +1172,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Create a batch of delegations for a specified assessment in AWS Audit Manager.\n

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

                                                      \n Create a batch of delegations for a specified assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/assessments/{assessmentId}/delegations", @@ -1186,7 +1186,7 @@ "createDelegationRequest": { "target": "com.amazonaws.auditmanager#CreateDelegationRequest", "traits": { - "smithy.api#documentation": "

                                                      \nThe API request to batch create delegations in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The API request to batch create delegations in Audit Manager.\n

                                                      " } }, "errorCode": { @@ -1218,7 +1218,7 @@ "createDelegationRequests": { "target": "com.amazonaws.auditmanager#CreateDelegationRequests", "traits": { - "smithy.api#documentation": "

                                                      \n The API request to batch create delegations in AWS Audit Manager.\n

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

                                                      \n The API request to batch create delegations in Audit Manager.\n

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

                                                      \nDeletes the delegations in the specified AWS Audit Manager assessment.\n

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

                                                      \n Deletes the delegations in the specified Audit Manager assessment.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/delegations", @@ -1366,7 +1366,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Disassociates a list of evidence from the specified assessment report in AWS Audit Manager. \n

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

                                                      \n Disassociates a list of evidence from the specified assessment report in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/batchDisassociateFromAssessmentReport", @@ -1441,7 +1441,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager.\n

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

                                                      \n Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence", @@ -1455,7 +1455,7 @@ "manualEvidence": { "target": "com.amazonaws.auditmanager#ManualEvidence", "traits": { - "smithy.api#documentation": "

                                                      \nManual evidence that cannot be collected automatically by AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n Manual evidence that cannot be collected automatically by Audit Manager.\n

                                                      " } }, "errorCode": { @@ -1698,7 +1698,7 @@ "name": "auditmanager" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                                                      Welcome to the AWS Audit Manager API reference. This guide is for developers who need detailed information about the AWS Audit Manager API operations, data types, and errors.

                                                      \n

                                                      AWS Audit Manager is a service that provides automated evidence collection so that you\n can continuously audit your AWS usage, and assess the effectiveness of your controls to\n better manage risk and simplify compliance.

                                                      \n

                                                      AWS Audit Manager provides pre-built frameworks that structure and automate assessments\n for a given compliance standard. Frameworks include a pre-built collection of controls with\n descriptions and testing procedures, which are grouped according to the requirements of the\n specified compliance standard or regulation. You can also customize frameworks and controls\n to support internal audits with unique requirements.

                                                      \n \n

                                                      Use the following links to get started with the AWS Audit Manager API:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Actions: An alphabetical list of all AWS Audit Manager API operations.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Data types: An alphabetical list of all AWS Audit Manager data types.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Common parameters: Parameters that all Query operations can use.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Common errors: Client and server errors that all operations can return.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.

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

                                                      Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.

                                                      \n

                                                      Audit Manager is a service that provides automated evidence collection so that you\n can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to\n better manage risk and simplify compliance.

                                                      \n

                                                      Audit Manager provides pre-built frameworks that structure and automate assessments\n for a given compliance standard. Frameworks include a pre-built collection of controls with\n descriptions and testing procedures, which are grouped according to the requirements of the\n specified compliance standard or regulation. You can also customize frameworks and controls\n to support internal audits with unique requirements.

                                                      \n \n

                                                      Use the following links to get started with the Audit Manager API:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Actions: An alphabetical list of all Audit Manager API operations.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Data types: An alphabetical list of all Audit Manager data types.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Common parameters: Parameters that all Query operations can use.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Common errors: Client and server errors that all operations can return.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.

                                                      ", "smithy.api#title": "AWS Audit Manager" } }, @@ -1738,12 +1738,12 @@ "createdBy": { "target": "com.amazonaws.auditmanager#IamArn", "traits": { - "smithy.api#documentation": "

                                                      \n The IAM user or role that performed the action. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The IAM user or role that performed the action. \n

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

                                                      \n The record of a change within AWS Audit Manager, such as a modified assessment, a delegated control set, and so on. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The record of a change within Audit Manager, such as a modified assessment, a delegated control set, and so on. \n

                                                      " } }, "com.amazonaws.auditmanager#ChangeLogs": { @@ -1816,7 +1816,7 @@ "controlSources": { "target": "com.amazonaws.auditmanager#ControlSources", "traits": { - "smithy.api#documentation": "

                                                      \n The data source that determines from where AWS Audit Manager collects evidence for the control. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The data source that determines from where Audit Manager collects evidence for the control. \n

                                                      " } }, "controlMappingSources": { @@ -1857,7 +1857,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nA control in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A control in Audit Manager.\n

                                                      " } }, "com.amazonaws.auditmanager#ControlComment": { @@ -1962,7 +1962,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The data source that determines from where AWS Audit Manager collects evidence for the control.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The data source that determines from where Audit Manager collects evidence for the control.\n

                                                      " } }, "com.amazonaws.auditmanager#ControlMappingSources": { @@ -2000,7 +2000,7 @@ "controlSources": { "target": "com.amazonaws.auditmanager#ControlSources", "traits": { - "smithy.api#documentation": "

                                                      \n The data source that determines from where AWS Audit Manager collects evidence for the control.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The data source that determines from where Audit Manager collects evidence for the control.\n

                                                      " } }, "createdAt": { @@ -2082,7 +2082,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nA set of controls in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A set of controls in Audit Manager.\n

                                                      " } }, "com.amazonaws.auditmanager#ControlSetId": { @@ -2219,7 +2219,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Creates an assessment in AWS Audit Manager. \n

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

                                                      \n Creates an assessment in Audit Manager. \n

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

                                                      \nCreates a custom framework in AWS Audit Manager. \n

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

                                                      \n Creates a custom framework in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/assessmentFrameworks", @@ -2269,7 +2269,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nControl entity attributes that uniquely identify an existing control to be added to a framework in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n Control entity attributes that uniquely identify an existing control to be added to a framework in Audit Manager.\n

                                                      " } }, "com.amazonaws.auditmanager#CreateAssessmentFrameworkControlSet": { @@ -2290,7 +2290,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \nA controlSet entity that represents a collection of controls in AWS Audit Manager. This does not contain the control set ID.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A controlSet entity that represents a collection of controls in Audit Manager. This does not contain the control set ID.\n

                                                      " } }, "com.amazonaws.auditmanager#CreateAssessmentFrameworkControlSets": { @@ -2513,7 +2513,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nCreates a new custom control in AWS Audit Manager.\n

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

                                                      \n Creates a new custom control in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/controls", @@ -2533,7 +2533,7 @@ "sourceDescription": { "target": "com.amazonaws.auditmanager#SourceDescription", "traits": { - "smithy.api#documentation": "

                                                      \n The description of the data source that determines from where AWS Audit Manager collects evidence for the control. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The description of the data source that determines from where Audit Manager collects evidence for the control. \n

                                                      " } }, "sourceSetUpOption": { @@ -2668,7 +2668,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n A collection of attributes used to create a delegation for an assessment in AWS Audit Manager.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A collection of attributes used to create a delegation for an assessment in Audit Manager.\n

                                                      " } }, "com.amazonaws.auditmanager#CreateDelegationRequests": { @@ -2893,7 +2893,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Deletes an assessment in AWS Audit Manager. \n

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

                                                      \n Deletes an assessment in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/assessments/{assessmentId}", @@ -2924,7 +2924,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Deletes a custom framework in AWS Audit Manager.\n

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

                                                      \n Deletes a custom framework in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/assessmentFrameworks/{frameworkId}", @@ -2972,7 +2972,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nDeletes an assessment report from an assessment in AWS Audit Manager.\n

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

                                                      \n Deletes an assessment report from an assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/assessments/{assessmentId}/reports/{assessmentReportId}", @@ -3045,7 +3045,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Deletes a custom control in AWS Audit Manager.\n

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

                                                      \n Deletes a custom control in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/controls/{controlId}", @@ -3093,7 +3093,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nDeregisters an account in AWS Audit Manager.\n

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

                                                      \n Deregisters an account in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/account/deregisterAccount", @@ -3139,7 +3139,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Deregisters the delegated AWS administrator account from the AWS organization. \n

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

                                                      Removes the specified member account as a delegated administrator for Audit Manager.

                                                      \n \n

                                                      When you remove a delegated administrator from your Audit Manager settings, or when you\n deregister a delegated administrator from Organizations, you continue to have access\n to the evidence that you previously collected under that account. However, Audit Manager\n will stop collecting and attaching evidence to that delegated administrator account\n moving forward.

                                                      \n
                                                      ", "smithy.api#http": { "method": "POST", "uri": "/account/deregisterOrganizationAdminAccount", @@ -3185,7 +3185,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Disassociates an evidence folder from the specified assessment report in AWS Audit Manager. \n

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

                                                      \n Disassociates an evidence folder from the specified assessment report in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/disassociateFromAssessmentReport", @@ -3234,7 +3234,7 @@ "min": 3, "max": 3 }, - "smithy.api#pattern": "[0-9]{3}" + "smithy.api#pattern": "^[0-9]{3}$" } }, "com.amazonaws.auditmanager#ErrorMessage": { @@ -3269,7 +3269,7 @@ "evidenceAwsAccountId": { "target": "com.amazonaws.auditmanager#AccountId", "traits": { - "smithy.api#documentation": "

                                                      \n The identifier for the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The identifier for the specified account. \n

                                                      " } }, "time": { @@ -3281,7 +3281,7 @@ "eventSource": { "target": "com.amazonaws.auditmanager#AWSServiceName", "traits": { - "smithy.api#documentation": "

                                                      \nThe AWS service from which the evidence is collected.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The Amazon Web Service from which the evidence is collected.\n

                                                      " } }, "eventName": { @@ -3317,19 +3317,19 @@ "complianceCheck": { "target": "com.amazonaws.auditmanager#String", "traits": { - "smithy.api#documentation": "

                                                      The evaluation status for evidence that falls under the compliance check category. For\n evidence collected from AWS Security Hub, a Pass or\n Fail result is shown. For evidence collected from AWS Config, a\n Compliant or Noncompliant result is shown.

                                                      " + "smithy.api#documentation": "

                                                      The evaluation status for evidence that falls under the compliance check category. For\n evidence collected from Security Hub, a Pass or\n Fail result is shown. For evidence collected from Config, a\n Compliant or Noncompliant result is shown.

                                                      " } }, "awsOrganization": { "target": "com.amazonaws.auditmanager#String", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS account from which the evidence is collected, and its AWS organization path.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The account from which the evidence is collected, and its organization path.\n

                                                      " } }, "awsAccountId": { "target": "com.amazonaws.auditmanager#AccountId", "traits": { - "smithy.api#documentation": "

                                                      \n The identifier for the specified AWS account. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The identifier for the specified account. \n

                                                      " } }, "evidenceFolderId": { @@ -3466,7 +3466,7 @@ "controlSources": { "target": "com.amazonaws.auditmanager#ControlSources", "traits": { - "smithy.api#documentation": "

                                                      \nThe sources from which AWS Audit Manager collects evidence for the control.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The sources from which Audit Manager collects evidence for the control.\n

                                                      " } }, "controlSets": { @@ -3507,7 +3507,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The file used to structure and automate AWS Audit Manager assessments for a given compliance standard.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The file used to structure and automate Audit Manager assessments for a given compliance standard.\n

                                                      " } }, "com.amazonaws.auditmanager#FrameworkDescription": { @@ -3590,7 +3590,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "^arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.auditmanager#GetAccountStatus": { @@ -3607,7 +3607,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns the registration status of an account in AWS Audit Manager.\n

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

                                                      \n Returns the registration status of an account in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/account/status", @@ -3625,7 +3625,7 @@ "status": { "target": "com.amazonaws.auditmanager#AccountStatus", "traits": { - "smithy.api#documentation": "

                                                      \nThe status of the specified AWS account.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The status of the specified account.\n

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

                                                      \nReturns an assessment from AWS Audit Manager.\n

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

                                                      \n Returns an assessment from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}", @@ -3684,7 +3684,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a framework from AWS Audit Manager.\n

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

                                                      \n Returns a framework from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessmentFrameworks/{frameworkId}", @@ -3739,7 +3739,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns the URL of a specified assessment report in AWS Audit Manager.\n

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

                                                      \n Returns the URL of a specified assessment report in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/reports/{assessmentReportId}/url", @@ -3823,7 +3823,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of changelogs from AWS Audit Manager.\n

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

                                                      \n Returns a list of changelogs from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/changelogs", @@ -3917,7 +3917,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a control from AWS Audit Manager.\n

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

                                                      \n Returns a control from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/controls/{controlId}", @@ -4041,7 +4041,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns evidence from AWS Audit Manager.\n

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

                                                      \n Returns evidence from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}", @@ -4072,7 +4072,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns all evidence from a specified evidence folder in AWS Audit Manager.\n

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

                                                      \n Returns all evidence from a specified evidence folder in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence", @@ -4168,7 +4168,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns an evidence folder from the specified assessment in AWS Audit Manager.\n

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

                                                      \n Returns an evidence folder from the specified assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}", @@ -4239,7 +4239,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns the evidence folders from a specified assessment in AWS Audit Manager.\n

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

                                                      \n Returns the evidence folders from a specified assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/evidenceFolders", @@ -4275,7 +4275,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns a list of evidence folders associated with a specified control of an assessment in AWS Audit Manager.\n

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

                                                      \n Returns a list of evidence folders associated with a specified control of an assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}", @@ -4463,7 +4463,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns the name of the delegated AWS administrator account for the AWS organization. \n

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

                                                      \n Returns the name of the delegated Amazon Web Services administrator account for the organization. \n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/account/organizationAdminAccount", @@ -4512,7 +4512,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns a list of the in-scope AWS services for the specified assessment. \n

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

                                                      \n Returns a list of the in-scope Amazon Web Services services for the specified assessment. \n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/services", @@ -4530,7 +4530,7 @@ "serviceMetadata": { "target": "com.amazonaws.auditmanager#ServiceMetadataList", "traits": { - "smithy.api#documentation": "

                                                      \n The metadata associated with the aAWS service.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The metadata associated with the Amazon Web Service.\n

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

                                                      \n Returns the settings for the specified AWS account. \n

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

                                                      \n Returns the settings for the specified account. \n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/settings/{attribute}", @@ -4579,7 +4579,7 @@ "settings": { "target": "com.amazonaws.auditmanager#Settings", "traits": { - "smithy.api#documentation": "

                                                      \n The settings object that holds all supported AWS Audit Manager settings. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The settings object that holds all supported Audit Manager settings. \n

                                                      " } } } @@ -4601,7 +4601,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "^arn:.*:iam:.*" + "smithy.api#pattern": "^arn:.*:iam:" } }, "com.amazonaws.auditmanager#Integer": { @@ -4657,7 +4657,7 @@ "min": 7, "max": 2048 }, - "smithy.api#pattern": "^arn:.*:kms:.*|DEFAULT" + "smithy.api#pattern": "^arn:.*:kms:.*|DEFAULT$" } }, "com.amazonaws.auditmanager#LastUpdatedBy": { @@ -4690,7 +4690,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of the frameworks available in the AWS Audit Manager framework library.\n

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

                                                      \n Returns a list of the frameworks available in the Audit Manager framework library.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessmentFrameworks", @@ -4773,7 +4773,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of assessment reports created in AWS Audit Manager.\n

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

                                                      \n Returns a list of assessment reports created in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessmentReports", @@ -4842,7 +4842,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of current and past assessments from AWS Audit Manager.\n

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

                                                      \n Returns a list of current and past assessments from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/assessments", @@ -4911,7 +4911,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of controls from AWS Audit Manager.\n

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

                                                      \n Returns a list of controls from Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/controls", @@ -5065,7 +5065,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Returns a list of all AWS Audit Manager notifications. \n

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

                                                      \n Returns a list of all Audit Manager notifications. \n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/notifications", @@ -5134,7 +5134,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nReturns a list of tags for the specified resource in AWS Audit Manager.\n

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

                                                      \n Returns a list of tags for the specified resource in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", @@ -5177,7 +5177,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n Evidence that is uploaded to AWS Audit Manager manually. \n

                                                      " + "smithy.api#documentation": "

                                                      \n Evidence that is uploaded to Audit Manager manually. \n

                                                      " } }, "com.amazonaws.auditmanager#ManualEvidenceList": { @@ -5210,7 +5210,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.auditmanager#Notification": { @@ -5266,7 +5266,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The notification used to inform a user of an update in AWS Audit Manager. For example, this includes the notification that is sent when a control set is delegated for review. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The notification used to inform a user of an update in Audit Manager. For example, this includes the notification that is sent when a control set is delegated for review. \n

                                                      " } }, "com.amazonaws.auditmanager#Notifications": { @@ -5325,7 +5325,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Enables AWS Audit Manager for the specified AWS account. \n

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

                                                      \n Enables Audit Manager for the specified account. \n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/account/registerAccount", @@ -5339,13 +5339,13 @@ "kmsKey": { "target": "com.amazonaws.auditmanager#KmsKey", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS KMS key details. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The KMS key details. \n

                                                      " } }, "delegatedAdminAccount": { "target": "com.amazonaws.auditmanager#AccountId", "traits": { - "smithy.api#documentation": "

                                                      \n The delegated administrator account for AWS Audit Manager. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The delegated administrator account for Audit Manager. \n

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

                                                      \n Enables an AWS account within the organization as the delegated administrator for AWS Audit Manager.\n

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

                                                      \n Enables an account within the organization as the delegated administrator for Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/account/registerOrganizationAdminAccount", @@ -5416,7 +5416,7 @@ "organizationId": { "target": "com.amazonaws.auditmanager#organizationId", "traits": { - "smithy.api#documentation": "

                                                      \n The identifier for the specified AWS organization. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The identifier for the specified organization. \n

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

                                                      \n A system asset that is evaluated in an AWS Audit Manager assessment. \n

                                                      " + "smithy.api#documentation": "

                                                      \n A system asset that is evaluated in an Audit Manager assessment. \n

                                                      " } }, "com.amazonaws.auditmanager#ResourceNotFoundException": { @@ -5494,7 +5494,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n The wrapper that contains the AWS Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN).\n

                                                      " + "smithy.api#documentation": "

                                                      \n The wrapper that contains the Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN).\n

                                                      " } }, "com.amazonaws.auditmanager#RoleType": { @@ -5525,7 +5525,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "^(S|s)3:\\/\\/[a-zA-Z0-9-_\\/.]+$" + "smithy.api#pattern": "^(S|s)3:\\/\\/[a-zA-Z0-9\\-\\.\\(\\)\\'\\*\\_\\!\\/]+$" } }, "com.amazonaws.auditmanager#SNSTopic": { @@ -5544,18 +5544,18 @@ "awsAccounts": { "target": "com.amazonaws.auditmanager#AWSAccounts", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS accounts included in the scope of the assessment. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The accounts included in the scope of the assessment. \n

                                                      " } }, "awsServices": { "target": "com.amazonaws.auditmanager#AWSServices", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS services included in the scope of the assessment. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The Amazon Web Services services included in the scope of the assessment. \n

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

                                                      \n The wrapper that contains the AWS accounts and AWS services in scope for the assessment.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The wrapper that contains the accounts and services in scope for the assessment.\n

                                                      " } }, "com.amazonaws.auditmanager#ServiceMetadata": { @@ -5564,30 +5564,30 @@ "name": { "target": "com.amazonaws.auditmanager#AWSServiceName", "traits": { - "smithy.api#documentation": "

                                                      \nThe name of the AWS service.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The name of the Amazon Web Service.\n

                                                      " } }, "displayName": { "target": "com.amazonaws.auditmanager#NonEmptyString", "traits": { - "smithy.api#documentation": "

                                                      \nThe display name of the AWS service.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The display name of the Amazon Web Service.\n

                                                      " } }, "description": { "target": "com.amazonaws.auditmanager#NonEmptyString", "traits": { - "smithy.api#documentation": "

                                                      \n The description of the specified AWS service.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The description of the specified Amazon Web Service.\n

                                                      " } }, "category": { "target": "com.amazonaws.auditmanager#NonEmptyString", "traits": { - "smithy.api#documentation": "

                                                      \n The category in which the AWS service belongs, such as compute, storage, database, and so on.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The category in which the Amazon Web Service belongs, such as compute, storage, database, and so on.\n

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

                                                      \n The metadata associated with the specified AWS service.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The metadata associated with the specified Amazon Web Service.\n

                                                      " } }, "com.amazonaws.auditmanager#ServiceMetadataList": { @@ -5629,13 +5629,13 @@ "isAwsOrgEnabled": { "target": "com.amazonaws.auditmanager#Boolean", "traits": { - "smithy.api#documentation": "

                                                      \n Specifies whether AWS Organizations is enabled. \n

                                                      " + "smithy.api#documentation": "

                                                      \n Specifies whether Organizations is enabled. \n

                                                      " } }, "snsTopic": { "target": "com.amazonaws.auditmanager#SNSTopic", "traits": { - "smithy.api#documentation": "

                                                      \n The designated Amazon Simple Notification Service (Amazon SNS) topic. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The designated Amazon Simple Notification Service (Amazon SNS) topic. \n

                                                      " } }, "defaultAssessmentReportsDestination": { @@ -5653,12 +5653,12 @@ "kmsKey": { "target": "com.amazonaws.auditmanager#KmsKey", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS KMS key details. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The KMS key details. \n

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

                                                      \n The settings object that holds all supported AWS Audit Manager settings. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The settings object that holds all supported Audit Manager settings. \n

                                                      " } }, "com.amazonaws.auditmanager#SnsArn": { @@ -5668,7 +5668,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "^arn:.*:sns:.*" + "smithy.api#pattern": "^arn:.*:sns:" } }, "com.amazonaws.auditmanager#SourceDescription": { @@ -5712,12 +5712,12 @@ "keywordValue": { "target": "com.amazonaws.auditmanager#KeywordValue", "traits": { - "smithy.api#documentation": "

                                                      \nThe value of the keyword used to search AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names when mapping a control data source. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The value of the keyword used to search CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names when mapping a control data source. \n

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

                                                      \nThe keyword to search for in AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names.\n

                                                      " } }, "com.amazonaws.auditmanager#SourceName": { @@ -5838,7 +5838,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nTags the specified resource in AWS Audit Manager.\n

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

                                                      \n Tags the specified resource in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", @@ -5877,7 +5877,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": ".{0,255}" + "smithy.api#pattern": "^.{0,255}$" } }, "com.amazonaws.auditmanager#TestingInformation": { @@ -5973,7 +5973,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nRemoves a tag from a resource in AWS Audit Manager.\n

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

                                                      \n Removes a tag from a resource in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", @@ -6029,7 +6029,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Edits an AWS Audit Manager assessment. \n

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

                                                      \n Edits an Audit Manager assessment. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}", @@ -6060,7 +6060,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nUpdates a control within an assessment in AWS Audit Manager.\n

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

                                                      \n Updates a control within an assessment in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}", @@ -6143,7 +6143,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Updates the status of a control set in an AWS Audit Manager assessment.\n

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

                                                      \n Updates the status of a control set in an Audit Manager assessment.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/controlSets/{controlSetId}/status", @@ -6220,7 +6220,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nUpdates a custom framework in AWS Audit Manager.\n

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

                                                      \n Updates a custom framework in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessmentFrameworks/{frameworkId}", @@ -6252,7 +6252,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      \n A controlSet entity that represents a collection of controls in AWS Audit Manager. This does not contain the control set ID.\n

                                                      " + "smithy.api#documentation": "

                                                      \n A controlSet entity that represents a collection of controls in Audit Manager. This does not contain the control set ID.\n

                                                      " } }, "com.amazonaws.auditmanager#UpdateAssessmentFrameworkControlSets": { @@ -6389,7 +6389,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Updates the status of an assessment in AWS Audit Manager. \n

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

                                                      \n Updates the status of an assessment in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/assessments/{assessmentId}/status", @@ -6451,7 +6451,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \nUpdates a custom control in AWS Audit Manager.\n

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

                                                      \n Updates a custom control in Audit Manager.\n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/controls/{controlId}", @@ -6541,7 +6541,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n Updates AWS Audit Manager settings for the current user account. \n

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

                                                      \n Updates Audit Manager settings for the current user account. \n

                                                      ", "smithy.api#http": { "method": "PUT", "uri": "/settings", @@ -6555,7 +6555,7 @@ "snsTopic": { "target": "com.amazonaws.auditmanager#SnsArn", "traits": { - "smithy.api#documentation": "

                                                      \nThe Amazon Simple Notification Service (Amazon SNS) topic to which AWS Audit Manager sends notifications.\n

                                                      " + "smithy.api#documentation": "

                                                      \n The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.\n

                                                      " } }, "defaultAssessmentReportsDestination": { @@ -6573,7 +6573,7 @@ "kmsKey": { "target": "com.amazonaws.auditmanager#KmsKey", "traits": { - "smithy.api#documentation": "

                                                      \n The AWS KMS key details. \n

                                                      " + "smithy.api#documentation": "

                                                      \n The KMS key details. \n

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

                                                      \n Validates the integrity of an assessment report in AWS Audit Manager. \n

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

                                                      \n Validates the integrity of an assessment report in Audit Manager. \n

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/assessmentReports/integrity", @@ -6779,7 +6779,7 @@ "min": 12, "max": 34 }, - "smithy.api#pattern": "o-[a-z0-9]{10,32}" + "smithy.api#pattern": "^o-[a-z0-9]{10,32}$" } } } diff --git a/codegen/sdk-codegen/aws-models/chime.2018-05-01.json b/codegen/sdk-codegen/aws-models/chime.2018-05-01.json index 93760a5ffcbb9..3e9ea54420d4e 100644 --- a/codegen/sdk-codegen/aws-models/chime.2018-05-01.json +++ b/codegen/sdk-codegen/aws-models/chime.2018-05-01.json @@ -93,6 +93,12 @@ "smithy.api#documentation": "

                                                      Supported licenses for the Amazon Chime account.

                                                      " } }, + "AccountStatus": { + "target": "com.amazonaws.chime#AccountStatus", + "traits": { + "smithy.api#documentation": "

                                                      The status of the account, Suspended or Active.

                                                      " + } + }, "SigninDelegateGroups": { "target": "com.amazonaws.chime#SigninDelegateGroupList", "traits": { @@ -140,6 +146,21 @@ "smithy.api#documentation": "

                                                      Settings related to the Amazon Chime account. This includes settings that start or stop\n remote control of shared screens, or start or stop the dial-out option in the Amazon Chime web application. For more information about these settings, see \n Use the Policies Page in the Amazon Chime Administration Guide.

                                                      " } }, + "com.amazonaws.chime#AccountStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Suspended", + "name": "Suspended" + }, + { + "value": "Active", + "name": "Active" + } + ] + } + }, "com.amazonaws.chime#AccountType": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.2016-04-18.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.2016-04-18.json index 00dbdc9f659d4..55d0aeac14e1c 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.2016-04-18.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.2016-04-18.json @@ -661,7 +661,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      If your user pool configuration includes triggers, the AdminConfirmSignUp API action\n invokes the AWS Lambda function that is specified for the post\n confirmation trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. In this payload, the\n clientMetadata attribute provides the data that you assigned to the\n ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in\n AWS Lambda, you can process the ClientMetadata value to enhance your workflow for your\n specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      If your user pool configuration includes triggers, the AdminConfirmSignUp API action\n invokes the Lambda function that is specified for the post\n confirmation trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. In this payload, the\n clientMetadata attribute provides the data that you assigned to the\n ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in\n Lambda, you can process the ClientMetadata value to enhance your workflow for your\n specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Creates a new user in the specified user pool.

                                                      \n

                                                      If MessageAction is not set, the default is to send a welcome message via\n email or phone (SMS).

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      This message is based on a template that you configured in your call to create or\n update a user pool. This template includes your custom sign-up instructions and\n placeholders for user name and temporary password.

                                                      \n

                                                      Alternatively, you can call AdminCreateUser with “SUPPRESS” for the\n MessageAction parameter, and Amazon Cognito will not send any email.

                                                      \n

                                                      In either case, the user will be in the FORCE_CHANGE_PASSWORD state until\n they sign in and change their password.

                                                      \n

                                                      \n AdminCreateUser requires developer credentials.

                                                      " + "smithy.api#documentation": "

                                                      Creates a new user in the specified user pool.

                                                      \n

                                                      If MessageAction is not set, the default is to send a welcome message via\n email or phone (SMS).

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      This message is based on a template that you configured in your call to create or\n update a user pool. This template includes your custom sign-up instructions and\n placeholders for user name and temporary password.

                                                      \n

                                                      Alternatively, you can call AdminCreateUser with “SUPPRESS” for the\n MessageAction parameter, and Amazon Cognito will not send any email.

                                                      \n

                                                      In either case, the user will be in the FORCE_CHANGE_PASSWORD state until\n they sign in and change their password.

                                                      \n

                                                      \n AdminCreateUser requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType": { @@ -820,7 +820,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is\n assigned to the pre sign-up trigger. When Amazon Cognito invokes\n this function, it passes a JSON payload, which the function receives as input. This\n payload contains a clientMetadata attribute, which provides the data that\n you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your\n function code in AWS Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is\n assigned to the pre sign-up trigger. When Amazon Cognito invokes\n this function, it passes a JSON payload, which the function receives as input. This\n payload contains a clientMetadata attribute, which provides the data that\n you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Initiates the authentication flow, as an administrator.

                                                      \n \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " + "smithy.api#documentation": "

                                                      Initiates the authentication flow, as an administrator.

                                                      \n \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#AdminInitiateAuthRequest": { @@ -1496,7 +1496,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminInitiateAuth API action, Amazon Cognito invokes the AWS Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pre signup

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        User migration

                                                        \n
                                                      • \n
                                                      \n

                                                      When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n validationData attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in\n AWS Lambda, you can process the validationData value to enhance your\n workflow for your specific needs.

                                                      \n

                                                      When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the\n functions for the following triggers, but it does not provide the ClientMetadata value\n as input:

                                                      \n
                                                        \n
                                                      • \n

                                                        Post authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        Custom message

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre token generation

                                                        \n
                                                      • \n
                                                      • \n

                                                        Create auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Verify auth challenge

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pre signup

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        User migration

                                                        \n
                                                      • \n
                                                      \n

                                                      When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n validationData attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in\n Lambda, you can process the validationData value to enhance your\n workflow for your specific needs.

                                                      \n

                                                      When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the\n functions for the following triggers, but it does not provide the ClientMetadata value\n as input:

                                                      \n
                                                        \n
                                                      • \n

                                                        Post authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        Custom message

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre token generation

                                                        \n
                                                      • \n
                                                      • \n

                                                        Create auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Verify auth challenge

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Resets the specified user's password in a user pool as an administrator. Works on any\n user.

                                                      \n

                                                      When a developer calls this API, the current password is invalidated, so it must be\n changed. If a user tries to sign in after the API is called, the app will get a\n PasswordResetRequiredException exception back and should direct the user down the flow\n to reset the password, which is the same as the forgot password flow. In addition, if\n the user pool has phone verification selected and a verified phone number exists for the\n user, or if email verification is selected and a verified email exists for the user,\n calling this API will also result in sending a message to the end user with the code to\n change their password.

                                                      \n \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " + "smithy.api#documentation": "

                                                      Resets the specified user's password in a user pool as an administrator. Works on any\n user.

                                                      \n

                                                      When a developer calls this API, the current password is invalidated, so it must be\n changed. If a user tries to sign in after the API is called, the app will get a\n PasswordResetRequiredException exception back and should direct the user down the flow\n to reset the password, which is the same as the forgot password flow. In addition, if\n the user pool has phone verification selected and a verified phone number exists for the\n user, or if email verification is selected and a verified email exists for the user,\n calling this API will also result in sending a message to the end user with the code to\n change their password.

                                                      \n \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordRequest": { @@ -2005,7 +2005,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your AdminResetUserPassword\n request. In your function code in AWS Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your AdminResetUserPassword\n request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Responds to an authentication challenge, as an administrator.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " + "smithy.api#documentation": "

                                                      Responds to an authentication challenge, as an administrator.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeRequest": { @@ -2145,7 +2145,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: pre sign-up,\n custom message, post authentication,\n user migration, pre token generation,\n define auth challenge, create auth\n challenge, and verify auth challenge response. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your AdminRespondToAuthChallenge request. In your function code in AWS Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: pre sign-up,\n custom message, post authentication,\n user migration, pre token generation,\n define auth challenge, create auth\n challenge, and verify auth challenge response. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your AdminRespondToAuthChallenge request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Updates the specified user's attributes, including developer attributes, as an\n administrator. Works on any user.

                                                      \n

                                                      For custom attributes, you must prepend the custom: prefix to the\n attribute name.

                                                      \n

                                                      In addition to updating user attributes, this API can also be used to mark phone and\n email as verified.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " + "smithy.api#documentation": "

                                                      Updates the specified user's attributes, including developer attributes, as an\n administrator. Works on any user.

                                                      \n

                                                      For custom attributes, you must prepend the custom: prefix to the\n attribute name.

                                                      \n

                                                      In addition to updating user attributes, this API can also be used to mark phone and\n email as verified.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      \n \n

                                                      Calling this action requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesRequest": { @@ -2620,7 +2620,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the\n function that is assigned to the custom message trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a clientMetadata attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n AdminUpdateUserAttributes request. In your function code in AWS Lambda, you can process\n the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the\n function that is assigned to the custom message trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a clientMetadata attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n AdminUpdateUserAttributes request. In your function code in Lambda, you can process\n the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -3775,7 +3775,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function\n that is assigned to the post confirmation trigger. When Amazon\n Cognito invokes this function, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword\n request. In your function code in AWS Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function\n that is assigned to the post confirmation trigger. When Amazon\n Cognito invokes this function, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword\n request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -3899,7 +3899,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is\n assigned to the post confirmation trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your\n function code in AWS Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is\n assigned to the post confirmation trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Creates a new Amazon Cognito user pool and sets the password policy for the\n pool.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Creates a new Amazon Cognito user pool and sets the password policy for the\n pool.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      " } }, "com.amazonaws.cognitoidentityprovider#CreateUserPoolClient": { @@ -4472,7 +4472,7 @@ "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

                                                      " + "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

                                                      " } }, "AllowedOAuthFlowsUserPoolClient": { @@ -4602,7 +4602,7 @@ "LambdaConfig": { "target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType", "traits": { - "smithy.api#documentation": "

                                                      The Lambda trigger configuration information for the new user pool.

                                                      \n \n

                                                      In a push model, event sources (such as Amazon S3 and custom applications) need\n permission to invoke a function. So you will need to make an extra call to add\n permission for these event sources to invoke your Lambda function.

                                                      \n

                                                      \n

                                                      For more information on using the Lambda API to add permission, see \n AddPermission .

                                                      \n

                                                      For adding permission using the AWS CLI, see add-permission\n .

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

                                                      The Lambda trigger configuration information for the new user pool.

                                                      \n \n

                                                      In a push model, event sources (such as Amazon S3 and custom applications) need\n permission to invoke a function. So you will need to make an extra call to add\n permission for these event sources to invoke your Lambda function.

                                                      \n

                                                      \n

                                                      For more information on using the Lambda API to add permission, see \n AddPermission .

                                                      \n

                                                      For adding permission using the CLI, see add-permission\n .

                                                      \n
                                                      " } }, "AutoVerifiedAttributes": { @@ -4760,7 +4760,7 @@ "CertificateArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use\n this certificate for the subdomain of your custom domain.

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

                                                      The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use\n this certificate for the subdomain of your custom domain.

                                                      ", "smithy.api#required": {} } } @@ -5835,7 +5835,7 @@ "AWSAccountId": { "target": "com.amazonaws.cognitoidentityprovider#AWSAccountIdType", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID for the user pool owner.

                                                      " + "smithy.api#documentation": "

                                                      The account ID for the user pool owner.

                                                      " } }, "Domain": { @@ -5962,7 +5962,7 @@ "EmailSendingAccount": { "target": "com.amazonaws.cognitoidentityprovider#EmailSendingAccountType", "traits": { - "smithy.api#documentation": "

                                                      Specifies whether Amazon Cognito emails your users by using its built-in email\n functionality or your Amazon SES email configuration. Specify one of the following\n values:

                                                      \n
                                                      \n
                                                      COGNITO_DEFAULT
                                                      \n
                                                      \n

                                                      When Amazon Cognito emails your users, it uses its built-in email\n functionality. When you use the default option, Amazon Cognito allows only a\n limited number of emails each day for your user pool. For typical production\n environments, the default email limit is below the required delivery volume.\n To achieve a higher delivery volume, specify DEVELOPER to use your Amazon\n SES email configuration.

                                                      \n

                                                      To look up the email delivery limit for the default option, see Limits in Amazon Cognito in the Amazon Cognito\n Developer Guide.

                                                      \n

                                                      The default FROM address is no-reply@verificationemail.com. To customize\n the FROM address, provide the ARN of an Amazon SES verified email address\n for the SourceArn parameter.

                                                      \n

                                                      If EmailSendingAccount is COGNITO_DEFAULT, the following parameters\n aren't allowed:

                                                      \n
                                                        \n
                                                      • \n

                                                        EmailVerificationMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        EmailVerificationSubject

                                                        \n
                                                      • \n
                                                      • \n

                                                        InviteMessageTemplate.EmailMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        InviteMessageTemplate.EmailSubject

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailMessageByLink

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailSubject,

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailSubjectByLink

                                                        \n
                                                      • \n
                                                      \n \n

                                                      DEVELOPER EmailSendingAccount is required.

                                                      \n
                                                      \n
                                                      \n
                                                      DEVELOPER
                                                      \n
                                                      \n

                                                      When Amazon Cognito emails your users, it uses your Amazon SES\n configuration. Amazon Cognito calls Amazon SES on your behalf to send email\n from your verified email address. When you use this option, the email\n delivery limits are the same limits that apply to your Amazon SES verified\n email address in your AWS account.

                                                      \n

                                                      If you use this option, you must provide the ARN of an Amazon SES verified\n email address for the SourceArn parameter.

                                                      \n

                                                      Before Amazon Cognito can email your users, it requires additional\n permissions to call Amazon SES on your behalf. When you update your user\n pool with this option, Amazon Cognito creates a service-linked\n role, which is a type of IAM role, in your AWS account. This\n role contains the permissions that allow Amazon Cognito to access Amazon SES\n and send email messages with your address. For more information about the\n service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon\n Cognito in the Amazon Cognito Developer\n Guide.

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

                                                      Specifies whether Amazon Cognito emails your users by using its built-in email\n functionality or your Amazon SES email configuration. Specify one of the following\n values:

                                                      \n
                                                      \n
                                                      COGNITO_DEFAULT
                                                      \n
                                                      \n

                                                      When Amazon Cognito emails your users, it uses its built-in email\n functionality. When you use the default option, Amazon Cognito allows only a\n limited number of emails each day for your user pool. For typical production\n environments, the default email limit is below the required delivery volume.\n To achieve a higher delivery volume, specify DEVELOPER to use your Amazon\n SES email configuration.

                                                      \n

                                                      To look up the email delivery limit for the default option, see Limits in Amazon Cognito in the Amazon Cognito\n Developer Guide.

                                                      \n

                                                      The default FROM address is no-reply@verificationemail.com. To customize\n the FROM address, provide the ARN of an Amazon SES verified email address\n for the SourceArn parameter.

                                                      \n

                                                      If EmailSendingAccount is COGNITO_DEFAULT, the following parameters\n aren't allowed:

                                                      \n
                                                        \n
                                                      • \n

                                                        EmailVerificationMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        EmailVerificationSubject

                                                        \n
                                                      • \n
                                                      • \n

                                                        InviteMessageTemplate.EmailMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        InviteMessageTemplate.EmailSubject

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailMessage

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailMessageByLink

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailSubject,

                                                        \n
                                                      • \n
                                                      • \n

                                                        VerificationMessageTemplate.EmailSubjectByLink

                                                        \n
                                                      • \n
                                                      \n \n

                                                      DEVELOPER EmailSendingAccount is required.

                                                      \n
                                                      \n
                                                      \n
                                                      DEVELOPER
                                                      \n
                                                      \n

                                                      When Amazon Cognito emails your users, it uses your Amazon SES\n configuration. Amazon Cognito calls Amazon SES on your behalf to send email\n from your verified email address. When you use this option, the email\n delivery limits are the same limits that apply to your Amazon SES verified\n email address in your account.

                                                      \n

                                                      If you use this option, you must provide the ARN of an Amazon SES verified\n email address for the SourceArn parameter.

                                                      \n

                                                      Before Amazon Cognito can email your users, it requires additional\n permissions to call Amazon SES on your behalf. When you update your user\n pool with this option, Amazon Cognito creates a service-linked\n role, which is a type of IAM role, in your account. This\n role contains the permissions that allow Amazon Cognito to access Amazon SES\n and send email messages with your address. For more information about the\n service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon\n Cognito in the Amazon Cognito Developer\n Guide.

                                                      \n
                                                      \n
                                                      " } }, "From": { @@ -5974,7 +5974,7 @@ "ConfigurationSet": { "target": "com.amazonaws.cognitoidentityprovider#SESConfigurationSet", "traits": { - "smithy.api#documentation": "

                                                      The set of configuration rules that can be applied to emails sent using Amazon SES. A\n configuration set is applied to an email by including a reference to the configuration\n set in the headers of the email. Once applied, all of the rules in that configuration\n set are applied to the email. Configuration sets can be used to apply the following\n types of rules to emails:

                                                      \n
                                                        \n
                                                      • \n

                                                        Event publishing – Amazon SES can track the number of send, delivery, open,\n click, bounce, and complaint events for each email sent. Use event publishing to\n send information about these events to other AWS services such as SNS and\n CloudWatch.

                                                        \n
                                                      • \n
                                                      • \n

                                                        IP pool management – When leasing dedicated IP addresses with Amazon SES, you\n can create groups of IP addresses, called dedicated IP pools. You can then\n associate the dedicated IP pools with configuration sets.

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

                                                      The set of configuration rules that can be applied to emails sent using Amazon SES. A\n configuration set is applied to an email by including a reference to the configuration\n set in the headers of the email. Once applied, all of the rules in that configuration\n set are applied to the email. Configuration sets can be used to apply the following\n types of rules to emails:

                                                      \n
                                                        \n
                                                      • \n

                                                        Event publishing – Amazon SES can track the number of send, delivery, open,\n click, bounce, and complaint events for each email sent. Use event publishing to\n send information about these events to other Amazon Web Services services such as SNS and\n CloudWatch.

                                                        \n
                                                      • \n
                                                      • \n

                                                        IP pool management – When leasing dedicated IP addresses with Amazon SES, you\n can create groups of IP addresses, called dedicated IP pools. You can then\n associate the dedicated IP pools with configuration sets.

                                                        \n
                                                      • \n
                                                      " } } }, @@ -6426,7 +6426,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Calling this API causes a message to be sent to the end user with a confirmation code\n that is required to change the user's password. For the Username parameter,\n you can use the username or user alias. The method used to send the confirmation code is\n sent according to the specified AccountRecoverySetting. For more information, see Recovering\n User Accounts in the Amazon Cognito Developer Guide. If\n neither a verified phone number nor a verified email exists, an\n InvalidParameterException is thrown. To use the confirmation code for\n resetting the password, call ConfirmForgotPassword.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Calling this API causes a message to be sent to the end user with a confirmation code\n that is required to change the user's password. For the Username parameter,\n you can use the username or user alias. The method used to send the confirmation code is\n sent according to the specified AccountRecoverySetting. For more information, see Recovering\n User Accounts in the Amazon Cognito Developer Guide. If\n neither a verified phone number nor a verified email exists, an\n InvalidParameterException is thrown. To use the confirmation code for\n resetting the password, call ConfirmForgotPassword.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -6468,7 +6468,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ForgotPassword API action, Amazon Cognito invokes any functions that\n are assigned to the following triggers: pre sign-up,\n custom message, and user migration. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your ForgotPassword request. In your function code in AWS Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ForgotPassword API action, Amazon Cognito invokes any functions that\n are assigned to the following triggers: pre sign-up,\n custom message, and user migration. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your ForgotPassword request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -6964,7 +6964,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Gets the user attribute verification code for the specified attribute name.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Gets the user attribute verification code for the specified attribute name.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -6988,7 +6988,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the\n function that is assigned to the custom message trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a clientMetadata attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n GetUserAttributeVerificationCode request. In your function code in AWS Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the\n function that is assigned to the custom message trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a clientMetadata attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n GetUserAttributeVerificationCode request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -7476,7 +7476,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Initiates the authentication flow.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Initiates the authentication flow.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -7499,7 +7499,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the InitiateAuth API action, Amazon Cognito invokes the AWS Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pre signup

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        User migration

                                                        \n
                                                      • \n
                                                      \n

                                                      When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n validationData attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your InitiateAuth request. In your function code in AWS\n Lambda, you can process the validationData value to enhance your workflow\n for your specific needs.

                                                      \n

                                                      When you use the InitiateAuth API action, Amazon Cognito also invokes the functions\n for the following triggers, but it does not provide the ClientMetadata value as\n input:

                                                      \n
                                                        \n
                                                      • \n

                                                        Post authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        Custom message

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre token generation

                                                        \n
                                                      • \n
                                                      • \n

                                                        Create auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Verify auth challenge

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pre signup

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        User migration

                                                        \n
                                                      • \n
                                                      \n

                                                      When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n validationData attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your InitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow\n for your specific needs.

                                                      \n

                                                      When you use the InitiateAuth API action, Amazon Cognito also invokes the functions\n for the following triggers, but it does not provide the ClientMetadata value as\n input:

                                                      \n
                                                        \n
                                                      • \n

                                                        Post authentication

                                                        \n
                                                      • \n
                                                      • \n

                                                        Custom message

                                                        \n
                                                      • \n
                                                      • \n

                                                        Pre token generation

                                                        \n
                                                      • \n
                                                      • \n

                                                        Create auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define auth challenge

                                                        \n
                                                      • \n
                                                      • \n

                                                        Verify auth challenge

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } }, "ClientId": { @@ -7598,12 +7598,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service throws an invalid AWS Lambda\n response exception.

                                                      " + "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service throws an invalid Lambda\n response exception.

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

                                                      This exception is thrown when the Amazon Cognito service encounters an invalid AWS\n Lambda response.

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

                                                      This exception is thrown when the Amazon Cognito service encounters an invalid Lambda response.

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

                                                      This exception is thrown when the trust relationship is invalid for the role provided\n for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does\n not match what is provided in the SMS configuration for the user pool.

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

                                                      This exception is thrown when the trust relationship is invalid for the role provided\n for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does\n not match what is provided in the SMS configuration for the user pool.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7707,31 +7707,31 @@ "PreSignUp": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      A pre-registration AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A pre-registration Lambda trigger.

                                                      " } }, "CustomMessage": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      A custom Message AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A custom Message Lambda trigger.

                                                      " } }, "PostConfirmation": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      A post-confirmation AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A post-confirmation Lambda trigger.

                                                      " } }, "PreAuthentication": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      A pre-authentication AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A pre-authentication Lambda trigger.

                                                      " } }, "PostAuthentication": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      A post-authentication AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A post-authentication Lambda trigger.

                                                      " } }, "DefineAuthChallenge": { @@ -7767,13 +7767,13 @@ "CustomSMSSender": { "target": "com.amazonaws.cognitoidentityprovider#CustomSMSLambdaVersionConfigType", "traits": { - "smithy.api#documentation": "

                                                      A custom SMS sender AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A custom SMS sender Lambda trigger.

                                                      " } }, "CustomEmailSender": { "target": "com.amazonaws.cognitoidentityprovider#CustomEmailLambdaVersionConfigType", "traits": { - "smithy.api#documentation": "

                                                      A custom email sender AWS Lambda trigger.

                                                      " + "smithy.api#documentation": "

                                                      A custom email sender Lambda trigger.

                                                      " } }, "KMSKeyID": { @@ -7784,7 +7784,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Specifies the configuration for AWS Lambda triggers.

                                                      " + "smithy.api#documentation": "

                                                      Specifies the configuration for Lambda triggers.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#LimitExceededException": { @@ -7798,7 +7798,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      This exception is thrown when a user exceeds the limit for a requested AWS\n resource.

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

                                                      This exception is thrown when a user exceeds the limit for a requested Amazon Web Services\n resource.

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

                                                      Lists the user pools associated with an AWS account.

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

                                                      Lists the user pools associated with an account.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -9276,7 +9276,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Resends the confirmation (for confirmation of registration) to a specific user in the\n user pool.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Resends the confirmation (for confirmation of registration) to a specific user in the\n user pool.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -9318,7 +9318,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ResendConfirmationCode\n request. In your function code in AWS Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ResendConfirmationCode\n request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -9539,7 +9539,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Responds to the authentication challenge.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Responds to the authentication challenge.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -9587,7 +9587,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions\n that are assigned to the following triggers: post authentication,\n pre token generation, define auth\n challenge, create auth challenge, and\n verify auth challenge. When Amazon Cognito invokes any of these\n functions, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your\n function code in AWS Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions\n that are assigned to the following triggers: post authentication,\n pre token generation, define auth\n challenge, create auth challenge, and\n verify auth challenge. When Amazon Cognito invokes any of these\n functions, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Set the user pool multi-factor authentication (MFA) configuration.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Set the user pool multi-factor authentication (MFA) configuration.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      " } }, "com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfigRequest": { @@ -10403,7 +10403,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Registers the user in the specified user pool and creates a user name, password, and\n user attributes.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Registers the user in the specified user pool and creates a user name, password, and\n user attributes.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -10464,7 +10464,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the SignUp API action, Amazon Cognito invokes any functions that are\n assigned to the following triggers: pre sign-up, custom\n message, and post confirmation. When Amazon Cognito\n invokes any of these functions, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your SignUp request. In your\n function code in AWS Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the SignUp API action, Amazon Cognito invokes any functions that are\n assigned to the following triggers: pre sign-up, custom\n message, and post confirmation. When Amazon Cognito\n invokes any of these functions, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your SignUp request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

                                                        \n
                                                      • \n
                                                      \n
                                                      " } } }, @@ -10518,19 +10518,19 @@ "SnsCallerArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.\n This is the ARN of the IAM role in your AWS account which Cognito will use to send SMS\n messages. SMS messages are subject to a spending limit.

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

                                                      The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.\n This is the ARN of the IAM role in your account which Cognito will use to send SMS\n messages. SMS messages are subject to a spending limit.

                                                      ", "smithy.api#required": {} } }, "ExternalId": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

                                                      The external ID is a value that we recommend you use to add security to your IAM role\n which is used to call Amazon SNS to send SMS messages for your user pool. If you provide\n an ExternalId, the Cognito User Pool will include it when attempting to\n assume your IAM role, so that you can set your roles trust policy to require the\n ExternalID. If you use the Cognito Management Console to create a role\n for SMS MFA, Cognito will create a role with the required permissions and a trust policy\n that demonstrates use of the ExternalId.

                                                      \n

                                                      For more information about the ExternalId of a role, see How to use an\n external ID when granting access to your AWS resources to a third\n party\n

                                                      " + "smithy.api#documentation": "

                                                      The external ID is a value that we recommend you use to add security to your IAM role\n which is used to call Amazon SNS to send SMS messages for your user pool. If you provide\n an ExternalId, the Cognito User Pool will include it when attempting to\n assume your IAM role, so that you can set your roles trust policy to require the\n ExternalID. If you use the Cognito Management Console to create a role\n for SMS MFA, Cognito will create a role with the required permissions and a trust policy\n that demonstrates use of the ExternalId.

                                                      \n

                                                      For more information about the ExternalId of a role, see How to use an\n external ID when granting access to your Amazon Web Services resources to a third\n party\n

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

                                                      The SMS configuration type that includes the settings the Cognito User Pool needs to\n call for the Amazon SNS service to send an SMS message from your AWS account. The\n Cognito User Pool makes the request to the Amazon SNS Service by using an AWS IAM role\n that you provide for your AWS account.

                                                      " + "smithy.api#documentation": "

                                                      The SMS configuration type that includes the settings the Cognito User Pool needs to\n call for the Amazon SNS service to send an SMS message from your account. The\n Cognito User Pool makes the request to the Amazon SNS Service by using an IAM role\n that you provide for your account.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#SmsMfaConfigType": { @@ -11036,12 +11036,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service returns an unexpected AWS Lambda\n exception.

                                                      " + "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service returns an unexpected Lambda\n exception.

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

                                                      This exception is thrown when the Amazon Cognito service encounters an unexpected\n exception with the AWS Lambda service.

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

                                                      This exception is thrown when the Amazon Cognito service encounters an unexpected\n exception with the Lambda service.

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

                                                      Updates the specified group with the specified attributes.

                                                      \n

                                                      Calling this action requires developer credentials.

                                                      \n \n

                                                      If you don't provide a value for an attribute, it will be set to the default\n value.

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

                                                      Updates the specified group with the specified attributes.

                                                      \n

                                                      Calling this action requires developer credentials.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#UpdateGroupRequest": { @@ -11605,7 +11605,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

                                                      Allows a user to update a specific attribute (one at a time).

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Allows a user to update a specific attribute (one at a time).

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      ", "smithy.api#optionalAuth": {} } }, @@ -11629,7 +11629,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request.\n In your function code in AWS Lambda, you can process the clientMetadata\n value to enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

                                                      \n

                                                      You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request.\n In your function code in Lambda, you can process the clientMetadata\n value to enhance your workflow for your specific needs.

                                                      \n

                                                      For more information, see Customizing User Pool Workflows with Lambda Triggers in the\n Amazon Cognito Developer Guide.

                                                      \n \n

                                                      Take the following limitations into consideration when you use the ClientMetadata\n parameter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon Cognito does not store the ClientMetadata value. This data is\n available only to Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not validate the ClientMetadata value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.

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

                                                      Updates the specified user pool with the specified attributes. You can get a list of\n the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default\n value.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other AWS\n service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

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

                                                      Updates the specified user pool with the specified attributes. You can get a list of\n the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default\n value.

                                                      \n \n \n

                                                      This action might generate an SMS text message. Starting June 1, 2021, U.S. \n telecom carriers require that you register an origination phone number before you can \n send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, \n you must register a phone number with Amazon Pinpoint. \n Cognito will use the the registered number automatically. Otherwise, Cognito users that must\n receive SMS messages might be unable to sign up, activate their accounts, or sign\n in.

                                                      \n

                                                      If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In \n sandbox\n mode\n , you’ll have limitations, such as sending messages\n to only verified phone numbers. After testing in the sandbox environment, you can\n move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon\n Cognito Developer Guide.

                                                      \n
                                                      " } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClient": { @@ -11834,7 +11834,7 @@ "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

                                                      " + "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

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

                                                      Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user\n pool.

                                                      \n

                                                      You can use this operation to provide the Amazon Resource Name (ARN) of a new\n certificate to Amazon Cognito. You cannot use it to change the domain for a user\n pool.

                                                      \n

                                                      A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up\n and sign-in pages for your application. When you set up a custom domain, you provide a\n certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can\n use this operation to change the certificate that you applied to your custom\n domain.

                                                      \n

                                                      Usually, this is unnecessary following routine certificate renewal with ACM. When you\n renew your existing certificate in ACM, the ARN for your certificate remains the same,\n and your custom domain uses the new certificate automatically.

                                                      \n

                                                      However, if you replace your existing certificate with a new one, ACM gives the new\n certificate a new ARN. To apply the new certificate to your custom domain, you must\n provide this ARN to Amazon Cognito.

                                                      \n

                                                      When you add your new certificate in ACM, you must choose US East (N. Virginia) as the\n AWS Region.

                                                      \n

                                                      After you submit your request, Amazon Cognito requires up to 1 hour to distribute your\n new certificate to your custom domain.

                                                      \n

                                                      For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

                                                      " + "smithy.api#documentation": "

                                                      Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user\n pool.

                                                      \n

                                                      You can use this operation to provide the Amazon Resource Name (ARN) of a new\n certificate to Amazon Cognito. You cannot use it to change the domain for a user\n pool.

                                                      \n

                                                      A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up\n and sign-in pages for your application. When you set up a custom domain, you provide a\n certificate that you manage with Certificate Manager (ACM). When necessary, you can\n use this operation to change the certificate that you applied to your custom\n domain.

                                                      \n

                                                      Usually, this is unnecessary following routine certificate renewal with ACM. When you\n renew your existing certificate in ACM, the ARN for your certificate remains the same,\n and your custom domain uses the new certificate automatically.

                                                      \n

                                                      However, if you replace your existing certificate with a new one, ACM gives the new\n certificate a new ARN. To apply the new certificate to your custom domain, you must\n provide this ARN to Amazon Cognito.

                                                      \n

                                                      When you add your new certificate in ACM, you must choose US East (N. Virginia) as the\n Region.

                                                      \n

                                                      After you submit your request, Amazon Cognito requires up to 1 hour to distribute your\n new certificate to your custom domain.

                                                      \n

                                                      For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

                                                      " } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainRequest": { @@ -11971,7 +11971,7 @@ "LambdaConfig": { "target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType", "traits": { - "smithy.api#documentation": "

                                                      The AWS Lambda configuration information from the request to update the user\n pool.

                                                      " + "smithy.api#documentation": "

                                                      The Lambda configuration information from the request to update the user\n pool.

                                                      " } }, "AutoVerifiedAttributes": { @@ -12272,12 +12272,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service returns a user validation\n exception with the AWS Lambda service.

                                                      " + "smithy.api#documentation": "

                                                      The message returned when the Amazon Cognito service returns a user validation\n exception with the Lambda service.

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

                                                      This exception is thrown when the Amazon Cognito service encounters a user validation\n exception with the AWS Lambda service.

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

                                                      This exception is thrown when the Amazon Cognito service encounters a user validation\n exception with the Lambda service.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -12494,7 +12494,7 @@ "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by AWS are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

                                                      " + "smithy.api#documentation": "

                                                      The allowed OAuth scopes. Possible values provided by OAuth are: phone,\n email, openid, and profile. Possible values\n provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

                                                      " } }, "AllowedOAuthFlowsUserPoolClient": { @@ -12545,7 +12545,7 @@ "LambdaConfig": { "target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType", "traits": { - "smithy.api#documentation": "

                                                      The AWS Lambda configuration information in a user pool description.

                                                      " + "smithy.api#documentation": "

                                                      The Lambda configuration information in a user pool description.

                                                      " } }, "Status": { @@ -12682,7 +12682,7 @@ "LambdaConfig": { "target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType", "traits": { - "smithy.api#documentation": "

                                                      The AWS Lambda triggers associated with the user pool.

                                                      " + "smithy.api#documentation": "

                                                      The Lambda triggers associated with the user pool.

                                                      " } }, "Status": { @@ -12796,7 +12796,7 @@ "SmsConfigurationFailure": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

                                                      The reason why the SMS configuration cannot send the messages to your users.

                                                      \n

                                                      This message might include comma-separated values to describe why your SMS configuration\n can't send messages to user pool end users.

                                                      \n \n
                                                        \n
                                                      • \n

                                                        InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send\n SMS messages is not properly configured. For more information, see SmsConfigurationType.

                                                        \n
                                                      • \n
                                                      • \n

                                                        SNSSandbox - The AWS account is in SNS Sandbox and messages won’t reach\n unverified end users. This parameter won’t get populated\n with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions.\n To learn how to move your AWS account out of the sandbox, see Moving out of the SMS sandbox.

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

                                                      The reason why the SMS configuration cannot send the messages to your users.

                                                      \n

                                                      This message might include comma-separated values to describe why your SMS configuration\n can't send messages to user pool end users.

                                                      \n \n
                                                        \n
                                                      • \n

                                                        InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send\n SMS messages is not properly configured. For more information, see SmsConfigurationType.

                                                        \n
                                                      • \n
                                                      • \n

                                                        SNSSandbox - The account is in SNS Sandbox and messages won’t reach\n unverified end users. This parameter won’t get populated\n with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions.\n To learn how to move your account out of the sandbox, see Moving out of the SMS sandbox.

                                                        \n
                                                      • \n
                                                      " } }, "EmailConfigurationFailure": { diff --git a/codegen/sdk-codegen/aws-models/database-migration-service.2016-01-01.json b/codegen/sdk-codegen/aws-models/database-migration-service.2016-01-01.json index a66c788900162..ca224f16b6dda 100644 --- a/codegen/sdk-codegen/aws-models/database-migration-service.2016-01-01.json +++ b/codegen/sdk-codegen/aws-models/database-migration-service.2016-01-01.json @@ -40,7 +40,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      AWS DMS was denied access to the endpoint. Check that the \n role is correctly configured.

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

                                                      DMS was denied access to the endpoint. Check that the \n role is correctly configured.

                                                      ", "smithy.api#error": "client" } }, @@ -50,7 +50,7 @@ "AccountQuotaName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the AWS DMS quota for this AWS account.

                                                      " + "smithy.api#documentation": "

                                                      The name of the DMS quota for this account.

                                                      " } }, "Used": { @@ -67,7 +67,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a quota for an AWS account, for example, the number of replication instances\n allowed.

                                                      " + "smithy.api#documentation": "

                                                      Describes a quota for an account, for example the number of replication instances\n allowed.

                                                      " } }, "com.amazonaws.databasemigrationservice#AccountQuotaList": { @@ -93,7 +93,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,\n security group, and migration task. These tags can also be used with cost allocation\n reporting to track cost associated with DMS resources, or used in a Condition statement in\n an IAM policy for DMS. For more information, see \n Tag\n data type description.

                                                      " + "smithy.api#documentation": "

                                                      Adds metadata tags to an DMS resource, including replication instance, endpoint,\n security group, and migration task. These tags can also be used with cost allocation\n reporting to track cost associated with DMS resources, or used in a Condition statement in\n an IAM policy for DMS. For more information, see \n Tag\n data type description.

                                                      " } }, "com.amazonaws.databasemigrationservice#AddTagsToResourceMessage": { @@ -102,7 +102,7 @@ "ResourceArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

                                                      \n

                                                      For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.

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

                                                      Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

                                                      \n

                                                      For DMS, you can tag a replication instance, an endpoint, or a replication task.

                                                      ", "smithy.api#required": {} } }, @@ -115,7 +115,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Associates a set of tags with an AWS DMS resource.

                                                      " + "smithy.api#documentation": "

                                                      Associates a set of tags with an DMS resource.

                                                      " } }, "com.amazonaws.databasemigrationservice#AddTagsToResourceResponse": { @@ -307,7 +307,7 @@ "name": "dms" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Database Migration Service\n

                                                      AWS Database Migration Service (AWS DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.

                                                      \n

                                                      For more information about AWS DMS, see What Is AWS Database Migration Service?\n in the AWS Database Migration User Guide.\n

                                                      ", + "smithy.api#documentation": "Database Migration Service\n

                                                      Database Migration Service (DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.

                                                      \n

                                                      For more information about DMS, see What Is Database Migration Service?\n in the Database Migration Service User Guide.\n

                                                      ", "smithy.api#title": "AWS Database Migration Service", "smithy.api#xmlNamespace": { "uri": "http://dms.amazonaws.com/doc/2016-01-01/" @@ -337,7 +337,7 @@ "ReplicationInstanceArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the AWS DMS resource that the pending maintenance\n action applies to.

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

                                                      The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance\n action applies to.

                                                      ", "smithy.api#required": {} } }, @@ -366,7 +366,7 @@ "ResourcePendingMaintenanceActions": { "target": "com.amazonaws.databasemigrationservice#ResourcePendingMaintenanceActions", "traits": { - "smithy.api#documentation": "

                                                      The AWS DMS resource that the pending maintenance action will be applied to.

                                                      " + "smithy.api#documentation": "

                                                      The DMS resource that the pending maintenance action will be applied to.

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

                                                      The name of an Availability Zone for use during database migration.\n AvailabilityZone is an optional parameter to the \n CreateReplicationInstance\n operation, and it’s value relates to\n the AWS Region of an endpoint. For example, the availability zone of an endpoint in the\n us-east-1 region might be us-east-1a, us-east-1b, us-east-1c, or us-east-1d.

                                                      " + "smithy.api#documentation": "

                                                      The name of an Availability Zone for use during database migration.\n AvailabilityZone is an optional parameter to the \n CreateReplicationInstance\n operation, and it’s value relates to\n the Region of an endpoint. For example, the availability zone of an endpoint in the\n us-east-1 region might be us-east-1a, us-east-1b, us-east-1c, or us-east-1d.

                                                      " } }, "com.amazonaws.databasemigrationservice#AvailabilityZonesList": { @@ -688,7 +688,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an endpoint using the provided settings.

                                                      " + "smithy.api#documentation": "

                                                      Creates an endpoint using the provided settings.

                                                      \n \n

                                                      For a MySQL source or target endpoint, don't explicitly specify the database using\n the DatabaseName request parameter on the CreateEndpoint API call.\n Specifying DatabaseName when you create a MySQL endpoint replicates all the\n task tables to this single database. For MySQL endpoints, you specify the database only when\n you specify the schema in the table-mapping rules of the DMS task.

                                                      \n
                                                      " } }, "com.amazonaws.databasemigrationservice#CreateEndpointMessage": { @@ -742,19 +742,19 @@ "DatabaseName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the endpoint database.

                                                      " + "smithy.api#documentation": "

                                                      The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

                                                      " } }, "ExtraConnectionAttributes": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Additional attributes associated with the connection. Each attribute is specified as a\n name-value pair associated by an equal sign (=). Multiple attributes are separated by a\n semicolon (;) with no additional white space. For information on the attributes available\n for connecting your source or target endpoint, see Working with\n AWS DMS Endpoints in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Additional attributes associated with the connection. Each attribute is specified as a\n name-value pair associated by an equal sign (=). Multiple attributes are separated by a\n semicolon (;) with no additional white space. For information on the attributes available\n for connecting your source or target endpoint, see Working with\n DMS Endpoints in the Database Migration Service User\n Guide.\n

                                                      " } }, "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key.

                                                      \n

                                                      AWS KMS creates the default encryption key for your AWS account. Your AWS account has a\n different default encryption key for each AWS Region.

                                                      " + "smithy.api#documentation": "

                                                      An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key.

                                                      \n

                                                      KMS creates the default encryption key for your account. Your account has a\n different default encryption key for each Region.

                                                      " } }, "Tags": { @@ -778,7 +778,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the service access role that you want to use to\n create the endpoint.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the service access role that you want to use to\n create the endpoint. The role must allow the iam:PassRole action.

                                                      " } }, "ExternalTableDefinition": { @@ -790,49 +790,49 @@ "DynamoDbSettings": { "target": "com.amazonaws.databasemigrationservice#DynamoDbSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other \n available settings, see Using Object Mapping to Migrate\n Data to DynamoDB in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other \n available settings, see Using Object Mapping to Migrate\n Data to DynamoDB in the Database Migration Service User\n Guide.\n

                                                      " } }, "S3Settings": { "target": "com.amazonaws.databasemigrationservice#S3Settings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon S3 endpoint. For more information about\n the available settings, see Extra\n Connection Attributes When Using Amazon S3 as a Target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon S3 endpoint. For more information about\n the available settings, see Extra\n Connection Attributes When Using Amazon S3 as a Target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "DmsTransferSettings": { "target": "com.amazonaws.databasemigrationservice#DmsTransferSettings", "traits": { - "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Possible settings include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ServiceAccessRoleArn - The IAM role that has permission to access the\n Amazon S3 bucket.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n CompressionType - An optional parameter to use GZIP to compress the\n target files. To use GZIP, set this value to NONE (the default). To keep\n the files uncompressed, don't use this value.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows:\n ServiceAccessRoleArn=string,BucketName=string,CompressionType=string\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\":\n \"string\", \"BucketName\": \"string\", \"CompressionType\": \"none\"|\"gzip\" } \n

                                                      " + "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Possible settings include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ServiceAccessRoleArn - The IAM role that has permission to access the\n Amazon S3 bucket. The role must allow the iam:PassRole action.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows:\n ServiceAccessRoleArn=string,BucketName=string\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\":\n \"string\", \"BucketName\": \"string\", } \n

                                                      " } }, "MongoDbSettings": { "target": "com.amazonaws.databasemigrationservice#MongoDbSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source MongoDB endpoint. For more information about the\n available settings, see Using MongoDB as a Target for AWS Database Migration Service in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source MongoDB endpoint. For more information about the\n available settings, see Endpoint configuration settings\n when using MongoDB as a source for Database Migration Service in the\n Database Migration Service User Guide.\n

                                                      " } }, "KinesisSettings": { "target": "com.amazonaws.databasemigrationservice#KinesisSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For\n more information about the available settings, see Using Amazon Kinesis Data Streams \n as a Target for AWS Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For\n more information about the available settings, see Using object mapping to\n migrate data to a Kinesis data stream in the Database Migration Service User Guide.\n

                                                      " } }, "KafkaSettings": { "target": "com.amazonaws.databasemigrationservice#KafkaSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Apache Kafka endpoint. For more information about\n the available settings, see Using Apache Kafka as a Target for \n AWS Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Apache Kafka endpoint. For more information about\n the available settings, see Using object mapping\n to migrate data to a Kafka topic in the Database Migration Service User\n Guide.\n

                                                      " } }, "ElasticsearchSettings": { "target": "com.amazonaws.databasemigrationservice#ElasticsearchSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Elasticsearch endpoint. For more information\n about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in\n the AWS Database Migration Service User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Elasticsearch endpoint. For more information\n about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in\n the Database Migration Service User Guide.

                                                      " } }, "NeptuneSettings": { "target": "com.amazonaws.databasemigrationservice#NeptuneSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon Neptune endpoint.\n For more information\n about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target \n in the AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon Neptune endpoint.\n For more information\n about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target \n in the Database Migration Service User Guide.\n

                                                      " } }, "RedshiftSettings": { @@ -841,43 +841,43 @@ "PostgreSQLSettings": { "target": "com.amazonaws.databasemigrationservice#PostgreSQLSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target PostgreSQL endpoint. For information\n about other available settings, see Extra connection\n attributes when using PostgreSQL as a source for AWS DMS and \n Extra connection attributes when using PostgreSQL as a target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target PostgreSQL endpoint. For information\n about other available settings, see Extra connection\n attributes when using PostgreSQL as a source for DMS and \n Extra connection attributes when using PostgreSQL as a target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "MySQLSettings": { "target": "com.amazonaws.databasemigrationservice#MySQLSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target MySQL endpoint. For information about\n other available settings, see Extra connection attributes \n when using MySQL as a source for AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in\n the AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target MySQL endpoint. For information about\n other available settings, see Extra connection attributes \n when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in\n the Database Migration Service User Guide.\n

                                                      " } }, "OracleSettings": { "target": "com.amazonaws.databasemigrationservice#OracleSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Oracle endpoint. For information about\n other available settings, see Extra connection attributes \n when using Oracle as a source for AWS DMS and \n \n Extra connection attributes when using Oracle as a target for AWS DMS \n in the AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Oracle endpoint. For information about\n other available settings, see Extra connection attributes \n when using Oracle as a source for DMS and \n \n Extra connection attributes when using Oracle as a target for DMS \n in the Database Migration Service User Guide.\n

                                                      " } }, "SybaseSettings": { "target": "com.amazonaws.databasemigrationservice#SybaseSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target SAP ASE endpoint. For information\n about other available settings, see Extra connection attributes\n when using SAP ASE as a source for AWS DMS and Extra connection attributes\n when using SAP ASE as a target for AWS DMS in the AWS Database\n Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target SAP ASE endpoint. For information\n about other available settings, see Extra connection attributes\n when using SAP ASE as a source for DMS and Extra connection attributes\n when using SAP ASE as a target for DMS in the Database Migration Service\n User Guide.\n

                                                      " } }, "MicrosoftSQLServerSettings": { "target": "com.amazonaws.databasemigrationservice#MicrosoftSQLServerSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Microsoft SQL Server endpoint. For\n information about other available settings, see Extra connection\n attributes when using SQL Server as a source for AWS DMS and \n Extra connection attributes when using SQL Server as a target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Microsoft SQL Server endpoint. For\n information about other available settings, see Extra connection\n attributes when using SQL Server as a source for DMS and \n Extra connection attributes when using SQL Server as a target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "IBMDb2Settings": { "target": "com.amazonaws.databasemigrationservice#IBMDb2Settings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other\n available settings, see Extra connection attributes\n when using Db2 LUW as a source for AWS DMS in the AWS Database\n Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other\n available settings, see Extra connection attributes\n when using Db2 LUW as a source for DMS in the Database Migration Service\n User Guide.\n

                                                      " } }, "ResourceIdentifier": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, AWS DMS generates a default identifier\n value for the end of EndpointArn.

                                                      " + "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, DMS generates a default identifier\n value for the end of EndpointArn.

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

                                                      Creates an AWS DMS event notification subscription.

                                                      \n

                                                      You can specify the type of source (SourceType) you want to be notified of,\n provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and\n provide a list of event categories (EventCategories) for events you want to be\n notified of. If you specify both the SourceType and SourceIds,\n such as SourceType = replication-instance and SourceIdentifier =\n my-replinstance, you will be notified of all the replication instance events for\n the specified source. If you specify a SourceType but don't specify a\n SourceIdentifier, you receive notice of the events for that source type for\n all your AWS DMS sources. If you don't specify either SourceType nor\n SourceIdentifier, you will be notified of events generated from all AWS DMS\n sources belonging to your customer account.

                                                      \n

                                                      For more information about AWS DMS events, see Working with Events and\n Notifications in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Creates an DMS event notification subscription.

                                                      \n

                                                      You can specify the type of source (SourceType) you want to be notified of,\n provide a list of DMS source IDs (SourceIds) that triggers the events, and\n provide a list of event categories (EventCategories) for events you want to be\n notified of. If you specify both the SourceType and SourceIds,\n such as SourceType = replication-instance and SourceIdentifier =\n my-replinstance, you will be notified of all the replication instance events for\n the specified source. If you specify a SourceType but don't specify a\n SourceIdentifier, you receive notice of the events for that source type for\n all your DMS sources. If you don't specify either SourceType nor\n SourceIdentifier, you will be notified of events generated from all DMS\n sources belonging to your customer account.

                                                      \n

                                                      For more information about DMS events, see Working with Events and\n Notifications in the Database Migration Service User\n Guide.\n

                                                      " } }, "com.amazonaws.databasemigrationservice#CreateEventSubscriptionMessage": { @@ -952,7 +952,7 @@ "SubscriptionName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the AWS DMS event notification subscription. This name must be less than 255 characters.

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

                                                      The name of the DMS event notification subscription. This name must be less than 255 characters.

                                                      ", "smithy.api#required": {} } }, @@ -966,19 +966,19 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates the events. For example, if you want to be\n notified of events generated by a replication instance, you set this parameter to\n replication-instance. If this value isn't specified, all events are\n returned.

                                                      \n

                                                      Valid values: replication-instance | replication-task\n

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates the events. For example, if you want to be\n notified of events generated by a replication instance, you set this parameter to\n replication-instance. If this value isn't specified, all events are\n returned.

                                                      \n

                                                      Valid values: replication-instance | replication-task\n

                                                      " } }, "EventCategories": { "target": "com.amazonaws.databasemigrationservice#EventCategoriesList", "traits": { - "smithy.api#documentation": "

                                                      A list of event categories for a source type that you want to subscribe to. For more\n information, see Working with Events and\n Notifications in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      A list of event categories for a source type that you want to subscribe to. For more\n information, see Working with Events and\n Notifications in the Database Migration Service User\n Guide.\n

                                                      " } }, "SourceIds": { "target": "com.amazonaws.databasemigrationservice#SourceIdsList", "traits": { - "smithy.api#documentation": "

                                                      A list of identifiers for which AWS DMS provides notification events.

                                                      \n

                                                      If you don't specify a value, notifications are provided for all sources.

                                                      \n

                                                      If you specify multiple values, they must be of the same type. For example, if you\n specify a database instance ID, then all of the other values must be database instance\n IDs.

                                                      " + "smithy.api#documentation": "

                                                      A list of identifiers for which DMS provides notification events.

                                                      \n

                                                      If you don't specify a value, notifications are provided for all sources.

                                                      \n

                                                      If you specify multiple values, they must be of the same type. For example, if you\n specify a database instance ID, then all of the other values must be database instance\n IDs.

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

                                                      Creates the replication instance using the specified parameters.

                                                      \n

                                                      AWS DMS requires that your account have certain roles with appropriate permissions\n before you can create a replication instance. For information on the required roles, see\n Creating the IAM Roles to Use With the AWS CLI and AWS DMS API. For\n information on the required permissions, see \n IAM Permissions Needed to Use AWS DMS.

                                                      " + "smithy.api#documentation": "

                                                      Creates the replication instance using the specified parameters.

                                                      \n

                                                      DMS requires that your account have certain roles with appropriate permissions\n before you can create a replication instance. For information on the required roles, see\n Creating the IAM Roles to Use With the CLI and DMS API. For\n information on the required permissions, see \n IAM Permissions Needed to Use DMS.

                                                      " } }, "com.amazonaws.databasemigrationservice#CreateReplicationInstanceMessage": { @@ -1075,7 +1075,7 @@ "ReplicationInstanceClass": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right AWS DMS replication instance for your migration.\n

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

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right DMS replication instance for your migration.\n

                                                      ", "smithy.api#required": {} } }, @@ -1088,7 +1088,7 @@ "AvailabilityZone": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Availability Zone where the replication instance will be created. The default\n value is a random, system-chosen Availability Zone in the endpoint's AWS Region, for\n example: us-east-1d\n

                                                      " + "smithy.api#documentation": "

                                                      The Availability Zone where the replication instance will be created. The default\n value is a random, system-chosen Availability Zone in the endpoint's Region, for\n example: us-east-1d\n

                                                      " } }, "ReplicationSubnetGroupIdentifier": { @@ -1100,7 +1100,7 @@ "PreferredMaintenanceWindow": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The weekly time range during which system maintenance can occur, in Universal\n Coordinated Time (UTC).

                                                      \n

                                                      Format: ddd:hh24:mi-ddd:hh24:mi\n

                                                      \n

                                                      Default: A 30-minute window selected at random from an 8-hour block of time per AWS\n Region, occurring on a random day of the week.

                                                      \n

                                                      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

                                                      \n

                                                      Constraints: Minimum 30-minute window.

                                                      " + "smithy.api#documentation": "

                                                      The weekly time range during which system maintenance can occur, in Universal\n Coordinated Time (UTC).

                                                      \n

                                                      Format: ddd:hh24:mi-ddd:hh24:mi\n

                                                      \n

                                                      Default: A 30-minute window selected at random from an 8-hour block of time per Region,\n occurring on a random day of the week.

                                                      \n

                                                      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

                                                      \n

                                                      Constraints: Minimum 30-minute window.

                                                      " } }, "MultiAZ": { @@ -1130,7 +1130,7 @@ "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An AWS KMS key identifier that is used to encrypt the data on the replication\n instance.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key.

                                                      \n

                                                      AWS KMS creates the default encryption key for your AWS account. Your AWS account has a\n different default encryption key for each AWS Region.

                                                      " + "smithy.api#documentation": "

                                                      An KMS key identifier that is used to encrypt the data on the replication\n instance.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key.

                                                      \n

                                                      KMS creates the default encryption key for your account. Your account has a\n different default encryption key for each Region.

                                                      " } }, "PubliclyAccessible": { @@ -1148,7 +1148,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, AWS DMS generates a default identifier\n value for the end of EndpointArn.

                                                      " + "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, DMS generates a default identifier\n value for the end of EndpointArn.

                                                      " } } }, @@ -1324,14 +1324,14 @@ "TableMappings": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The table mappings for the task, in JSON format. For more information, see Using Table\n Mapping to Specify Task Settings in the AWS Database Migration Service User\n Guide.\n

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

                                                      The table mappings for the task, in JSON format. For more information, see Using Table\n Mapping to Specify Task Settings in the Database Migration Service User\n Guide.\n

                                                      ", "smithy.api#required": {} } }, "ReplicationTaskSettings": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Overall settings for the task, in JSON format. For more information, see Specifying Task\n Settings for AWS Database Migration Service Tasks in the AWS Database\n Migration User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Overall settings for the task, in JSON format. For more information, see Specifying Task\n Settings for Database Migration Service Tasks in the Database Migration Service User Guide.\n

                                                      " } }, "CdcStartTime": { @@ -1343,7 +1343,7 @@ "CdcStartPosition": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for AWS DMS.

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

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for DMS.

                                                      \n
                                                      " } }, "CdcStopPosition": { @@ -1361,13 +1361,13 @@ "TaskData": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n Database Migration Service User Guide.\n

                                                      " } }, "ResourceIdentifier": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, AWS DMS generates a default identifier\n value for the end of EndpointArn.

                                                      " + "smithy.api#documentation": "

                                                      A friendly name for the resource identifier at the end of the EndpointArn\n response parameter that is returned in the created Endpoint object. The value\n for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,\n and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,\n and can only begin with a letter, such as Example-App-ARN1. For example, this\n value might result in the EndpointArn value\n arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't\n specify a ResourceIdentifier value, DMS generates a default identifier\n value for the end of EndpointArn.

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

                                                      Deletes an AWS DMS event subscription.

                                                      " + "smithy.api#documentation": "

                                                      Deletes an DMS event subscription.

                                                      " } }, "com.amazonaws.databasemigrationservice#DeleteEventSubscriptionMessage": { @@ -1785,7 +1785,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the record of a single premigration assessment run.

                                                      \n

                                                      This operation removes all metadata that AWS DMS maintains about this assessment run.\n However, the operation leaves untouched all information about this assessment run that is\n stored in your Amazon S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      Deletes the record of a single premigration assessment run.

                                                      \n

                                                      This operation removes all metadata that DMS maintains about this assessment run.\n However, the operation leaves untouched all information about this assessment run that is\n stored in your Amazon S3 bucket.

                                                      " } }, "com.amazonaws.databasemigrationservice#DeleteReplicationTaskAssessmentRunMessage": { @@ -1855,7 +1855,7 @@ "target": "com.amazonaws.databasemigrationservice#DescribeAccountAttributesResponse" }, "traits": { - "smithy.api#documentation": "

                                                      Lists all of the AWS DMS attributes for a customer account. These attributes include AWS\n DMS quotas for the account and a unique account identifier in a particular DMS region. DMS\n quotas include a list of resource quotas supported by the account, such as the number of\n replication instances allowed. The description for each resource quota, includes the quota\n name, current usage toward that quota, and the quota's maximum value. DMS uses the unique\n account identifier to name each artifact used by DMS in the given region.

                                                      \n

                                                      This command does not take any parameters.

                                                      " + "smithy.api#documentation": "

                                                      Lists all of the DMS attributes for a customer account. These attributes include DMS\n quotas for the account and a unique account identifier in a particular DMS region. DMS\n quotas include a list of resource quotas supported by the account, such as the number of\n replication instances allowed. The description for each resource quota, includes the quota\n name, current usage toward that quota, and the quota's maximum value. DMS uses the unique\n account identifier to name each artifact used by DMS in the given region.

                                                      \n

                                                      This command does not take any parameters.

                                                      " } }, "com.amazonaws.databasemigrationservice#DescribeAccountAttributesMessage": { @@ -1877,7 +1877,7 @@ "UniqueAccountIdentifier": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A unique AWS DMS identifier for an account in a particular AWS Region. The value of this\n identifier has the following format: c99999999999. DMS uses this identifier to\n name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket\n for storing task assessment reports in a given AWS Region. The format of this S3 bucket\n name is the following:\n dms-AccountNumber-UniqueAccountIdentifier.\n Here is an example name for this default S3 bucket:\n dms-111122223333-c44445555666.

                                                      \n \n

                                                      AWS DMS supports the UniqueAccountIdentifier parameter in\n versions 3.1.4 and later.

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

                                                      A unique DMS identifier for an account in a particular Region. The value of this\n identifier has the following format: c99999999999. DMS uses this identifier to\n name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket\n for storing task assessment reports in a given Region. The format of this S3 bucket\n name is the following:\n dms-AccountNumber-UniqueAccountIdentifier.\n Here is an example name for this default S3 bucket:\n dms-111122223333-c44445555666.

                                                      \n \n

                                                      DMS supports the UniqueAccountIdentifier parameter in\n versions 3.1.4 and later.

                                                      \n
                                                      " } } }, @@ -1969,7 +1969,7 @@ "IndividualAssessmentNames": { "target": "com.amazonaws.databasemigrationservice#IndividualAssessmentNameList", "traits": { - "smithy.api#documentation": "

                                                      List of names for the individual assessments supported by the premigration assessment\n run that you start based on the specified request parameters. For more information on the\n available individual assessments, including compatibility with different migration task\n configurations, see Working with premigration assessment runs in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      List of names for the individual assessments supported by the premigration assessment\n run that you start based on the specified request parameters. For more information on the\n available individual assessments, including compatibility with different migration task\n configurations, see Working with premigration assessment runs in the\n Database Migration Service User Guide.\n

                                                      " } }, "Marker": { @@ -2373,7 +2373,7 @@ "target": "com.amazonaws.databasemigrationservice#DescribeEventCategoriesResponse" }, "traits": { - "smithy.api#documentation": "

                                                      Lists categories for all event source types, or, if specified, for a specified source\n type. You can see a list of the event categories and source types in Working with Events\n and Notifications in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Lists categories for all event source types, or, if specified, for a specified source\n type. You can see a list of the event categories and source types in Working with Events\n and Notifications in the Database Migration Service User\n Guide.\n

                                                      " } }, "com.amazonaws.databasemigrationservice#DescribeEventCategoriesMessage": { @@ -2382,7 +2382,7 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-task

                                                      " } }, "Filters": { @@ -2438,7 +2438,7 @@ "SubscriptionName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the AWS DMS event subscription to be described.

                                                      " + "smithy.api#documentation": "

                                                      The name of the DMS event subscription to be described.

                                                      " } }, "Filters": { @@ -2493,7 +2493,7 @@ "target": "com.amazonaws.databasemigrationservice#DescribeEventsResponse" }, "traits": { - "smithy.api#documentation": "

                                                      Lists events for a given source identifier and source type. You can also specify a\n start and end time. For more information on AWS DMS events, see Working with Events and\n Notifications in the AWS Database Migration User\n Guide.\n

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

                                                      Lists events for a given source identifier and source type. You can also specify a\n start and end time. For more information on DMS events, see Working with Events and\n Notifications in the Database Migration Service User\n Guide.\n

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -2513,7 +2513,7 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#SourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-task

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

                                                      Returns the task assessment results from Amazon S3. This action always returns the\n latest results.

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

                                                      Returns the task assessment results from the Amazon S3 bucket that DMS creates in your\n account. This action always returns the\n latest results.

                                                      \n

                                                      For more information about DMS task assessments, see \n Creating a task assessment report\n in the \n Database Migration Service User Guide.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -3766,7 +3766,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns table statistics on the database migration task, including table name, rows\n inserted, rows updated, and rows deleted.

                                                      \n

                                                      Note that the \"last updated\" column the DMS console only indicates the time that AWS DMS\n last updated the table statistics record for a table. It does not indicate the time of the\n last update to the table.

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

                                                      Returns table statistics on the database migration task, including table name, rows\n inserted, rows updated, and rows deleted.

                                                      \n

                                                      Note that the \"last updated\" column the DMS console only indicates the time that DMS\n last updated the table statistics record for a table. It does not indicate the time of the\n last update to the table.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -3862,7 +3862,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The IAM role that has permission to access the Amazon S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax,\n such as for the CreateEndpoint and ModifyEndpoint actions,\n the role must allow the iam:PassRole action.

                                                      " } }, "BucketName": { @@ -3930,13 +3930,13 @@ "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS KMS key identifier that is used to encrypt the content on the replication\n instance. If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for\n your AWS account. Your AWS account has a different default encryption key for each AWS\n Region.

                                                      " + "smithy.api#documentation": "

                                                      The KMS key identifier that is used to encrypt the content on the replication\n instance. If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key. KMS creates the default encryption key for\n your account. Your account has a different default encryption key for each Region.

                                                      " } }, "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the DocumentDB endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -3956,13 +3956,13 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by the service access IAM role.

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

                                                      The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

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

                                                      Provides the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM)\n role used to define an Amazon DynamoDB target endpoint.

                                                      " + "smithy.api#documentation": "

                                                      Provides the Amazon Resource Name (ARN) of the Identity and Access Management (IAM)\n role used to define an Amazon DynamoDB target endpoint.

                                                      " } }, "com.amazonaws.databasemigrationservice#ElasticsearchSettings": { @@ -3971,14 +3971,14 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by service to access the IAM role.

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

                                                      The Amazon Resource Name (ARN) used by the service to access the IAM role.\n The role must allow the iam:PassRole action.

                                                      ", "smithy.api#required": {} } }, "EndpointUri": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport \n protocol (http/https) is not specified.

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

                                                      The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport \n protocol (http/https) is not specified.

                                                      ", "smithy.api#required": {} } }, @@ -4099,7 +4099,7 @@ "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key.

                                                      \n

                                                      AWS KMS creates the default encryption key for your AWS account. Your AWS account has a\n different default encryption key for each AWS Region.

                                                      " + "smithy.api#documentation": "

                                                      An KMS key identifier that is used to encrypt the connection parameters for the endpoint.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key.

                                                      \n

                                                      KMS creates the default encryption key for your account. Your account has a\n different default encryption key for each Region.

                                                      " } }, "EndpointArn": { @@ -4123,7 +4123,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by the service access IAM role.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by the service to access the IAM role.\n The role must allow the iam:PassRole action.

                                                      " } }, "ExternalTableDefinition": { @@ -4153,7 +4153,7 @@ "DmsTransferSettings": { "target": "com.amazonaws.databasemigrationservice#DmsTransferSettings", "traits": { - "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Possible settings include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ServiceAccessRoleArn - The IAM role that has permission to access the\n Amazon S3 bucket.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n CompressionType - An optional parameter to use GZIP to compress the\n target files. To use GZIP, set this value to NONE (the default). To keep\n the files uncompressed, don't use this value.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows:\n ServiceAccessRoleArn=string,BucketName=string,CompressionType=string\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\":\n \"string\", \"BucketName\": \"string\", \"CompressionType\": \"none\"|\"gzip\" } \n

                                                      " + "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Possible settings include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ServiceAccessRoleArn - The IAM role that has permission to access the\n Amazon S3 bucket. The role must allow the iam:PassRole action.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows:\n ServiceAccessRoleArn=string,BucketName=string,\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\":\n \"string\", \"BucketName\": \"string\"} \n

                                                      " } }, "MongoDbSettings": { @@ -4233,7 +4233,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes an endpoint of a database instance in response to operations such as the\n following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n CreateEndpoint\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DescribeEndpoint\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DescribeEndpointTypes\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ModifyEndpoint\n

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

                                                      Describes an endpoint of a database instance in response to operations such as the\n following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n CreateEndpoint\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DescribeEndpoint\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ModifyEndpoint\n

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.databasemigrationservice#EndpointList": { @@ -4295,6 +4295,12 @@ "traits": { "smithy.api#documentation": "

                                                      The maximum value of an endpoint setting that is of type int.

                                                      " } + }, + "DefaultValue": { + "target": "com.amazonaws.databasemigrationservice#String", + "traits": { + "smithy.api#documentation": "

                                                      The default value of the endpoint setting if no value is specified using CreateEndpoint or ModifyEndpoint.

                                                      " + } } }, "traits": { @@ -4348,7 +4354,7 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#SourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | endpoint | replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | endpoint | replication-task

                                                      " } }, "Message": { @@ -4371,7 +4377,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes an identifiable significant activity that affects a replication instance or\n task. This object can provide the message, the available event categories, the date and\n source of the event, and the AWS DMS resource type.

                                                      " + "smithy.api#documentation": "

                                                      Describes an identifiable significant activity that affects a replication instance or\n task. This object can provide the message, the available event categories, the date and\n source of the event, and the DMS resource type.

                                                      " } }, "com.amazonaws.databasemigrationservice#EventCategoriesList": { @@ -4389,7 +4395,7 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-server | security-group |\n replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-server | security-group |\n replication-task

                                                      " } }, "EventCategories": { @@ -4400,7 +4406,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Lists categories of events subscribed to, and generated by, the applicable AWS DMS\n resource type. This data type appears in response to the \n \n DescribeEventCategories\n \n action.

                                                      " + "smithy.api#documentation": "

                                                      Lists categories of events subscribed to, and generated by, the applicable DMS\n resource type. This data type appears in response to the \n \n DescribeEventCategories\n \n action.

                                                      " } }, "com.amazonaws.databasemigrationservice#EventCategoryGroupList": { @@ -4427,37 +4433,37 @@ "CustomerAwsId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS customer account associated with the AWS DMS event notification\n subscription.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services customer account associated with the DMS event notification\n subscription.

                                                      " } }, "CustSubscriptionId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS DMS event notification subscription Id.

                                                      " + "smithy.api#documentation": "

                                                      The DMS event notification subscription Id.

                                                      " } }, "SnsTopicArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The topic ARN of the AWS DMS event notification subscription.

                                                      " + "smithy.api#documentation": "

                                                      The topic ARN of the DMS event notification subscription.

                                                      " } }, "Status": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The status of the AWS DMS event notification subscription.

                                                      \n

                                                      Constraints:

                                                      \n

                                                      Can be one of the following: creating | modifying | deleting | active | no-permission |\n topic-not-exist

                                                      \n

                                                      The status \"no-permission\" indicates that AWS DMS no longer has permission to post to\n the SNS topic. The status \"topic-not-exist\" indicates that the topic was deleted after the\n subscription was created.

                                                      " + "smithy.api#documentation": "

                                                      The status of the DMS event notification subscription.

                                                      \n

                                                      Constraints:

                                                      \n

                                                      Can be one of the following: creating | modifying | deleting | active | no-permission |\n topic-not-exist

                                                      \n

                                                      The status \"no-permission\" indicates that DMS no longer has permission to post to\n the SNS topic. The status \"topic-not-exist\" indicates that the topic was deleted after the\n subscription was created.

                                                      " } }, "SubscriptionCreationTime": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The time the AWS DMS event notification subscription was created.

                                                      " + "smithy.api#documentation": "

                                                      The time the DMS event notification subscription was created.

                                                      " } }, "SourceType": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-server | security-group |\n replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates events.

                                                      \n

                                                      Valid values: replication-instance | replication-server | security-group |\n replication-task

                                                      " } }, "SourceIdsList": { @@ -4520,7 +4526,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Identifies the name and value of a filter object. This filter is used to limit the\n number and type of AWS DMS objects that are returned for a particular\n Describe* call or similar operation. Filters are used as an optional\n parameter for certain API operations.

                                                      " + "smithy.api#documentation": "

                                                      Identifies the name and value of a filter object. This filter is used to limit the\n number and type of DMS objects that are returned for a particular\n Describe* call or similar operation. Filters are used as an optional\n parameter for certain API operations.

                                                      " } }, "com.amazonaws.databasemigrationservice#FilterList": { @@ -4559,7 +4565,7 @@ "Port": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Endpoint TCP port.

                                                      " + "smithy.api#documentation": "

                                                      Endpoint TCP port. The default value is 50000.

                                                      " } }, "ServerName": { @@ -4595,7 +4601,7 @@ "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of\n the AWS Secrets Manager secret that allows access to the Db2 LUW endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of\n the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -4651,7 +4657,7 @@ "CertificateWallet": { "target": "com.amazonaws.databasemigrationservice#CertificateWallet", "traits": { - "smithy.api#documentation": "

                                                      The location of an imported Oracle Wallet certificate for use with SSL.

                                                      " + "smithy.api#documentation": "

                                                      The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file\n using the fileb:// prefix. You can't provide the certificate inline.\n

                                                      " } }, "Tags": { @@ -4783,7 +4789,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An AWS Key Management Service (AWS KMS) error is preventing access to AWS KMS.

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

                                                      An Key Management Service (KMS) error is preventing access to KMS.

                                                      ", "smithy.api#error": "client" } }, @@ -4795,7 +4801,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The state of the specified AWS KMS resource isn't valid for this request.

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

                                                      The state of the specified KMS resource isn't valid for this request.

                                                      ", "smithy.api#error": "client" } }, @@ -4810,7 +4816,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      AWS DMS cannot access the AWS KMS key.

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

                                                      DMS cannot access the KMS key.

                                                      ", "smithy.api#error": "client" } }, @@ -4822,7 +4828,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified AWS KMS entity or resource can't be found.

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

                                                      The specified KMS entity or resource can't be found.

                                                      ", "smithy.api#error": "client" } }, @@ -4834,7 +4840,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      This request triggered AWS KMS request throttling.

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

                                                      This request triggered KMS request throttling.

                                                      ", "smithy.api#error": "client" } }, @@ -4867,13 +4873,13 @@ "Broker": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A comma-separated list of one or more broker locations in your Kafka cluster that host your Kafka instance. Specify each broker location\n in the form \n broker-hostname-or-ip:port\n . For example, \"ec2-12-345-678-901.compute-1.amazonaws.com:2345\".\n For more information and examples of specifying a list of broker locations,\n see Using Apache Kafka as a target for AWS Database Migration Service\n in the AWS Data Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      A comma-separated list of one or more broker locations in your Kafka cluster that host your Kafka instance. Specify each broker location\n in the form \n broker-hostname-or-ip:port\n . For example, \"ec2-12-345-678-901.compute-1.amazonaws.com:2345\".\n For more information and examples of specifying a list of broker locations,\n see Using Apache Kafka as a target for Database Migration Service\n in the Database Migration Service User Guide.\n

                                                      " } }, "Topic": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The topic to which you migrate the data. If you don't specify a topic, AWS DMS\n specifies \"kafka-default-topic\" as the migration topic.

                                                      " + "smithy.api#documentation": "

                                                      The topic to which you migrate the data. If you don't specify a topic, DMS\n specifies \"kafka-default-topic\" as the migration topic.

                                                      " } }, "MessageFormat": { @@ -4891,7 +4897,7 @@ "IncludePartitionValue": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      Shows the partition value within the Kafka message output, unless the partition type is\n schema-table-type. The default is false.

                                                      " + "smithy.api#documentation": "

                                                      Shows the partition value within the Kafka message output unless the partition type is\n schema-table-type. The default is false.

                                                      " } }, "PartitionIncludeSchemaTable": { @@ -4951,13 +4957,13 @@ "SslCaCertificateArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the private Certification Authority (CA) cert that AWS DMS uses \n to securely connect to your Kafka target endpoint.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the private Certification Authority (CA) cert that DMS uses \n to securely connect to your Kafka target endpoint.

                                                      " } }, "SaslUsername": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The secure username you created when you first set up your MSK cluster to validate a client identity and \n make an encrypted connection between server and client using SASL-SSL authentication.

                                                      " + "smithy.api#documentation": "

                                                      The secure user name you created when you first set up your MSK cluster to validate a\n client identity and make an encrypted connection between server and client using SASL-SSL\n authentication.

                                                      " } }, "SaslPassword": { @@ -4965,6 +4971,12 @@ "traits": { "smithy.api#documentation": "

                                                      The secure password you created when you first set up your MSK cluster to validate a client identity and \n make an encrypted connection between server and client using SASL-SSL authentication.

                                                      " } + }, + "NoHexPrefix": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      If this attribute is Y, it allows hexadecimal values that don't have the\n 0x prefix when migrated to a Kafka target. If this attribute is N, all\n hexadecimal values include this prefix when migrated to Kafka.

                                                      " + } } }, "traits": { @@ -4995,7 +5007,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role\n that AWS DMS uses to write to the Kinesis data stream.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the IAM role\n that DMS uses to write to the Kinesis data stream.\n The role must allow the iam:PassRole action.

                                                      " } }, "IncludeTransactionDetails": { @@ -5033,6 +5045,12 @@ "traits": { "smithy.api#documentation": "

                                                      Include NULL and empty columns for records migrated to the endpoint. The default is false.

                                                      " } + }, + "NoHexPrefix": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      If this attribute is Y, it allows hexadecimal values that don't have the\n 0x prefix when migrated to a Kinesis target. If this attribute is N, all\n hexadecimal values include this prefix when migrated to Kinesis.

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

                                                      Lists all metadata tags attached to an AWS DMS resource, including \n replication instance, endpoint, security group, and migration task. \n For more information, see \n Tag\n data type description.

                                                      " + "smithy.api#documentation": "

                                                      Lists all metadata tags attached to an DMS resource, including \n replication instance, endpoint, security group, and migration task. \n For more information, see \n Tag\n data type description.

                                                      " } }, "com.amazonaws.databasemigrationservice#ListTagsForResourceMessage": { @@ -5062,7 +5080,7 @@ "ResourceArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS\n resource.

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

                                                      The Amazon Resource Name (ARN) string that uniquely identifies the DMS\n resource.

                                                      ", "smithy.api#required": {} } } @@ -5127,7 +5145,7 @@ "ControlTablesFileGroup": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Specifies a file group for the AWS DMS internal tables. When the replication task\n starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply,\n awsdms_changes) are created for the specified file group.

                                                      " + "smithy.api#documentation": "

                                                      Specifies a file group for the DMS internal tables. When the replication task\n starts, all the internal DMS control tables (awsdms_ apply_exception, awsdms_apply,\n awsdms_changes) are created for the specified file group.

                                                      " } }, "Password": { @@ -5145,13 +5163,13 @@ "ReadBackupOnly": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      When this attribute is set to Y, AWS DMS only reads changes\n from transaction log backups and doesn't read from the\n active transaction log file during ongoing replication. Setting\n this parameter to Y enables you to control active transaction\n log file growth during full load and ongoing replication\n tasks. However, it can add some source latency to ongoing\n replication.

                                                      " + "smithy.api#documentation": "

                                                      When this attribute is set to Y, DMS only reads changes\n from transaction log backups and doesn't read from the\n active transaction log file during ongoing replication. Setting\n this parameter to Y enables you to control active transaction\n log file growth during full load and ongoing replication\n tasks. However, it can add some source latency to ongoing\n replication.

                                                      " } }, "SafeguardPolicy": { "target": "com.amazonaws.databasemigrationservice#SafeguardPolicy", "traits": { - "smithy.api#documentation": "

                                                      Use this attribute to minimize the need to access the\n backup log and enable AWS DMS to prevent truncation using one of the\n following two methods.

                                                      \n

                                                      \n Start transactions in the database: This is the default\n method. When this method is used, AWS DMS prevents\n TLOG truncation by mimicking a transaction in the database.\n As long as such a transaction is open, changes that appear\n after the transaction started aren't truncated. If you need\n Microsoft Replication to be enabled in your database, then\n you must choose this method.

                                                      \n

                                                      \n Exclusively use sp_repldone within a single task: When\n this method is used, AWS DMS reads the changes and then\n uses sp_repldone to mark the TLOG transactions as ready\n for truncation. Although this method doesn't involve any\n transactional activities, it can only be used when Microsoft\n Replication isn't running. Also, when using this method, only\n one AWS DMS task can access the database at any given\n time. Therefore, if you need to run parallel AWS DMS tasks\n against the same database, use the default method.

                                                      " + "smithy.api#documentation": "

                                                      Use this attribute to minimize the need to access the\n backup log and enable DMS to prevent truncation using one of the\n following two methods.

                                                      \n

                                                      \n Start transactions in the database: This is the default\n method. When this method is used, DMS prevents\n TLOG truncation by mimicking a transaction in the database.\n As long as such a transaction is open, changes that appear\n after the transaction started aren't truncated. If you need\n Microsoft Replication to be enabled in your database, then\n you must choose this method.

                                                      \n

                                                      \n Exclusively use sp_repldone within a single task: When\n this method is used, DMS reads the changes and then\n uses sp_repldone to mark the TLOG transactions as ready\n for truncation. Although this method doesn't involve any\n transactional activities, it can only be used when Microsoft\n Replication isn't running. Also, when using this method, only\n one DMS task can access the database at any given\n time. Therefore, if you need to run parallel DMS tasks\n against the same database, use the default method.

                                                      " } }, "ServerName": { @@ -5181,7 +5199,7 @@ "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the SQL Server endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager\n secret that allows access to the SQL Server endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -5240,7 +5258,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the specified endpoint.

                                                      " + "smithy.api#documentation": "

                                                      Modifies the specified endpoint.

                                                      \n \n

                                                      For a MySQL source or target endpoint, don't explicitly specify the database using\n the DatabaseName request parameter on the ModifyEndpoint API call.\n Specifying DatabaseName when you modify a MySQL endpoint replicates all the\n task tables to this single database. For MySQL endpoints, you specify the database only when\n you specify the schema in the table-mapping rules of the DMS task.

                                                      \n
                                                      " } }, "com.amazonaws.databasemigrationservice#ModifyEndpointMessage": { @@ -5298,7 +5316,7 @@ "DatabaseName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the endpoint database.

                                                      " + "smithy.api#documentation": "

                                                      The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

                                                      " } }, "ExtraConnectionAttributes": { @@ -5322,7 +5340,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the service access role you want to use to modify\n the endpoint.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) for the IAM role you want to use to modify\n the endpoint. The role must allow the iam:PassRole action.

                                                      " } }, "ExternalTableDefinition": { @@ -5334,49 +5352,49 @@ "DynamoDbSettings": { "target": "com.amazonaws.databasemigrationservice#DynamoDbSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other \n available settings, see Using Object Mapping to Migrate\n Data to DynamoDB in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other \n available settings, see Using Object Mapping to Migrate\n Data to DynamoDB in the Database Migration Service User\n Guide.\n

                                                      " } }, "S3Settings": { "target": "com.amazonaws.databasemigrationservice#S3Settings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon S3 endpoint. For more information about\n the available settings, see Extra\n Connection Attributes When Using Amazon S3 as a Target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon S3 endpoint. For more information about\n the available settings, see Extra\n Connection Attributes When Using Amazon S3 as a Target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "DmsTransferSettings": { "target": "com.amazonaws.databasemigrationservice#DmsTransferSettings", "traits": { - "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Attributes include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        serviceAccessRoleArn - The AWS Identity and Access Management (IAM) role that has\n permission to access the Amazon S3 bucket.

                                                        \n
                                                      • \n
                                                      • \n

                                                        BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      • \n

                                                        compressionType - An optional parameter to use GZIP to compress the target files.\n Either set this parameter to NONE (the default) or don't use it to leave the\n files uncompressed.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string\n ,BucketName=string,CompressionType=string\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\": \"string\",\n \"BucketName\": \"string\", \"CompressionType\": \"none\"|\"gzip\" } \n

                                                      " + "smithy.api#documentation": "

                                                      The settings in JSON format for the DMS transfer type of source endpoint.

                                                      \n

                                                      Attributes include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        serviceAccessRoleArn - The Identity and Access Management (IAM) role that has\n permission to access the Amazon S3 bucket. The role must allow the iam:PassRole action.

                                                        \n
                                                      • \n
                                                      • \n

                                                        BucketName - The name of the S3 bucket to use.

                                                        \n
                                                      • \n
                                                      \n

                                                      Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string\n ,BucketName=string\n

                                                      \n

                                                      JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\": \"string\",\n \"BucketName\": \"string\"} \n

                                                      " } }, "MongoDbSettings": { "target": "com.amazonaws.databasemigrationservice#MongoDbSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source MongoDB endpoint. For more information about the\n available settings, see the configuration properties section in Using MongoDB as a Target for AWS\n Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source MongoDB endpoint. For more information about the\n available settings, see the configuration properties section in Endpoint configuration settings\n when using MongoDB as a source for Database Migration Service in the\n Database Migration Service User Guide.\n

                                                      " } }, "KinesisSettings": { "target": "com.amazonaws.databasemigrationservice#KinesisSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For\n more information about the available settings, see Using Amazon Kinesis Data Streams \n as a Target for AWS Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For\n more information about the available settings, see Using object mapping to\n migrate data to a Kinesis data stream in the Database Migration Service User Guide.\n

                                                      " } }, "KafkaSettings": { "target": "com.amazonaws.databasemigrationservice#KafkaSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Apache Kafka endpoint. For more information about\n the available settings, see Using Apache Kafka as a Target for AWS\n Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Apache Kafka endpoint. For more information about\n the available settings, see Using object mapping\n to migrate data to a Kafka topic in the Database Migration Service User Guide.\n

                                                      " } }, "ElasticsearchSettings": { "target": "com.amazonaws.databasemigrationservice#ElasticsearchSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Elasticsearch endpoint. For more information\n about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in\n the AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Elasticsearch endpoint. For more information\n about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in\n the Database Migration Service User Guide.\n

                                                      " } }, "NeptuneSettings": { "target": "com.amazonaws.databasemigrationservice#NeptuneSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon Neptune endpoint. For more information\n about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target \n in the AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the target Amazon Neptune endpoint. For more information\n about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target \n in the Database Migration Service User Guide.\n

                                                      " } }, "RedshiftSettings": { @@ -5385,43 +5403,49 @@ "PostgreSQLSettings": { "target": "com.amazonaws.databasemigrationservice#PostgreSQLSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target PostgreSQL endpoint. For information\n about other available settings, see Extra connection\n attributes when using PostgreSQL as a source for AWS DMS and \n Extra connection attributes when using PostgreSQL as a target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target PostgreSQL endpoint. For information\n about other available settings, see Extra connection\n attributes when using PostgreSQL as a source for DMS and \n Extra connection attributes when using PostgreSQL as a target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "MySQLSettings": { "target": "com.amazonaws.databasemigrationservice#MySQLSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target MySQL endpoint. For information about\n other available settings, see Extra connection\n attributes when using MySQL as a source for AWS DMS and Extra\n connection attributes when using a MySQL-compatible database as a target for AWS\n DMS in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target MySQL endpoint. For information about\n other available settings, see Extra connection\n attributes when using MySQL as a source for DMS and Extra\n connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User\n Guide.\n

                                                      " } }, "OracleSettings": { "target": "com.amazonaws.databasemigrationservice#OracleSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Oracle endpoint. For information about\n other available settings, see Extra connection\n attributes when using Oracle as a source for AWS DMS and \n Extra connection attributes when using Oracle as a target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Oracle endpoint. For information about\n other available settings, see Extra connection\n attributes when using Oracle as a source for DMS and \n Extra connection attributes when using Oracle as a target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "SybaseSettings": { "target": "com.amazonaws.databasemigrationservice#SybaseSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target SAP ASE endpoint. For information\n about other available settings, see Extra connection attributes\n when using SAP ASE as a source for AWS DMS and Extra connection attributes\n when using SAP ASE as a target for AWS DMS in the AWS Database\n Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target SAP ASE endpoint. For information\n about other available settings, see Extra connection attributes\n when using SAP ASE as a source for DMS and Extra connection attributes\n when using SAP ASE as a target for DMS in the Database Migration Service\n User Guide.\n

                                                      " } }, "MicrosoftSQLServerSettings": { "target": "com.amazonaws.databasemigrationservice#MicrosoftSQLServerSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Microsoft SQL Server endpoint. For\n information about other available settings, see Extra connection\n attributes when using SQL Server as a source for AWS DMS and \n Extra connection attributes when using SQL Server as a target for AWS DMS in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source and target Microsoft SQL Server endpoint. For\n information about other available settings, see Extra connection\n attributes when using SQL Server as a source for DMS and \n Extra connection attributes when using SQL Server as a target for DMS in the\n Database Migration Service User Guide.\n

                                                      " } }, "IBMDb2Settings": { "target": "com.amazonaws.databasemigrationservice#IBMDb2Settings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other\n available settings, see Extra connection attributes\n when using Db2 LUW as a source for AWS DMS in the AWS Database\n Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other\n available settings, see Extra connection attributes\n when using Db2 LUW as a source for DMS in the Database Migration Service\n User Guide.\n

                                                      " } }, "DocDbSettings": { "target": "com.amazonaws.databasemigrationservice#DocDbSettings", "traits": { - "smithy.api#documentation": "

                                                      Settings in JSON format for the source DocumentDB endpoint. For more information about the\n available settings, see the configuration properties section in Using DocumentDB as a Target for AWS\n Database Migration Service in the AWS Database Migration Service User\n Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Settings in JSON format for the source DocumentDB endpoint. For more information about the\n available settings, see the configuration properties section in Using DocumentDB as a Target for Database Migration Service\n in the Database Migration Service User\n Guide.\n

                                                      " + } + }, + "ExactSettings": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      If this attribute is Y, the current call to ModifyEndpoint replaces all\n existing endpoint settings with the exact settings that you specify in this call. If this\n attribute is N, the current call to ModifyEndpoint does two things:

                                                      \n
                                                        \n
                                                      • \n

                                                        It replaces any endpoint settings that already exist with new values, for settings with the\n same names.

                                                        \n
                                                      • \n
                                                      • \n

                                                        It creates new endpoint settings that you specify in the call, for settings with different\n names.

                                                        \n
                                                      • \n
                                                      \n

                                                      For example, if you call create-endpoint ... --endpoint-settings '{\"a\":1}'\n ..., the endpoint has the following endpoint settings: '{\"a\":1}'. If\n you then call modify-endpoint ... --endpoint-settings '{\"b\":2}' ... for the\n same endpoint, the endpoint has the following settings: '{\"a\":1,\"b\":2}'.

                                                      \n

                                                      However, suppose that you follow this with a call to modify-endpoint ...\n --endpoint-settings '{\"b\":2}' --exact-settings ... for that same endpoint again.\n Then the endpoint has the following settings: '{\"b\":2}'. All existing settings\n are replaced with the exact settings that you specify.

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

                                                      Modifies an existing AWS DMS event notification subscription.

                                                      " + "smithy.api#documentation": "

                                                      Modifies an existing DMS event notification subscription.

                                                      " } }, "com.amazonaws.databasemigrationservice#ModifyEventSubscriptionMessage": { @@ -5490,7 +5514,7 @@ "SubscriptionName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the AWS DMS event notification subscription to be modified.

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

                                                      The name of the DMS event notification subscription to be modified.

                                                      ", "smithy.api#required": {} } }, @@ -5503,7 +5527,7 @@ "SourceType": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The type of AWS DMS resource that generates the events you want to subscribe to.

                                                      \n

                                                      Valid values: replication-instance | replication-task

                                                      " + "smithy.api#documentation": "

                                                      The type of DMS resource that generates the events you want to subscribe to.

                                                      \n

                                                      Valid values: replication-instance | replication-task

                                                      " } }, "EventCategories": { @@ -5597,7 +5621,7 @@ "ReplicationInstanceClass": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right AWS DMS replication instance for your migration.\n

                                                      " + "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right DMS replication instance for your migration.\n

                                                      " } }, "VpcSecurityGroupIds": { @@ -5633,7 +5657,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that indicates that minor version upgrades are applied automatically to the\n replication instance during the maintenance window. Changing this parameter doesn't result\n in an outage, except in the case described following. The change is asynchronously applied\n as soon as possible.

                                                      \n

                                                      An outage does result if these factors apply:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter is set to true during the maintenance window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A newer minor version is available.

                                                        \n
                                                      • \n
                                                      • \n

                                                        AWS DMS has enabled automatic patching for the given engine version.

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

                                                      A value that indicates that minor version upgrades are applied automatically to the\n replication instance during the maintenance window. Changing this parameter doesn't result\n in an outage, except in the case described following. The change is asynchronously applied\n as soon as possible.

                                                      \n

                                                      An outage does result if these factors apply:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter is set to true during the maintenance window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A newer minor version is available.

                                                        \n
                                                      • \n
                                                      • \n

                                                        DMS has enabled automatic patching for the given engine version.

                                                        \n
                                                      • \n
                                                      " } }, "ReplicationInstanceIdentifier": { @@ -5758,7 +5782,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the specified replication task.

                                                      \n

                                                      You can't modify the task endpoints. The task must be stopped before you can modify it.

                                                      \n

                                                      For more information about AWS DMS tasks, see Working with Migration Tasks in the\n AWS Database Migration Service User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Modifies the specified replication task.

                                                      \n

                                                      You can't modify the task endpoints. The task must be stopped before you can modify it.

                                                      \n

                                                      For more information about DMS tasks, see Working with Migration Tasks in the\n Database Migration Service User Guide.

                                                      " } }, "com.amazonaws.databasemigrationservice#ModifyReplicationTaskMessage": { @@ -5786,7 +5810,7 @@ "TableMappings": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      When using the AWS CLI or boto3, provide the path of the JSON file that contains the\n table mappings. Precede the path with file://. For example, \n --table-mappings file://mappingfile.json. When working with the DMS API, \n provide the JSON as the parameter value. \n

                                                      " + "smithy.api#documentation": "

                                                      When using the CLI or boto3, provide the path of the JSON file that contains the\n table mappings. Precede the path with file://. For example, \n --table-mappings file://mappingfile.json. When working with the DMS API, \n provide the JSON as the parameter value. \n

                                                      " } }, "ReplicationTaskSettings": { @@ -5804,7 +5828,7 @@ "CdcStartPosition": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for AWS DMS.

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

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for DMS.

                                                      \n
                                                      " } }, "CdcStopPosition": { @@ -5816,7 +5840,7 @@ "TaskData": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n Database Migration Service User Guide.\n

                                                      " } } }, @@ -5910,13 +5934,13 @@ "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS KMS key identifier that is used to encrypt the content on the replication\n instance. If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for\n your AWS account. Your AWS account has a different default encryption key for each AWS\n Region.

                                                      " + "smithy.api#documentation": "

                                                      The KMS key identifier that is used to encrypt the content on the replication\n instance. If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key. KMS creates the default encryption key for\n your account. Your account has a different default encryption key for each Region.

                                                      " } }, "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the MongoDB endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -5953,7 +5977,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Moves a replication task from its current replication instance to a different target\n replication instance using the specified parameters. The target replication instance must\n be created with the same or later AWS DMS version as the current replication\n instance.

                                                      " + "smithy.api#documentation": "

                                                      Moves a replication task from its current replication instance to a different target\n replication instance using the specified parameters. The target replication instance must\n be created with the same or later DMS version as the current replication\n instance.

                                                      " } }, "com.amazonaws.databasemigrationservice#MoveReplicationTaskMessage": { @@ -5998,7 +6022,7 @@ "AfterConnectScript": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Specifies a script to run immediately after AWS DMS\n connects to the endpoint. The migration task continues\n running regardless if the SQL statement succeeds or fails.

                                                      " + "smithy.api#documentation": "

                                                      Specifies a script to run immediately after DMS\n connects to the endpoint. The migration task continues\n running regardless if the SQL statement succeeds or fails.

                                                      \n

                                                      For this parameter, provide the code of the script itself, not the name of a file\n containing the script.

                                                      " } }, "CleanSourceMetadataOnMismatch": { @@ -6010,13 +6034,13 @@ "DatabaseName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Database name for the endpoint.

                                                      " + "smithy.api#documentation": "

                                                      Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly\n specify the database using the DatabaseName request parameter on either the\n CreateEndpoint or ModifyEndpoint API call. Specifying\n DatabaseName when you create or modify a MySQL endpoint replicates all the\n task tables to this single database. For MySQL endpoints, you specify the database only when\n you specify the schema in the table-mapping rules of the DMS task.

                                                      " } }, "EventsPollInterval": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Specifies how often to check the binary log for new\n changes/events when the database is idle.

                                                      \n

                                                      Example: eventsPollInterval=5;\n

                                                      \n

                                                      In the example, AWS DMS checks for changes in the binary\n logs every five seconds.

                                                      " + "smithy.api#documentation": "

                                                      Specifies how often to check the binary log for new\n changes/events when the database is idle.

                                                      \n

                                                      Example: eventsPollInterval=5;\n

                                                      \n

                                                      In the example, DMS checks for changes in the binary\n logs every five seconds.

                                                      " } }, "TargetDbType": { @@ -6070,7 +6094,7 @@ "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the MySQL endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager\n secret that allows access to the MySQL endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -6090,45 +6114,45 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the service role that you created for the Neptune\n target endpoint.\n For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the AWS Database Migration Service User\n Guide. \n

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the service role that you created for the Neptune\n target endpoint. The role must allow the iam:PassRole action.\n For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User\n Guide. \n

                                                      " } }, "S3BucketName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the Amazon S3 bucket where AWS DMS can temporarily store migrated graph data\n in .csv files before bulk-loading it to the Neptune target database. AWS DMS maps the SQL\n source data to graph data before storing it in these .csv files.

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

                                                      The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data\n in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL\n source data to graph data before storing it in these .csv files.

                                                      ", "smithy.api#required": {} } }, "S3BucketFolder": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A folder path where you want AWS DMS to store migrated graph data in the S3 bucket\n specified by S3BucketName\n

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

                                                      A folder path where you want DMS to store migrated graph data in the S3 bucket\n specified by S3BucketName\n

                                                      ", "smithy.api#required": {} } }, "ErrorRetryDuration": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      The number of milliseconds for AWS DMS to wait to retry a bulk-load of migrated graph\n data to the Neptune target database before raising an error. The default is 250.

                                                      " + "smithy.api#documentation": "

                                                      The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph\n data to the Neptune target database before raising an error. The default is 250.

                                                      " } }, "MaxFileSize": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      The maximum size in kilobytes of migrated graph data stored in a .csv file before AWS\n DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the\n bulk load is successful, AWS DMS clears the bucket, ready to store the next batch of\n migrated graph data.

                                                      " + "smithy.api#documentation": "

                                                      The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS\n bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the\n bulk load is successful, DMS clears the bucket, ready to store the next batch of\n migrated graph data.

                                                      " } }, "MaxRetryCount": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      The number of times for AWS DMS to retry a bulk load of migrated graph data to the\n Neptune target database before raising an error. The default is 5.

                                                      " + "smithy.api#documentation": "

                                                      The number of times for DMS to retry a bulk load of migrated graph data to the\n Neptune target database before raising an error. The default is 5.

                                                      " } }, "IamAuthEnabled": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      If you want AWS Identity and Access Management (IAM) authorization enabled for this\n endpoint, set this parameter to true. Then attach the appropriate IAM policy\n document to your service role specified by ServiceAccessRoleArn. The default\n is false.

                                                      " + "smithy.api#documentation": "

                                                      If you want Identity and Access Management (IAM) authorization enabled for this\n endpoint, set this parameter to true. Then attach the appropriate IAM policy\n document to your service role specified by ServiceAccessRoleArn. The default\n is false.

                                                      " } } }, @@ -6163,13 +6187,13 @@ "ArchivedLogDestId": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Specifies the destination of the archived redo logs. The\n value should be the same as the DEST_ID number in the\n v$archived_log table. When working with multiple log\n destinations (DEST_ID), we recommend that you to specify\n an archived redo logs location identifier. Doing this improves\n performance by ensuring that the correct logs are accessed\n from the outset.

                                                      " + "smithy.api#documentation": "

                                                      Specifies the ID of the destination for the archived redo logs. This value\n should be the same as a number in the dest_id column of the v$archived_log\n view. If you work with an additional redo log destination, use the\n AdditionalArchivedLogDestId option to specify the additional\n destination ID. Doing this improves performance by ensuring that the correct\n logs are accessed from the outset.

                                                      " } }, "AdditionalArchivedLogDestId": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Set this attribute with archivedLogDestId in a primary/\n standby setup. This attribute is useful in the case of a\n switchover. In this case, AWS DMS needs to know which\n destination to get archive redo logs from to read changes.\n This need arises because the previous primary instance is\n now a standby instance after switchover.

                                                      " + "smithy.api#documentation": "

                                                      Set this attribute with ArchivedLogDestId in a primary/\n standby setup. This attribute is useful in the case of a\n switchover. In this case, DMS needs to know which\n destination to get archive redo logs from to read changes.\n This need arises because the previous primary instance is\n now a standby instance after switchover.

                                                      \n

                                                      Although DMS supports the use of the Oracle\n RESETLOGS option to open the database, never\n use RESETLOGS unless necessary. For additional\n information about RESETLOGS, see RMAN Data Repair Concepts in the\n Oracle Database Backup and Recovery User's Guide.

                                                      " } }, "AllowSelectNestedTables": { @@ -6181,13 +6205,13 @@ "ParallelAsmReadThreads": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Set this attribute to change the number of threads that\n DMS configures to perform a Change Data Capture (CDC)\n load using Oracle Automatic Storage Management (ASM).\n You can specify an integer value between 2 (the default)\n and 8 (the maximum). Use this attribute together with the\n readAheadBlocks attribute.

                                                      " + "smithy.api#documentation": "

                                                      Set this attribute to change the number of threads that DMS configures to perform a\n change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can\n specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute\n together with the readAheadBlocks attribute.

                                                      " } }, "ReadAheadBlocks": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      Set this attribute to change the number of read-ahead\n blocks that DMS configures to perform a Change Data\n Capture (CDC) load using Oracle Automatic Storage\n Management (ASM). You can specify an integer value\n between 1000 (the default) and 200,000 (the maximum).

                                                      " + "smithy.api#documentation": "

                                                      Set this attribute to change the number of read-ahead blocks that DMS configures to\n perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM).\n You can specify an integer value between 1000 (the default) and 200,000 (the\n maximum).

                                                      " } }, "AccessAlternateDirectly": { @@ -6235,7 +6259,7 @@ "ArchivedLogsOnly": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      When this field is set to Y, AWS DMS only accesses the\n archived redo logs. If the archived redo logs are stored on\n Oracle ASM only, the AWS DMS user account needs to be\n granted ASM privileges.

                                                      " + "smithy.api#documentation": "

                                                      When this field is set to Y, DMS only accesses the\n archived redo logs. If the archived redo logs are stored on\n Oracle ASM only, the DMS user account needs to be\n granted ASM privileges.

                                                      " } }, "AsmPassword": { @@ -6271,7 +6295,7 @@ "DirectPathParallelLoad": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      When set to true, this attribute specifies a parallel load\n when useDirectPathFullLoad is set to Y. This attribute\n also only applies when you use the AWS DMS parallel load\n feature. Note that the target table cannot have any constraints or indexes.

                                                      " + "smithy.api#documentation": "

                                                      When set to true, this attribute specifies a parallel load\n when useDirectPathFullLoad is set to Y. This attribute\n also only applies when you use the DMS parallel load\n feature. Note that the target table cannot have any constraints or indexes.

                                                      " } }, "FailTasksOnLobTruncation": { @@ -6313,13 +6337,13 @@ "SecurityDbEncryption": { "target": "com.amazonaws.databasemigrationservice#SecretString", "traits": { - "smithy.api#documentation": "

                                                      For an Oracle source endpoint, the transparent data encryption (TDE) password required\n by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the\n \n TDE_Password\n part of the comma-separated value you\n set to the Password request parameter when you create the endpoint. The\n SecurityDbEncryptian setting is related to this\n SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for AWS\n DMS in the AWS Database Migration Service User Guide.

                                                      " + "smithy.api#documentation": "

                                                      For an Oracle source endpoint, the transparent data encryption (TDE) password required\n by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the\n \n TDE_Password\n part of the comma-separated value you\n set to the Password request parameter when you create the endpoint. The\n SecurityDbEncryptian setting is related to this\n SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS\n in the Database Migration Service User Guide.

                                                      " } }, "SecurityDbEncryptionName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      For an Oracle source endpoint, the name of a key used for the transparent data\n encryption (TDE) of the columns and tablespaces in an Oracle source database that is\n encrypted using TDE. The key value is the value of the SecurityDbEncryption\n setting. For more information on setting the key name value of\n SecurityDbEncryptionName, see the information and example for setting the\n securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for AWS\n DMS in the AWS Database Migration Service User\n Guide.

                                                      " + "smithy.api#documentation": "

                                                      For an Oracle source endpoint, the name of a key used for the transparent data\n encryption (TDE) of the columns and tablespaces in an Oracle source database that is\n encrypted using TDE. The key value is the value of the SecurityDbEncryption\n setting. For more information on setting the key name value of\n SecurityDbEncryptionName, see the information and example for setting the\n securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS\n in the Database Migration Service User\n Guide.

                                                      " } }, "ServerName": { @@ -6334,16 +6358,40 @@ "smithy.api#documentation": "

                                                      Use this attribute to convert SDO_GEOMETRY to \n GEOJSON format. By default, DMS calls the \n SDO2GEOJSON custom function if present and accessible. \n Or you can create your own custom function that mimics the operation of \n SDOGEOJSON and set \n SpatialDataOptionToGeoJsonFunctionName to call it instead.

                                                      " } }, + "StandbyDelayTime": { + "target": "com.amazonaws.databasemigrationservice#IntegerOptional", + "traits": { + "smithy.api#documentation": "

                                                      Use this attribute to specify a time in minutes for the delay in standby sync. If the\n source is an Oracle Active Data Guard standby database, use this attribute to specify the\n time lag between primary and standby databases.

                                                      \n

                                                      In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby\n instance as a source for replicating ongoing changes. Doing this eliminates the need to connect\n to an active database that might be in production.

                                                      " + } + }, "Username": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { "smithy.api#documentation": "

                                                      Endpoint connection user name.

                                                      " } }, + "UseBFile": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      Set this attribute to Y to capture change data using the Binary Reader utility. Set\n UseLogminerReader to N to set this attribute to Y. To use Binary Reader\n with Amazon RDS for Oracle as the source, you set additional attributes. For more information\n about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or DMS Binary Reader for\n CDC.

                                                      " + } + }, + "UseDirectPathFullLoad": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      Set this attribute to Y to have DMS use a direct path full load. \n Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). \n By using this OCI protocol, you can bulk-load Oracle target tables during a full load.

                                                      " + } + }, + "UseLogminerReader": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      Set this attribute to Y to capture change data using the Oracle LogMiner utility (the\n default). Set this attribute to N if you want to access the redo logs as a binary file.\n When you set UseLogminerReader to N, also set UseBfile to Y. For\n more information on this setting and using Oracle ASM, see Using Oracle LogMiner or DMS Binary Reader for CDC in\n the DMS User Guide.

                                                      " + } + }, "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the Oracle endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager\n secret that allows access to the Oracle endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -6355,7 +6403,7 @@ "SecretsManagerOracleAsmAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN\n of the IAM role that specifies AWS DMS as the trusted entity and grants the required\n permissions to access the SecretsManagerOracleAsmSecret. This\n SecretsManagerOracleAsmSecret has the secret value that allows access to\n the Oracle ASM of the endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerOracleAsmSecretId. Or you can\n specify clear-text values for AsmUserName, AsmPassword, and\n AsmServerName. You can't specify both. For more information on\n creating this SecretsManagerOracleAsmSecret and the\n SecretsManagerOracleAsmAccessRoleArn and\n SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN\n of the IAM role that specifies DMS as the trusted entity and grants the required\n permissions to access the SecretsManagerOracleAsmSecret. This\n SecretsManagerOracleAsmSecret has the secret value that allows access to\n the Oracle ASM of the endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerOracleAsmSecretId. Or you can\n specify clear-text values for AsmUserName, AsmPassword, and\n AsmServerName. You can't specify both. For more information on\n creating this SecretsManagerOracleAsmSecret and the\n SecretsManagerOracleAsmAccessRoleArn and\n SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerOracleAsmSecretId": { @@ -6381,7 +6429,7 @@ "ReplicationInstanceClass": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right AWS DMS replication instance for your migration.\n

                                                      " + "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. For example to specify the instance class dms.c4.large, set this parameter to \"dms.c4.large\".

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right DMS replication instance for your migration.\n

                                                      " } }, "StorageType": { @@ -6423,7 +6471,7 @@ "ReleaseStatus": { "target": "com.amazonaws.databasemigrationservice#ReleaseStatusValues", "traits": { - "smithy.api#documentation": "

                                                      The value returned when the specified EngineVersion of the replication \n instance is in Beta or test mode. This indicates some features might not work as expected.

                                                      \n \n

                                                      AWS DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.

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

                                                      The value returned when the specified EngineVersion of the replication \n instance is in Beta or test mode. This indicates some features might not work as expected.

                                                      \n \n

                                                      DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.

                                                      \n
                                                      " } } }, @@ -6496,7 +6544,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a maintenance action pending for an AWS DMS resource, including when and how\n it will be applied. This data type is a response element to the\n DescribePendingMaintenanceActions operation.

                                                      " + "smithy.api#documentation": "

                                                      Describes a maintenance action pending for an DMS resource, including when and how\n it will be applied. This data type is a response element to the\n DescribePendingMaintenanceActions operation.

                                                      " } }, "com.amazonaws.databasemigrationservice#PendingMaintenanceActionDetails": { @@ -6517,19 +6565,38 @@ } } }, + "com.amazonaws.databasemigrationservice#PluginNameValue": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "no-preference", + "name": "NO_PREFERENCE" + }, + { + "value": "test-decoding", + "name": "TEST_DECODING" + }, + { + "value": "pglogical", + "name": "PGLOGICAL" + } + ] + } + }, "com.amazonaws.databasemigrationservice#PostgreSQLSettings": { "type": "structure", "members": { "AfterConnectScript": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      For use with change data capture (CDC) only, this attribute\n has AWS DMS bypass foreign keys and user triggers to\n reduce the time it takes to bulk load data.

                                                      \n

                                                      Example: afterConnectScript=SET\n session_replication_role='replica'\n

                                                      " + "smithy.api#documentation": "

                                                      For use with change data capture (CDC) only, this attribute\n has DMS bypass foreign keys and user triggers to\n reduce the time it takes to bulk load data.

                                                      \n

                                                      Example: afterConnectScript=SET\n session_replication_role='replica'\n

                                                      " } }, "CaptureDdls": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      To capture DDL events, AWS DMS creates various artifacts in\n the PostgreSQL database when the task starts. You can later\n remove these artifacts.

                                                      \n

                                                      If this value is set to N, you don't have to create tables or\n triggers on the source database.

                                                      " + "smithy.api#documentation": "

                                                      To capture DDL events, DMS creates various artifacts in\n the PostgreSQL database when the task starts. You can later\n remove these artifacts.

                                                      \n

                                                      If this value is set to N, you don't have to create tables or\n triggers on the source database.

                                                      " } }, "MaxFileSize": { @@ -6562,6 +6629,24 @@ "smithy.api#documentation": "

                                                      When set to true, this value causes a task to fail if the\n actual size of a LOB column is greater than the specified\n LobMaxSize.

                                                      \n

                                                      If task is set to Limited LOB mode and this option is set to\n true, the task fails instead of truncating the LOB data.

                                                      " } }, + "HeartbeatEnable": { + "target": "com.amazonaws.databasemigrationservice#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                                      If this attribute is set to true, the write-ahead log (WAL) heartbeat keeps\n restart_lsn moving and prevents storage full scenarios.\n The WAL heartbeat mimics a dummy transaction, so that idle\n logical replication slots don't hold onto old WAL logs that result in storage full\n situations on the source. \n

                                                      " + } + }, + "HeartbeatSchema": { + "target": "com.amazonaws.databasemigrationservice#String", + "traits": { + "smithy.api#documentation": "

                                                      Sets the schema in which the heartbeat artifacts are created.

                                                      " + } + }, + "HeartbeatFrequency": { + "target": "com.amazonaws.databasemigrationservice#IntegerOptional", + "traits": { + "smithy.api#documentation": "

                                                      Sets the WAL heartbeat frequency (in minutes).

                                                      " + } + }, "Password": { "target": "com.amazonaws.databasemigrationservice#SecretString", "traits": { @@ -6589,13 +6674,19 @@ "SlotName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Sets the name of a previously created logical replication slot\n for a CDC load of the PostgreSQL source instance.

                                                      \n

                                                      When used with the AWS DMS API CdcStartPosition\n request parameter, this attribute also enables using native\n CDC start points.

                                                      " + "smithy.api#documentation": "

                                                      Sets the name of a previously created logical replication slot\n for a CDC load of the PostgreSQL source instance.

                                                      \n

                                                      When used with the DMS API CdcStartPosition\n request parameter, this attribute also enables using native\n CDC start points.

                                                      " + } + }, + "PluginName": { + "target": "com.amazonaws.databasemigrationservice#PluginNameValue", + "traits": { + "smithy.api#documentation": "

                                                      Specifies the plugin to use to create a replication slot.

                                                      " } }, "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the PostgreSQL endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager\n secret that allows access to the PostgreSQL endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -6676,7 +6767,7 @@ "BucketFolder": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An S3 folder where the comma-separated-value (.csv) files are stored before being \n uploaded to the target Redshift cluster.

                                                      \n

                                                      For full load mode, AWS DMS converts source records into .csv files and loads them to\n the BucketFolder/TableID path. AWS DMS uses the Redshift\n COPY command to upload the .csv files to the target table. The files are\n deleted once the COPY operation has finished. For more information, see COPY in the\n Amazon Redshift Database Developer Guide.

                                                      \n

                                                      For change-data-capture (CDC) mode, AWS DMS creates a NetChanges table, \n and loads the .csv files to this BucketFolder/NetChangesTableID path.

                                                      " + "smithy.api#documentation": "

                                                      An S3 folder where the comma-separated-value (.csv) files are stored before being \n uploaded to the target Redshift cluster.

                                                      \n

                                                      For full load mode, DMS converts source records into .csv files and loads them to\n the BucketFolder/TableID path. DMS uses the Redshift\n COPY command to upload the .csv files to the target table. The files are\n deleted once the COPY operation has finished. For more information, see COPY in the\n Amazon Redshift Database Developer Guide.

                                                      \n

                                                      For change-data-capture (CDC) mode, DMS creates a NetChanges table, \n and loads the .csv files to this BucketFolder/NetChangesTableID path.

                                                      " } }, "BucketName": { @@ -6718,13 +6809,13 @@ "EmptyAsNull": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that specifies whether AWS DMS should migrate empty CHAR and VARCHAR fields as\n NULL. A value of true sets empty CHAR and VARCHAR fields to null. The default\n is false.

                                                      " + "smithy.api#documentation": "

                                                      A value that specifies whether DMS should migrate empty CHAR and VARCHAR fields as\n NULL. A value of true sets empty CHAR and VARCHAR fields to null. The default\n is false.

                                                      " } }, "EncryptionMode": { "target": "com.amazonaws.databasemigrationservice#EncryptionModeValue", "traits": { - "smithy.api#documentation": "

                                                      The type of server-side encryption that you want to use for your data. This encryption\n type is part of the endpoint settings or the extra connections attributes for Amazon S3.\n You can choose either SSE_S3 (the default) or SSE_KMS.

                                                      \n \n

                                                      For the ModifyEndpoint operation, you can change the existing value of the\n EncryptionMode parameter from SSE_KMS to\n SSE_S3. But you can’t change the existing value from SSE_S3\n to SSE_KMS.

                                                      \n
                                                      \n

                                                      To use SSE_S3, create an AWS Identity and Access Management (IAM) role with\n a policy that allows \"arn:aws:s3:::*\" to use the following actions:\n \"s3:PutObject\", \"s3:ListBucket\"\n

                                                      " + "smithy.api#documentation": "

                                                      The type of server-side encryption that you want to use for your data. This encryption\n type is part of the endpoint settings or the extra connections attributes for Amazon S3.\n You can choose either SSE_S3 (the default) or SSE_KMS.

                                                      \n \n

                                                      For the ModifyEndpoint operation, you can change the existing value of the\n EncryptionMode parameter from SSE_KMS to\n SSE_S3. But you can’t change the existing value from SSE_S3\n to SSE_KMS.

                                                      \n
                                                      \n

                                                      To use SSE_S3, create an Identity and Access Management (IAM) role with\n a policy that allows \"arn:aws:s3:::*\" to use the following actions:\n \"s3:PutObject\", \"s3:ListBucket\"\n

                                                      " } }, "ExplicitIds": { @@ -6742,7 +6833,7 @@ "LoadTimeout": { "target": "com.amazonaws.databasemigrationservice#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      The amount of time to wait (in milliseconds) before timing out of operations performed \n by AWS DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

                                                      " + "smithy.api#documentation": "

                                                      The amount of time to wait (in milliseconds) before timing out of operations performed \n by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

                                                      " } }, "MaxFileSize": { @@ -6790,13 +6881,13 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift\n service.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift\n service. The role must allow the iam:PassRole action.

                                                      " } }, "ServerSideEncryptionKmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS KMS key ID. If you are using SSE_KMS for the EncryptionMode,\n provide this key ID. The key that you use needs an attached policy that enables IAM user\n permissions and allows use of the key.

                                                      " + "smithy.api#documentation": "

                                                      The KMS key ID. If you are using SSE_KMS for the EncryptionMode,\n provide this key ID. The key that you use needs an attached policy that enables IAM user\n permissions and allows use of the key.

                                                      " } }, "TimeFormat": { @@ -6832,7 +6923,7 @@ "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the Amazon Redshift endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -7061,7 +7152,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Removes metadata tags from an AWS DMS resource, including replication instance, \n endpoint, security group, and migration task. For more information, see \n \n Tag\n \n data type description.

                                                      " + "smithy.api#documentation": "

                                                      Removes metadata tags from an DMS resource, including replication instance, \n endpoint, security group, and migration task. For more information, see \n \n Tag\n \n data type description.

                                                      " } }, "com.amazonaws.databasemigrationservice#RemoveTagsFromResourceMessage": { @@ -7070,7 +7161,7 @@ "ResourceArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

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

                                                      An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

                                                      ", "smithy.api#required": {} } }, @@ -7083,7 +7174,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Removes one or more tags from an AWS DMS resource.

                                                      " + "smithy.api#documentation": "

                                                      Removes one or more tags from an DMS resource.

                                                      " } }, "com.amazonaws.databasemigrationservice#RemoveTagsFromResourceResponse": { @@ -7120,7 +7211,7 @@ "ReplicationInstanceClass": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. It is a required parameter, although a defualt value is\n pre-selected in the DMS console.

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right AWS DMS replication instance for your migration.\n

                                                      " + "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class. It is a required parameter, although a default value is\n pre-selected in the DMS console.

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right DMS replication instance for your migration.\n

                                                      " } }, "ReplicationInstanceStatus": { @@ -7192,7 +7283,7 @@ "KmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      An AWS KMS key identifier that is used to encrypt the data on the replication\n instance.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n AWS DMS uses your default encryption key.

                                                      \n

                                                      AWS KMS creates the default encryption key for your AWS account. Your AWS account has a\n different default encryption key for each AWS Region.

                                                      " + "smithy.api#documentation": "

                                                      An KMS key identifier that is used to encrypt the data on the replication\n instance.

                                                      \n

                                                      If you don't specify a value for the KmsKeyId parameter, then\n DMS uses your default encryption key.

                                                      \n

                                                      KMS creates the default encryption key for your account. Your account has a\n different default encryption key for each Region.

                                                      " } }, "ReplicationInstanceArn": { @@ -7315,7 +7406,7 @@ "ReplicationInstanceClass": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class.

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right AWS DMS replication instance for your migration.\n

                                                      " + "smithy.api#documentation": "

                                                      The compute and memory capacity of the replication instance as defined for the specified\n replication instance class.

                                                      \n

                                                      For more information on the settings and capacities for the available replication instance classes, see \n \n Selecting the right DMS replication instance for your migration.\n

                                                      " } }, "AllocatedStorage": { @@ -7511,7 +7602,7 @@ "TaskData": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Supplemental information that the task requires to migrate the data for certain source and target endpoints. \n For more information, see Specifying Supplemental Data for Task Settings in the\n Database Migration Service User Guide.\n

                                                      " } }, "TargetReplicationInstanceArn": { @@ -7561,13 +7652,13 @@ "AssessmentResults": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The task assessment results in JSON format.

                                                      " + "smithy.api#documentation": "

                                                      The task assessment results in JSON format.

                                                      \n

                                                      The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn\n in the request.

                                                      " } }, "S3ObjectUrl": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The URL of the S3 object containing the task assessment results.

                                                      " + "smithy.api#documentation": "

                                                      The URL of the S3 object containing the task assessment results.

                                                      \n

                                                      The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn\n in the request.

                                                      " } } }, @@ -7626,19 +7717,19 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      ARN of the service role used to start the assessment run using the\n StartReplicationTaskAssessmentRun operation.

                                                      " + "smithy.api#documentation": "

                                                      ARN of the service role used to start the assessment run using the\n StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

                                                      " } }, "ResultLocationBucket": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Amazon S3 bucket where AWS DMS stores the results of this assessment run.

                                                      " + "smithy.api#documentation": "

                                                      Amazon S3 bucket where DMS stores the results of this assessment run.

                                                      " } }, "ResultLocationFolder": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Folder in an Amazon S3 bucket where AWS DMS stores the results of this assessment\n run.

                                                      " + "smithy.api#documentation": "

                                                      Folder in an Amazon S3 bucket where DMS stores the results of this assessment\n run.

                                                      " } }, "ResultEncryptionMode": { @@ -7650,7 +7741,7 @@ "ResultKmsKeyArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      ARN of the AWS KMS encryption key used to encrypt the assessment run results.

                                                      " + "smithy.api#documentation": "

                                                      ARN of the KMS encryption key used to encrypt the assessment run results.

                                                      " } }, "AssessmentRunName": { @@ -7859,7 +7950,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action\n applies to. For information about creating an ARN, see Constructing an Amazon\n Resource Name (ARN) for AWS DMS in the DMS documentation.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action\n applies to. For information about creating an ARN, see Constructing an Amazon\n Resource Name (ARN) for DMS in the DMS documentation.

                                                      " } }, "PendingMaintenanceActionDetails": { @@ -7870,7 +7961,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Identifies an AWS DMS resource and any pending actions for it.

                                                      " + "smithy.api#documentation": "

                                                      Identifies an DMS resource and any pending actions for it.

                                                      " } }, "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault": { @@ -7918,7 +8009,7 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by the service access IAM role. It is a required\n parameter that enables DMS to write and read objects from an S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) used by the service to access the IAM role.\n The role must allow the iam:PassRole action. It is a required\n parameter that enables DMS to write and read objects from an S3 bucket.

                                                      " } }, "ExternalTableDefinition": { @@ -7960,13 +8051,13 @@ "EncryptionMode": { "target": "com.amazonaws.databasemigrationservice#EncryptionModeValue", "traits": { - "smithy.api#documentation": "

                                                      The type of server-side encryption that you want to use for your data. This encryption\n type is part of the endpoint settings or the extra connections attributes for Amazon S3.\n You can choose either SSE_S3 (the default) or SSE_KMS.

                                                      \n \n

                                                      For the ModifyEndpoint operation, you can change the existing value of\n the EncryptionMode parameter from SSE_KMS to\n SSE_S3. But you can’t change the existing value from SSE_S3\n to SSE_KMS.

                                                      \n
                                                      \n

                                                      To use SSE_S3, you need an AWS Identity and Access Management (IAM) role\n with permission to allow \"arn:aws:s3:::dms-*\" to use the following\n actions:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n s3:CreateBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:ListBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetBucketLocation\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:PutObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetObjectVersion\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetBucketPolicy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:PutBucketPolicy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteBucketPolicy\n

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

                                                      The type of server-side encryption that you want to use for your data. This encryption\n type is part of the endpoint settings or the extra connections attributes for Amazon S3.\n You can choose either SSE_S3 (the default) or SSE_KMS.

                                                      \n \n

                                                      For the ModifyEndpoint operation, you can change the existing value of\n the EncryptionMode parameter from SSE_KMS to\n SSE_S3. But you can’t change the existing value from SSE_S3\n to SSE_KMS.

                                                      \n
                                                      \n

                                                      To use SSE_S3, you need an Identity and Access Management (IAM) role\n with permission to allow \"arn:aws:s3:::dms-*\" to use the following\n actions:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n s3:CreateBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:ListBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteBucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetBucketLocation\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:PutObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteObject\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetObjectVersion\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:GetBucketPolicy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:PutBucketPolicy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n s3:DeleteBucketPolicy\n

                                                        \n
                                                      • \n
                                                      " } }, "ServerSideEncryptionKmsKeyId": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      If you are using SSE_KMS for the EncryptionMode, provide the\n AWS KMS key ID. The key that you use needs an attached policy that enables AWS Identity and\n Access Management (IAM) user permissions and allows use of the key.

                                                      \n

                                                      Here is a CLI example: aws dms create-endpoint --endpoint-identifier\n value --endpoint-type target --engine-name s3 --s3-settings\n ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value\n \n

                                                      " + "smithy.api#documentation": "

                                                      If you are using SSE_KMS for the EncryptionMode, provide the\n KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management\n (IAM) user permissions and allows use of the key.

                                                      \n

                                                      Here is a CLI example: aws dms create-endpoint --endpoint-identifier\n value --endpoint-type target --engine-name s3 --s3-settings\n ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value\n \n

                                                      " } }, "DataFormat": { @@ -8014,37 +8105,37 @@ "IncludeOpForFullLoad": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that enables a full load to write INSERT operations to the comma-separated value\n (.csv) output files only to indicate how the rows were added to the source database.

                                                      \n \n

                                                      AWS DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and\n later.

                                                      \n
                                                      \n

                                                      For full load, records can only be inserted. By default (the false\n setting), no information is recorded in these output files for a full load to indicate that\n the rows were inserted at the source database. If IncludeOpForFullLoad is set\n to true or y, the INSERT is recorded as an I annotation in the\n first field of the .csv file. This allows the format of your target records from a full\n load to be consistent with the target records from a CDC load.

                                                      \n \n

                                                      This setting works together with the CdcInsertsOnly and the\n CdcInsertsAndUpdates parameters for output to .csv files only. For more\n information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS\n Database Migration Service User Guide..

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

                                                      A value that enables a full load to write INSERT operations to the comma-separated value\n (.csv) output files only to indicate how the rows were added to the source database.

                                                      \n \n

                                                      DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and\n later.

                                                      \n
                                                      \n

                                                      For full load, records can only be inserted. By default (the false\n setting), no information is recorded in these output files for a full load to indicate that\n the rows were inserted at the source database. If IncludeOpForFullLoad is set\n to true or y, the INSERT is recorded as an I annotation in the\n first field of the .csv file. This allows the format of your target records from a full\n load to be consistent with the target records from a CDC load.

                                                      \n \n

                                                      This setting works together with the CdcInsertsOnly and the\n CdcInsertsAndUpdates parameters for output to .csv files only. For more\n information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service\n User Guide..

                                                      \n
                                                      " } }, "CdcInsertsOnly": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that enables a change data capture (CDC) load to write only INSERT operations to\n .csv or columnar storage (.parquet) output files. By default (the\n false setting), the first field in a .csv or .parquet record contains the\n letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was\n inserted, updated, or deleted at the source database for a CDC load to the target.

                                                      \n

                                                      If CdcInsertsOnly is set to true or y, only\n INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format\n only, how these INSERTs are recorded depends on the value of\n IncludeOpForFullLoad. If IncludeOpForFullLoad is set to\n true, the first field of every CDC record is set to I to indicate the\n INSERT operation at the source. If IncludeOpForFullLoad is set to\n false, every CDC record is written without a first field to indicate the\n INSERT operation at the source. For more information about how these settings work\n together, see Indicating Source DB Operations in Migrated S3 Data in the AWS\n Database Migration Service User Guide..

                                                      \n\n \n\n

                                                      AWS DMS supports the interaction described preceding between the\n CdcInsertsOnly and IncludeOpForFullLoad parameters in\n versions 3.1.4 and later.

                                                      \n\n

                                                      \n CdcInsertsOnly and CdcInsertsAndUpdates can't\n both be set to true for the same endpoint. Set either\n CdcInsertsOnly or CdcInsertsAndUpdates to true\n for the same endpoint, but not both.

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

                                                      A value that enables a change data capture (CDC) load to write only INSERT operations to\n .csv or columnar storage (.parquet) output files. By default (the\n false setting), the first field in a .csv or .parquet record contains the\n letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was\n inserted, updated, or deleted at the source database for a CDC load to the target.

                                                      \n

                                                      If CdcInsertsOnly is set to true or y, only\n INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format\n only, how these INSERTs are recorded depends on the value of\n IncludeOpForFullLoad. If IncludeOpForFullLoad is set to\n true, the first field of every CDC record is set to I to indicate the\n INSERT operation at the source. If IncludeOpForFullLoad is set to\n false, every CDC record is written without a first field to indicate the\n INSERT operation at the source. For more information about how these settings work\n together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

                                                      \n\n \n\n

                                                      DMS supports the interaction described preceding between the\n CdcInsertsOnly and IncludeOpForFullLoad parameters in\n versions 3.1.4 and later.

                                                      \n\n

                                                      \n CdcInsertsOnly and CdcInsertsAndUpdates can't\n both be set to true for the same endpoint. Set either\n CdcInsertsOnly or CdcInsertsAndUpdates to true\n for the same endpoint, but not both.

                                                      \n\n
                                                      " } }, "TimestampColumnName": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      A value that when nonblank causes AWS DMS to add a column with timestamp information to\n the endpoint data for an Amazon S3 target.

                                                      \n \n

                                                      AWS DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

                                                      \n
                                                      \n

                                                      DMS includes an additional STRING column in the\n .csv or .parquet object files of your migrated data when you set\n TimestampColumnName to a nonblank value.

                                                      \n

                                                      For a full load, each row of this timestamp column contains a\n timestamp for when the data was transferred from the source to\n the target by DMS.

                                                      \n

                                                      For a change data capture (CDC) load, each row of the timestamp column contains the\n timestamp for the commit of that row in the source\n database.

                                                      \n

                                                      The string format for this timestamp column value is\n yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the\n precision of this value is in microseconds. For a CDC load, the\n rounding of the precision depends on the commit timestamp\n supported by DMS for the source database.

                                                      \n

                                                      When the AddColumnName parameter is set to true, DMS also\n includes a name for the timestamp column that you set with\n TimestampColumnName.

                                                      " + "smithy.api#documentation": "

                                                      A value that when nonblank causes DMS to add a column with timestamp information to\n the endpoint data for an Amazon S3 target.

                                                      \n \n

                                                      DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

                                                      \n
                                                      \n

                                                      DMS includes an additional STRING column in the\n .csv or .parquet object files of your migrated data when you set\n TimestampColumnName to a nonblank value.

                                                      \n

                                                      For a full load, each row of this timestamp column contains a\n timestamp for when the data was transferred from the source to\n the target by DMS.

                                                      \n

                                                      For a change data capture (CDC) load, each row of the timestamp column contains the\n timestamp for the commit of that row in the source\n database.

                                                      \n

                                                      The string format for this timestamp column value is\n yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the\n precision of this value is in microseconds. For a CDC load, the\n rounding of the precision depends on the commit timestamp\n supported by DMS for the source database.

                                                      \n

                                                      When the AddColumnName parameter is set to true, DMS also\n includes a name for the timestamp column that you set with\n TimestampColumnName.

                                                      " } }, "ParquetTimestampInMillisecond": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that specifies the precision of any TIMESTAMP column values that\n are written to an Amazon S3 object file in .parquet format.

                                                      \n \n

                                                      AWS DMS supports the ParquetTimestampInMillisecond parameter in versions\n 3.1.4 and later.

                                                      \n
                                                      \n

                                                      When ParquetTimestampInMillisecond is set to true or\n y, AWS DMS writes all TIMESTAMP columns in a .parquet\n formatted file with millisecond precision. Otherwise, DMS writes them with microsecond\n precision.

                                                      \n

                                                      Currently, Amazon Athena and AWS Glue can handle only\n millisecond precision for TIMESTAMP values. Set\n this parameter to true for S3 endpoint object\n files that are .parquet formatted only if you plan to query or process the data with Athena or AWS Glue.

                                                      \n \n\n

                                                      AWS DMS writes any TIMESTAMP column\n values written to an S3 file in .csv format with\n microsecond precision.

                                                      \n\n

                                                      Setting ParquetTimestampInMillisecond has no effect on the string\n format of the timestamp column value that is inserted by setting the\n TimestampColumnName parameter.

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

                                                      A value that specifies the precision of any TIMESTAMP column values that\n are written to an Amazon S3 object file in .parquet format.

                                                      \n \n

                                                      DMS supports the ParquetTimestampInMillisecond parameter in versions\n 3.1.4 and later.

                                                      \n
                                                      \n

                                                      When ParquetTimestampInMillisecond is set to true or\n y, DMS writes all TIMESTAMP columns in a .parquet\n formatted file with millisecond precision. Otherwise, DMS writes them with microsecond\n precision.

                                                      \n

                                                      Currently, Amazon Athena and Glue can handle only\n millisecond precision for TIMESTAMP values. Set\n this parameter to true for S3 endpoint object\n files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

                                                      \n \n\n

                                                      DMS writes any TIMESTAMP column\n values written to an S3 file in .csv format with\n microsecond precision.

                                                      \n\n

                                                      Setting ParquetTimestampInMillisecond has no effect on the string\n format of the timestamp column value that is inserted by setting the\n TimestampColumnName parameter.

                                                      \n\n
                                                      " } }, "CdcInsertsAndUpdates": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      A value that enables a change data capture (CDC) load to write INSERT and UPDATE\n operations to .csv or .parquet (columnar storage) output files. The default setting is\n false, but when CdcInsertsAndUpdates is set to\n true or y, only INSERTs and UPDATEs from the source database\n are migrated to the .csv or .parquet file.

                                                      \n

                                                      For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the\n value of the IncludeOpForFullLoad parameter. If\n IncludeOpForFullLoad is set to true, the first field of every\n CDC record is set to either I or U to indicate INSERT and UPDATE\n operations at the source. But if IncludeOpForFullLoad is set to\n false, CDC records are written without an indication of INSERT or UPDATE\n operations at the source. For more information about how these settings work together, see\n Indicating Source DB Operations in Migrated S3 Data in the AWS\n Database Migration Service User Guide..

                                                      \n \n\n

                                                      AWS DMS supports the use of the CdcInsertsAndUpdates parameter in\n versions 3.3.1 and later.

                                                      \n\n

                                                      \n CdcInsertsOnly and CdcInsertsAndUpdates can't\n both be set to true for the same endpoint. Set either\n CdcInsertsOnly or CdcInsertsAndUpdates to true\n for the same endpoint, but not both.

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

                                                      A value that enables a change data capture (CDC) load to write INSERT and UPDATE\n operations to .csv or .parquet (columnar storage) output files. The default setting is\n false, but when CdcInsertsAndUpdates is set to\n true or y, only INSERTs and UPDATEs from the source database\n are migrated to the .csv or .parquet file.

                                                      \n

                                                      For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the\n value of the IncludeOpForFullLoad parameter. If\n IncludeOpForFullLoad is set to true, the first field of every\n CDC record is set to either I or U to indicate INSERT and UPDATE\n operations at the source. But if IncludeOpForFullLoad is set to\n false, CDC records are written without an indication of INSERT or UPDATE\n operations at the source. For more information about how these settings work together, see\n Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

                                                      \n \n\n

                                                      DMS supports the use of the CdcInsertsAndUpdates parameter in\n versions 3.3.1 and later.

                                                      \n\n

                                                      \n CdcInsertsOnly and CdcInsertsAndUpdates can't\n both be set to true for the same endpoint. Set either\n CdcInsertsOnly or CdcInsertsAndUpdates to true\n for the same endpoint, but not both.

                                                      \n\n
                                                      " } }, "DatePartitionEnabled": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      When set to true, this parameter partitions S3 bucket folders based on transaction commit \n dates. The default value is false. For more information about date-based folder partitoning, \n see Using date-based folder partitioning.

                                                      " + "smithy.api#documentation": "

                                                      When set to true, this parameter partitions S3 bucket folders based on\n transaction commit dates. The default value is false. For more information\n about date-based folder partitioning, see Using date-based folder partitioning.

                                                      " } }, "DatePartitionSequence": { @@ -8062,25 +8153,25 @@ "UseCsvNoSupValue": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      This setting applies if the S3 output files during a change data capture (CDC) load are\n written in .csv format. If set to true for columns not included in the\n supplemental log, AWS DMS uses the value specified by \n CsvNoSupValue\n . If not set or set to\n false, AWS DMS uses the null value for these columns.

                                                      \n \n

                                                      This setting is supported in AWS DMS versions 3.4.1 and later.

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

                                                      This setting applies if the S3 output files during a change data capture (CDC) load are\n written in .csv format. If set to true for columns not included in the\n supplemental log, DMS uses the value specified by \n CsvNoSupValue\n . If not set or set to\n false, DMS uses the null value for these columns.

                                                      \n \n

                                                      This setting is supported in DMS versions 3.4.1 and later.

                                                      \n
                                                      " } }, "CsvNoSupValue": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      This setting only applies if your Amazon S3 output files during a change data capture\n (CDC) load are written in .csv format. If \n UseCsvNoSupValue\n is set to true, specify a\n string value that you want AWS DMS to use for all columns not included in the supplemental\n log. If you do not specify a string value, AWS DMS uses the null value for these columns\n regardless of the UseCsvNoSupValue setting.

                                                      \n \n

                                                      This setting is supported in AWS DMS versions 3.4.1 and later.

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

                                                      This setting only applies if your Amazon S3 output files during a change data capture\n (CDC) load are written in .csv format. If \n UseCsvNoSupValue\n is set to true, specify a\n string value that you want DMS to use for all columns not included in the supplemental\n log. If you do not specify a string value, DMS uses the null value for these columns\n regardless of the UseCsvNoSupValue setting.

                                                      \n \n

                                                      This setting is supported in DMS versions 3.4.1 and later.

                                                      \n
                                                      " } }, "PreserveTransactions": { "target": "com.amazonaws.databasemigrationservice#BooleanOptional", "traits": { - "smithy.api#documentation": "

                                                      If set to true, AWS DMS saves the transaction order for a change data\n capture (CDC) load on the Amazon S3 target specified by \n CdcPath\n . For more information, see Capturing data changes (CDC) including transaction order on the S3\n target.

                                                      \n \n

                                                      This setting is supported in AWS DMS versions 3.4.2 and later.

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

                                                      If set to true, DMS saves the transaction order for a change data\n capture (CDC) load on the Amazon S3 target specified by \n CdcPath\n . For more information, see Capturing data changes (CDC) including transaction order on the S3\n target.

                                                      \n \n

                                                      This setting is supported in DMS versions 3.4.2 and later.

                                                      \n
                                                      " } }, "CdcPath": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Specifies the folder path of CDC files. For an S3 source, this setting is required if a\n task captures change data; otherwise, it's optional. If CdcPath is set, AWS\n DMS reads CDC files from this path and replicates the data changes to the target endpoint.\n For an S3 target if you set \n PreserveTransactions\n to true, AWS\n DMS verifies that you have set this parameter to a folder path on your S3 target where AWS\n DMS can save the transaction order for the CDC load. AWS DMS creates this CDC folder path\n in either your S3 target working directory or the S3 target location specified by \n BucketFolder\n and \n BucketName\n .

                                                      \n

                                                      For example, if you specify CdcPath as MyChangedData, and you\n specify BucketName as MyTargetBucket but do not specify\n BucketFolder, AWS DMS creates the CDC folder path following:\n MyTargetBucket/MyChangedData.

                                                      \n

                                                      If you specify the same CdcPath, and you specify BucketName as\n MyTargetBucket and BucketFolder as MyTargetData,\n AWS DMS creates the CDC folder path following:\n MyTargetBucket/MyTargetData/MyChangedData.

                                                      \n

                                                      For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3\n target.

                                                      \n \n

                                                      This setting is supported in AWS DMS versions 3.4.2 and later.

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

                                                      Specifies the folder path of CDC files. For an S3 source, this setting is required if a\n task captures change data; otherwise, it's optional. If CdcPath is set, DMS\n reads CDC files from this path and replicates the data changes to the target endpoint.\n For an S3 target if you set \n PreserveTransactions\n to true, DMS\n verifies that you have set this parameter to a folder path on your S3 target where DMS\n can save the transaction order for the CDC load. DMS creates this CDC folder path\n in either your S3 target working directory or the S3 target location specified by \n BucketFolder\n and \n BucketName\n .

                                                      \n

                                                      For example, if you specify CdcPath as MyChangedData, and you\n specify BucketName as MyTargetBucket but do not specify\n BucketFolder, DMS creates the CDC folder path following:\n MyTargetBucket/MyChangedData.

                                                      \n

                                                      If you specify the same CdcPath, and you specify BucketName as\n MyTargetBucket and BucketFolder as MyTargetData,\n DMS creates the CDC folder path following:\n MyTargetBucket/MyTargetData/MyChangedData.

                                                      \n

                                                      For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3\n target.

                                                      \n \n

                                                      This setting is supported in DMS versions 3.4.2 and later.

                                                      \n
                                                      " } } }, @@ -8189,7 +8280,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Starts the replication task.

                                                      \n

                                                      For more information about AWS DMS tasks, see Working with Migration Tasks in the\n AWS Database Migration Service User Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Starts the replication task.

                                                      \n

                                                      For more information about DMS tasks, see Working with Migration Tasks in the\n Database Migration Service User Guide.\n

                                                      " } }, "com.amazonaws.databasemigrationservice#StartReplicationTaskAssessment": { @@ -8304,27 +8395,27 @@ "ServiceAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      ARN of a service role needed to start the assessment run.

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

                                                      ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action.

                                                      ", "smithy.api#required": {} } }, "ResultLocationBucket": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Amazon S3 bucket where you want AWS DMS to store the results of this assessment\n run.

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

                                                      Amazon S3 bucket where you want DMS to store the results of this assessment\n run.

                                                      ", "smithy.api#required": {} } }, "ResultLocationFolder": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Folder within an Amazon S3 bucket where you want AWS DMS to store the results of this assessment\n run.

                                                      " + "smithy.api#documentation": "

                                                      Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment\n run.

                                                      " } }, "ResultEncryptionMode": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Encryption mode that you can specify to encrypt the results of this assessment run. If\n you don't specify this request parameter, AWS DMS stores the assessment run results\n without encryption. You can specify one of the options following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \"SSE_S3\" – The server-side encryption provided as a default by\n Amazon S3.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \"SSE_KMS\" – AWS Key Management Service (AWS KMS) encryption.\n This encryption can use either a custom KMS encryption key that you specify or the\n default KMS encryption key that DMS provides.

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

                                                      Encryption mode that you can specify to encrypt the results of this assessment run. If\n you don't specify this request parameter, DMS stores the assessment run results\n without encryption. You can specify one of the options following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \"SSE_S3\" – The server-side encryption provided as a default by\n Amazon S3.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \"SSE_KMS\" – Key Management Service (KMS) encryption.\n This encryption can use either a custom KMS encryption key that you specify or the\n default KMS encryption key that DMS provides.

                                                        \n
                                                      • \n
                                                      " } }, "ResultKmsKeyArn": { @@ -8343,13 +8434,13 @@ "IncludeOnly": { "target": "com.amazonaws.databasemigrationservice#IncludeTestList", "traits": { - "smithy.api#documentation": "

                                                      Space-separated list of names for specific individual assessments that you want to\n include. These names come from the default list of individual assessments that AWS DMS\n supports for the associated migration task. This task is specified by\n ReplicationTaskArn.

                                                      \n \n

                                                      You can't set a value for IncludeOnly if you also set a value for\n Exclude in the API operation.

                                                      \n

                                                      To identify the names of the default individual assessments that AWS DMS\n supports for the associated migration task, run the\n DescribeApplicableIndividualAssessments operation using its own\n ReplicationTaskArn request parameter.

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

                                                      Space-separated list of names for specific individual assessments that you want to\n include. These names come from the default list of individual assessments that DMS\n supports for the associated migration task. This task is specified by\n ReplicationTaskArn.

                                                      \n \n

                                                      You can't set a value for IncludeOnly if you also set a value for\n Exclude in the API operation.

                                                      \n

                                                      To identify the names of the default individual assessments that DMS\n supports for the associated migration task, run the\n DescribeApplicableIndividualAssessments operation using its own\n ReplicationTaskArn request parameter.

                                                      \n
                                                      " } }, "Exclude": { "target": "com.amazonaws.databasemigrationservice#ExcludeTestList", "traits": { - "smithy.api#documentation": "

                                                      Space-separated list of names for specific individual assessments that you want to\n exclude. These names come from the default list of individual assessments that AWS DMS\n supports for the associated migration task. This task is specified by\n ReplicationTaskArn.

                                                      \n \n

                                                      You can't set a value for Exclude if you also set a value for\n IncludeOnly in the API operation.

                                                      \n

                                                      To identify the names of the default individual assessments that AWS DMS\n supports for the associated migration task, run the\n DescribeApplicableIndividualAssessments operation using its own\n ReplicationTaskArn request parameter.

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

                                                      Space-separated list of names for specific individual assessments that you want to\n exclude. These names come from the default list of individual assessments that DMS\n supports for the associated migration task. This task is specified by\n ReplicationTaskArn.

                                                      \n \n

                                                      You can't set a value for Exclude if you also set a value for\n IncludeOnly in the API operation.

                                                      \n

                                                      To identify the names of the default individual assessments that DMS\n supports for the associated migration task, run the\n DescribeApplicableIndividualAssessments operation using its own\n ReplicationTaskArn request parameter.

                                                      \n
                                                      " } } }, @@ -8397,7 +8488,7 @@ "CdcStartPosition": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for AWS DMS.

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

                                                      Indicates when you want a change data capture (CDC) operation to start. Use either\n CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start.\n Specifying both values results in an error.

                                                      \n

                                                      The value can be in date, checkpoint, or LSN/SCN format.

                                                      \n

                                                      Date Example: --cdc-start-position “2018-03-08T12:12:12”

                                                      \n

                                                      Checkpoint Example: --cdc-start-position\n \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

                                                      \n

                                                      LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

                                                      \n \n

                                                      When you use this task setting with a source PostgreSQL database, a logical\n replication slot should already be created and associated with the source endpoint. You\n can verify this by setting the slotName extra connection attribute to the\n name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source\n for DMS.

                                                      \n
                                                      " } }, "CdcStopPosition": { @@ -8582,7 +8673,7 @@ "SupportsCDC": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { - "smithy.api#documentation": "

                                                      Indicates if Change Data Capture (CDC) is supported.

                                                      " + "smithy.api#documentation": "

                                                      Indicates if change data capture (CDC) is supported.

                                                      " } }, "EndpointType": { @@ -8594,7 +8685,7 @@ "ReplicationInstanceEngineMinimumVersion": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The earliest AWS DMS engine version that supports this endpoint engine. Note that endpoint engines released with AWS DMS versions earlier than 3.1.1 do not return a value for this parameter.

                                                      " + "smithy.api#documentation": "

                                                      The earliest DMS engine version that supports this endpoint engine. Note that endpoint engines released with DMS versions earlier than 3.1.1 do not return a value for this parameter.

                                                      " } }, "EngineDisplayName": { @@ -8653,7 +8744,7 @@ "SecretsManagerAccessRoleArn": { "target": "com.amazonaws.databasemigrationservice#String", "traits": { - "smithy.api#documentation": "

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets\n Manager secret that allows access to the SAP ASE endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access AWS Database Migration Service\n resources in the AWS Database Migration Service User\n Guide.

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

                                                      The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the\n trusted entity and grants the required permissions to access the value in\n SecretsManagerSecret. The role must allow the iam:PassRole action.\n SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager\n secret that allows access to the SAP ASE endpoint.

                                                      \n \n

                                                      You can specify one of two sets of values for these permissions. You can specify the\n values for this setting and SecretsManagerSecretId. Or you can specify\n clear-text values for UserName, Password,\n ServerName, and Port. You can't specify both. For more\n information on creating this SecretsManagerSecret and the\n SecretsManagerAccessRoleArn and SecretsManagerSecretId\n required to access it, see Using secrets to access Database Migration Service\n resources in the Database Migration Service User\n Guide.

                                                      \n
                                                      " } }, "SecretsManagerSecretId": { @@ -8843,7 +8934,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A user-defined key-value pair that describes metadata added to an AWS DMS resource and\n that is used by operations such as the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n AddTagsToResource\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ListTagsForResource\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n RemoveTagsFromResource\n

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

                                                      A user-defined key-value pair that describes metadata added to an DMS resource and\n that is used by operations such as the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n AddTagsToResource\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ListTagsForResource\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n RemoveTagsFromResource\n

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.databasemigrationservice#TagList": { diff --git a/codegen/sdk-codegen/aws-models/direct-connect.2012-10-25.json b/codegen/sdk-codegen/aws-models/direct-connect.2012-10-25.json index 2b65bc1c2d14b..2e78e75a9ef32 100644 --- a/codegen/sdk-codegen/aws-models/direct-connect.2012-10-25.json +++ b/codegen/sdk-codegen/aws-models/direct-connect.2012-10-25.json @@ -72,14 +72,14 @@ "associatedGatewayOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the virtual private gateway or transit gateway.

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

                                                      The ID of the account that owns the virtual private gateway or transit gateway.

                                                      ", "smithy.api#required": {} } }, "overrideAllowedPrefixesToDirectConnectGateway": { "target": "com.amazonaws.directconnect#RouteFilterPrefixList", "traits": { - "smithy.api#documentation": "

                                                      Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.

                                                      \n

                                                      For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.

                                                      \n

                                                      For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

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

                                                      Deprecated. Use AllocateHostedConnection instead.

                                                      \n

                                                      Creates a hosted connection on an interconnect.

                                                      \n

                                                      Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Deprecated. Use AllocateHostedConnection instead.

                                                      \n

                                                      Creates a hosted connection on an interconnect.

                                                      \n

                                                      Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#AllocateConnectionOnInterconnectRequest": { @@ -134,7 +134,7 @@ "bandwidth": { "target": "com.amazonaws.directconnect#Bandwidth", "traits": { - "smithy.api#documentation": "

                                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps,\n 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners\n who have met specific requirements\n are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

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

                                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps,\n 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners\n who have met specific requirements\n are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

                                                      ", "smithy.api#required": {} } }, @@ -148,7 +148,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account of the customer for whom the connection will be provisioned.

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

                                                      The ID of the account of the customer for whom the connection will be provisioned.

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

                                                      Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.

                                                      \n

                                                      Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. AWS polices the hosted connection for the specified capacity and the AWS Direct Connect Partner must also police the hosted connection for the specified capacity.

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.

                                                      \n

                                                      Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. \n Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#AllocateHostedConnectionRequest": { @@ -207,14 +207,14 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account ID of the customer for the connection.

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

                                                      The ID of the account ID of the customer for the connection.

                                                      ", "smithy.api#required": {} } }, "bandwidth": { "target": "com.amazonaws.directconnect#Bandwidth", "traits": { - "smithy.api#documentation": "

                                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

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

                                                      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

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

                                                      Provisions a private virtual interface to be owned by the specified AWS account.

                                                      \n

                                                      Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. \n Until then, the virtual interface is in the Confirming state and is not available to handle traffic.

                                                      " + "smithy.api#documentation": "

                                                      Provisions a private virtual interface to be owned by the specified account.

                                                      \n

                                                      Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. \n Until then, the virtual interface is in the Confirming state and is not available to handle traffic.

                                                      " } }, "com.amazonaws.directconnect#AllocatePrivateVirtualInterfaceRequest": { @@ -279,7 +279,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the virtual private interface.

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

                                                      The ID of the account that owns the virtual private interface.

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

                                                      Provisions a public virtual interface to be owned by the specified AWS account.

                                                      \n

                                                      The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account.

                                                      \n

                                                      Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface.\n Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

                                                      \n

                                                      When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from\n the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

                                                      " + "smithy.api#documentation": "

                                                      Provisions a public virtual interface to be owned by the specified account.

                                                      \n

                                                      The owner of a connection calls this function to provision a public virtual interface to be owned by the specified account.

                                                      \n

                                                      Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface.\n Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

                                                      \n

                                                      When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from\n the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

                                                      " } }, "com.amazonaws.directconnect#AllocatePublicVirtualInterfaceRequest": { @@ -331,7 +331,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the public virtual interface.

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

                                                      The ID of the account that owns the public virtual interface.

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

                                                      Provisions a transit virtual interface to be owned by the specified AWS account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                                      \n

                                                      The owner of a connection provisions a transit virtual interface to be owned by the specified AWS account.

                                                      \n

                                                      After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

                                                      " + "smithy.api#documentation": "

                                                      Provisions a transit virtual interface to be owned by the specified account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

                                                      \n

                                                      The owner of a connection provisions a transit virtual interface to be owned by the specified account.

                                                      \n

                                                      After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

                                                      " } }, "com.amazonaws.directconnect#AllocateTransitVirtualInterfaceRequest": { @@ -383,7 +383,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the transit virtual interface.

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

                                                      The ID of the account that owns the transit virtual interface.

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

                                                      Associates an existing connection with a link aggregation group (LAG). The connection\n is interrupted and re-established as a member of the LAG (connectivity to AWS is\n interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its \n bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's \n currently associated with a different LAG; however, if removing the connection would cause \n the original LAG to fall below its setting for minimum number of operational connections, \n the request fails.

                                                      \n

                                                      Any virtual interfaces that are directly associated with the connection are\n automatically re-associated with the LAG. If the connection was originally associated\n with a different LAG, the virtual interfaces remain associated with the original\n LAG.

                                                      \n

                                                      For interconnects, any hosted connections are automatically re-associated with the\n LAG. If the interconnect was originally associated with a different LAG, the hosted\n connections remain associated with the original LAG.

                                                      " + "smithy.api#documentation": "

                                                      Associates an existing connection with a link aggregation group (LAG). The connection\n is interrupted and re-established as a member of the LAG (connectivity to Amazon Web Services is\n interrupted). The connection must be hosted on the same Direct Connect endpoint as the LAG, and its \n bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's \n currently associated with a different LAG; however, if removing the connection would cause \n the original LAG to fall below its setting for minimum number of operational connections, \n the request fails.

                                                      \n

                                                      Any virtual interfaces that are directly associated with the connection are\n automatically re-associated with the LAG. If the connection was originally associated\n with a different LAG, the virtual interfaces remain associated with the original\n LAG.

                                                      \n

                                                      For interconnects, any hosted connections are automatically re-associated with the\n LAG. If the interconnect was originally associated with a different LAG, the hosted\n connections remain associated with the original LAG.

                                                      " } }, "com.amazonaws.directconnect#AssociateConnectionWithLagRequest": { @@ -463,7 +463,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associates a hosted connection and its virtual interfaces with a link aggregation\n group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted\n connection with a conflicting VLAN number or IP address, the operation fails. This\n action temporarily interrupts the hosted connection's connectivity to AWS as it is being\n migrated.

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Associates a hosted connection and its virtual interfaces with a link aggregation\n group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted\n connection with a conflicting VLAN number or IP address, the operation fails. This\n action temporarily interrupts the hosted connection's connectivity to Amazon Web Services \n as it is being migrated.

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#AssociateHostedConnectionRequest": { @@ -502,7 +502,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection.

                                                      \n

                                                      You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.

                                                      \n

                                                      For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an Direct Connect dedicated connection.

                                                      \n

                                                      You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.

                                                      \n

                                                      For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide.

                                                      " } }, "com.amazonaws.directconnect#AssociateMacSecKeyRequest": { @@ -569,7 +569,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associates a virtual interface with a specified link aggregation group (LAG) or\n connection. Connectivity to AWS is temporarily interrupted as the virtual interface is\n being migrated. If the target connection or LAG has an associated virtual interface with\n a conflicting VLAN number or a conflicting IP address, the operation fails.

                                                      \n

                                                      Virtual interfaces associated with a hosted connection cannot be associated with a\n LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection.

                                                      \n

                                                      To reassociate a virtual interface to a new connection or LAG, the requester\n must own either the virtual interface itself or the connection to which the virtual\n interface is currently associated. Additionally, the requester must own the connection\n or LAG for the association.

                                                      " + "smithy.api#documentation": "

                                                      Associates a virtual interface with a specified link aggregation group (LAG) or\n connection. Connectivity to Amazon Web Services is temporarily interrupted as the virtual interface is\n being migrated. If the target connection or LAG has an associated virtual interface with\n a conflicting VLAN number or a conflicting IP address, the operation fails.

                                                      \n

                                                      Virtual interfaces associated with a hosted connection cannot be associated with a\n LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection.

                                                      \n

                                                      To reassociate a virtual interface to a new connection or LAG, the requester\n must own either the virtual interface itself or the connection to which the virtual\n interface is currently associated. Additionally, the requester must own the connection\n or LAG for the association.

                                                      " } }, "com.amazonaws.directconnect#AssociateVirtualInterfaceRequest": { @@ -609,7 +609,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the associated virtual private gateway or transit gateway.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the associated virtual private gateway or transit gateway.

                                                      " } }, "region": { @@ -647,6 +647,9 @@ "com.amazonaws.directconnect#AwsDeviceV2": { "type": "string" }, + "com.amazonaws.directconnect#AwsLogicalDeviceId": { + "type": "string" + }, "com.amazonaws.directconnect#BGPAuthKey": { "type": "string" }, @@ -706,6 +709,9 @@ "traits": { "smithy.api#documentation": "

                                                      The Direct Connect endpoint on which the BGP peer terminates.

                                                      " } + }, + "awsLogicalDeviceId": { + "target": "com.amazonaws.directconnect#AwsLogicalDeviceId" } }, "traits": { @@ -848,7 +854,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Accepts ownership of a private virtual interface created by another AWS account.

                                                      \n

                                                      After the virtual interface owner makes this call, the virtual interface is\n created and attached to the specified virtual private gateway or Direct Connect gateway, and is\n made available to handle traffic.

                                                      " + "smithy.api#documentation": "

                                                      Accepts ownership of a private virtual interface created by another account.

                                                      \n

                                                      After the virtual interface owner makes this call, the virtual interface is\n created and attached to the specified virtual private gateway or Direct Connect gateway, and is\n made available to handle traffic.

                                                      " } }, "com.amazonaws.directconnect#ConfirmPrivateVirtualInterfaceRequest": { @@ -903,7 +909,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Accepts ownership of a public virtual interface created by another AWS account.

                                                      \n

                                                      After the virtual interface owner makes this call, the specified virtual interface is \n created and made available to handle traffic.

                                                      " + "smithy.api#documentation": "

                                                      Accepts ownership of a public virtual interface created by another account.

                                                      \n

                                                      After the virtual interface owner makes this call, the specified virtual interface is \n created and made available to handle traffic.

                                                      " } }, "com.amazonaws.directconnect#ConfirmPublicVirtualInterfaceRequest": { @@ -946,7 +952,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Accepts ownership of a transit virtual interface created by another AWS account.

                                                      \n \n

                                                      After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.

                                                      " + "smithy.api#documentation": "

                                                      Accepts ownership of a transit virtual interface created by another account.

                                                      \n \n

                                                      After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.

                                                      " } }, "com.amazonaws.directconnect#ConfirmTransitVirtualInterfaceRequest": { @@ -985,7 +991,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the connection.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the connection.

                                                      " } }, "connectionId": { @@ -1009,7 +1015,7 @@ "region": { "target": "com.amazonaws.directconnect#Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the connection is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the connection is located.

                                                      " } }, "location": { @@ -1033,7 +1039,7 @@ "partnerName": { "target": "com.amazonaws.directconnect#PartnerName", "traits": { - "smithy.api#documentation": "

                                                      The name of the AWS Direct Connect service provider associated with the connection.

                                                      " + "smithy.api#documentation": "

                                                      The name of the Direct Connect service provider associated with the connection.

                                                      " } }, "loaIssueTime": { @@ -1066,6 +1072,12 @@ "smithy.api#documentation": "

                                                      The Direct Connect endpoint on which the physical connection terminates.

                                                      " } }, + "awsLogicalDeviceId": { + "target": "com.amazonaws.directconnect#AwsLogicalDeviceId", + "traits": { + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                                      " + } + }, "hasLogicalRedundancy": { "target": "com.amazonaws.directconnect#HasLogicalRedundancy", "traits": { @@ -1110,7 +1122,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about an AWS Direct Connect connection.

                                                      " + "smithy.api#documentation": "

                                                      Information about an Direct Connect connection.

                                                      " } }, "com.amazonaws.directconnect#ConnectionId": { @@ -1199,7 +1211,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a BGP peer on the specified virtual interface.

                                                      \n

                                                      You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family.

                                                      \n

                                                      If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot \n be in the same address family as an existing BGP peer on the virtual interface.

                                                      \n

                                                      When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from\n the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

                                                      \n

                                                      For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.

                                                      " + "smithy.api#documentation": "

                                                      Creates a BGP peer on the specified virtual interface.

                                                      \n

                                                      You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.

                                                      \n

                                                      If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot \n be in the same address family as an existing BGP peer on the virtual interface.

                                                      \n

                                                      When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from\n the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

                                                      \n

                                                      For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.

                                                      " } }, "com.amazonaws.directconnect#CreateBGPPeerRequest": { @@ -1253,7 +1265,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a connection between a customer network and a specific AWS Direct Connect location.

                                                      \n\n

                                                      A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic \n cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router.

                                                      \n

                                                      To find the locations for your Region, use DescribeLocations.

                                                      \n

                                                      You can automatically add the new connection to a link aggregation group (LAG) by\n specifying a LAG ID in the request. This ensures that the new connection is allocated on the\n same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, \n the request fails and no connection is created.

                                                      " + "smithy.api#documentation": "

                                                      Creates a connection between a customer network and a specific Direct Connect location.

                                                      \n\n

                                                      A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic \n cable. One end of the cable is connected to your router, the other to an Direct Connect router.

                                                      \n

                                                      To find the locations for your Region, use DescribeLocations.

                                                      \n

                                                      You can automatically add the new connection to a link aggregation group (LAG) by\n specifying a LAG ID in the request. This ensures that the new connection is allocated on the\n same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, \n the request fails and no connection is created.

                                                      " } }, "com.amazonaws.directconnect#CreateConnectionRequest": { @@ -1301,7 +1313,7 @@ "requestMACSec": { "target": "com.amazonaws.directconnect#RequestMACSec", "traits": { - "smithy.api#documentation": "

                                                      Indicates whether you want the connection to support MAC Security (MACsec).

                                                      \n

                                                      MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether you want the connection to support MAC Security (MACsec).

                                                      \n

                                                      MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

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

                                                      Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set \n of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any \n AWS Region after it is created. The virtual interfaces and virtual private gateways that \n are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to\n connect to a VPC in any Region, regardless of the Region in which the virtual interfaces\n are located, and pass traffic between them.

                                                      " + "smithy.api#documentation": "

                                                      Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set \n of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any \n Region after it is created. The virtual interfaces and virtual private gateways that \n are connected through a Direct Connect gateway can be in different Regions. This enables you to\n connect to a VPC in any Region, regardless of the Region in which the virtual interfaces\n are located, and pass traffic between them.

                                                      " } }, "com.amazonaws.directconnect#CreateDirectConnectGatewayAssociation": { @@ -1363,7 +1375,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.

                                                      \n

                                                      You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any AWS account.

                                                      " + "smithy.api#documentation": "

                                                      Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.

                                                      \n

                                                      You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any account.

                                                      " } }, "com.amazonaws.directconnect#CreateDirectConnectGatewayAssociationProposalRequest": { @@ -1379,7 +1391,7 @@ "directConnectGatewayOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the Direct Connect gateway.

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

                                                      The ID of the account that owns the Direct Connect gateway.

                                                      ", "smithy.api#required": {} } }, @@ -1434,7 +1446,7 @@ "addAllowedPrefixesToDirectConnectGateway": { "target": "com.amazonaws.directconnect#RouteFilterPrefixList", "traits": { - "smithy.api#documentation": "

                                                      The Amazon VPC prefixes to advertise to the Direct Connect gateway

                                                      \n

                                                      This parameter is required when you create an association to a transit gateway.

                                                      \n

                                                      For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon VPC prefixes to advertise to the Direct Connect gateway

                                                      \n

                                                      This parameter is required when you create an association to a transit gateway.

                                                      \n

                                                      For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

                                                      " } }, "virtualGatewayId": { @@ -1508,7 +1520,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location.

                                                      \n

                                                      An interconnect is a connection that is capable of hosting other connections. The AWS\n Direct Connect partner can use an interconnect to provide AWS Direct Connect hosted\n connections to customers through their own network services. Like a standard connection, an\n interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet\n fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect\n router.

                                                      \n

                                                      You can automatically add the new interconnect to a link aggregation group (LAG) by\n specifying a LAG ID in the request. This ensures that the new interconnect is allocated on\n the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the \n endpoint, the request fails and no interconnect is created.

                                                      \n

                                                      For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection.\n The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect Partner.

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.

                                                      \n

                                                      An interconnect is a connection that is capable of hosting other connections. The \n Direct Connect Partner can use an interconnect to provide Direct Connect hosted\n connections to customers through their own network services. Like a standard connection, an\n interconnect links the partner's network to an Direct Connect location over a standard Ethernet\n fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect\n router.

                                                      \n

                                                      You can automatically add the new interconnect to a link aggregation group (LAG) by\n specifying a LAG ID in the request. This ensures that the new interconnect is allocated on\n the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the \n endpoint, the request fails and no interconnect is created.

                                                      \n

                                                      For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection.\n The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#CreateInterconnectRequest": { @@ -1578,7 +1590,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a link aggregation group (LAG) with the specified number of bundled\n physical dedicated connections between the customer network and a specific AWS Direct Connect location.\n A LAG is a logical interface that uses the Link Aggregation Control Protocol\n (LACP) to aggregate multiple interfaces, enabling you to treat them as a single \n interface.

                                                      \n

                                                      All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same AWS Direct Connect endpoint.

                                                      \n

                                                      You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you\n request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is\n created.

                                                      \n

                                                      You can specify an existing physical dedicated connection or interconnect to include in\n the LAG (which counts towards the total number of connections). Doing so interrupts the\n current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG\n will be created on the same AWS Direct Connect endpoint to which the dedicated connection terminates. Any\n virtual interfaces associated with the dedicated connection are automatically disassociated\n and re-associated with the LAG. The connection ID does not change.

                                                      \n

                                                      If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG is \n automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual \n interfaces cannot be directly configured.

                                                      " + "smithy.api#documentation": "

                                                      Creates a link aggregation group (LAG) with the specified number of bundled\n physical dedicated connections between the customer network and a specific Direct Connect location.\n A LAG is a logical interface that uses the Link Aggregation Control Protocol\n (LACP) to aggregate multiple interfaces, enabling you to treat them as a single \n interface.

                                                      \n

                                                      All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.

                                                      \n

                                                      You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you\n request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is\n created.

                                                      \n

                                                      You can specify an existing physical dedicated connection or interconnect to include in\n the LAG (which counts towards the total number of connections). Doing so interrupts the\n current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG\n will be created on the same Direct Connect endpoint to which the dedicated connection terminates. Any\n virtual interfaces associated with the dedicated connection are automatically disassociated\n and re-associated with the LAG. The connection ID does not change.

                                                      \n

                                                      If the account used to create a LAG is a registered Direct Connect Partner, the LAG is \n automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual \n interfaces cannot be directly configured.

                                                      " } }, "com.amazonaws.directconnect#CreateLagRequest": { @@ -1639,7 +1651,7 @@ "requestMACSec": { "target": "com.amazonaws.directconnect#RequestMACSec", "traits": { - "smithy.api#documentation": "

                                                      Indicates whether the connection will support MAC Security (MACsec).

                                                      \n \n

                                                      All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

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

                                                      Indicates whether the connection will support MAC Security (MACsec).

                                                      \n \n

                                                      All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

                                                      \n
                                                      " } } } @@ -1667,7 +1679,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic.\n A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW).\n Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple \n VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only \n provides access to a single VPC within the same Region.

                                                      \n

                                                      Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to\n the underlying physical connection if it wasn't updated to support jumbo frames. Updating \n the connection disrupts network connectivity for all virtual interfaces associated with \n the connection for up to 30 seconds. To check whether your connection supports jumbo \n frames, call DescribeConnections. To check whether your virtual \n interface supports jumbo frames, call DescribeVirtualInterfaces.

                                                      " + "smithy.api#documentation": "

                                                      Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic.\n A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW).\n Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple \n VPCs, including VPCs in different Regions. Connecting the private virtual interface \n to a VGW only provides access to a single VPC within the same Region.

                                                      \n

                                                      Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to\n the underlying physical connection if it wasn't updated to support jumbo frames. Updating \n the connection disrupts network connectivity for all virtual interfaces associated with \n the connection for up to 30 seconds. To check whether your connection supports jumbo \n frames, call DescribeConnections. To check whether your virtual \n interface supports jumbo frames, call DescribeVirtualInterfaces.

                                                      " } }, "com.amazonaws.directconnect#CreatePrivateVirtualInterfaceRequest": { @@ -1712,7 +1724,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic.\n A public virtual interface supports sending traffic to public services of AWS such as Amazon S3.

                                                      \n

                                                      When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer\n and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.

                                                      " + "smithy.api#documentation": "

                                                      Creates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic.\n A public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3.

                                                      \n

                                                      When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer\n and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.

                                                      " } }, "com.amazonaws.directconnect#CreatePublicVirtualInterfaceRequest": { @@ -1867,7 +1879,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified connection.

                                                      \n

                                                      Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. \n If you are partnering with any third parties to connect with the AWS Direct Connect location, \n you must cancel your service with them separately.

                                                      " + "smithy.api#documentation": "

                                                      Deletes the specified connection.

                                                      \n

                                                      Deleting a connection only stops the Direct Connect port hour and data transfer charges. \n If you are partnering with any third parties to connect with the Direct Connect location, \n you must cancel your service with them separately.

                                                      " } }, "com.amazonaws.directconnect#DeleteConnectionRequest": { @@ -2039,7 +2051,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified interconnect.

                                                      \n \n

                                                      Intended for use\n by AWS Direct Connect Partners only.

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

                                                      Deletes the specified interconnect.

                                                      \n \n

                                                      Intended for use\n by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#DeleteInterconnectRequest": { @@ -2158,7 +2170,7 @@ ], "traits": { "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                                                      Deprecated. Use DescribeLoa instead.

                                                      \n

                                                      Gets the LOA-CFA for a connection.

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or\n service provider uses when establishing your cross connect to AWS at the colocation facility. For more information,\n see Requesting Cross Connects\n at AWS Direct Connect Locations in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Deprecated. Use DescribeLoa instead.

                                                      \n

                                                      Gets the LOA-CFA for a connection.

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or\n service provider uses when establishing your cross connect to Amazon Web Services at the colocation facility. For more information,\n see Requesting Cross Connects\n at Direct Connect Locations in the Direct Connect User Guide.

                                                      " } }, "com.amazonaws.directconnect#DescribeConnectionLoaRequest": { @@ -2234,7 +2246,7 @@ ], "traits": { "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                                                      Deprecated. Use DescribeHostedConnections instead.

                                                      \n

                                                      Lists the connections that have been provisioned on the specified interconnect.

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Deprecated. Use DescribeHostedConnections instead.

                                                      \n

                                                      Lists the connections that have been provisioned on the specified interconnect.

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#DescribeConnectionsOnInterconnectRequest": { @@ -2553,7 +2565,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the hosted connections that have been provisioned on the specified\n interconnect or link aggregation group (LAG).

                                                      \n \n

                                                      Intended for use by AWS Direct Connect Partners only.

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

                                                      Lists the hosted connections that have been provisioned on the specified\n interconnect or link aggregation group (LAG).

                                                      \n \n

                                                      Intended for use by Direct Connect Partners only.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#DescribeHostedConnectionsRequest": { @@ -2586,7 +2598,7 @@ ], "traits": { "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                                                      Deprecated. Use DescribeLoa instead.

                                                      \n

                                                      Gets the LOA-CFA for the specified interconnect.

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility.\n For more information, see Requesting Cross Connects at AWS Direct Connect Locations\n in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Deprecated. Use DescribeLoa instead.

                                                      \n

                                                      Gets the LOA-CFA for the specified interconnect.

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to Amazon Web Services at the colocation facility.\n For more information, see Requesting Cross Connects at Direct Connect Locations\n in the Direct Connect User Guide.

                                                      " } }, "com.amazonaws.directconnect#DescribeInterconnectLoaRequest": { @@ -2641,7 +2653,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the interconnects owned by the AWS account or only the specified interconnect.

                                                      " + "smithy.api#documentation": "

                                                      Lists the interconnects owned by the account or only the specified interconnect.

                                                      " } }, "com.amazonaws.directconnect#DescribeInterconnectsRequest": { @@ -2703,7 +2715,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing \n your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations\n in the AWS Direct Connect User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).

                                                      \n

                                                      The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing \n your cross connect to Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at Direct Connect Locations\n in the Direct Connect User Guide.

                                                      " } }, "com.amazonaws.directconnect#DescribeLoaRequest": { @@ -2744,7 +2756,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling\n CreateConnection or CreateInterconnect.

                                                      " + "smithy.api#documentation": "

                                                      Lists the Direct Connect locations in the current Region. These are the locations that can be selected when calling\n CreateConnection or CreateInterconnect.

                                                      " } }, "com.amazonaws.directconnect#DescribeTags": { @@ -2764,7 +2776,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Describes the tags associated with the specified AWS Direct Connect resources.

                                                      " + "smithy.api#documentation": "

                                                      Describes the tags associated with the specified Direct Connect resources.

                                                      " } }, "com.amazonaws.directconnect#DescribeTagsRequest": { @@ -2804,7 +2816,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the virtual private gateways owned by the AWS account.

                                                      \n

                                                      You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.

                                                      " + "smithy.api#documentation": "

                                                      Lists the virtual private gateways owned by the account.

                                                      \n

                                                      You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.

                                                      " } }, "com.amazonaws.directconnect#DescribeVirtualInterfaces": { @@ -2824,7 +2836,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer\n than 15 minutes before you make the request are also returned. If you specify a\n connection ID, only the virtual interfaces associated with the connection are returned.\n If you specify a virtual interface ID, then only a single virtual interface is returned.

                                                      \n

                                                      A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.

                                                      " + "smithy.api#documentation": "

                                                      Displays all virtual interfaces for an account. Virtual interfaces deleted fewer\n than 15 minutes before you make the request are also returned. If you specify a\n connection ID, only the virtual interfaces associated with the connection are returned.\n If you specify a virtual interface ID, then only a single virtual interface is returned.

                                                      \n

                                                      A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.

                                                      " } }, "com.amazonaws.directconnect#DescribeVirtualInterfacesRequest": { @@ -2880,7 +2892,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the Direct Connect gateway.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the Direct Connect gateway.

                                                      " } }, "directConnectGatewayState": { @@ -2912,7 +2924,7 @@ "directConnectGatewayOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the associated gateway.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the associated gateway.

                                                      " } }, "associationState": { @@ -2954,13 +2966,13 @@ "virtualGatewayRegion": { "target": "com.amazonaws.directconnect#VirtualGatewayRegion", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the virtual private gateway is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the virtual private gateway is located.

                                                      " } }, "virtualGatewayOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the virtual private gateway.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the virtual private gateway.

                                                      " } } }, @@ -2995,7 +3007,7 @@ "directConnectGatewayOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the Direct Connect gateway.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the Direct Connect gateway.

                                                      " } }, "proposalState": { @@ -3100,13 +3112,13 @@ "virtualInterfaceRegion": { "target": "com.amazonaws.directconnect#VirtualInterfaceRegion", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the virtual interface is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the virtual interface is located.

                                                      " } }, "virtualInterfaceOwnerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the virtual interface.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the virtual interface.

                                                      " } }, "attachmentState": { @@ -3241,7 +3253,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Disassociates a connection from a link aggregation group (LAG). The connection is\n interrupted and re-established as a standalone connection (the connection is not\n deleted; to delete the connection, use the DeleteConnection request).\n If the LAG has associated virtual interfaces or hosted connections, they remain\n associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is \n automatically converted to an interconnect.

                                                      \n

                                                      If disassociating the connection would cause the LAG to fall below its setting for\n minimum number of operational connections, the request fails, except when it's the last\n member of the LAG. If all connections are disassociated, the LAG continues to exist as\n an empty LAG with no physical connections.

                                                      " + "smithy.api#documentation": "

                                                      Disassociates a connection from a link aggregation group (LAG). The connection is\n interrupted and re-established as a standalone connection (the connection is not\n deleted; to delete the connection, use the DeleteConnection request).\n If the LAG has associated virtual interfaces or hosted connections, they remain\n associated with the LAG. A disassociated connection owned by an Direct Connect Partner is \n automatically converted to an interconnect.

                                                      \n

                                                      If disassociating the connection would cause the LAG to fall below its setting for\n minimum number of operational connections, the request fails, except when it's the last\n member of the LAG. If all connections are disassociated, the LAG continues to exist as\n an empty LAG with no physical connections.

                                                      " } }, "com.amazonaws.directconnect#DisassociateConnectionFromLagRequest": { @@ -3280,7 +3292,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.

                                                      " + "smithy.api#documentation": "

                                                      Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.

                                                      " } }, "com.amazonaws.directconnect#DisassociateMacSecKeyRequest": { @@ -3407,7 +3419,7 @@ "region": { "target": "com.amazonaws.directconnect#Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the connection is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the connection is located.

                                                      " } }, "location": { @@ -3452,6 +3464,12 @@ "smithy.api#documentation": "

                                                      The Direct Connect endpoint on which the physical connection terminates.

                                                      " } }, + "awsLogicalDeviceId": { + "target": "com.amazonaws.directconnect#AwsLogicalDeviceId", + "traits": { + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                                      " + } + }, "hasLogicalRedundancy": { "target": "com.amazonaws.directconnect#HasLogicalRedundancy", "traits": { @@ -3563,7 +3581,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the LAG.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the LAG.

                                                      " } }, "lagName": { @@ -3587,7 +3605,7 @@ "region": { "target": "com.amazonaws.directconnect#Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the connection is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the connection is located.

                                                      " } }, "minimumLinks": { @@ -3599,13 +3617,19 @@ "awsDevice": { "target": "com.amazonaws.directconnect#AwsDevice", "traits": { - "smithy.api#documentation": "

                                                      The AWS Direct Connect endpoint that hosts the LAG.

                                                      " + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that hosts the LAG.

                                                      " } }, "awsDeviceV2": { "target": "com.amazonaws.directconnect#AwsDeviceV2", "traits": { - "smithy.api#documentation": "

                                                      The AWS Direct Connect endpoint that hosts the LAG.

                                                      " + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that hosts the LAG.

                                                      " + } + }, + "awsLogicalDeviceId": { + "target": "com.amazonaws.directconnect#AwsLogicalDeviceId", + "traits": { + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                                      " } }, "connections": { @@ -3858,7 +3882,7 @@ "region": { "target": "com.amazonaws.directconnect#Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region for the location.

                                                      " + "smithy.api#documentation": "

                                                      The Region for the location.

                                                      " } }, "availablePortSpeeds": { @@ -3881,7 +3905,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about an AWS Direct Connect location.

                                                      " + "smithy.api#documentation": "

                                                      Information about an Direct Connect location.

                                                      " } }, "com.amazonaws.directconnect#LocationCode": { @@ -4200,7 +4224,7 @@ "routeFilterPrefixes": { "target": "com.amazonaws.directconnect#RouteFilterPrefixList", "traits": { - "smithy.api#documentation": "

                                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                                      " + "smithy.api#documentation": "

                                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                                      " } }, "tags": { @@ -4265,7 +4289,7 @@ "routeFilterPrefixes": { "target": "com.amazonaws.directconnect#RouteFilterPrefixList", "traits": { - "smithy.api#documentation": "

                                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                                      " + "smithy.api#documentation": "

                                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                                      " } }, "tags": { @@ -4603,7 +4627,7 @@ "name": "directconnect" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

                                                      AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all AWS Regions except the China (Beijing) and (China) Ningxia Regions. \n AWS resources in the China Regions can only be accessed through locations associated with those Regions.

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

                                                      Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the Cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all Regions except the China (Beijing) and (China) Ningxia Regions. \n Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

                                                      ", "smithy.api#title": "AWS Direct Connect", "smithy.api#xmlNamespace": { "uri": "http://directconnect.amazonaws.com/doc/2012-10-25/" @@ -4669,7 +4693,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about a tag associated with an AWS Direct Connect resource.

                                                      " + "smithy.api#documentation": "

                                                      Information about a tag associated with an Direct Connect resource.

                                                      " } }, "com.amazonaws.directconnect#ResourceTagList": { @@ -4885,7 +4909,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags.

                                                      \n

                                                      Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

                                                      " + "smithy.api#documentation": "

                                                      Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags.

                                                      \n

                                                      Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

                                                      " } }, "com.amazonaws.directconnect#TagResourceRequest": { @@ -4959,7 +4983,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Removes one or more tags from the specified AWS Direct Connect resource.

                                                      " + "smithy.api#documentation": "

                                                      Removes one or more tags from the specified Direct Connect resource.

                                                      " } }, "com.amazonaws.directconnect#UntagResourceRequest": { @@ -5002,7 +5026,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates the AWS Direct Connect dedicated connection configuration.

                                                      \n

                                                      You can update the following parameters for a connection:

                                                      \n
                                                        \n
                                                      • \n

                                                        The connection name

                                                        \n
                                                      • \n
                                                      • \n

                                                        The connection's MAC Security (MACsec) encryption mode.

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

                                                      Updates the Direct Connect dedicated connection configuration.

                                                      \n

                                                      You can update the following parameters for a connection:

                                                      \n
                                                        \n
                                                      • \n

                                                        The connection name

                                                        \n
                                                      • \n
                                                      • \n

                                                        The connection's MAC Security (MACsec) encryption mode.

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.directconnect#UpdateConnectionRequest": { @@ -5097,7 +5121,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates the attributes of the specified link aggregation group (LAG).

                                                      \n

                                                      You can update the following LAG attributes:

                                                      \n
                                                        \n
                                                      • \n

                                                        The name of the LAG.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The value for the minimum number of connections that must be operational\n for the LAG itself to be operational.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The LAG's MACsec encryption mode.

                                                        \n

                                                        AWS assigns this value to each connection which is part of the LAG.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The tags

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you adjust the threshold value for the minimum number of operational connections, ensure\n that the new value does not cause the LAG to fall below the threshold and become\n non-operational.

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

                                                      Updates the attributes of the specified link aggregation group (LAG).

                                                      \n

                                                      You can update the following LAG attributes:

                                                      \n
                                                        \n
                                                      • \n

                                                        The name of the LAG.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The value for the minimum number of connections that must be operational\n for the LAG itself to be operational.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The LAG's MACsec encryption mode.

                                                        \n

                                                        Amazon Web Services assigns this value to each connection which is part of the LAG.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The tags

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you adjust the threshold value for the minimum number of operational connections, ensure\n that the new value does not cause the LAG to fall below the threshold and become\n non-operational.

                                                      \n
                                                      " } }, "com.amazonaws.directconnect#UpdateLagRequest": { @@ -5125,7 +5149,7 @@ "encryptionMode": { "target": "com.amazonaws.directconnect#EncryptionMode", "traits": { - "smithy.api#documentation": "

                                                      The LAG MAC Security (MACsec) encryption mode.

                                                      \n

                                                      AWS applies the value to all connections which are part of the LAG.

                                                      " + "smithy.api#documentation": "

                                                      The LAG MAC Security (MACsec) encryption mode.

                                                      \n

                                                      Amazon Web Services applies the value to all connections which are part of the LAG.

                                                      " } } } @@ -5226,7 +5250,7 @@ "ownerAccount": { "target": "com.amazonaws.directconnect#OwnerAccount", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS account that owns the virtual interface.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the account that owns the virtual interface.

                                                      " } }, "virtualInterfaceId": { @@ -5340,7 +5364,7 @@ "routeFilterPrefixes": { "target": "com.amazonaws.directconnect#RouteFilterPrefixList", "traits": { - "smithy.api#documentation": "

                                                      The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

                                                      " + "smithy.api#documentation": "

                                                      The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

                                                      " } }, "bgpPeers": { @@ -5352,13 +5376,19 @@ "region": { "target": "com.amazonaws.directconnect#Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region where the virtual interface is located.

                                                      " + "smithy.api#documentation": "

                                                      The Region where the virtual interface is located.

                                                      " } }, "awsDeviceV2": { "target": "com.amazonaws.directconnect#AwsDeviceV2", "traits": { - "smithy.api#documentation": "

                                                      The\n Direct Connect endpoint on which the virtual interface terminates.

                                                      " + "smithy.api#documentation": "

                                                      The Direct Connect endpoint on which the virtual interface terminates.

                                                      " + } + }, + "awsLogicalDeviceId": { + "target": "com.amazonaws.directconnect#AwsLogicalDeviceId", + "traits": { + "smithy.api#documentation": "

                                                      The Direct Connect endpoint that terminates a physical connection's BGP sessions.

                                                      " } }, "tags": { diff --git a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json index a2f91ffa21eee..02b0d31a221ba 100644 --- a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json +++ b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json @@ -1201,6 +1201,9 @@ { "target": "com.amazonaws.ec2#AssociateIamInstanceProfile" }, + { + "target": "com.amazonaws.ec2#AssociateInstanceEventWindow" + }, { "target": "com.amazonaws.ec2#AssociateRouteTable" }, @@ -1321,6 +1324,9 @@ { "target": "com.amazonaws.ec2#CreateImage" }, + { + "target": "com.amazonaws.ec2#CreateInstanceEventWindow" + }, { "target": "com.amazonaws.ec2#CreateInstanceExportTask" }, @@ -1495,6 +1501,9 @@ { "target": "com.amazonaws.ec2#DeleteFpgaImage" }, + { + "target": "com.amazonaws.ec2#DeleteInstanceEventWindow" + }, { "target": "com.amazonaws.ec2#DeleteInternetGateway" }, @@ -1774,6 +1783,9 @@ { "target": "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributes" }, + { + "target": "com.amazonaws.ec2#DescribeInstanceEventWindows" + }, { "target": "com.amazonaws.ec2#DescribeInstances" }, @@ -2068,6 +2080,9 @@ { "target": "com.amazonaws.ec2#DisassociateIamInstanceProfile" }, + { + "target": "com.amazonaws.ec2#DisassociateInstanceEventWindow" + }, { "target": "com.amazonaws.ec2#DisassociateRouteTable" }, @@ -2260,6 +2275,9 @@ { "target": "com.amazonaws.ec2#ModifyInstanceEventStartTime" }, + { + "target": "com.amazonaws.ec2#ModifyInstanceEventWindow" + }, { "target": "com.amazonaws.ec2#ModifyInstanceMetadataOptions" }, @@ -3482,6 +3500,56 @@ } } }, + "com.amazonaws.ec2#AssociateInstanceEventWindow": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#AssociateInstanceEventWindowRequest" + }, + "output": { + "target": "com.amazonaws.ec2#AssociateInstanceEventWindowResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Associates one or more targets with an event window. Only one type of target (instance IDs,\n Dedicated Host IDs, or tags) can be specified with an event window.

                                                      \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      " + } + }, + "com.amazonaws.ec2#AssociateInstanceEventWindowRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

                                                      " + } + }, + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#required": {} + } + }, + "AssociationTarget": { + "target": "com.amazonaws.ec2#InstanceEventWindowAssociationRequest", + "traits": { + "smithy.api#documentation": "

                                                      One or more targets associated with the specified event window.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ec2#AssociateInstanceEventWindowResult": { + "type": "structure", + "members": { + "InstanceEventWindow": { + "target": "com.amazonaws.ec2#InstanceEventWindow", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindow", + "smithy.api#documentation": "

                                                      Information about the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindow" + } + } + } + }, "com.amazonaws.ec2#AssociateRouteTable": { "type": "operation", "input": { @@ -9773,6 +9841,68 @@ } } }, + "com.amazonaws.ec2#CreateInstanceEventWindow": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#CreateInstanceEventWindowRequest" + }, + "output": { + "target": "com.amazonaws.ec2#CreateInstanceEventWindowResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Creates an event window in which scheduled events for the associated Amazon EC2 instances can\n run.

                                                      \n

                                                      You can define either a set of time ranges or a cron expression when creating the event\n window, but not both. All event window times are in UTC.

                                                      \n

                                                      You can create up to 200 event windows per Amazon Web Services Region.

                                                      \n

                                                      When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags)\n are not yet associated with it. To ensure that the event window can be used, you must\n associate one or more targets with it by using the AssociateInstanceEventWindow API.

                                                      \n \n \n

                                                      Event windows are applicable only for scheduled events that stop, reboot, or\n terminate instances.

                                                      \n

                                                      Event windows are not applicable for:

                                                      \n
                                                        \n
                                                      • \n

                                                        Expedited scheduled events and network maintenance events.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Unscheduled maintenance such as AutoRecovery and unplanned reboots.

                                                        \n
                                                      • \n
                                                      \n
                                                      \n \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      " + } + }, + "com.amazonaws.ec2#CreateInstanceEventWindowRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

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

                                                      The name of the event window.

                                                      " + } + }, + "TimeRanges": { + "target": "com.amazonaws.ec2#InstanceEventWindowTimeRangeRequestSet", + "traits": { + "smithy.api#documentation": "

                                                      The time range for the event window. If you specify a time range, you can't specify a cron\n expression.

                                                      ", + "smithy.api#xmlName": "TimeRange" + } + }, + "CronExpression": { + "target": "com.amazonaws.ec2#InstanceEventWindowCronExpression", + "traits": { + "smithy.api#documentation": "

                                                      The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If\n you specify a cron expression, you can't specify a time range.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Only hour and day of the week values are supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For day of the week values, you can specify either integers 0 through\n 6, or alternative single values SUN through\n SAT.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The minute, month, and year must be specified by *.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The hour value must be one or a multiple range, for example, 0-4 or\n 0-4,20-23.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Each hour range must be >= 2 hours, for example, 0-2 or\n 20-23.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The event window must be >= 4 hours. The combined total time ranges in the event\n window must be >= 4 hours.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about cron expressions, see cron on the Wikipedia\n website.

                                                      " + } + }, + "TagSpecifications": { + "target": "com.amazonaws.ec2#TagSpecificationList", + "traits": { + "smithy.api#documentation": "

                                                      The tags to apply to the event window.

                                                      ", + "smithy.api#xmlName": "TagSpecification" + } + } + } + }, + "com.amazonaws.ec2#CreateInstanceEventWindowResult": { + "type": "structure", + "members": { + "InstanceEventWindow": { + "target": "com.amazonaws.ec2#InstanceEventWindow", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindow", + "smithy.api#documentation": "

                                                      Information about the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindow" + } + } + } + }, "com.amazonaws.ec2#CreateInstanceExportTask": { "type": "operation", "input": { @@ -13636,6 +13766,15 @@ "com.amazonaws.ec2#DedicatedHostId": { "type": "string" }, + "com.amazonaws.ec2#DedicatedHostIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#DedicatedHostId", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.ec2#DefaultNetworkCardIndex": { "type": "integer", "traits": { @@ -14203,6 +14342,56 @@ } } }, + "com.amazonaws.ec2#DeleteInstanceEventWindow": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DeleteInstanceEventWindowRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DeleteInstanceEventWindowResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Deletes the specified event window.

                                                      \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      " + } + }, + "com.amazonaws.ec2#DeleteInstanceEventWindowRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

                                                      " + } + }, + "ForceDelete": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

                                                      Specify true to force delete the event window. Use the force delete parameter\n if the event window is currently associated with targets.

                                                      " + } + }, + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#required": {}, + "smithy.api#xmlName": "InstanceEventWindowId" + } + } + } + }, + "com.amazonaws.ec2#DeleteInstanceEventWindowResult": { + "type": "structure", + "members": { + "InstanceEventWindowState": { + "target": "com.amazonaws.ec2#InstanceEventWindowStateChange", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindowState", + "smithy.api#documentation": "

                                                      The state of the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindowState" + } + } + } + }, "com.amazonaws.ec2#DeleteInternetGateway": { "type": "operation", "input": { @@ -15280,7 +15469,7 @@ "target": "com.amazonaws.ec2#TagList", "traits": { "aws.protocols#ec2QueryName": "Tag", - "smithy.api#documentation": "

                                                      The tags to delete. Specify a tag key and an optional tag value to delete\n specific tags. If you specify a tag key without a tag value, we delete any tag with this\n key regardless of its value. If you specify a tag key with an empty string as the tag\n value, we delete the tag only if its value is an empty string.

                                                      \n

                                                      If you omit this parameter, we delete all user-defined tags for the specified\n resources. We do not delete AWS-generated tags (tags that have the aws:\n prefix).

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

                                                      The tags to delete. Specify a tag key and an optional tag value to delete\n specific tags. If you specify a tag key without a tag value, we delete any tag with this\n key regardless of its value. If you specify a tag key with an empty string as the tag\n value, we delete the tag only if its value is an empty string.

                                                      \n

                                                      If you omit this parameter, we delete all user-defined tags for the specified\n resources. We do not delete Amazon Web Services-generated tags (tags that have the aws:\n prefix).

                                                      ", "smithy.api#xmlName": "tag" } } @@ -16281,7 +16470,7 @@ "target": "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesResult" }, "traits": { - "smithy.api#documentation": "

                                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included\n\t\t\tin scheduled event notifications for resources in the Region.

                                                      " + "smithy.api#documentation": "

                                                      c

                                                      \n \t

                                                      Deregisters tag keys to prevent tags that have the specified tag keys from being included\n\t\t\tin scheduled event notifications for resources in the Region.

                                                      " } }, "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesRequest": { @@ -19915,6 +20104,85 @@ } } }, + "com.amazonaws.ec2#DescribeInstanceEventWindows": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DescribeInstanceEventWindowsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DescribeInstanceEventWindowsResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Describes the specified event windows or all event windows.

                                                      \n

                                                      If you specify event window IDs, the output includes information for only the specified\n event windows. If you specify filters, the output includes information for only those event\n windows that meet the filter criteria. If you do not specify event windows IDs or filters,\n the output includes information for all event windows, which can affect performance. We\n recommend that you use pagination to ensure that the operation returns quickly and\n successfully.

                                                      \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "InstanceEventWindows", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#DescribeInstanceEventWindowsRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

                                                      " + } + }, + "InstanceEventWindowIds": { + "target": "com.amazonaws.ec2#InstanceEventWindowIdSet", + "traits": { + "smithy.api#documentation": "

                                                      The IDs of the event windows.

                                                      ", + "smithy.api#xmlName": "InstanceEventWindowId" + } + }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

                                                      One or more filters.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n dedicated-host-id - The event windows associated with the specified\n Dedicated Host ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n event-window-name - The event windows associated with the specified\n names.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n instance-id - The event windows associated with the specified instance\n ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n instance-tag - The event windows associated with the specified tag and\n value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n instance-tag-key - The event windows associated with the specified tag\n key, regardless of the value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n instance-tag-value - The event windows associated with the specified tag\n value, regardless of the key.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n tag: - The key/value combination of a tag assigned to the\n event window. Use the tag key in the filter name and the tag value as the filter\n value. For example, to find all resources that have a tag with the key\n Owner and the value CMX, specify tag:Owner\n for the filter name and CMX for the filter value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n tag-key - The key of a tag assigned to the event window. Use this filter\n to find all event windows that have a tag with a specific key, regardless of the tag\n value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n tag-value - The value of a tag assigned to the event window. Use this\n filter to find all event windows that have a tag with a specific value, regardless of\n the tag key.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#xmlName": "Filter" + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#ResultRange", + "traits": { + "smithy.api#documentation": "

                                                      The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value can\n be between 20 and 500. You cannot specify this parameter and the event window IDs parameter\n in the same call.

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

                                                      The token to request the next page of results.

                                                      " + } + } + }, + "traits": { + "smithy.api#documentation": "Describe instance event windows by InstanceEventWindow." + } + }, + "com.amazonaws.ec2#DescribeInstanceEventWindowsResult": { + "type": "structure", + "members": { + "InstanceEventWindows": { + "target": "com.amazonaws.ec2#InstanceEventWindowSet", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindowSet", + "smithy.api#documentation": "

                                                      Information about the event windows.

                                                      ", + "smithy.api#xmlName": "instanceEventWindowSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                      ", + "smithy.api#xmlName": "nextToken" + } + } + } + }, "com.amazonaws.ec2#DescribeInstanceStatus": { "type": "operation", "input": { @@ -28113,6 +28381,56 @@ } } }, + "com.amazonaws.ec2#DisassociateInstanceEventWindow": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DisassociateInstanceEventWindowRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DisassociateInstanceEventWindowResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Disassociates one or more targets from an event window.

                                                      \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      " + } + }, + "com.amazonaws.ec2#DisassociateInstanceEventWindowRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

                                                      " + } + }, + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#required": {} + } + }, + "AssociationTarget": { + "target": "com.amazonaws.ec2#InstanceEventWindowDisassociationRequest", + "traits": { + "smithy.api#documentation": "

                                                      One or more targets to disassociate from the specified event window.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ec2#DisassociateInstanceEventWindowResult": { + "type": "structure", + "members": { + "InstanceEventWindow": { + "target": "com.amazonaws.ec2#InstanceEventWindow", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindow", + "smithy.api#documentation": "

                                                      Information about the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindow" + } + } + } + }, "com.amazonaws.ec2#DisassociateRouteTable": { "type": "operation", "input": { @@ -34930,6 +35248,15 @@ ] } }, + "com.amazonaws.ec2#Hour": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 23 + } + } + }, "com.amazonaws.ec2#HttpTokensState": { "type": "string", "traits": { @@ -37730,6 +38057,318 @@ "com.amazonaws.ec2#InstanceEventId": { "type": "string" }, + "com.amazonaws.ec2#InstanceEventWindow": { + "type": "structure", + "members": { + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindowId", + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindowId" + } + }, + "TimeRanges": { + "target": "com.amazonaws.ec2#InstanceEventWindowTimeRangeList", + "traits": { + "aws.protocols#ec2QueryName": "TimeRangeSet", + "smithy.api#documentation": "

                                                      One or more time ranges defined for the event window.

                                                      ", + "smithy.api#xmlName": "timeRangeSet" + } + }, + "Name": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "Name", + "smithy.api#documentation": "

                                                      The name of the event window.

                                                      ", + "smithy.api#xmlName": "name" + } + }, + "CronExpression": { + "target": "com.amazonaws.ec2#InstanceEventWindowCronExpression", + "traits": { + "aws.protocols#ec2QueryName": "CronExpression", + "smithy.api#documentation": "

                                                      The cron expression defined for the event window.

                                                      ", + "smithy.api#xmlName": "cronExpression" + } + }, + "AssociationTarget": { + "target": "com.amazonaws.ec2#InstanceEventWindowAssociationTarget", + "traits": { + "aws.protocols#ec2QueryName": "AssociationTarget", + "smithy.api#documentation": "

                                                      One or more targets associated with the event window.

                                                      ", + "smithy.api#xmlName": "associationTarget" + } + }, + "State": { + "target": "com.amazonaws.ec2#InstanceEventWindowState", + "traits": { + "aws.protocols#ec2QueryName": "State", + "smithy.api#documentation": "

                                                      The current state of the event window.

                                                      ", + "smithy.api#xmlName": "state" + } + }, + "Tags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "aws.protocols#ec2QueryName": "TagSet", + "smithy.api#documentation": "

                                                      The instance tags associated with the event window.

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

                                                      The event window.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowAssociationRequest": { + "type": "structure", + "members": { + "InstanceIds": { + "target": "com.amazonaws.ec2#InstanceIdList", + "traits": { + "smithy.api#documentation": "

                                                      The IDs of the instances to associate with the event window. If the instance is on a\n Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated\n Host ID parameter.

                                                      ", + "smithy.api#xmlName": "InstanceId" + } + }, + "InstanceTags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "smithy.api#documentation": "

                                                      The instance tags to associate with the event window. Any instances associated with the\n tags will be associated with the event window.

                                                      ", + "smithy.api#xmlName": "InstanceTag" + } + }, + "DedicatedHostIds": { + "target": "com.amazonaws.ec2#DedicatedHostIdList", + "traits": { + "smithy.api#documentation": "

                                                      The IDs of the Dedicated Hosts to associate with the event window.

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

                                                      One or more targets associated with the specified event window. Only one\n type of target (instance ID, instance tag, or Dedicated Host ID)\n can be associated with an event window.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowAssociationTarget": { + "type": "structure", + "members": { + "InstanceIds": { + "target": "com.amazonaws.ec2#InstanceIdList", + "traits": { + "aws.protocols#ec2QueryName": "InstanceIdSet", + "smithy.api#documentation": "

                                                      The IDs of the instances associated with the event window.

                                                      ", + "smithy.api#xmlName": "instanceIdSet" + } + }, + "Tags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "aws.protocols#ec2QueryName": "TagSet", + "smithy.api#documentation": "

                                                      The instance tags associated with the event window. Any instances associated with the tags\n will be associated with the event window.

                                                      ", + "smithy.api#xmlName": "tagSet" + } + }, + "DedicatedHostIds": { + "target": "com.amazonaws.ec2#DedicatedHostIdList", + "traits": { + "aws.protocols#ec2QueryName": "DedicatedHostIdSet", + "smithy.api#documentation": "

                                                      The IDs of the Dedicated Hosts associated with the event window.

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

                                                      One or more targets associated with the event window.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowCronExpression": { + "type": "string" + }, + "com.amazonaws.ec2#InstanceEventWindowDisassociationRequest": { + "type": "structure", + "members": { + "InstanceIds": { + "target": "com.amazonaws.ec2#InstanceIdList", + "traits": { + "smithy.api#documentation": "

                                                      The IDs of the instances to disassociate from the event window.

                                                      ", + "smithy.api#xmlName": "InstanceId" + } + }, + "InstanceTags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "smithy.api#documentation": "

                                                      The instance tags to disassociate from the event window. Any instances associated with\n the tags will be disassociated from the event window.

                                                      ", + "smithy.api#xmlName": "InstanceTag" + } + }, + "DedicatedHostIds": { + "target": "com.amazonaws.ec2#DedicatedHostIdList", + "traits": { + "smithy.api#documentation": "

                                                      The IDs of the Dedicated Hosts to disassociate from the event window.

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

                                                      The targets to disassociate from the specified event window.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowId": { + "type": "string" + }, + "com.amazonaws.ec2#InstanceEventWindowIdSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "smithy.api#xmlName": "InstanceEventWindowId" + } + } + }, + "com.amazonaws.ec2#InstanceEventWindowSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#InstanceEventWindow", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#InstanceEventWindowState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "creating", + "name": "creating" + }, + { + "value": "deleting", + "name": "deleting" + }, + { + "value": "active", + "name": "active" + }, + { + "value": "deleted", + "name": "deleted" + } + ] + } + }, + "com.amazonaws.ec2#InstanceEventWindowStateChange": { + "type": "structure", + "members": { + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindowId", + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindowId" + } + }, + "State": { + "target": "com.amazonaws.ec2#InstanceEventWindowState", + "traits": { + "aws.protocols#ec2QueryName": "State", + "smithy.api#documentation": "

                                                      The current state of the event window.

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

                                                      The state of the event window.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowTimeRange": { + "type": "structure", + "members": { + "StartWeekDay": { + "target": "com.amazonaws.ec2#WeekDay", + "traits": { + "aws.protocols#ec2QueryName": "StartWeekDay", + "smithy.api#documentation": "

                                                      The day on which the time range begins.

                                                      ", + "smithy.api#xmlName": "startWeekDay" + } + }, + "StartHour": { + "target": "com.amazonaws.ec2#Hour", + "traits": { + "aws.protocols#ec2QueryName": "StartHour", + "smithy.api#documentation": "

                                                      The hour when the time range begins.

                                                      ", + "smithy.api#xmlName": "startHour" + } + }, + "EndWeekDay": { + "target": "com.amazonaws.ec2#WeekDay", + "traits": { + "aws.protocols#ec2QueryName": "EndWeekDay", + "smithy.api#documentation": "

                                                      The day on which the time range ends.

                                                      ", + "smithy.api#xmlName": "endWeekDay" + } + }, + "EndHour": { + "target": "com.amazonaws.ec2#Hour", + "traits": { + "aws.protocols#ec2QueryName": "EndHour", + "smithy.api#documentation": "

                                                      The hour when the time range ends.

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

                                                      The start day and time and the end day and time of the time range, in UTC.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowTimeRangeList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#InstanceEventWindowTimeRange", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#InstanceEventWindowTimeRangeRequest": { + "type": "structure", + "members": { + "StartWeekDay": { + "target": "com.amazonaws.ec2#WeekDay", + "traits": { + "smithy.api#documentation": "

                                                      The day on which the time range begins.

                                                      " + } + }, + "StartHour": { + "target": "com.amazonaws.ec2#Hour", + "traits": { + "smithy.api#documentation": "

                                                      The hour when the time range begins.

                                                      " + } + }, + "EndWeekDay": { + "target": "com.amazonaws.ec2#WeekDay", + "traits": { + "smithy.api#documentation": "

                                                      The day on which the time range ends.

                                                      " + } + }, + "EndHour": { + "target": "com.amazonaws.ec2#Hour", + "traits": { + "smithy.api#documentation": "

                                                      The hour when the time range ends.

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

                                                      The start day and time and the end day and time of the time range, in UTC.

                                                      " + } + }, + "com.amazonaws.ec2#InstanceEventWindowTimeRangeRequestSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#InstanceEventWindowTimeRangeRequest" + } + }, "com.amazonaws.ec2#InstanceExportDetails": { "type": "structure", "members": { @@ -37796,6 +38435,15 @@ "com.amazonaws.ec2#InstanceId": { "type": "string" }, + "com.amazonaws.ec2#InstanceIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#InstanceId", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.ec2#InstanceIdSet": { "type": "list", "member": { @@ -45396,6 +46044,68 @@ } } }, + "com.amazonaws.ec2#ModifyInstanceEventWindow": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#ModifyInstanceEventWindowRequest" + }, + "output": { + "target": "com.amazonaws.ec2#ModifyInstanceEventWindowResult" + }, + "traits": { + "smithy.api#documentation": "

                                                      Modifies the specified event window.

                                                      \n

                                                      You can define either a set of time ranges or a cron expression when modifying the event\n window, but not both.

                                                      \n

                                                      To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.

                                                      \n

                                                      If Amazon Web Services has already scheduled an event, modifying an event window won't change the time\n of the scheduled event.

                                                      \n

                                                      For more information, see Define event windows\n for scheduled events in the Amazon EC2 User Guide.

                                                      " + } + }, + "com.amazonaws.ec2#ModifyInstanceEventWindowRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

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

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

                                                      The name of the event window.

                                                      " + } + }, + "InstanceEventWindowId": { + "target": "com.amazonaws.ec2#InstanceEventWindowId", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the event window.

                                                      ", + "smithy.api#required": {} + } + }, + "TimeRanges": { + "target": "com.amazonaws.ec2#InstanceEventWindowTimeRangeRequestSet", + "traits": { + "smithy.api#documentation": "

                                                      The time ranges of the event window.

                                                      ", + "smithy.api#xmlName": "TimeRange" + } + }, + "CronExpression": { + "target": "com.amazonaws.ec2#InstanceEventWindowCronExpression", + "traits": { + "smithy.api#documentation": "

                                                      The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Only hour and day of the week values are supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For day of the week values, you can specify either integers 0 through\n 6, or alternative single values SUN through\n SAT.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The minute, month, and year must be specified by *.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The hour value must be one or a multiple range, for example, 0-4 or\n 0-4,20-23.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Each hour range must be >= 2 hours, for example, 0-2 or\n 20-23.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The event window must be >= 4 hours. The combined total time ranges in the event\n window must be >= 4 hours.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about cron expressions, see cron on the Wikipedia\n website.

                                                      " + } + } + } + }, + "com.amazonaws.ec2#ModifyInstanceEventWindowResult": { + "type": "structure", + "members": { + "InstanceEventWindow": { + "target": "com.amazonaws.ec2#InstanceEventWindow", + "traits": { + "aws.protocols#ec2QueryName": "InstanceEventWindow", + "smithy.api#documentation": "

                                                      Information about the event window.

                                                      ", + "smithy.api#xmlName": "instanceEventWindow" + } + } + } + }, "com.amazonaws.ec2#ModifyInstanceMetadataOptions": { "type": "operation", "input": { @@ -55006,6 +55716,10 @@ "value": "instance", "name": "instance" }, + { + "value": "instance-event-window", + "name": "instance_event_window" + }, { "value": "internet-gateway", "name": "internet_gateway" @@ -55521,6 +56235,15 @@ } } }, + "com.amazonaws.ec2#ResultRange": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 20, + "max": 500 + } + } + }, "com.amazonaws.ec2#RevokeClientVpnIngress": { "type": "operation", "input": { @@ -59860,7 +60583,7 @@ "BlockDurationMinutes": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#documentation": "

                                                      The required duration for the Spot Instances (also known as Spot blocks), in minutes.\n This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

                                                      \n

                                                      The duration period starts as soon as your Spot Instance receives its instance ID. At\n the end of the duration period, Amazon EC2 marks the Spot Instance for termination and\n provides a Spot Instance termination notice, which gives the instance a two-minute\n warning before it terminates.

                                                      \n

                                                      You can't specify an Availability Zone group or a launch group if you specify a\n duration.

                                                      \n

                                                      New accounts or accounts with no previous billing history with Amazon Web Services are not eligible\n for Spot Instances with a defined duration (also known as Spot blocks).

                                                      " + "smithy.api#documentation": "

                                                      Deprecated.

                                                      " } }, "ValidUntil": { @@ -61178,7 +61901,7 @@ "target": "com.amazonaws.ec2#ResourceType", "traits": { "aws.protocols#ec2QueryName": "ResourceType", - "smithy.api#documentation": "

                                                      The type of resource to tag. Currently, the resource types that support tagging on\n creation are: capacity-reservation | carrier-gateway |\n client-vpn-endpoint | customer-gateway |\n \t dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-ip | elastic-gpu |\n \t export-image-task\n | export-instance-task | fleet | fpga-image |\n \t host-reservation | image| import-image-task |\n import-snapshot-task | instance |\n internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 |\n \t key-pair | launch-template | local-gateway-route-table-vpc-association | placement-group |\n \t prefix-list | natgateway | network-acl | network-interface | \n \t reserved-instances |route-table | security-group| snapshot | spot-fleet-request\n | spot-instances-request | snapshot | subnet |\n traffic-mirror-filter | traffic-mirror-session |\n traffic-mirror-target | transit-gateway |\n \t transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table |\n volume |vpc | vpc-peering-connection |\n vpc-endpoint (for interface and gateway endpoints) |\n vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log |\n vpn-connection | vpn-gateway.

                                                      \n

                                                      To tag a resource after it has been created, see CreateTags.

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

                                                      The type of resource to tag. Currently, the resource types that support tagging on\n creation are: capacity-reservation | carrier-gateway |\n client-vpn-endpoint | customer-gateway |\n \t dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-ip | elastic-gpu |\n \t export-image-task\n | export-instance-task | fleet | fpga-image |\n \t host-reservation | image| import-image-task |\n \t import-snapshot-task | instance | instance-event-window |\n internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 |\n \t key-pair | launch-template | local-gateway-route-table-vpc-association | placement-group |\n \t prefix-list | natgateway | network-acl | network-interface | \n \t reserved-instances |route-table | security-group| snapshot | spot-fleet-request\n | spot-instances-request | snapshot | subnet |\n traffic-mirror-filter | traffic-mirror-session |\n traffic-mirror-target | transit-gateway |\n \t transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table |\n volume |vpc | vpc-peering-connection |\n vpc-endpoint (for interface and gateway endpoints) |\n \t vpc-endpoint-service (for PrivateLink) | vpc-flow-log |\n vpn-connection | vpn-gateway.

                                                      \n

                                                      To tag a resource after it has been created, see CreateTags.

                                                      ", "smithy.api#xmlName": "resourceType" } }, @@ -67889,6 +68612,41 @@ "target": "com.amazonaws.ec2#VpnTunnelOptionsSpecification" } }, + "com.amazonaws.ec2#WeekDay": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "sunday", + "name": "sunday" + }, + { + "value": "monday", + "name": "monday" + }, + { + "value": "tuesday", + "name": "tuesday" + }, + { + "value": "wednesday", + "name": "wednesday" + }, + { + "value": "thursday", + "name": "thursday" + }, + { + "value": "friday", + "name": "friday" + }, + { + "value": "saturday", + "name": "saturday" + } + ] + } + }, "com.amazonaws.ec2#WithdrawByoipCidr": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json index b5875edf6b615..de910f695a030 100644 --- a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json +++ b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json @@ -245,7 +245,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 AWS 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 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#title": "Amazon EC2 Container Service", "smithy.api#xmlNamespace": { "uri": "http://ecs.amazonaws.com/doc/2014-11-13/" @@ -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 AWS 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 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.

                                                      " } } }, @@ -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 AWS 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 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.

                                                      " } } }, @@ -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 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#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 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
                                                      " } }, "assignPublicIp": { @@ -472,7 +472,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Your AWS account has been blocked. For more information, contact AWS Support.

                                                      ", + "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#error": "client" } }, @@ -533,7 +533,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 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 AWS 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, 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
                                                      " } } }, @@ -603,7 +603,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 AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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.

                                                      " + "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.

                                                      " } }, "com.amazonaws.ecs#CapacityProviderStrategyItemBase": { @@ -679,7 +679,7 @@ "clusterArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the Region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the Region of the cluster, the account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

                                                      " } }, "clusterName": { @@ -733,7 +733,7 @@ "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 AWS 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, 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
                                                      " } }, "settings": { @@ -1232,7 +1232,7 @@ "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 AWS 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 \n

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      \n
                                                      " } }, "readonlyRootFilesystem": { @@ -1364,13 +1364,13 @@ "containerInstanceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                      " } }, "ec2InstanceId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The ID of the container instance. For Amazon EC2 instances, this value is the Amazon EC2\n\t\t\tinstance ID. For external instances, this value is the AWS Systems Manager managed instance ID.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the container instance. For Amazon EC2 instances, this value is the Amazon EC2\n\t\t\tinstance ID. For external instances, this value is the Amazon Web Services Systems Manager managed instance ID.

                                                      " } }, "capacityProviderName": { @@ -1460,7 +1460,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 AWS 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, 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
                                                      " } } }, @@ -1668,7 +1668,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\tAWS Fargate 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\tAWS Fargate.

                                                      " + "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.

                                                      " } }, "com.amazonaws.ecs#CreateCapacityProviderRequest": { @@ -1691,7 +1691,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 AWS 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 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
                                                      " } } } @@ -1727,7 +1727,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 AWS 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 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
                                                      " } }, "com.amazonaws.ecs#CreateClusterRequest": { @@ -1742,7 +1742,7 @@ "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 AWS 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, 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
                                                      " } }, "settings": { @@ -1760,7 +1760,7 @@ "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 AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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 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.

                                                      " } }, "defaultCapacityProviderStrategy": { @@ -1845,7 +1845,7 @@ "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 AWS CodeDeploy deployment\n\t\t\tgroup, you specify two target groups (referred to as a targetGroupPair).\n\t\t\tDuring a deployment, AWS 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 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.

                                                      " } }, "serviceRegistries": { @@ -1869,7 +1869,7 @@ "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 AWS 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 AWS Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for AWS 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 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.

                                                      " } }, "capacityProviderStrategy": { @@ -1881,7 +1881,7 @@ "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 AWS 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 by default. For more\n\t\t\tinformation, see Fargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                                      " } }, "role": { @@ -1935,7 +1935,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 AWS 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

                                                      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": { @@ -1964,7 +1964,7 @@ "service": { "target": "com.amazonaws.ecs#Service", "traits": { - "smithy.api#documentation": "

                                                      The full description of your service following the create call.

                                                      \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 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.

                                                      " } } } @@ -2033,7 +2033,7 @@ "externalId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      An optional non-unique tag that identifies this task set in external systems. If the\n\t\t\ttask set is associated with a service discovery registry, the tasks in this task set\n\t\t\twill have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided\n\t\t\tvalue.

                                                      " + "smithy.api#documentation": "

                                                      An optional non-unique tag that identifies this task set in external systems. If the\n\t\t\ttask set is associated with a service discovery registry, the tasks in this task set\n\t\t\twill have the ECS_TASK_SET_EXTERNAL_ID Cloud Map attribute set to the provided\n\t\t\tvalue.

                                                      " } }, "taskDefinition": { @@ -2070,7 +2070,7 @@ "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                                      The capacity provider strategy to use for the task set.

                                                      \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 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

                                                      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 AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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 capacity provider strategy to use for the task set.

                                                      \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 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

                                                      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.

                                                      " } }, "platformVersion": { @@ -2094,7 +2094,7 @@ "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 AWS 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, 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
                                                      " } } } @@ -2105,7 +2105,7 @@ "taskSet": { "target": "com.amazonaws.ecs#TaskSet", "traits": { - "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an\n\t\t\t\tEXTERNAL deployment. A task set includes details such as the desired\n\t\t\tnumber of tasks, how many tasks are running, and whether the task set serves production\n\t\t\ttraffic.

                                                      " + "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an CodeDeploy or an\n\t\t\t\tEXTERNAL deployment. A task set includes details such as the desired\n\t\t\tnumber of tasks, how many tasks are running, and whether the task set serves production\n\t\t\ttraffic.

                                                      " } } } @@ -2541,7 +2541,7 @@ "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 AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "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.

                                                      " } }, "networkConfiguration": { @@ -2621,7 +2621,7 @@ "type": { "target": "com.amazonaws.ecs#DeploymentControllerType", "traits": { - "smithy.api#documentation": "

                                                      The deployment controller type to use.

                                                      \n\t\t

                                                      There are three deployment controller types available:

                                                      \n\t\t
                                                      \n
                                                      ECS
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The rolling update (ECS) deployment type involves replacing\n\t\t\t\t\t\tthe current running version of the container with the latest version. The\n\t\t\t\t\t\tnumber of containers Amazon ECS adds or removes from the service during a rolling\n\t\t\t\t\t\tupdate is controlled by adjusting the minimum and maximum number of healthy\n\t\t\t\t\t\ttasks allowed during a service deployment, as specified in the DeploymentConfiguration.

                                                      \n\t\t\t\t
                                                      \n
                                                      CODE_DEPLOY
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The blue/green (CODE_DEPLOY) deployment type uses the\n\t\t\t\t\t\tblue/green deployment model powered by AWS CodeDeploy, which allows you to verify a\n\t\t\t\t\t\tnew deployment of a service before sending production traffic to it.

                                                      \n\t\t\t\t
                                                      \n
                                                      EXTERNAL
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The external (EXTERNAL) deployment type enables you to use\n\t\t\t\t\t\tany third-party deployment controller for full control over the deployment\n\t\t\t\t\t\tprocess for an Amazon ECS service.

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

                                                      The deployment controller type to use.

                                                      \n\t\t

                                                      There are three deployment controller types available:

                                                      \n\t\t
                                                      \n
                                                      ECS
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The rolling update (ECS) deployment type involves replacing\n\t\t\t\t\t\tthe current running version of the container with the latest version. The\n\t\t\t\t\t\tnumber of containers Amazon ECS adds or removes from the service during a rolling\n\t\t\t\t\t\tupdate is controlled by adjusting the minimum and maximum number of healthy\n\t\t\t\t\t\ttasks allowed during a service deployment, as specified in the DeploymentConfiguration.

                                                      \n\t\t\t\t
                                                      \n
                                                      CODE_DEPLOY
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The blue/green (CODE_DEPLOY) deployment type uses the\n\t\t\t\t\t\tblue/green deployment model powered by CodeDeploy, which allows you to verify a\n\t\t\t\t\t\tnew deployment of a service before sending production traffic to it.

                                                      \n\t\t\t\t
                                                      \n
                                                      EXTERNAL
                                                      \n
                                                      \n\t\t\t\t\t

                                                      The external (EXTERNAL) deployment type enables you to use\n\t\t\t\t\t\tany third-party deployment controller for full control over the deployment\n\t\t\t\t\t\tprocess for an Amazon ECS service.

                                                      \n\t\t\t\t
                                                      \n
                                                      ", "smithy.api#required": {} } } @@ -2712,7 +2712,7 @@ "containerInstance": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The container instance ID or full ARN of the container instance to deregister.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

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

                                                      The container instance ID or full ARN of the container instance to deregister.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                      ", "smithy.api#required": {} } }, @@ -3127,7 +3127,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 AWS 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 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
                                                      " } } } @@ -3440,7 +3440,7 @@ "containerInstance": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The container instance ID or full ARN of the container instance.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                      " + "smithy.api#documentation": "

                                                      The container instance ID or full ARN of the container instance.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                      " } }, "cluster": { @@ -3664,7 +3664,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 AWS Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for AWS Fargate.

                                                      \n\t\t \n\t\t\t

                                                      This parameter is only supported for tasks hosted on AWS Fargate using platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \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 platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \n\t\t
                                                      " } }, "com.amazonaws.ecs#ExecuteCommand": { @@ -3705,7 +3705,7 @@ "kmsKeyId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      Specify an AWS Key Management Service key ID to encrypt the data between the local\n\t\t\tclient and the container.

                                                      " + "smithy.api#documentation": "

                                                      Specify an Key Management Service key ID to encrypt the data between the local client\n\t\t\tand the container.

                                                      " } }, "logging": { @@ -3867,14 +3867,14 @@ "credentialsParameter": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The authorization credential option to use. The authorization credential options can\n\t\t\tbe provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager\n\t\t\tParameter Store parameter. The ARNs refer to the stored credentials.

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

                                                      The authorization credential option to use. The authorization credential options can\n\t\t\tbe provided using either the Amazon Resource Name (ARN) of an Secrets Manager secret or SSM\n\t\t\tParameter Store parameter. The ARNs refer to the stored credentials.

                                                      ", "smithy.api#required": {} } }, "domain": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on\n\t\t\tAmazon EC2.

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

                                                      A fully qualified domain name hosted by an Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on\n\t\t\tAmazon EC2.

                                                      ", "smithy.api#required": {} } } @@ -3957,7 +3957,7 @@ "options": { "target": "com.amazonaws.ecs#FirelensConfigurationOptionsMap", "traits": { - "smithy.api#documentation": "

                                                      The options to use when configuring the log router. This field is optional and can be\n\t\t\tused to specify a custom configuration file or to add additional metadata, such as the\n\t\t\ttask, task definition, cluster, and container instance details to the log event. If\n\t\t\tspecified, the syntax to use is\n\t\t\t\t\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket/fluent.conf|filepath\"}.\n\t\t\tFor more information, see Creating\n\t\t\t\ta Task Definition that Uses a FireLens Configuration in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                                      \n\t\t \n\t\t\t

                                                      Tasks hosted on AWS Fargate only support the file configuration file\n\t\t\t\ttype.

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

                                                      The options to use when configuring the log router. This field is optional and can be\n\t\t\tused to specify a custom configuration file or to add additional metadata, such as the\n\t\t\ttask, task definition, cluster, and container instance details to the log event. If\n\t\t\tspecified, the syntax to use is\n\t\t\t\t\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket/fluent.conf|filepath\"}.\n\t\t\tFor more information, see Creating\n\t\t\t\ta Task Definition that Uses a FireLens Configuration in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                                      \n\t\t \n\t\t\t

                                                      Tasks hosted on Fargate only support the file configuration file\n\t\t\t\ttype.

                                                      \n\t\t
                                                      " } } }, @@ -4031,7 +4031,7 @@ } }, "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 AWS 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 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
                                                      " } }, "com.amazonaws.ecs#HealthStatus": { @@ -4189,7 +4189,7 @@ "add": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                                      The Linux capabilities for the container that have been added to the default\n\t\t\tconfiguration provided by Docker. This parameter maps to CapAdd in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--cap-add option to docker\n\t\t\t\trun.

                                                      \n\t\t \n\t\t\t

                                                      Tasks launched on AWS Fargate only support adding the SYS_PTRACE kernel\n\t\t\t\tcapability.

                                                      \n\t\t
                                                      \n\t\t

                                                      Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n\t\t\t\t\"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n\t\t\t\t\"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n\t\t\t\t\"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n\t\t\t\t| \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n\t\t\t\t\"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n\t\t\t\t\"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n\t\t\t\"WAKE_ALARM\"\n

                                                      " + "smithy.api#documentation": "

                                                      The Linux capabilities for the container that have been added to the default\n\t\t\tconfiguration provided by Docker. This parameter maps to CapAdd in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--cap-add option to docker\n\t\t\t\trun.

                                                      \n\t\t \n\t\t\t

                                                      Tasks launched on Fargate only support adding the SYS_PTRACE kernel\n\t\t\t\tcapability.

                                                      \n\t\t
                                                      \n\t\t

                                                      Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n\t\t\t\t\"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n\t\t\t\t\"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n\t\t\t\t\"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n\t\t\t\t| \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n\t\t\t\t\"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n\t\t\t\t\"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n\t\t\t\"WAKE_ALARM\"\n

                                                      " } }, "drop": { @@ -5067,7 +5067,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 AWS 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 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#required": {} } }, @@ -5085,7 +5085,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 AWS 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 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
                                                      " } }, "com.amazonaws.ecs#LogConfigurationOptionsMap": { @@ -5957,14 +5957,14 @@ "capacityProviders": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                                      The name of one or more capacity providers to associate with the 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 capacity providers can be created with the CreateCapacityProvider API operation.

                                                      \n\t\t

                                                      To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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.

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

                                                      The name of one or more capacity providers to associate with the 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 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.

                                                      ", "smithy.api#required": {} } }, "defaultCapacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                                      The capacity provider strategy to use by default for the cluster.

                                                      \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 default capacity provider strategy for the cluster is\n\t\t\tused.

                                                      \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 AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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.

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

                                                      The capacity provider strategy to use by default for the cluster.

                                                      \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 default capacity provider strategy for the cluster is\n\t\t\tused.

                                                      \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.

                                                      ", "smithy.api#required": {} } } @@ -6058,7 +6058,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 AWS 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, 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
                                                      " } } } @@ -6094,7 +6094,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 AWS CLI or SDKs to make API requests to the AWS 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 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": { @@ -6116,13 +6116,13 @@ "executionRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make AWS API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                      " } }, "networkMode": { "target": "com.amazonaws.ecs#NetworkMode", "traits": { - "smithy.api#documentation": "

                                                      The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

                                                      \n

                                                      For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 instances, any network mode can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

                                                      \n

                                                      With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

                                                      \n \n

                                                      When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

                                                      \n
                                                      \n

                                                      If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

                                                      \n \n

                                                      Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the\n ecs-init package, or AWS Fargate infrastructure support the\n awsvpc network mode.

                                                      \n
                                                      \n

                                                      If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

                                                      \n

                                                      Docker for Windows uses different network modes than Docker for Linux. When you\n register a task definition with Windows containers, you must not specify a network mode.\n If you use the console to register a task definition with Windows containers, you must\n choose the network mode object.

                                                      \n

                                                      For more information, see Network\n settings in the Docker run reference.

                                                      " + "smithy.api#documentation": "

                                                      The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

                                                      \n

                                                      For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

                                                      \n

                                                      With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

                                                      \n \n

                                                      When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

                                                      \n
                                                      \n

                                                      If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

                                                      \n

                                                      If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

                                                      \n

                                                      For more information, see Network\n settings in the Docker run reference.

                                                      " } }, "containerDefinitions": { @@ -6165,19 +6165,19 @@ "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 AWS 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, 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
                                                      " } }, "pidMode": { "target": "com.amazonaws.ecs#PidMode", "traits": { - "smithy.api#documentation": "

                                                      The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

                                                      \n

                                                      If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on AWS Fargate.

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

                                                      The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

                                                      \n

                                                      If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      \n
                                                      " } }, "ipcMode": { "target": "com.amazonaws.ecs#IpcMode", "traits": { - "smithy.api#documentation": "

                                                      The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

                                                      \n

                                                      If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

                                                      \n

                                                      If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

                                                      \n
                                                        \n
                                                      • \n

                                                        For tasks that use the host IPC mode, IPC namespace related\n systemControls are not supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For tasks that use the task IPC mode, IPC namespace related\n systemControls will apply to all containers within a\n task.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on AWS Fargate.

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

                                                      The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

                                                      \n

                                                      If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

                                                      \n

                                                      If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

                                                      \n
                                                        \n
                                                      • \n

                                                        For tasks that use the host IPC mode, IPC namespace related\n systemControls are not supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For tasks that use the task IPC mode, IPC namespace related\n systemControls will apply to all containers within a\n task.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      \n
                                                      " } }, "proxyConfiguration": { @@ -6195,7 +6195,7 @@ "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 AWS Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for AWS Fargate.

                                                      \n\t\t \n\t\t\t

                                                      This parameter is only supported for tasks hosted on AWS Fargate using platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \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 platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \n\t\t
                                                      " } } } @@ -6223,7 +6223,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, AWS CLI, or AWS 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 AWS 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 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#required": {} } } @@ -6402,7 +6402,7 @@ "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.

                                                      " + "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.

                                                      " } }, "cluster": { @@ -6438,7 +6438,7 @@ "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 AWS 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 AWS Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for AWS 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.

                                                      " + "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.

                                                      " } }, "networkConfiguration": { @@ -6468,7 +6468,7 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The platform version the task should run. A platform version is only specified for\n\t\t\ttasks using the Fargate launch type. 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\tAWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "smithy.api#documentation": "

                                                      The platform version the task should run. A platform version is only specified for\n\t\t\ttasks using the Fargate launch type. 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.

                                                      " } }, "propagateTags": { @@ -6492,7 +6492,7 @@ "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 AWS 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 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
                                                      " } }, "taskDefinition": { @@ -6595,7 +6595,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 AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

                                                      \n\t\t \n\t\t\t

                                                      If the AWS Systems Manager 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 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#required": {} } } @@ -6634,7 +6634,7 @@ "serviceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                                      " + "smithy.api#documentation": "

                                                      The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                                      " } }, "serviceName": { @@ -6688,19 +6688,19 @@ "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

                                                      The infrastructure on which your service 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 launch type the service is using. When using the DescribeServices API, this field\n\t\t\tis omitted if the service was created using a capacity provider strategy.

                                                      " } }, "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                                      The capacity provider strategy associated with the service.

                                                      " + "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.

                                                      " } }, "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 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 AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "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.

                                                      " } }, "taskDefinition": { @@ -6718,7 +6718,7 @@ "taskSets": { "target": "com.amazonaws.ecs#TaskSets", "traits": { - "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

                                                      " + "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

                                                      " } }, "deployments": { @@ -6784,7 +6784,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.

                                                      \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 AWS 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.

                                                      \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": { @@ -6901,7 +6901,7 @@ "registryArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is\n\t\t\tAWS Cloud Map. For more information, see CreateService.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is\n\t\t\tCloud Map. For more information, see CreateService.

                                                      " } }, "port": { @@ -7141,7 +7141,7 @@ "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 AWS 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 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
                                                      " } }, "taskDefinition": { @@ -7542,7 +7542,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 AWS 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, 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
                                                      " } }, "com.amazonaws.ecs#TagKey": { @@ -7603,7 +7603,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                                      The tags to add to the resource. A tag is an array of key-value pairs.

                                                      \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 AWS 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 tags to add to the resource. A tag is an array of key-value pairs.

                                                      \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#required": {} } } @@ -7802,7 +7802,7 @@ "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 AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "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.

                                                      " } }, "pullStartedAt": { @@ -7856,7 +7856,7 @@ "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 AWS 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 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
                                                      " } }, "taskArn": { @@ -7912,19 +7912,19 @@ "taskRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the\n\t\t\ttask permission to call AWS 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 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.

                                                      " } }, "executionRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make AWS API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                      " } }, "networkMode": { "target": "com.amazonaws.ecs#NetworkMode", "traits": { - "smithy.api#documentation": "

                                                      The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

                                                      \n

                                                      For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 instances, any network mode can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

                                                      \n

                                                      With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

                                                      \n \n

                                                      When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

                                                      \n
                                                      \n

                                                      If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

                                                      \n \n

                                                      Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the\n ecs-init package, or AWS Fargate infrastructure support the\n awsvpc network mode.

                                                      \n
                                                      \n

                                                      If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

                                                      \n

                                                      Docker for Windows uses different network modes than Docker for Linux. When you\n register a task definition with Windows containers, you must not specify a network mode.\n If you use the console to register a task definition with Windows containers, you must\n choose the network mode object.

                                                      \n

                                                      For more information, see Network\n settings in the Docker run reference.

                                                      " + "smithy.api#documentation": "

                                                      The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

                                                      \n

                                                      For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

                                                      \n

                                                      With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

                                                      \n \n

                                                      When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

                                                      \n
                                                      \n

                                                      If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

                                                      \n

                                                      If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

                                                      \n

                                                      For more information, see Network\n settings in the Docker run reference.

                                                      " } }, "revision": { @@ -7936,7 +7936,7 @@ "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 AWS 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 are not supported for\n\t\t\t\ttasks run on Fargate.

                                                      \n\t\t
                                                      " } }, "status": { @@ -7948,13 +7948,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 AWS 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, 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
                                                      " } }, "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 AWS 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 is not supported for tasks run on Fargate.

                                                      \n\t\t
                                                      " } }, "compatibilities": { @@ -7978,7 +7978,7 @@ "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 AWS 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 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
                                                      " } }, "inferenceAccelerators": { @@ -7990,13 +7990,13 @@ "pidMode": { "target": "com.amazonaws.ecs#PidMode", "traits": { - "smithy.api#documentation": "

                                                      The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

                                                      \n

                                                      If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on AWS Fargate.

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

                                                      The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

                                                      \n

                                                      If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      \n
                                                      " } }, "ipcMode": { "target": "com.amazonaws.ecs#IpcMode", "traits": { - "smithy.api#documentation": "

                                                      The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

                                                      \n

                                                      If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

                                                      \n

                                                      If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

                                                      \n
                                                        \n
                                                      • \n

                                                        For tasks that use the host IPC mode, IPC namespace related\n systemControls are not supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For tasks that use the task IPC mode, IPC namespace related\n systemControls will apply to all containers within a\n task.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on AWS Fargate.

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

                                                      The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

                                                      \n

                                                      If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

                                                      \n

                                                      If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

                                                      \n
                                                        \n
                                                      • \n

                                                        For tasks that use the host IPC mode, IPC namespace related\n systemControls are not supported.

                                                        \n
                                                      • \n
                                                      • \n

                                                        For tasks that use the task IPC mode, IPC namespace related\n systemControls will apply to all containers within a\n task.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                                      \n
                                                      " } }, "proxyConfiguration": { @@ -8087,7 +8087,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 AWS 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 are not supported for tasks run on Fargate.

                                                      \n\t\t
                                                      " } }, "com.amazonaws.ecs#TaskDefinitionPlacementConstraintType": { @@ -8181,7 +8181,7 @@ "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 AWS Fargate using platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \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 using platform\n\t\t\t\tversion 1.4.0 or later.

                                                      \n\t\t
                                                      " } } }, @@ -8219,13 +8219,13 @@ "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 AWS 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 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.

                                                      " } }, "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 AWS CodeDeploy deployment, the externalId parameter\n\t\t\tcontains the AWS 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 AWS Cloud Map attribute.

                                                      " + "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.

                                                      " } }, "status": { @@ -8285,7 +8285,7 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS 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 AWS Fargate. For more information, see\n\t\t\t\tAWS Fargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "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.

                                                      " } }, "networkConfiguration": { @@ -8327,12 +8327,12 @@ "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 AWS 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, 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
                                                      " } } }, "traits": { - "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

                                                      " + "smithy.api#documentation": "

                                                      Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

                                                      " } }, "com.amazonaws.ecs#TaskSetField": { @@ -8965,7 +8965,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 AWS CodeDeploy\n\t\t\tdeployment should be created. For more information, see CreateDeployment in the AWS 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 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
                                                      " } }, "com.amazonaws.ecs#UpdateServicePrimaryTaskSet": { @@ -9077,7 +9077,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 AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS 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 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

                                                      " } }, "deploymentConfiguration": { @@ -9107,7 +9107,7 @@ "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 AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                                      " + "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.

                                                      " } }, "forceNewDeployment": { @@ -9270,7 +9270,7 @@ "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 AWS Fargate.

                                                      \n\t\t
                                                      " + "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
                                                      " } }, "efsVolumeConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/eks.2017-11-01.json b/codegen/sdk-codegen/aws-models/eks.2017-11-01.json index ba2c627bd3137..60960aa55c74b 100644 --- a/codegen/sdk-codegen/aws-models/eks.2017-11-01.json +++ b/codegen/sdk-codegen/aws-models/eks.2017-11-01.json @@ -165,7 +165,7 @@ "name": "eks" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                                                      Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on\n AWS without needing to stand up or maintain your own Kubernetes control plane.\n Kubernetes is an open-source system for automating the deployment, scaling, and\n management of containerized applications.

                                                      \n

                                                      Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use\n all the existing plugins and tooling from the Kubernetes community. Applications running\n on Amazon EKS are fully compatible with applications running on any standard Kubernetes\n environment, whether running in on-premises data centers or public clouds. This means\n that you can easily migrate any standard Kubernetes application to Amazon EKS without any\n code modification required.

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

                                                      Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on\n Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane.\n Kubernetes is an open-source system for automating the deployment, scaling, and\n management of containerized applications.

                                                      \n

                                                      Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use\n all the existing plugins and tooling from the Kubernetes community. Applications running\n on Amazon EKS are fully compatible with applications running on any standard Kubernetes\n environment, whether running in on-premises data centers or public clouds. This means\n that you can easily migrate any standard Kubernetes application to Amazon EKS without any\n code modification required.

                                                      ", "smithy.api#title": "Amazon Elastic Kubernetes Service" } }, @@ -446,7 +446,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associate encryption configuration to an existing cluster.

                                                      \n

                                                      You can use this API to enable encryption on existing clusters which do not have\n encryption already enabled. This allows you to implement a defense-in-depth security\n strategy without migrating applications to new EKS clusters.

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

                                                      Associate encryption configuration to an existing cluster.

                                                      \n

                                                      You can use this API to enable encryption on existing clusters which do not have\n encryption already enabled. This allows you to implement a defense-in-depth security\n strategy without migrating applications to new Amazon EKS clusters.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters/{clusterName}/encryption-config/associate", @@ -723,7 +723,7 @@ "roleArn": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control\n plane to make calls to AWS API operations on your behalf.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control\n plane to make calls to Amazon Web Services API operations on your behalf.

                                                      " } }, "resourcesVpcConfig": { @@ -911,7 +911,7 @@ "addonName": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the add-on. The name must match one of the names returned by \n ListAddons\n .

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

                                                      The name of the add-on. The name must match one of the names returned by \n DescribeAddonVersions\n .

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

                                                      Creates an Amazon EKS control plane.

                                                      \n

                                                      The Amazon EKS control plane consists of control plane instances that run the Kubernetes\n software, such as etcd and the API server. The control plane runs in an\n account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server\n endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its\n own set of Amazon EC2 instances.

                                                      \n

                                                      The cluster control plane is provisioned across multiple Availability Zones and\n fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC\n subnets to provide connectivity from the control plane instances to the nodes (for\n example, to support kubectl exec, logs, and proxy\n data flows).

                                                      \n

                                                      Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via\n the Kubernetes API server endpoint and a certificate file that is created for your\n cluster.

                                                      \n \n

                                                      Cluster creation typically takes several minutes. After you create an Amazon EKS cluster,\n you must configure your Kubernetes tooling to communicate with the API server and launch\n nodes into your cluster. For more information, see Managing Cluster\n Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.

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

                                                      Creates an Amazon EKS control plane.

                                                      \n

                                                      The Amazon EKS control plane consists of control plane instances that run the Kubernetes\n software, such as etcd and the API server. The control plane runs in an\n account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server\n endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its\n own set of Amazon EC2 instances.

                                                      \n

                                                      The cluster control plane is provisioned across multiple Availability Zones and\n fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC\n subnets to provide connectivity from the control plane instances to the nodes (for\n example, to support kubectl exec, logs, and proxy\n data flows).

                                                      \n

                                                      Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via\n the Kubernetes API server endpoint and a certificate file that is created for your\n cluster.

                                                      \n \n

                                                      Cluster creation typically takes several minutes. After you create an Amazon EKS cluster,\n you must configure your Kubernetes tooling to communicate with the API server and launch\n nodes into your cluster. For more information, see Managing Cluster\n Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters", @@ -1015,7 +1015,7 @@ "roleArn": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control\n plane to make calls to AWS API operations on your behalf. For more information, see\n Amazon EKS\n Service IAM Role in the \n Amazon EKS User Guide\n .

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

                                                      The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control\n plane to make calls to Amazon Web Services API operations on your behalf. For more information, see\n Amazon EKS\n Service IAM Role in the \n Amazon EKS User Guide\n .

                                                      ", "smithy.api#required": {} } }, @@ -1035,7 +1035,7 @@ "logging": { "target": "com.amazonaws.eks#Logging", "traits": { - "smithy.api#documentation": "

                                                      Enable or disable exporting the Kubernetes control plane logs for your cluster to\n CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more\n information, see Amazon EKS Cluster Control Plane Logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see Amazon CloudWatch Pricing.

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

                                                      Enable or disable exporting the Kubernetes control plane logs for your cluster to\n CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more\n information, see Amazon EKS Cluster control plane logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see CloudWatch Pricing.

                                                      \n
                                                      " } }, "clientRequestToken": { @@ -1099,7 +1099,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an AWS Fargate profile for your Amazon EKS cluster. You must have at least one Fargate\n profile in a cluster to be able to run pods on Fargate.

                                                      \n

                                                      The Fargate profile allows an administrator to declare which pods run on Fargate and specify\n which pods run on which Fargate profile. This declaration is done through the profile’s\n selectors. Each profile can have up to five selectors that contain a namespace and\n labels. A namespace is required for every selector. The label field consists of multiple\n optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a\n to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is\n run on Fargate.

                                                      \n

                                                      When you create a Fargate profile, you must specify a pod execution role to use with the\n pods that are scheduled with the profile. This role is added to the cluster's Kubernetes\n Role Based Access\n Control (RBAC) for authorization so that the kubelet that is\n running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can\n appear in your cluster as a node. The pod execution role also provides IAM permissions\n to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more\n information, see Pod Execution Role in the Amazon EKS User Guide.

                                                      \n

                                                      Fargate profiles are immutable. However, you can create a new updated profile to replace\n an existing profile and then delete the original after the updated profile has finished\n creating.

                                                      \n

                                                      If any Fargate profiles in a cluster are in the DELETING status, you must\n wait for that Fargate profile to finish deleting before you can create any other profiles\n in that cluster.

                                                      \n

                                                      For more information, see AWS Fargate Profile in the Amazon EKS User Guide.

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

                                                      Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate\n profile in a cluster to be able to run pods on Fargate.

                                                      \n

                                                      The Fargate profile allows an administrator to declare which pods run on Fargate and specify\n which pods run on which Fargate profile. This declaration is done through the profile’s\n selectors. Each profile can have up to five selectors that contain a namespace and\n labels. A namespace is required for every selector. The label field consists of multiple\n optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a\n to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is\n run on Fargate.

                                                      \n

                                                      When you create a Fargate profile, you must specify a pod execution role to use with the\n pods that are scheduled with the profile. This role is added to the cluster's Kubernetes\n Role Based Access\n Control (RBAC) for authorization so that the kubelet that is\n running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can\n appear in your cluster as a node. The pod execution role also provides IAM permissions\n to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more\n information, see Pod Execution Role in the Amazon EKS User Guide.

                                                      \n

                                                      Fargate profiles are immutable. However, you can create a new updated profile to replace\n an existing profile and then delete the original after the updated profile has finished\n creating.

                                                      \n

                                                      If any Fargate profiles in a cluster are in the DELETING status, you must\n wait for that Fargate profile to finish deleting before you can create any other profiles\n in that cluster.

                                                      \n

                                                      For more information, see Fargate Profile in the Amazon EKS User Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters/{clusterName}/fargate-profiles", @@ -1202,7 +1202,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a managed node group for an Amazon EKS cluster. You can only create a node group\n for your cluster that is equal to the current Kubernetes version for the cluster. All\n node groups are created with the latest AMI release version for the respective minor\n Kubernetes version of the cluster, unless you deploy a custom AMI using a launch\n template. For more information about using launch templates, see Launch\n template support.

                                                      \n

                                                      An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that\n are managed by AWS for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS\n optimized Amazon Linux 2 AMI. For more information, see Managed\n Node Groups in the Amazon EKS User Guide.

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

                                                      Creates a managed node group for an Amazon EKS cluster. You can only create a node group\n for your cluster that is equal to the current Kubernetes version for the cluster. All\n node groups are created with the latest AMI release version for the respective minor\n Kubernetes version of the cluster, unless you deploy a custom AMI using a launch\n template. For more information about using launch templates, see Launch\n template support.

                                                      \n

                                                      An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that\n are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS\n optimized Amazon Linux 2 AMI. For more information, see Managed\n Node Groups in the Amazon EKS User Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters/{clusterName}/node-groups", @@ -1268,7 +1268,7 @@ "nodeRole": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker\n node kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive\n permissions for these API calls through an IAM instance profile and associated\n policies. Before you can launch nodes and register them into a cluster, you must create\n an IAM role for those nodes to use when they are launched. For more information, see\n Amazon EKS node IAM role in the \n Amazon EKS User Guide\n .\n If you specify launchTemplate, then don't specify \n IamInstanceProfile\n in your launch template,\n or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

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

                                                      The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker\n node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive\n permissions for these API calls through an IAM instance profile and associated\n policies. Before you can launch nodes and register them into a cluster, you must create\n an IAM role for those nodes to use when they are launched. For more information, see\n Amazon EKS node IAM role in the \n Amazon EKS User Guide\n .\n If you specify launchTemplate, then don't specify \n IamInstanceProfile\n in your launch template,\n or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

                                                      ", "smithy.api#required": {} } }, @@ -1304,7 +1304,10 @@ } }, "updateConfig": { - "target": "com.amazonaws.eks#NodegroupUpdateConfig" + "target": "com.amazonaws.eks#NodegroupUpdateConfig", + "traits": { + "smithy.api#documentation": "

                                                      The node group update configuration.

                                                      " + } }, "capacityType": { "target": "com.amazonaws.eks#CapacityTypes", @@ -1481,7 +1484,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes an AWS Fargate profile.

                                                      \n

                                                      When you delete a Fargate profile, any pods running on Fargate that were created with the\n profile are deleted. If those pods match another Fargate profile, then they are scheduled\n on Fargate with that profile. If they no longer match any Fargate profiles, then they are not\n scheduled on Fargate and they may remain in a pending state.

                                                      \n

                                                      Only one Fargate profile in a cluster can be in the DELETING status at a\n time. You must wait for a Fargate profile to finish deleting before you can delete any\n other profiles in that cluster.

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

                                                      Deletes an Fargate profile.

                                                      \n

                                                      When you delete a Fargate profile, any pods running on Fargate that were created with the\n profile are deleted. If those pods match another Fargate profile, then they are scheduled\n on Fargate with that profile. If they no longer match any Fargate profiles, then they are not\n scheduled on Fargate and they may remain in a pending state.

                                                      \n

                                                      Only one Fargate profile in a cluster can be in the DELETING status at a\n time. You must wait for a Fargate profile to finish deleting before you can delete any\n other profiles in that cluster.

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/clusters/{clusterName}/fargate-profiles/{fargateProfileName}", @@ -1951,7 +1954,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns descriptive information about an AWS Fargate profile.

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

                                                      Returns descriptive information about an Fargate profile.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/clusters/{clusterName}/fargate-profiles/{fargateProfileName}", @@ -2324,7 +2327,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Disassociates an identity provider configuration from a cluster. If you disassociate\n an identity provider from your cluster, users included in the provider can no longer\n access the cluster. However, you can still access the cluster with AWS IAM\n users.

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

                                                      Disassociates an identity provider configuration from a cluster. If you disassociate\n an identity provider from your cluster, users included in the provider can no longer\n access the cluster. However, you can still access the cluster with Amazon Web Services IAM\n users.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters/{clusterName}/identity-provider-configs/disassociate", @@ -2379,7 +2382,7 @@ "provider": { "target": "com.amazonaws.eks#Provider", "traits": { - "smithy.api#documentation": "

                                                      AWS Key Management Service (AWS KMS) key. Either the ARN or the alias can be used.

                                                      " + "smithy.api#documentation": "

                                                      Key Management Service (KMS) key. Either the ARN or the alias can be used.

                                                      " } } }, @@ -2561,7 +2564,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An object representing an AWS Fargate profile.

                                                      " + "smithy.api#documentation": "

                                                      An object representing an Fargate profile.

                                                      " } }, "com.amazonaws.eks#FargateProfileLabel": { @@ -2590,7 +2593,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An object representing an AWS Fargate profile selector.

                                                      " + "smithy.api#documentation": "

                                                      An object representing an Fargate profile selector.

                                                      " } }, "com.amazonaws.eks#FargateProfileSelectors": { @@ -2760,7 +2763,7 @@ "code": { "target": "com.amazonaws.eks#NodegroupIssueCode", "traits": { - "smithy.api#documentation": "

                                                      A brief description of the error.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n AccessDenied: Amazon EKS or one or more of your\n managed nodes is failing to authenticate or authorize with your Kubernetes\n cluster API server.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n AsgInstanceLaunchFailures: Your Auto Scaling group is\n experiencing failures while attempting to launch instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n AutoScalingGroupNotFound: We couldn't find\n the Auto Scaling group associated with the managed node group. You may be able to\n recreate an Auto Scaling group with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ClusterUnreachable: Amazon EKS or one or more of\n your managed nodes is unable to to communicate with your Kubernetes cluster API\n server. This can happen if there are network disruptions or if API servers are\n timing out processing requests.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2LaunchTemplateNotFound: We couldn't find\n the Amazon EC2 launch template for your managed node group. You may be able to\n recreate a launch template with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2LaunchTemplateVersionMismatch: The Amazon EC2\n launch template version for your managed node group does not match the version\n that Amazon EKS created. You may be able to revert to the version that Amazon EKS created\n to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SecurityGroupDeletionFailure: We could not\n delete the remote access security group for your managed node group. Remove any\n dependencies from the security group.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SecurityGroupNotFound: We couldn't find\n the cluster security group for the cluster. You must recreate your\n cluster.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SubnetInvalidConfiguration: One or more\n Amazon EC2 subnets specified for a node group do not automatically assign public IP\n addresses to instances launched into it. If you want your instances to be\n assigned a public IP address, then you need to enable the auto-assign\n public IP address setting for the subnet. See Modifying\n the public IPv4 addressing attribute for your subnet in the Amazon\n VPC User Guide.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n IamInstanceProfileNotFound: We couldn't find\n the IAM instance profile for your managed node group. You may be able to\n recreate an instance profile with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n IamNodeRoleNotFound: We couldn't find the\n IAM role for your managed node group. You may be able to recreate an IAM role\n with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InstanceLimitExceeded: Your AWS account is\n unable to launch any more instances of the specified instance type. You may be\n able to request an Amazon EC2 instance limit increase to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InsufficientFreeAddresses: One or more of the\n subnets associated with your managed node group does not have enough available\n IP addresses for new nodes.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InternalFailure: These errors are usually\n caused by an Amazon EKS server-side issue.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NodeCreationFailure: Your launched instances\n are unable to register with your Amazon EKS cluster. Common causes of this failure\n are insufficient node IAM role\n permissions or lack of outbound internet access for the nodes.

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

                                                      A brief description of the error.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n AccessDenied: Amazon EKS or one or more of your\n managed nodes is failing to authenticate or authorize with your Kubernetes\n cluster API server.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n AsgInstanceLaunchFailures: Your Auto Scaling group is\n experiencing failures while attempting to launch instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n AutoScalingGroupNotFound: We couldn't find\n the Auto Scaling group associated with the managed node group. You may be able to\n recreate an Auto Scaling group with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ClusterUnreachable: Amazon EKS or one or more of\n your managed nodes is unable to to communicate with your Kubernetes cluster API\n server. This can happen if there are network disruptions or if API servers are\n timing out processing requests.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2LaunchTemplateNotFound: We couldn't find\n the Amazon EC2 launch template for your managed node group. You may be able to\n recreate a launch template with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2LaunchTemplateVersionMismatch: The Amazon EC2\n launch template version for your managed node group does not match the version\n that Amazon EKS created. You may be able to revert to the version that Amazon EKS created\n to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SecurityGroupDeletionFailure: We could not\n delete the remote access security group for your managed node group. Remove any\n dependencies from the security group.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SecurityGroupNotFound: We couldn't find\n the cluster security group for the cluster. You must recreate your\n cluster.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Ec2SubnetInvalidConfiguration: One or more\n Amazon EC2 subnets specified for a node group do not automatically assign public IP\n addresses to instances launched into it. If you want your instances to be\n assigned a public IP address, then you need to enable the auto-assign\n public IP address setting for the subnet. See Modifying\n the public IPv4 addressing attribute for your subnet in the Amazon\n VPC User Guide.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n IamInstanceProfileNotFound: We couldn't find\n the IAM instance profile for your managed node group. You may be able to\n recreate an instance profile with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n IamNodeRoleNotFound: We couldn't find the\n IAM role for your managed node group. You may be able to recreate an IAM role\n with the same settings to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InstanceLimitExceeded: Your Amazon Web Services account is\n unable to launch any more instances of the specified instance type. You may be\n able to request an Amazon EC2 instance limit increase to recover.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InsufficientFreeAddresses: One or more of the\n subnets associated with your managed node group does not have enough available\n IP addresses for new nodes.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InternalFailure: These errors are usually\n caused by an Amazon EKS server-side issue.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NodeCreationFailure: Your launched instances\n are unable to register with your Amazon EKS cluster. Common causes of this failure\n are insufficient node IAM role\n permissions or lack of outbound internet access for the nodes.

                                                        \n
                                                      • \n
                                                      " } }, "message": { @@ -2772,7 +2775,7 @@ "resourceIds": { "target": "com.amazonaws.eks#StringList", "traits": { - "smithy.api#documentation": "

                                                      The AWS resources that are afflicted by this issue.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services resources that are afflicted by this issue.

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

                                                      Lists the Amazon EKS clusters in your AWS account in the specified Region.

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

                                                      Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/clusters", @@ -3040,7 +3043,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the AWS Fargate profiles associated with the specified cluster in your AWS\n account in the specified Region.

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

                                                      Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services\n account in the specified Region.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/clusters/{clusterName}/fargate-profiles", @@ -3060,7 +3063,7 @@ "clusterName": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the Amazon EKS cluster that you would like to listFargate profiles in.

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

                                                      The name of the Amazon EKS cluster that you would like to list Fargate profiles in.

                                                      ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3218,7 +3221,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the Amazon EKS managed node groups associated with the specified cluster in your\n AWS account in the specified Region. Self-managed node groups are not listed.

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

                                                      Lists the Amazon EKS managed node groups associated with the specified cluster in your\n Amazon Web Services account in the specified Region. Self-managed node groups are not listed.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/clusters/{clusterName}/node-groups", @@ -3358,7 +3361,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the updates associated with an Amazon EKS cluster or managed node group in your AWS\n account, in the specified Region.

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

                                                      Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services\n account, in the specified Region.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/clusters/{name}/updates", @@ -3603,7 +3606,7 @@ "nodeRole": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The IAM role associated with your node group. The Amazon EKS node kubelet\n daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for these API\n calls through an IAM instance profile and associated policies.

                                                      " + "smithy.api#documentation": "

                                                      The IAM role associated with your node group. The Amazon EKS node kubelet\n daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API\n calls through an IAM instance profile and associated policies.

                                                      " } }, "labels": { @@ -3615,7 +3618,7 @@ "taints": { "target": "com.amazonaws.eks#taintsList", "traits": { - "smithy.api#documentation": "

                                                      The Kubernetes taints to be applied to the nodes in the node group when they are\n created. Effect is one of NoSchedule, PreferNoSchedule, or NoExecute. Kubernetes taints\n can be used together with tolerations to control how workloads are scheduled to your\n nodes.

                                                      " + "smithy.api#documentation": "

                                                      The Kubernetes taints to be applied to the nodes in the node group when they are\n created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints\n can be used together with tolerations to control how workloads are scheduled to your\n nodes.

                                                      " } }, "resources": { @@ -3637,7 +3640,10 @@ } }, "updateConfig": { - "target": "com.amazonaws.eks#NodegroupUpdateConfig" + "target": "com.amazonaws.eks#NodegroupUpdateConfig", + "traits": { + "smithy.api#documentation": "

                                                      The node group update configuration.

                                                      " + } }, "launchTemplate": { "target": "com.amazonaws.eks#LaunchTemplateSpecification", @@ -3775,7 +3781,7 @@ "minSize": { "target": "com.amazonaws.eks#ZeroCapacity", "traits": { - "smithy.api#documentation": "

                                                      The minimum number of nodes that the managed node group can scale in to. This number\n must be greater than zero.

                                                      " + "smithy.api#documentation": "

                                                      The minimum number of nodes that the managed node group can scale in to.

                                                      " } }, "maxSize": { @@ -3834,11 +3840,20 @@ "type": "structure", "members": { "maxUnavailable": { - "target": "com.amazonaws.eks#NonZeroInteger" + "target": "com.amazonaws.eks#NonZeroInteger", + "traits": { + "smithy.api#documentation": "

                                                      The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. \n This value or maxUnavailablePercentage is required to have a value.The maximum number\n is 100.

                                                      " + } }, "maxUnavailablePercentage": { - "target": "com.amazonaws.eks#PercentCapacity" + "target": "com.amazonaws.eks#PercentCapacity", + "traits": { + "smithy.api#documentation": "

                                                      The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be\n updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.

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

                                                      The node group update configuration.

                                                      " } }, "com.amazonaws.eks#NonZeroInteger": { @@ -4032,12 +4047,12 @@ "keyArn": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same\n region as the cluster, and if the KMS key was created in a different account, the user\n must have access to the KMS key. For more information, see Allowing\n Users in Other Accounts to Use a KMS key in the AWS Key Management Service\n Developer Guide.

                                                      " + "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same\n region as the cluster, and if the KMS key was created in a different account, the user\n must have access to the KMS key. For more information, see Allowing\n Users in Other Accounts to Use a KMS key in the Key Management Service\n Developer Guide.

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

                                                      Identifies the AWS Key Management Service (AWS KMS) key used to encrypt the secrets.

                                                      " + "smithy.api#documentation": "

                                                      Identifies the Key Management Service (KMS) key used to encrypt the secrets.

                                                      " } }, "com.amazonaws.eks#RemoteAccessConfig": { @@ -4046,7 +4061,7 @@ "ec2SshKey": { "target": "com.amazonaws.eks#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the\n managed node group. For more information, see Amazon EC2 Key\n Pairs in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the\n managed node group. For more information, see Amazon EC2 key\n pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

                                                      " } }, "sourceSecurityGroups": { @@ -4608,7 +4623,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates an Amazon EKS cluster configuration. Your cluster continues to function during the\n update. The response output includes an update ID that you can use to track the status\n of your cluster update with the DescribeUpdate API operation.

                                                      \n

                                                      You can use this API operation to enable or disable exporting the Kubernetes control\n plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't\n exported to CloudWatch Logs. For more information, see Amazon EKS\n Cluster Control Plane Logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see Amazon CloudWatch Pricing.

                                                      \n
                                                      \n

                                                      You can also use this API operation to enable or disable public and private access to\n your cluster's Kubernetes API server endpoint. By default, public access is enabled, and\n private access is disabled. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      You can't update the subnets or security group IDs for an existing cluster.

                                                      \n
                                                      \n

                                                      Cluster updates are asynchronous, and they should finish within a few minutes. During\n an update, the cluster status moves to UPDATING (this status transition is\n eventually consistent). When the update is complete (either Failed or\n Successful), the cluster status moves to Active.

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

                                                      Updates an Amazon EKS cluster configuration. Your cluster continues to function during the\n update. The response output includes an update ID that you can use to track the status\n of your cluster update with the DescribeUpdate API operation.

                                                      \n

                                                      You can use this API operation to enable or disable exporting the Kubernetes control\n plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't\n exported to CloudWatch Logs. For more information, see Amazon EKS\n Cluster Control Plane Logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see CloudWatch Pricing.

                                                      \n
                                                      \n

                                                      You can also use this API operation to enable or disable public and private access to\n your cluster's Kubernetes API server endpoint. By default, public access is enabled, and\n private access is disabled. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      You can't update the subnets or security group IDs for an existing cluster.

                                                      \n
                                                      \n

                                                      Cluster updates are asynchronous, and they should finish within a few minutes. During\n an update, the cluster status moves to UPDATING (this status transition is\n eventually consistent). When the update is complete (either Failed or\n Successful), the cluster status moves to Active.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/clusters/{name}/update-config", @@ -4633,7 +4648,7 @@ "logging": { "target": "com.amazonaws.eks#Logging", "traits": { - "smithy.api#documentation": "

                                                      Enable or disable exporting the Kubernetes control plane logs for your cluster to\n CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more\n information, see Amazon EKS Cluster Control Plane Logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see Amazon CloudWatch Pricing.

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

                                                      Enable or disable exporting the Kubernetes control plane logs for your cluster to\n CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more\n information, see Amazon EKS cluster control plane logs in the\n \n Amazon EKS User Guide\n .

                                                      \n \n

                                                      CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported\n control plane logs. For more information, see CloudWatch Pricing.

                                                      \n
                                                      " } }, "clientRequestToken": { @@ -4823,7 +4838,10 @@ } }, "updateConfig": { - "target": "com.amazonaws.eks#NodegroupUpdateConfig" + "target": "com.amazonaws.eks#NodegroupUpdateConfig", + "traits": { + "smithy.api#documentation": "

                                                      The node group update configuration.

                                                      " + } }, "clientRequestToken": { "target": "com.amazonaws.eks#String", @@ -5158,25 +5176,25 @@ "securityGroupIds": { "target": "com.amazonaws.eks#StringList", "traits": { - "smithy.api#documentation": "

                                                      Specify one or more security groups for the cross-account elastic network interfaces\n that Amazon EKS creates to use to allow communication between your nodes and the Kubernetes\n control plane. If you don't specify any security groups, then familiarize yourself with\n the difference between Amazon EKS defaults for clusters deployed with Kubernetes:

                                                      \n
                                                        \n
                                                      • \n

                                                        1.14 Amazon EKS platform version eks.2 and earlier

                                                        \n
                                                      • \n
                                                      • \n

                                                        1.14 Amazon EKS platform version eks.3 and later

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Amazon EKS security group\n considerations in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      Specify one or more security groups for the cross-account elastic network interfaces\n that Amazon EKS creates to use that allow communication between your nodes and the Kubernetes\n control plane. If you don't specify any security groups, then familiarize yourself with\n the difference between Amazon EKS defaults for clusters deployed with Kubernetes:

                                                      \n
                                                        \n
                                                      • \n

                                                        1.14 Amazon EKS platform version eks.2 and earlier

                                                        \n
                                                      • \n
                                                      • \n

                                                        1.14 Amazon EKS platform version eks.3 and later

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information, see Amazon EKS security group\n considerations in the \n Amazon EKS User Guide\n .

                                                      " } }, "endpointPublicAccess": { "target": "com.amazonaws.eks#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                                      Set this value to false to disable public access to your cluster's\n Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes\n API server can only receive requests from within the cluster VPC. The default value for\n this parameter is true, which enables public access for your Kubernetes API\n server. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      Set this value to false to disable public access to your cluster's\n Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes\n API server can only receive requests from within the cluster VPC. The default value for\n this parameter is true, which enables public access for your Kubernetes API\n server. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      " } }, "endpointPrivateAccess": { "target": "com.amazonaws.eks#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                                      Set this value to true to enable private access for your cluster's\n Kubernetes API server endpoint. If you enable private access, Kubernetes API requests\n from within your cluster's VPC use the private VPC endpoint. The default value for this\n parameter is false, which disables private access for your Kubernetes API\n server. If you disable private access and you have nodes or AWS Fargate pods in the\n cluster, then ensure that publicAccessCidrs includes the necessary CIDR\n blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      Set this value to true to enable private access for your cluster's\n Kubernetes API server endpoint. If you enable private access, Kubernetes API requests\n from within your cluster's VPC use the private VPC endpoint. The default value for this\n parameter is false, which disables private access for your Kubernetes API\n server. If you disable private access and you have nodes or Fargate pods in the\n cluster, then ensure that publicAccessCidrs includes the necessary CIDR\n blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      " } }, "publicAccessCidrs": { "target": "com.amazonaws.eks#StringList", "traits": { - "smithy.api#documentation": "

                                                      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server\n endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that\n you specify is denied. The default value is 0.0.0.0/0. If you've disabled\n private endpoint access and you have nodes or AWS Fargate pods in the cluster, then ensure\n that you specify the necessary CIDR blocks. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server\n endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that\n you specify is denied. The default value is 0.0.0.0/0. If you've disabled\n private endpoint access and you have nodes or Fargate pods in the cluster, then ensure\n that you specify the necessary CIDR blocks. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      " } } }, @@ -5220,13 +5238,13 @@ "endpointPrivateAccess": { "target": "com.amazonaws.eks#Boolean", "traits": { - "smithy.api#documentation": "

                                                      This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If\n the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate\n from within your cluster's VPC use the private VPC endpoint instead of traversing the\n internet. If this value is disabled and you have nodes or AWS Fargate pods in the cluster,\n then ensure that publicAccessCidrs includes the necessary CIDR blocks for\n communication with the nodes or Fargate pods. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If\n the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate\n from within your cluster's VPC use the private VPC endpoint instead of traversing the\n internet. If this value is disabled and you have nodes or Fargate pods in the cluster,\n then ensure that publicAccessCidrs includes the necessary CIDR blocks for\n communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      " } }, "publicAccessCidrs": { "target": "com.amazonaws.eks#StringList", "traits": { - "smithy.api#documentation": "

                                                      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server\n endpoint. Communication to the endpoint from addresses outside of the listed CIDR blocks\n is denied. The default value is 0.0.0.0/0. If you've disabled private\n endpoint access and you have nodes or AWS Fargate pods in the cluster, then ensure that the\n necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster\n Endpoint Access Control in the \n Amazon EKS User Guide\n .

                                                      " + "smithy.api#documentation": "

                                                      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server\n endpoint. Communication to the endpoint from addresses outside of the listed CIDR blocks\n is denied. The default value is 0.0.0.0/0. If you've disabled private\n endpoint access and you have nodes or Fargate pods in the cluster, then ensure that the\n necessary CIDR blocks are listed. For more information, see Amazon EKS cluster\n endpoint access control in the \n Amazon EKS User Guide\n .

                                                      " } } }, diff --git a/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json b/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json index 3729469668009..011a22c54b9de 100644 --- a/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json +++ b/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json @@ -622,6 +622,9 @@ { "target": "com.amazonaws.frauddetector#InternalServerException" }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, { "target": "com.amazonaws.frauddetector#ValidationException" } @@ -2810,7 +2813,7 @@ "eventVariables": { "target": "com.amazonaws.frauddetector#EventVariableMap", "traits": { - "smithy.api#documentation": "

                                                      Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

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

                                                      Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and \n their corresponding values for the event you are sending for evaluation.

                                                      \n \n
                                                        \n
                                                      • \n

                                                        You must provide at least one eventVariable

                                                        \n
                                                      • \n
                                                      • \n

                                                        If detectorVersion is associated with a modelVersion, you must provide at least one associated eventVariable

                                                        \n
                                                      • \n
                                                      \n
                                                      \n \n

                                                      To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

                                                      \n \n

                                                      \n For Amazon Fraud Detector trained models:\n

                                                      \n

                                                      If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) \n with calculated default mean/medians for numeric variables and with special values for categorical variables.

                                                      \n \n

                                                      \n For External models ( for example, imported SageMaker):\n

                                                      \n

                                                      If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules \n will use the default value that is provided for the variable.

                                                      ", "smithy.api#required": {} } }, @@ -3625,6 +3628,12 @@ ] } }, + "com.amazonaws.frauddetector#ListOfLogitMetrics": { + "type": "list", + "member": { + "target": "com.amazonaws.frauddetector#LogitMetric" + } + }, "com.amazonaws.frauddetector#ListOfModelScores": { "type": "list", "member": { @@ -3718,6 +3727,35 @@ } } }, + "com.amazonaws.frauddetector#LogitMetric": { + "type": "structure", + "members": { + "variableName": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                                                      The name of the variable.

                                                      ", + "smithy.api#required": {} + } + }, + "variableType": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                                                      The type of variable.

                                                      ", + "smithy.api#required": {} + } + }, + "variableImportance": { + "target": "com.amazonaws.frauddetector#float", + "traits": { + "smithy.api#documentation": "

                                                      The relative importance of the variable.

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

                                                      The logit metric details.

                                                      " + } + }, "com.amazonaws.frauddetector#MetricDataPoint": { "type": "structure", "members": { @@ -4930,6 +4968,12 @@ "traits": { "smithy.api#documentation": "

                                                      The training metric details.

                                                      " } + }, + "variableImportanceMetrics": { + "target": "com.amazonaws.frauddetector#VariableImportanceMetrics", + "traits": { + "smithy.api#documentation": "

                                                      The variable importance metrics.

                                                      " + } } }, "traits": { @@ -5732,6 +5776,20 @@ } } }, + "com.amazonaws.frauddetector#VariableImportanceMetrics": { + "type": "structure", + "members": { + "LogitMetrics": { + "target": "com.amazonaws.frauddetector#ListOfLogitMetrics", + "traits": { + "smithy.api#documentation": "

                                                      List of variable metrics.

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

                                                      The variable importance metrics details.

                                                      " + } + }, "com.amazonaws.frauddetector#VariableList": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/glue.2017-03-31.json b/codegen/sdk-codegen/aws-models/glue.2017-03-31.json index 331ac8555752e..cb4f3345809b4 100644 --- a/codegen/sdk-codegen/aws-models/glue.2017-03-31.json +++ b/codegen/sdk-codegen/aws-models/glue.2017-03-31.json @@ -1397,6 +1397,15 @@ } } }, + "com.amazonaws.glue#BatchSize": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.glue#BatchStopJobRun": { "type": "operation", "input": { @@ -1658,6 +1667,16 @@ } } }, + "com.amazonaws.glue#BatchWindow": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 900 + } + } + }, "com.amazonaws.glue#BinaryColumnStatisticsData": { "type": "structure", "members": { @@ -5090,6 +5109,9 @@ "traits": { "smithy.api#documentation": "

                                                      The tags to use with this trigger. You may use tags to limit access to the trigger.\n For more information about tags in Glue, see\n Amazon Web Services Tags in Glue in the developer guide.

                                                      " } + }, + "EventBatchingCondition": { + "target": "com.amazonaws.glue#EventBatchingCondition" } } }, @@ -7147,7 +7169,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An edge represents a directed connection between two Glue components that are part of the workflow the\n edge belongs to.

                                                      " + "smithy.api#documentation": "

                                                      An edge represents a directed connection between two components\n on a workflow graph.

                                                      " } }, "com.amazonaws.glue#EdgeList": { @@ -7312,6 +7334,27 @@ "smithy.api#documentation": "

                                                      Evaluation metrics provide an estimate of the quality of your machine learning transform.

                                                      " } }, + "com.amazonaws.glue#EventBatchingCondition": { + "type": "structure", + "members": { + "BatchSize": { + "target": "com.amazonaws.glue#BatchSize", + "traits": { + "smithy.api#documentation": "

                                                      Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

                                                      ", + "smithy.api#required": {} + } + }, + "BatchWindow": { + "target": "com.amazonaws.glue#BatchWindow", + "traits": { + "smithy.api#documentation": "

                                                      Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.

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

                                                      Batch condition that must be met (specified number of events received or batch time window expired)\n before EventBridge event trigger fires.

                                                      " + } + }, "com.amazonaws.glue#ExecutionProperty": { "type": "structure", "members": { @@ -13598,7 +13641,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A node represents an Glue component such as a trigger, or job, etc., that is part of a workflow.

                                                      " + "smithy.api#documentation": "

                                                      A node represents an Glue component (trigger, crawler, or job) on a workflow graph.

                                                      " } }, "com.amazonaws.glue#NodeIdList": { @@ -16575,6 +16618,26 @@ } } }, + "com.amazonaws.glue#StartingEventBatchCondition": { + "type": "structure", + "members": { + "BatchSize": { + "target": "com.amazonaws.glue#NullableInteger", + "traits": { + "smithy.api#documentation": "

                                                      Number of events in the batch.

                                                      " + } + }, + "BatchWindow": { + "target": "com.amazonaws.glue#NullableInteger", + "traits": { + "smithy.api#documentation": "

                                                      Duration of the batch window in seconds.

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

                                                      The batch condition that started the workflow run. Either the number of events in the batch size arrived,\n in which case the BatchSize member is non-zero, or the batch window expired, in which case the BatchWindow\n member is non-zero.

                                                      " + } + }, "com.amazonaws.glue#StopCrawler": { "type": "operation", "input": { @@ -17862,6 +17925,12 @@ "traits": { "smithy.api#documentation": "

                                                      The predicate of this trigger, which defines when it will fire.

                                                      " } + }, + "EventBatchingCondition": { + "target": "com.amazonaws.glue#EventBatchingCondition", + "traits": { + "smithy.api#documentation": "

                                                      Batch condition that must be met (specified number of events received or batch time window expired)\n before EventBridge event trigger fires.

                                                      " + } } }, "traits": { @@ -17948,6 +18017,10 @@ { "value": "ON_DEMAND", "name": "ON_DEMAND" + }, + { + "value": "EVENT", + "name": "EVENT" } ] } @@ -17984,6 +18057,12 @@ "traits": { "smithy.api#documentation": "

                                                      The predicate of this trigger, which defines when it will fire.

                                                      " } + }, + "EventBatchingCondition": { + "target": "com.amazonaws.glue#EventBatchingCondition", + "traits": { + "smithy.api#documentation": "

                                                      Batch condition that must be met (specified number of events received or batch time window expired)\n before EventBridge event trigger fires.

                                                      " + } } }, "traits": { @@ -19667,7 +19746,7 @@ "Name": { "target": "com.amazonaws.glue#NameString", "traits": { - "smithy.api#documentation": "

                                                      The name of the workflow representing the flow.

                                                      " + "smithy.api#documentation": "

                                                      The name of the workflow.

                                                      " } }, "Description": { @@ -19679,7 +19758,7 @@ "DefaultRunProperties": { "target": "com.amazonaws.glue#WorkflowRunProperties", "traits": { - "smithy.api#documentation": "

                                                      A collection of properties to be used as part of each execution of the workflow.

                                                      " + "smithy.api#documentation": "

                                                      A collection of properties to be used as part of each execution of the workflow.\n The run properties are made available to each job in the workflow. A job can modify\n the properties for the next jobs in the flow.

                                                      " } }, "CreatedOn": { @@ -19714,7 +19793,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A workflow represents a flow in which Glue components should be run to complete a logical\n task.

                                                      " + "smithy.api#documentation": "

                                                      A workflow is a collection of multiple dependent Glue \n jobs and crawlers that are run to complete a complex ETL task. A\n workflow manages the execution and monitoring of all its jobs and crawlers.

                                                      " } }, "com.amazonaws.glue#WorkflowGraph": { @@ -19811,6 +19890,12 @@ "traits": { "smithy.api#documentation": "

                                                      The graph representing all the Glue components that belong to the workflow as nodes and directed\n connections between them as edges.

                                                      " } + }, + "StartingEventBatchCondition": { + "target": "com.amazonaws.glue#StartingEventBatchCondition", + "traits": { + "smithy.api#documentation": "

                                                      The batch condition that started the workflow run.

                                                      " + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/healthlake.2017-07-01.json b/codegen/sdk-codegen/aws-models/healthlake.2017-07-01.json index d430c734e4990..2bf19c9631c69 100644 --- a/codegen/sdk-codegen/aws-models/healthlake.2017-07-01.json +++ b/codegen/sdk-codegen/aws-models/healthlake.2017-07-01.json @@ -42,6 +42,16 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.healthlake#AmazonResourceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + }, + "smithy.api#pattern": "^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:healthlake:[a-z0-9-]+:\\d{12}:datastore\\/fhir\\/.{32}$" + } + }, "com.amazonaws.healthlake#BoundedLengthString": { "type": "string", "traits": { @@ -49,7 +59,7 @@ "min": 1, "max": 5000 }, - "smithy.api#pattern": "[\\P{M}\\p{M}]{1,5000}" + "smithy.api#pattern": "^[\\P{M}\\p{M}]{1,5000}$" } }, "com.amazonaws.healthlake#ClientTokenString": { @@ -62,6 +72,21 @@ "smithy.api#pattern": "^[a-zA-Z0-9-]+$" } }, + "com.amazonaws.healthlake#CmkType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CUSTOMER_MANAGED_KMS_KEY", + "name": "CM_CMK" + }, + { + "value": "AWS_OWNED_KMS_KEY", + "name": "AO_CMK" + } + ] + } + }, "com.amazonaws.healthlake#ConflictException": { "type": "structure", "members": { @@ -84,6 +109,9 @@ "target": "com.amazonaws.healthlake#CreateFHIRDatastoreResponse" }, "errors": [ + { + "target": "com.amazonaws.healthlake#AccessDeniedException" + }, { "target": "com.amazonaws.healthlake#InternalServerException" }, @@ -114,6 +142,12 @@ "smithy.api#required": {} } }, + "SseConfiguration": { + "target": "com.amazonaws.healthlake#SseConfiguration", + "traits": { + "smithy.api#documentation": "

                                                      \n The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store. \n

                                                      " + } + }, "PreloadDataConfig": { "target": "com.amazonaws.healthlake#PreloadDataConfig", "traits": { @@ -126,6 +160,12 @@ "smithy.api#documentation": "

                                                      Optional user provided token used for ensuring idempotency.

                                                      ", "smithy.api#idempotencyToken": {} } + }, + "Tags": { + "target": "com.amazonaws.healthlake#TagList", + "traits": { + "smithy.api#documentation": "

                                                      \n Resource tags that are applied to a Data Store when it is created. \n

                                                      " + } } } }, @@ -165,7 +205,7 @@ "com.amazonaws.healthlake#DatastoreArn": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:healthlake:[a-zA-Z0-9-]+:[0-9]{12}:datastore/.+?" + "smithy.api#pattern": "^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:healthlake:[a-zA-Z0-9-]+:[0-9]{12}:datastore/.+?$" } }, "com.amazonaws.healthlake#DatastoreFilter": { @@ -270,6 +310,12 @@ "smithy.api#required": {} } }, + "SseConfiguration": { + "target": "com.amazonaws.healthlake#SseConfiguration", + "traits": { + "smithy.api#documentation": "

                                                      \n The server-side encryption key configuration for a customer provided encryption key (CMK).\n

                                                      " + } + }, "PreloadDataConfig": { "target": "com.amazonaws.healthlake#PreloadDataConfig", "traits": { @@ -515,7 +561,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                      " + "smithy.api#documentation": "

                                                      Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.

                                                      " } }, "com.amazonaws.healthlake#DescribeFHIRImportJobRequest": { @@ -549,6 +595,16 @@ } } }, + "com.amazonaws.healthlake#EncryptionKeyID": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 400 + }, + "smithy.api#pattern": "^(arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:kms:)?([a-z]{2}-[a-z]+(-[a-z]+)?-\\d:)?(\\d{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))$" + } + }, "com.amazonaws.healthlake#ExportJobProperties": { "type": "structure", "members": { @@ -616,6 +672,12 @@ "smithy.api#documentation": "

                                                      The properties of a FHIR export job, including the ID, ARN, name, and the status of the job.

                                                      " } }, + "com.amazonaws.healthlake#ExportJobPropertiesList": { + "type": "list", + "member": { + "target": "com.amazonaws.healthlake#ExportJobProperties" + } + }, "com.amazonaws.healthlake#FHIRVersion": { "type": "string", "traits": { @@ -649,11 +711,26 @@ { "target": "com.amazonaws.healthlake#ListFHIRDatastores" }, + { + "target": "com.amazonaws.healthlake#ListFHIRExportJobs" + }, + { + "target": "com.amazonaws.healthlake#ListFHIRImportJobs" + }, + { + "target": "com.amazonaws.healthlake#ListTagsForResource" + }, { "target": "com.amazonaws.healthlake#StartFHIRExportJob" }, { "target": "com.amazonaws.healthlake#StartFHIRImportJob" + }, + { + "target": "com.amazonaws.healthlake#TagResource" + }, + { + "target": "com.amazonaws.healthlake#UntagResource" } ], "traits": { @@ -679,7 +756,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+" + "smithy.api#pattern": "^arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+$" } }, "com.amazonaws.healthlake#ImportJobProperties": { @@ -728,10 +805,13 @@ "InputDataConfig": { "target": "com.amazonaws.healthlake#InputDataConfig", "traits": { - "smithy.api#documentation": "

                                                      The input data configuration that was supplied when the Import job was created.

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

                                                      The input data configuration that was supplied when the Import job was created.

                                                      ", "smithy.api#required": {} } }, + "JobOutputDataConfig": { + "target": "com.amazonaws.healthlake#OutputDataConfig" + }, "DataAccessRoleArn": { "target": "com.amazonaws.healthlake#IamRoleArn", "traits": { @@ -749,6 +829,12 @@ "smithy.api#documentation": "

                                                      Displays the properties of the import job, including the ID, Arn, Name, and the status of the Data Store.

                                                      " } }, + "com.amazonaws.healthlake#ImportJobPropertiesList": { + "type": "list", + "member": { + "target": "com.amazonaws.healthlake#ImportJobProperties" + } + }, "com.amazonaws.healthlake#InputDataConfig": { "type": "union", "members": { @@ -808,6 +894,10 @@ "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, + { + "value": "COMPLETED_WITH_ERRORS", + "name": "COMPLETED_WITH_ERRORS" + }, { "value": "COMPLETED", "name": "COMPLETED" @@ -819,6 +909,27 @@ ] } }, + "com.amazonaws.healthlake#KmsEncryptionConfig": { + "type": "structure", + "members": { + "CmkType": { + "target": "com.amazonaws.healthlake#CmkType", + "traits": { + "smithy.api#documentation": "

                                                      \n The type of customer-managed-key(CMK) used for encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.\n

                                                      ", + "smithy.api#required": {} + } + }, + "KmsKeyId": { + "target": "com.amazonaws.healthlake#EncryptionKeyID", + "traits": { + "smithy.api#documentation": "

                                                      \n The KMS encryption key id/alias used to encrypt the Data Store contents at rest.\n

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

                                                      \n The customer-managed-key(CMK) used when creating a Data Store. If a customer owned key is not specified, an AWS owned key will be used for encryption. \n

                                                      " + } + }, "com.amazonaws.healthlake#ListFHIRDatastores": { "type": "operation", "input": { @@ -888,6 +999,249 @@ } } }, + "com.amazonaws.healthlake#ListFHIRExportJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.healthlake#ListFHIRExportJobsRequest" + }, + "output": { + "target": "com.amazonaws.healthlake#ListFHIRExportJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.healthlake#AccessDeniedException" + }, + { + "target": "com.amazonaws.healthlake#InternalServerException" + }, + { + "target": "com.amazonaws.healthlake#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.healthlake#ThrottlingException" + }, + { + "target": "com.amazonaws.healthlake#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      \n Lists all FHIR export jobs associated with an account and their statuses.\n

                                                      ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.healthlake#ListFHIRExportJobsRequest": { + "type": "structure", + "members": { + "DatastoreId": { + "target": "com.amazonaws.healthlake#DatastoreId", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the export job with the specified Data Store ID. \n

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

                                                      \n A pagination token used to identify the next page of results to return for a ListFHIRExportJobs query. \n

                                                      " + } + }, + "MaxResults": { + "target": "com.amazonaws.healthlake#MaxResultsInteger", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the number of results returned for a ListFHIRExportJobs to a maximum quantity specified by the user. \n

                                                      " + } + }, + "JobName": { + "target": "com.amazonaws.healthlake#JobName", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the export job with the specified job name.\n

                                                      " + } + }, + "JobStatus": { + "target": "com.amazonaws.healthlake#JobStatus", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the export jobs with the specified job status. \n

                                                      " + } + }, + "SubmittedBefore": { + "target": "com.amazonaws.healthlake#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to FHIR export jobs submitted before a user specified date. \n

                                                      " + } + }, + "SubmittedAfter": { + "target": "com.amazonaws.healthlake#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to FHIR export jobs submitted after a user specified date. \n

                                                      " + } + } + } + }, + "com.amazonaws.healthlake#ListFHIRExportJobsResponse": { + "type": "structure", + "members": { + "ExportJobPropertiesList": { + "target": "com.amazonaws.healthlake#ExportJobPropertiesList", + "traits": { + "smithy.api#documentation": "

                                                      \n The properties of listed FHIR export jobs, including the ID, ARN, name, and the status of the job.\n

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

                                                      \n A pagination token used to identify the next page of results to return for a ListFHIRExportJobs query.\n

                                                      " + } + } + } + }, + "com.amazonaws.healthlake#ListFHIRImportJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.healthlake#ListFHIRImportJobsRequest" + }, + "output": { + "target": "com.amazonaws.healthlake#ListFHIRImportJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.healthlake#AccessDeniedException" + }, + { + "target": "com.amazonaws.healthlake#InternalServerException" + }, + { + "target": "com.amazonaws.healthlake#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.healthlake#ThrottlingException" + }, + { + "target": "com.amazonaws.healthlake#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      \n Lists all FHIR import jobs associated with an account and their statuses.\n

                                                      ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.healthlake#ListFHIRImportJobsRequest": { + "type": "structure", + "members": { + "DatastoreId": { + "target": "com.amazonaws.healthlake#DatastoreId", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the import job with the specified Data Store ID.\n

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

                                                      \n A pagination token used to identify the next page of results to return for a ListFHIRImportJobs query.\n

                                                      " + } + }, + "MaxResults": { + "target": "com.amazonaws.healthlake#MaxResultsInteger", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the number of results returned for a ListFHIRImportJobs to a maximum quantity specified by the user.\n

                                                      " + } + }, + "JobName": { + "target": "com.amazonaws.healthlake#JobName", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the import job with the specified job name.\n

                                                      " + } + }, + "JobStatus": { + "target": "com.amazonaws.healthlake#JobStatus", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to the import job with the specified job status.\n

                                                      " + } + }, + "SubmittedBefore": { + "target": "com.amazonaws.healthlake#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to FHIR import jobs submitted before a user specified date.\n

                                                      " + } + }, + "SubmittedAfter": { + "target": "com.amazonaws.healthlake#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      \n This parameter limits the response to FHIR import jobs submitted after a user specified date.\n

                                                      " + } + } + } + }, + "com.amazonaws.healthlake#ListFHIRImportJobsResponse": { + "type": "structure", + "members": { + "ImportJobPropertiesList": { + "target": "com.amazonaws.healthlake#ImportJobPropertiesList", + "traits": { + "smithy.api#documentation": "

                                                      \n The properties of a listed FHIR import jobs, including the ID, ARN, name, and the status of the job.\n

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

                                                      \n A pagination token used to identify the next page of results to return for a ListFHIRImportJobs query.\n

                                                      " + } + } + } + }, + "com.amazonaws.healthlake#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.healthlake#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.healthlake#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.healthlake#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.healthlake#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      \n Returns a list of all existing tags associated with a Data Store. \n

                                                      " + } + }, + "com.amazonaws.healthlake#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.healthlake#AmazonResourceName", + "traits": { + "smithy.api#documentation": "

                                                      \n The Amazon Resource Name(ARN) of the Data Store for which tags are being added.\n

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.healthlake#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.healthlake#TagList", + "traits": { + "smithy.api#documentation": "

                                                      \n Returns a list of tags associated with a Data Store.\n

                                                      " + } + } + } + }, "com.amazonaws.healthlake#MaxResultsInteger": { "type": "integer", "traits": { @@ -915,16 +1269,16 @@ "min": 0, "max": 8192 }, - "smithy.api#pattern": "\\p{ASCII}{0,8192}" + "smithy.api#pattern": "^\\p{ASCII}{0,8192}$" } }, "com.amazonaws.healthlake#OutputDataConfig": { "type": "union", "members": { - "S3Uri": { - "target": "com.amazonaws.healthlake#S3Uri", + "S3Configuration": { + "target": "com.amazonaws.healthlake#S3Configuration", "traits": { - "smithy.api#documentation": "

                                                      The S3Uri is the user specified S3 location to which data will be exported from a FHIR Data Store.

                                                      " + "smithy.api#documentation": "

                                                      \n The output data configuration that was supplied when the export job was created.\n

                                                      " } } }, @@ -971,6 +1325,28 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.healthlake#S3Configuration": { + "type": "structure", + "members": { + "S3Uri": { + "target": "com.amazonaws.healthlake#S3Uri", + "traits": { + "smithy.api#documentation": "

                                                      \n The S3Uri is the user specified S3 location of the FHIR data to be imported into Amazon HealthLake.\n

                                                      ", + "smithy.api#required": {} + } + }, + "KmsKeyId": { + "target": "com.amazonaws.healthlake#EncryptionKeyID", + "traits": { + "smithy.api#documentation": "

                                                      \n The KMS key ID used to access the S3 bucket.\n

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

                                                      \n The configuration of the S3 bucket for either an import or export job. This includes assigning permissions for access.\n

                                                      " + } + }, "com.amazonaws.healthlake#S3Uri": { "type": "string", "traits": { @@ -978,7 +1354,22 @@ "min": 0, "max": 1024 }, - "smithy.api#pattern": "s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" + "smithy.api#pattern": "^s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?$" + } + }, + "com.amazonaws.healthlake#SseConfiguration": { + "type": "structure", + "members": { + "KmsEncryptionConfig": { + "target": "com.amazonaws.healthlake#KmsEncryptionConfig", + "traits": { + "smithy.api#documentation": "

                                                      \n The KMS encryption configuration used to provide details for data encryption.\n

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

                                                      \n The server-side encryption key configuration for a customer provided encryption key.\n

                                                      " } }, "com.amazonaws.healthlake#StartFHIRExportJob": { @@ -1120,6 +1511,12 @@ "smithy.api#required": {} } }, + "JobOutputDataConfig": { + "target": "com.amazonaws.healthlake#OutputDataConfig", + "traits": { + "smithy.api#required": {} + } + }, "DatastoreId": { "target": "com.amazonaws.healthlake#DatastoreId", "traits": { @@ -1176,7 +1573,116 @@ "min": 0, "max": 10000 }, - "smithy.api#pattern": "[\\P{M}\\p{M}]{0,10000}" + "smithy.api#pattern": "^[\\P{M}\\p{M}]{0,10000}$" + } + }, + "com.amazonaws.healthlake#Tag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.healthlake#TagKey", + "traits": { + "smithy.api#documentation": "

                                                      \n The key portion of a tag. Tag keys are case sensitive.\n

                                                      ", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.healthlake#TagValue", + "traits": { + "smithy.api#documentation": "

                                                      \n The value portion of tag. Tag values are case sensitive.\n

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

                                                      \n A tag is a label consisting of a user-defined key and value. The form for tags is {\"Key\", \"Value\"}\n

                                                      " + } + }, + "com.amazonaws.healthlake#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + } + }, + "com.amazonaws.healthlake#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.healthlake#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.healthlake#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.healthlake#Tag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.healthlake#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.healthlake#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.healthlake#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.healthlake#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.healthlake#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      \n Adds a user specifed key and value tag to a Data Store. \n

                                                      " + } + }, + "com.amazonaws.healthlake#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.healthlake#AmazonResourceName", + "traits": { + "smithy.api#documentation": "

                                                      \n The Amazon Resource Name(ARN)that gives Amazon HealthLake access to the Data Store which tags are being added to.\n

                                                      ", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.healthlake#TagList", + "traits": { + "smithy.api#documentation": "

                                                      \n The user specified key and value pair tags being added to a Data Store.\n

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.healthlake#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.healthlake#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.healthlake#ThrottlingException": { @@ -1195,6 +1701,49 @@ "com.amazonaws.healthlake#Timestamp": { "type": "timestamp" }, + "com.amazonaws.healthlake#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.healthlake#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.healthlake#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.healthlake#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.healthlake#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      \n Removes tags from a Data Store.\n

                                                      " + } + }, + "com.amazonaws.healthlake#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.healthlake#AmazonResourceName", + "traits": { + "smithy.api#documentation": "

                                                      \n \"The Amazon Resource Name(ARN) of the Data Store for which tags are being removed\n

                                                      ", + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.healthlake#TagKeyList", + "traits": { + "smithy.api#documentation": "

                                                      \n The keys for the tags to be removed from the Healthlake Data Store.\n

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.healthlake#UntagResourceResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.healthlake#ValidationException": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/iotsitewise.2019-12-02.json b/codegen/sdk-codegen/aws-models/iotsitewise.2019-12-02.json index 25fe27242b814..a5abec8453311 100644 --- a/codegen/sdk-codegen/aws-models/iotsitewise.2019-12-02.json +++ b/codegen/sdk-codegen/aws-models/iotsitewise.2019-12-02.json @@ -1237,7 +1237,7 @@ "traits": { "smithy.api#documentation": "

                                                      Associates a child asset with the given parent asset through a hierarchy defined in the\n parent asset's model. For more information, see Associating assets in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", @@ -2008,7 +2008,7 @@ "traits": { "smithy.api#documentation": "

                                                      Creates an asset from an existing asset model. For more information, see Creating assets in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", @@ -2051,7 +2051,7 @@ "traits": { "smithy.api#documentation": "

                                                      Creates an asset model from specified property and hierarchy definitions. You create\n assets from asset models. With asset models, you can easily create assets of the same type\n that have standardized definitions. Each asset created from a model inherits the asset model's\n property and hierarchy definitions. For more information, see Defining asset models in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", @@ -2322,7 +2322,7 @@ "traits": { "smithy.api#documentation": "

                                                      Creates a gateway, which is a virtual or edge device that delivers industrial data streams\n from local servers to IoT SiteWise. For more information, see Ingesting data using a gateway in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", @@ -2790,7 +2790,7 @@ "traits": { "smithy.api#documentation": "

                                                      Deletes an asset. This action can't be undone. For more information, see Deleting assets and\n models in the IoT SiteWise User Guide.

                                                      \n \n

                                                      You can't delete an asset that's associated to another asset. For more information, see\n DisassociateAssets.

                                                      \n
                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "DELETE", @@ -2827,7 +2827,7 @@ "traits": { "smithy.api#documentation": "

                                                      Deletes an asset model. This action can't be undone. You must delete all assets created\n from an asset model before you can delete the model. Also, you can't delete an asset model if\n a parent asset model exists that contains a property formula expression that depends on the\n asset model that you want to delete. For more information, see Deleting assets and models in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "DELETE", @@ -2983,7 +2983,7 @@ "traits": { "smithy.api#documentation": "

                                                      Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's files remain\n in your gateway's file system.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "DELETE", @@ -3260,7 +3260,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves information about an asset.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -3332,7 +3332,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves information about an asset model.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -3491,7 +3491,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves information about an asset property.

                                                      \n \n

                                                      When you call this operation for an attribute property, this response includes the\n default attribute value that you define in the asset model. If you update the default value\n in the model, this operation's response includes the new default value.

                                                      \n
                                                      \n

                                                      This operation doesn't return the value of the asset property. To get the value of an\n asset property, use GetAssetPropertyValue.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -3774,6 +3774,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Retrieves information about the default encryption configuration for the Amazon Web Services account in\n the default or specified Region. For more information, see Key management in the\n IoT SiteWise User Guide.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "GET", "uri": "/configuration/account/encryption", @@ -3835,7 +3838,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves information about a gateway.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -3869,7 +3872,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves information about a gateway capability configuration.\n Each gateway capability defines data sources for a gateway. A capability configuration\n can contain multiple data source configurations. If you define OPC-UA sources for a gateway in\n the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To\n list all capability configurations for a gateway, use DescribeGateway.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -4023,7 +4026,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves the current IoT SiteWise logging options.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -4357,6 +4360,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Retrieves information about the storage configuration for IoT SiteWise.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "GET", "uri": "/configuration/account/storage", @@ -4433,7 +4439,7 @@ "traits": { "smithy.api#documentation": "

                                                      Disassociates a child asset from the given parent asset through a hierarchy defined in the\n parent asset's model.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", @@ -5650,7 +5656,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves a paginated list of summaries of all asset models.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -5726,7 +5732,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves a paginated list of asset relationships for an asset. You can use this operation\n to identify an asset's root asset and all associated assets between that asset and its\n root.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -5818,7 +5824,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves a paginated list of asset summaries.

                                                      \n

                                                      You can use this operation to do the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        List assets based on a specific asset model.

                                                        \n
                                                      • \n
                                                      • \n

                                                        List top-level assets.

                                                        \n
                                                      • \n
                                                      \n

                                                      You can't use this operation to list all assets. To retrieve summaries for all of your\n assets, use ListAssetModels to get all of your asset model IDs. Then, use ListAssets to get all\n assets for each asset model.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -5923,7 +5929,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves a paginated list of associated assets.

                                                      \n

                                                      You can use this operation to do the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        List child assets associated to a parent asset by a hierarchy that you specify.

                                                        \n
                                                      • \n
                                                      • \n

                                                        List an asset's parent asset.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -6099,7 +6105,7 @@ "traits": { "smithy.api#documentation": "

                                                      Retrieves a paginated list of gateways.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "GET", @@ -6417,6 +6423,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Retrieves the list of tags for an IoT SiteWise resource.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "GET", "uri": "/tags", @@ -7130,6 +7139,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Sets the default encryption configuration for the Amazon Web Services account. For more information, see\n Key management in\n the IoT SiteWise User Guide.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "POST", "uri": "/configuration/account/encryption", @@ -7208,7 +7220,7 @@ "traits": { "smithy.api#documentation": "

                                                      Sets logging options for IoT SiteWise.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "PUT", @@ -7266,6 +7278,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Configures storage settings for IoT SiteWise.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "POST", "uri": "/configuration/account/storage", @@ -7556,6 +7571,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this operation\n updates the tag's value.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "POST", "uri": "/tags", @@ -7798,6 +7816,9 @@ ], "traits": { "smithy.api#documentation": "

                                                      Removes a tag from an IoT SiteWise resource.

                                                      ", + "smithy.api#endpoint": { + "hostPrefix": "api." + }, "smithy.api#http": { "method": "DELETE", "uri": "/tags", @@ -7940,7 +7961,7 @@ "traits": { "smithy.api#documentation": "

                                                      Updates an asset's name. For more information, see Updating assets and models in the\n IoT SiteWise User Guide.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "PUT", @@ -7983,7 +8004,7 @@ "traits": { "smithy.api#documentation": "

                                                      Updates an asset model and all of the assets that were created from the model. Each asset\n created from the model inherits the updated asset model's property and hierarchy definitions.\n For more information, see Updating assets and models in the\n IoT SiteWise User Guide.

                                                      \n \n

                                                      This operation overwrites the existing model with the provided model. To avoid deleting\n your asset model's properties or hierarchies, you must include their IDs and definitions in\n the updated asset model payload. For more information, see DescribeAssetModel.

                                                      \n

                                                      If you remove a property from an asset model, IoT SiteWise deletes all previous data for that\n property. If you remove a hierarchy definition from an asset model, IoT SiteWise disassociates every\n asset associated with that hierarchy. You can't change the type or data type of an existing\n property.

                                                      \n
                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "PUT", @@ -8080,7 +8101,7 @@ "traits": { "smithy.api#documentation": "

                                                      Updates an asset property's alias and notification state.

                                                      \n \n

                                                      This operation overwrites the property's existing alias and notification state. To keep\n your existing property's alias or notification state, you must include the existing values\n in the UpdateAssetProperty request. For more information, see DescribeAssetProperty.

                                                      \n
                                                      ", "smithy.api#endpoint": { - "hostPrefix": "model." + "hostPrefix": "api." }, "smithy.api#http": { "method": "PUT", @@ -8271,7 +8292,7 @@ "traits": { "smithy.api#documentation": "

                                                      Updates a gateway's name.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "PUT", @@ -8311,7 +8332,7 @@ "traits": { "smithy.api#documentation": "

                                                      Updates a gateway capability configuration or defines a new capability configuration.\n Each gateway capability defines data sources for a gateway. A capability configuration\n can contain multiple data source configurations. If you define OPC-UA sources for a gateway in\n the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To\n list all capability configurations for a gateway, use DescribeGateway.

                                                      ", "smithy.api#endpoint": { - "hostPrefix": "edge." + "hostPrefix": "api." }, "smithy.api#http": { "method": "POST", diff --git a/codegen/sdk-codegen/aws-models/kendra.2019-02-03.json b/codegen/sdk-codegen/aws-models/kendra.2019-02-03.json index beae694c4b900..4c7641946e517 100644 --- a/codegen/sdk-codegen/aws-models/kendra.2019-02-03.json +++ b/codegen/sdk-codegen/aws-models/kendra.2019-02-03.json @@ -69,6 +69,9 @@ { "target": "com.amazonaws.kendra#DeleteIndex" }, + { + "target": "com.amazonaws.kendra#DeletePrincipalMapping" + }, { "target": "com.amazonaws.kendra#DeleteQuerySuggestionsBlockList" }, @@ -84,6 +87,9 @@ { "target": "com.amazonaws.kendra#DescribeIndex" }, + { + "target": "com.amazonaws.kendra#DescribePrincipalMapping" + }, { "target": "com.amazonaws.kendra#DescribeQuerySuggestionsBlockList" }, @@ -105,6 +111,9 @@ { "target": "com.amazonaws.kendra#ListFaqs" }, + { + "target": "com.amazonaws.kendra#ListGroupsOlderThanOrderingId" + }, { "target": "com.amazonaws.kendra#ListIndices" }, @@ -117,6 +126,9 @@ { "target": "com.amazonaws.kendra#ListThesauri" }, + { + "target": "com.amazonaws.kendra#PutPrincipalMapping" + }, { "target": "com.amazonaws.kendra#Query" }, @@ -173,7 +185,7 @@ "KeyPath": { "target": "com.amazonaws.kendra#S3ObjectKey", "traits": { - "smithy.api#documentation": "

                                                      Path to the AWS S3 bucket that contains the ACL files.

                                                      " + "smithy.api#documentation": "

                                                      Path to the Amazon Web Services S3 bucket that contains the ACL files.

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

                                                      Removes one or more documents from an index. The documents must have\n been added with the BatchPutDocument operation.

                                                      \n

                                                      The documents are deleted asynchronously. You can see the progress of\n the deletion by using AWS CloudWatch. Any error messages related to the\n processing of the batch are sent to you CloudWatch log.

                                                      " + "smithy.api#documentation": "

                                                      Removes one or more documents from an index. The documents must have\n been added with the BatchPutDocument operation.

                                                      \n

                                                      The documents are deleted asynchronously. You can see the progress of\n the deletion by using Amazon Web Services CloudWatch. Any error messages related to the\n processing of the batch are sent to you CloudWatch log.

                                                      " } }, "com.amazonaws.kendra#BatchDeleteDocumentRequest": { @@ -636,7 +648,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds one or more documents to an index.

                                                      \n

                                                      The BatchPutDocument operation enables you to ingest\n inline documents or a set of documents stored in an Amazon S3 bucket. Use\n this operation to ingest your text and unstructured text into an index,\n add custom attributes to the documents, and to attach an access control\n list to the documents added to the index.

                                                      \n

                                                      The documents are indexed asynchronously. You can see the progress of\n the batch using AWS CloudWatch. Any error messages related to processing\n the batch are sent to your AWS CloudWatch log.

                                                      " + "smithy.api#documentation": "

                                                      Adds one or more documents to an index.

                                                      \n

                                                      The BatchPutDocument operation enables you to ingest\n inline documents or a set of documents stored in an Amazon S3 bucket. Use\n this operation to ingest your text and unstructured text into an index,\n add custom attributes to the documents, and to attach an access control\n list to the documents added to the index.

                                                      \n

                                                      The documents are indexed asynchronously. You can see the progress of\n the batch using Amazon Web Services CloudWatch. Any error messages related to processing\n the batch are sent to your Amazon Web Services CloudWatch log.

                                                      " } }, "com.amazonaws.kendra#BatchPutDocumentRequest": { @@ -670,7 +682,7 @@ "FailedDocuments": { "target": "com.amazonaws.kendra#BatchPutDocumentResponseFailedDocuments", "traits": { - "smithy.api#documentation": "

                                                      A list of documents that were not added to the index because the\n document failed a validation check. Each document contains an error\n message that indicates why the document couldn't be added to the\n index.

                                                      \n

                                                      If there was an error adding a document to an index the error is\n reported in your AWS CloudWatch log. For more information, see Monitoring\n Amazon Kendra with Amazon CloudWatch Logs\n

                                                      " + "smithy.api#documentation": "

                                                      A list of documents that were not added to the index because the\n document failed a validation check. Each document contains an error\n message that indicates why the document couldn't be added to the\n index.

                                                      \n

                                                      If there was an error adding a document to an index the error is\n reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring\n Amazon Kendra with Amazon CloudWatch Logs\n

                                                      " } } } @@ -719,14 +731,14 @@ "StorageCapacityUnits": { "target": "com.amazonaws.kendra#StorageCapacityUnit", "traits": { - "smithy.api#documentation": "

                                                      The amount of extra storage capacity for an index. \n A single capacity unit provides 30 GB of storage space or 100,000 documents, \n whichever is reached first.

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

                                                      The amount of extra storage capacity for an index. A single capacity\n unit for an index provides 150 GB of storage space or \n 500,000 documents, whichever is reached first.

                                                      ", "smithy.api#required": {} } }, "QueryCapacityUnits": { "target": "com.amazonaws.kendra#QueryCapacityUnit", "traits": { - "smithy.api#documentation": "

                                                      The amount of extra query capacity for an index and \n GetQuerySuggestions \n capacity.

                                                      \n

                                                      A single extra capacity unit for an index provides 0.1 queries per second or approximately \n 8,000 queries per day.

                                                      \n

                                                      \n GetQuerySuggestions capacity is five times the \n provisioned query capacity for an index, or the base capacity of 2.5 calls per second, \n whichever is higher. For example, the base capacity for an index is 0.1 queries per \n second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. \n If you add another 0.1 queries per second to total 0.2 queries per second for an index, the \n GetQuerySuggestions capacity is 2.5 calls per second \n (higher than five times 0.2 queries per second).

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

                                                      The amount of extra query capacity for an index and \n GetQuerySuggestions \n capacity.

                                                      \n

                                                      A single extra capacity unit for an index provides 0.5 queries per second or \n approximately 40,000 queries per day.

                                                      \n

                                                      \n GetQuerySuggestions capacity is 5 times the provisioned query \n capacity for an index. For example, the base capacity for an index is 0.5 \n queries per second, so GetQuerySuggestions capacity is 2.5 calls per second. \n If adding another 0.5 queries per second to total 1 queries per second for an \n index, the GetQuerySuggestions capacity is 5 calls per second.

                                                      ", "smithy.api#required": {} } } @@ -1116,7 +1128,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an AWS Secrets Manager secret\n that contains the key/value pairs required to connect to your\n Confluence server. The secret must contain a JSON structure with the\n following keys:

                                                      \n
                                                        \n
                                                      • \n

                                                        username - The user name or email address of a user with\n administrative privileges for the Confluence server.

                                                        \n
                                                      • \n
                                                      • \n

                                                        password - The password associated with the user logging\n in to the Confluence server.

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

                                                      The Amazon Resource Name (ARN) of an Secrets Managersecret\n that contains the key/value pairs required to connect to your\n Confluence server. The secret must contain a JSON structure with the\n following keys:

                                                      \n
                                                        \n
                                                      • \n

                                                        username - The user name or email address of a user with\n administrative privileges for the Confluence server.

                                                        \n
                                                      • \n
                                                      • \n

                                                        password - The password associated with the user logging\n in to the Confluence server.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -1450,7 +1462,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of credentials stored in AWS\n Secrets Manager. The credentials should be a user/password pair. For\n more information, see Using a\n Database Data Source. For more information about AWS\n Secrets Manager, see What Is AWS\n Secrets Manager in the AWS Secrets\n Manager user guide.

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

                                                      The Amazon Resource Name (ARN) of credentials stored in AWS\n Secrets Manager. The credentials should be a user/password pair. For\n more information, see Using a\n Database Data Source. For more information about AWS\n Secrets Manager, see What Is AWS\n Secrets Manager in the Secrets Manager\n user guide.

                                                      ", "smithy.api#required": {} } } @@ -1761,20 +1773,20 @@ "Edition": { "target": "com.amazonaws.kendra#IndexEdition", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Kendra edition to use for the index. Choose\n DEVELOPER_EDITION for indexes intended for development,\n testing, or proof of concept. Use ENTERPRISE_EDITION for your\n production databases. Once you set the edition for an index, it can't be\n changed.

                                                      \n

                                                      The Edition parameter is optional. If you don't supply a\n value, the default is ENTERPRISE_EDITION.

                                                      \n

                                                      For more information on quota limits for enterprise and developer editions, \n see Quotas.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Kendra edition to use for the index. Choose\n DEVELOPER_EDITION for indexes intended for development,\n testing, or proof of concept. Use ENTERPRISE_EDITION for your\n production databases. Once you set the edition for an index, it can't be\n changed.

                                                      \n

                                                      The Edition parameter is optional. If you don't supply a\n value, the default is ENTERPRISE_EDITION.

                                                      " } }, "RoleArn": { "target": "com.amazonaws.kendra#RoleArn", "traits": { - "smithy.api#documentation": "

                                                      An AWS Identity and Access Management (IAM) role that gives\n Amazon Kendra permissions to access your Amazon CloudWatch logs and\n metrics. This is also the role used when you use the\n BatchPutDocument operation to index documents from an\n Amazon S3 bucket.

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

                                                      An Identity and Access Management(IAM) role that gives\n Amazon Kendra permissions to access your Amazon CloudWatch logs and\n metrics. This is also the role used when you use the\n BatchPutDocument operation to index documents from an\n Amazon S3 bucket.

                                                      ", "smithy.api#required": {} } }, "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.kendra#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the AWS KMS customer managed key (CMK) to use to\n encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support\n asymmetric CMKs.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of the KMScustomer managed key (CMK) to use to\n encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support\n asymmetric CMKs.

                                                      " } }, "Description": { @@ -2096,6 +2108,40 @@ "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_.]*$" } }, + "com.amazonaws.kendra#DataSourceGroup": { + "type": "structure", + "members": { + "GroupId": { + "target": "com.amazonaws.kendra#PrincipalName", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the group you want to add to your list \n of groups. This is for filtering search results based on the \n groups' access to documents.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source group you want to add \n to your list of data source groups. This is for filtering \n search results based on the groups' access to documents in \n that data source.

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

                                                      \n Data source information for user context filtering.\n

                                                      " + } + }, + "com.amazonaws.kendra#DataSourceGroups": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#DataSourceGroup" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, "com.amazonaws.kendra#DataSourceId": { "type": "string", "traits": { @@ -2722,6 +2768,66 @@ } } }, + "com.amazonaws.kendra#DeletePrincipalMapping": { + "type": "operation", + "input": { + "target": "com.amazonaws.kendra#DeletePrincipalMappingRequest" + }, + "errors": [ + { + "target": "com.amazonaws.kendra#AccessDeniedException" + }, + { + "target": "com.amazonaws.kendra#ConflictException" + }, + { + "target": "com.amazonaws.kendra#InternalServerException" + }, + { + "target": "com.amazonaws.kendra#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.kendra#ThrottlingException" + }, + { + "target": "com.amazonaws.kendra#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Deletes a group so that all users and sub groups that belong to the group can \n no longer access documents only available to that group.

                                                      \n

                                                      For example, after deleting the group \"Summer Interns\", all interns who \n belonged to that group no longer see intern-only documents in their search \n results.

                                                      \n

                                                      If you want to delete or replace users or sub groups of a group, you need to \n use the PutPrincipalMapping operation. For example, if a user in \n the group \"Engineering\" leaves the engineering team and another user takes \n their place, you provide an updated list of users or sub groups that belong \n to the \"Engineering\" group when calling PutPrincipalMapping. You \n can update your internal list of users or sub groups and input this list \n when calling PutPrincipalMapping.

                                                      " + } + }, + "com.amazonaws.kendra#DeletePrincipalMappingRequest": { + "type": "structure", + "members": { + "IndexId": { + "target": "com.amazonaws.kendra#IndexId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the index you want to delete a group from.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source you want to delete a group from.

                                                      \n

                                                      This is useful if a group is tied to multiple data sources and you want \n to delete a group from accessing documents in a certain data source. For example, \n the groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to \n the company's documents stored in the data sources Confluence and Salesforce. \n You want to delete \"Research\" and \"Engineering\" groups from Salesforce, so that\n these groups cannot access customer-related documents stored in Salesforce. \n Only \"Sales and Marketing\" should access documents in the Salesforce data source.

                                                      " + } + }, + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the group you want to delete.

                                                      ", + "smithy.api#required": {} + } + }, + "OrderingId": { + "target": "com.amazonaws.kendra#PrincipalOrderingId", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp identifier you specify to ensure Amazon Kendra does not \n override the latest DELETE action with previous actions. \n The highest number ID, which is the ordering ID, is the latest action \n you want to process and apply on top of other actions with lower number \n IDs. This prevents previous actions with lower number IDs from possibly \n overriding the latest action.

                                                      \n

                                                      The ordering ID can be the UNIX time of the last update you made to a group \n members list. You would then provide this list when calling \n PutPrincipalMapping. This ensures your DELETE action \n for that updated group with the latest members list doesn't get overwritten \n by earlier DELETE actions for the same group which are yet to \n be processed.

                                                      \n

                                                      The default ordering ID is the current UNIX time in milliseconds that the \n action was received by Amazon Kendra.\n

                                                      " + } + } + } + }, "com.amazonaws.kendra#DeleteQuerySuggestionsBlockList": { "type": "operation", "input": { @@ -3130,7 +3236,7 @@ "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.kendra#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the AWS KMS customer master key (CMK) used to\n encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of the KMScustomer master key (CMK) used to\n encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

                                                      " } }, "Status": { @@ -3195,6 +3301,89 @@ } } }, + "com.amazonaws.kendra#DescribePrincipalMapping": { + "type": "operation", + "input": { + "target": "com.amazonaws.kendra#DescribePrincipalMappingRequest" + }, + "output": { + "target": "com.amazonaws.kendra#DescribePrincipalMappingResponse" + }, + "errors": [ + { + "target": "com.amazonaws.kendra#AccessDeniedException" + }, + { + "target": "com.amazonaws.kendra#InternalServerException" + }, + { + "target": "com.amazonaws.kendra#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.kendra#ThrottlingException" + }, + { + "target": "com.amazonaws.kendra#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Describes the processing of PUT and DELETE actions \n for mapping users to their groups. This includes information on the status of \n actions currently processing or yet to be processed, when actions were last updated, \n when actions were received by Amazon Kendra, the latest action that should process \n and apply after other actions, and useful error messages if an action could \n not be processed.

                                                      " + } + }, + "com.amazonaws.kendra#DescribePrincipalMappingRequest": { + "type": "structure", + "members": { + "IndexId": { + "target": "com.amazonaws.kendra#IndexId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the index required to check the processing of \n PUT and DELETE actions for mapping users \n to their groups.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source to check the processing of \n PUT and DELETE actions for mapping \n users to their groups.

                                                      " + } + }, + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the group required to check the processing of \n PUT and DELETE actions for mapping users \n to their groups.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.kendra#DescribePrincipalMappingResponse": { + "type": "structure", + "members": { + "IndexId": { + "target": "com.amazonaws.kendra#IndexId", + "traits": { + "smithy.api#documentation": "

                                                      Shows the identifier of the index to see information on the \n processing of PUT and DELETE actions \n for mapping users to their groups.

                                                      " + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      Shows the identifier of the data source to see information on \n the processing of PUT and DELETE actions \n for mapping users to their groups.

                                                      " + } + }, + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      Shows the identifier of the group to see information on the \n processing of PUT and DELETE actions \n for mapping users to their groups.

                                                      " + } + }, + "GroupOrderingIdSummaries": { + "target": "com.amazonaws.kendra#GroupOrderingIdSummaries", + "traits": { + "smithy.api#documentation": "

                                                      Shows the following information on the processing of PUT and \n DELETE actions for mapping users to their groups:

                                                      \n
                                                        \n
                                                      • \n

                                                        Status – the status can be either \n PROCESSING, SUCCEEDED, DELETING, \n DELETED, or FAILED.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Last updated – the last date-time an action was updated.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Received – the last date-time an action was received or submitted.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Ordering ID – the latest action that should process and apply \n after other actions.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failure reason – the reason an action could not be processed.

                                                        \n
                                                      • \n
                                                      " + } + } + } + }, "com.amazonaws.kendra#DescribeQuerySuggestionsBlockList": { "type": "operation", "input": { @@ -3577,7 +3766,7 @@ "Blob": { "target": "com.amazonaws.kendra#Blob", "traits": { - "smithy.api#documentation": "

                                                      The contents of the document.

                                                      \n

                                                      Documents passed to the Blob parameter must be base64\n encoded. Your code might not need to encode the document file bytes\n if you're using an AWS SDK to call Amazon Kendra operations. If you are\n calling the Amazon Kendra endpoint directly using REST, you must base64\n encode the contents before sending.

                                                      " + "smithy.api#documentation": "

                                                      The contents of the document.

                                                      \n

                                                      Documents passed to the Blob parameter must be base64\n encoded. Your code might not need to encode the document file bytes\n if you're using an Amazon Web Services SDK to call Amazon Kendra operations. If you are\n calling the Amazon Kendra endpoint directly using REST, you must base64\n encode the contents before sending.

                                                      " } }, "S3Path": { @@ -3592,7 +3781,13 @@ "AccessControlList": { "target": "com.amazonaws.kendra#PrincipalList", "traits": { - "smithy.api#documentation": "

                                                      Information to use for user context filtering.

                                                      " + "smithy.api#documentation": "

                                                      Information on user and group access rights, which is used for \n user context filtering.

                                                      " + } + }, + "HierarchicalAccessControlList": { + "target": "com.amazonaws.kendra#HierarchicalPrincipalList", + "traits": { + "smithy.api#documentation": "

                                                      The list of principal lists \n that define the hierarchy for which documents users should have access to.

                                                      " } }, "ContentType": { @@ -3955,7 +4150,7 @@ "S3Prefix": { "target": "com.amazonaws.kendra#S3ObjectKey", "traits": { - "smithy.api#documentation": "

                                                      A prefix used to filter metadata configuration files in the AWS S3\n bucket. The S3 bucket might contain multiple metadata files. Use\n S3Prefix to include only the desired metadata\n files.

                                                      " + "smithy.api#documentation": "

                                                      A prefix used to filter metadata configuration files in the Amazon Web Services S3\n bucket. The S3 bucket might contain multiple metadata files. Use\n S3Prefix to include only the desired metadata\n files.

                                                      " } } }, @@ -4086,6 +4281,16 @@ "target": "com.amazonaws.kendra#FacetResult" } }, + "com.amazonaws.kendra#FailureReason": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^\\P{C}*$" + } + }, "com.amazonaws.kendra#FaqFileFormat": { "type": "string", "traits": { @@ -4310,7 +4515,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of a AWS Secrets Manager secret\n that contains the credentials required to connect to Google Drive.\n For more information, see Using a Google Workspace Drive data\n source.

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

                                                      The Amazon Resource Name (ARN) of a Secrets Managersecret\n that contains the credentials required to connect to Google Drive.\n For more information, see Using a Google Workspace Drive data\n source.

                                                      ", "smithy.api#required": {} } }, @@ -4365,6 +4570,152 @@ "smithy.api#pattern": "^\\P{C}*$" } }, + "com.amazonaws.kendra#GroupId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": "^\\P{C}*$" + } + }, + "com.amazonaws.kendra#GroupMembers": { + "type": "structure", + "members": { + "MemberGroups": { + "target": "com.amazonaws.kendra#MemberGroups", + "traits": { + "smithy.api#documentation": "

                                                      A list of sub groups that belong to a group. For example, the sub \n groups \"Research\", \"Engineering\", and \"Sales and Marketing\" all belong \n to the group \"Company\".

                                                      " + } + }, + "MemberUsers": { + "target": "com.amazonaws.kendra#MemberUsers", + "traits": { + "smithy.api#documentation": "

                                                      A list of users that belong to a group. For example, a list of interns \n all belong to the \"Interns\" group.

                                                      " + } + }, + "S3PathforGroupMembers": { + "target": "com.amazonaws.kendra#S3Path", + "traits": { + "smithy.api#documentation": "

                                                      If you have more than 1000 users and/or sub groups for a single group, \n you need to provide the path to the S3 file that lists your users and sub \n groups for a group. Your sub groups can contain more than 1000 users, but \n the list of sub groups that belong to a group (and/or users) must be no \n more than 1000.

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

                                                      A list of users or sub groups that belong to a group. Users and groups \n are useful for filtering search results to different users based on their \n group's access to documents.

                                                      " + } + }, + "com.amazonaws.kendra#GroupOrderingIdSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#GroupOrderingIdSummary" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.kendra#GroupOrderingIdSummary": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.kendra#PrincipalMappingStatus", + "traits": { + "smithy.api#documentation": "

                                                      The current processing status of actions for mapping users to their groups. \n The status can be either PROCESSING, SUCCEEDED, \n DELETING, DELETED, or FAILED.

                                                      " + } + }, + "LastUpdatedAt": { + "target": "com.amazonaws.kendra#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      The last date-time an action was updated. An action can be a \n PUT or DELETE action for mapping users \n to their groups.

                                                      " + } + }, + "ReceivedAt": { + "target": "com.amazonaws.kendra#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      The date-time an action was received by Amazon Kendra. An action can be a \n PUT or DELETE action for mapping users to \n their groups.

                                                      " + } + }, + "OrderingId": { + "target": "com.amazonaws.kendra#PrincipalOrderingId", + "traits": { + "smithy.api#documentation": "

                                                      The order in which actions should complete processing. An action can \n be a PUT or DELETE action for mapping users \n to their groups.

                                                      " + } + }, + "FailureReason": { + "target": "com.amazonaws.kendra#FailureReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason an action could not be processed. An action can be a \n PUT or DELETE action for mapping users \n to their groups.

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

                                                      Information on the processing of PUT and DELETE actions \n for mapping users to their groups.

                                                      " + } + }, + "com.amazonaws.kendra#GroupSummary": { + "type": "structure", + "members": { + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      \n The identifier of the group you want group summary information on.\n

                                                      " + } + }, + "OrderingId": { + "target": "com.amazonaws.kendra#PrincipalOrderingId", + "traits": { + "smithy.api#documentation": "

                                                      \n The timestamp identifier used for the latest PUT or DELETE \n action.\n

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

                                                      \n Group summary information.\n

                                                      " + } + }, + "com.amazonaws.kendra#Groups": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#PrincipalName" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.kendra#HierarchicalPrincipal": { + "type": "structure", + "members": { + "PrincipalList": { + "target": "com.amazonaws.kendra#PrincipalList", + "traits": { + "smithy.api#documentation": "

                                                      A list of principal lists \n that define the hierarchy for which documents users should have access to. \n Each hierarchical list specifies which user or group has allow or deny \n access for each document.

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

                                                      \n Information to define the hierarchy for which documents users should have access to.\n

                                                      " + } + }, + "com.amazonaws.kendra#HierarchicalPrincipalList": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#HierarchicalPrincipal" + }, + "traits": { + "smithy.api#documentation": "

                                                      A list of principal lists \n that define the hierarchy for which documents users should have access to. \n Each hierarchical list specifies which user or group has allow or deny \n access for each document.

                                                      ", + "smithy.api#length": { + "min": 1, + "max": 30 + } + } + }, "com.amazonaws.kendra#Highlight": { "type": "structure", "members": { @@ -4984,6 +5335,92 @@ } } }, + "com.amazonaws.kendra#ListGroupsOlderThanOrderingId": { + "type": "operation", + "input": { + "target": "com.amazonaws.kendra#ListGroupsOlderThanOrderingIdRequest" + }, + "output": { + "target": "com.amazonaws.kendra#ListGroupsOlderThanOrderingIdResponse" + }, + "errors": [ + { + "target": "com.amazonaws.kendra#AccessDeniedException" + }, + { + "target": "com.amazonaws.kendra#ConflictException" + }, + { + "target": "com.amazonaws.kendra#InternalServerException" + }, + { + "target": "com.amazonaws.kendra#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.kendra#ThrottlingException" + }, + { + "target": "com.amazonaws.kendra#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Provides a list of groups that are mapped to users before a \n given ordering or timestamp identifier.

                                                      " + } + }, + "com.amazonaws.kendra#ListGroupsOlderThanOrderingIdRequest": { + "type": "structure", + "members": { + "IndexId": { + "target": "com.amazonaws.kendra#IndexId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the index for getting a list of groups mapped \n to users before a given ordering or timestamp identifier.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source for getting a list of groups mapped \n to users before a given ordering timestamp identifier.

                                                      " + } + }, + "OrderingId": { + "target": "com.amazonaws.kendra#PrincipalOrderingId", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp identifier used for the latest PUT or \n DELETE action for mapping users to their groups.

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

                                                      \n The next items in the list of groups that go beyond the maximum.\n

                                                      " + } + }, + "MaxResults": { + "target": "com.amazonaws.kendra#MaxResultsIntegerForListPrincipalsRequest", + "traits": { + "smithy.api#documentation": "

                                                      \n The maximum results shown for a list of groups that are mapped to users before a \n given ordering or timestamp identifier. \n

                                                      " + } + } + } + }, + "com.amazonaws.kendra#ListGroupsOlderThanOrderingIdResponse": { + "type": "structure", + "members": { + "GroupsSummaries": { + "target": "com.amazonaws.kendra#ListOfGroupSummaries", + "traits": { + "smithy.api#documentation": "

                                                      \n Summary information for list of groups that are mapped to users before a \n given ordering or timestamp identifier.\n

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

                                                      \n The next items in the list of groups that go beyond the maximum.\n

                                                      " + } + } + } + }, "com.amazonaws.kendra#ListIndices": { "type": "operation", "input": { @@ -5049,6 +5486,12 @@ } } }, + "com.amazonaws.kendra#ListOfGroupSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#GroupSummary" + } + }, "com.amazonaws.kendra#ListQuerySuggestionsBlockLists": { "type": "operation", "input": { @@ -5307,6 +5750,16 @@ } } }, + "com.amazonaws.kendra#MaxResultsIntegerForListPrincipalsRequest": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, "com.amazonaws.kendra#MaxResultsIntegerForListQuerySuggestionsBlockLists": { "type": "integer", "traits": { @@ -5337,6 +5790,66 @@ } } }, + "com.amazonaws.kendra#MemberGroup": { + "type": "structure", + "members": { + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the sub group you want to map to a group.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source for the sub group \n you want to map to a group.

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

                                                      The sub groups that belong to a group.

                                                      " + } + }, + "com.amazonaws.kendra#MemberGroups": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#MemberGroup" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.kendra#MemberUser": { + "type": "structure", + "members": { + "UserId": { + "target": "com.amazonaws.kendra#UserId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the user you want to map to a group.

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

                                                      The users that belong to a group.

                                                      " + } + }, + "com.amazonaws.kendra#MemberUsers": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#MemberUser" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, "com.amazonaws.kendra#MetricValue": { "type": "string", "traits": { @@ -5416,7 +5929,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an AWS Secrets Manager secret\n that contains the user name and password to connect to OneDrive. The\n user namd should be the application ID for the OneDrive application,\n and the password is the application key for the OneDrive\n application.

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

                                                      The Amazon Resource Name (ARN) of an Secrets Managersecret\n that contains the user name and password to connect to OneDrive. The\n user namd should be the application ID for the OneDrive application,\n and the password is the application key for the OneDrive\n application.

                                                      ", "smithy.api#required": {} } }, @@ -5546,6 +6059,12 @@ "smithy.api#documentation": "

                                                      Whether to allow or deny access to the principal.

                                                      ", "smithy.api#required": {} } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source the principal should \n access documents from.

                                                      " + } } }, "traits": { @@ -5558,6 +6077,33 @@ "target": "com.amazonaws.kendra#Principal" } }, + "com.amazonaws.kendra#PrincipalMappingStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "SUCCEEDED", + "name": "SUCCEEDED" + }, + { + "value": "PROCESSING", + "name": "PROCESSING" + }, + { + "value": "DELETING", + "name": "DELETING" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, "com.amazonaws.kendra#PrincipalName": { "type": "string", "traits": { @@ -5568,6 +6114,16 @@ "smithy.api#pattern": "^\\P{C}*$" } }, + "com.amazonaws.kendra#PrincipalOrderingId": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 32535158400000 + } + } + }, "com.amazonaws.kendra#PrincipalType": { "type": "string", "traits": { @@ -5611,6 +6167,82 @@ "smithy.api#documentation": "

                                                      Provides the configuration information for a web proxy to connect to \n website hosts.

                                                      " } }, + "com.amazonaws.kendra#PutPrincipalMapping": { + "type": "operation", + "input": { + "target": "com.amazonaws.kendra#PutPrincipalMappingRequest" + }, + "errors": [ + { + "target": "com.amazonaws.kendra#AccessDeniedException" + }, + { + "target": "com.amazonaws.kendra#ConflictException" + }, + { + "target": "com.amazonaws.kendra#InternalServerException" + }, + { + "target": "com.amazonaws.kendra#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.kendra#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.kendra#ThrottlingException" + }, + { + "target": "com.amazonaws.kendra#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Maps users to their groups. You can also map sub groups to groups. \n For example, the group \"Company Intellectual Property Teams\" includes \n sub groups \"Research\" and \"Engineering\". These sub groups include their\n own list of users or people who work in these teams. Only users who work \n in research and engineering, and therefore belong in the intellectual \n property group, can see top-secret company documents in their search \n results.

                                                      \n

                                                      You map users to their groups when you want to filter search results \n for different users based on their group’s access to documents. For more \n information on filtering search results for different users, see \n Filtering \n on user context.

                                                      \n

                                                      If more than five PUT actions for a group are currently \n processing, a validation exception is thrown.

                                                      " + } + }, + "com.amazonaws.kendra#PutPrincipalMappingRequest": { + "type": "structure", + "members": { + "IndexId": { + "target": "com.amazonaws.kendra#IndexId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the index you want to map users to their groups.

                                                      ", + "smithy.api#required": {} + } + }, + "DataSourceId": { + "target": "com.amazonaws.kendra#DataSourceId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the data source you want to map users to their groups.

                                                      \n

                                                      This is useful if a group is tied to multiple data sources, but you only want \n the group to access documents of a certain data source. For example, the groups \n \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to the company's \n documents stored in the data sources Confluence and Salesforce. However, \n \"Sales and Marketing\" team only needs access to customer-related documents \n stored in Salesforce.

                                                      " + } + }, + "GroupId": { + "target": "com.amazonaws.kendra#GroupId", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the group you want to map its users to.

                                                      ", + "smithy.api#required": {} + } + }, + "GroupMembers": { + "target": "com.amazonaws.kendra#GroupMembers", + "traits": { + "smithy.api#documentation": "

                                                      The list that contains your users or sub groups that belong \n the same group.

                                                      \n

                                                      For example, the group \"Company\" includes the user \"CEO\" and the \n sub groups \"Research\", \"Engineering\", and \"Sales and Marketing\".

                                                      \n

                                                      If you have more than 1000 users and/or sub groups for a single group, \n you need to provide the path to the S3 file that lists your users and \n sub groups for a group. Your sub groups can contain more than 1000 users,\n but the list of sub groups that belong to a group (and/or users) must be \n no more than 1000.

                                                      ", + "smithy.api#required": {} + } + }, + "OrderingId": { + "target": "com.amazonaws.kendra#PrincipalOrderingId", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp identifier you specify to ensure Amazon Kendra does not override \n the latest PUT action with previous actions. The highest number \n ID, which is the ordering ID, is the latest action you want to process and \n apply on top of other actions with lower number IDs. This prevents previous \n actions with lower number IDs from possibly overriding the latest action.

                                                      \n

                                                      The ordering ID can be the UNIX time of the last update you made to a \n group members list. You would then provide this list when calling \n PutPrincipalMapping. This ensures your PUT action \n for that updated group with the latest members list doesn't get overwritten \n by earlier PUT actions for the same group which are yet to \n be processed.

                                                      \n

                                                      The default ordering ID is the current UNIX time in milliseconds that the \n action was received by Amazon Kendra.

                                                      " + } + }, + "RoleArn": { + "target": "com.amazonaws.kendra#RoleArn", + "traits": { + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of a role that has access to the S3 file \n that contains your list of users or sub groups that belong to a group.

                                                      \n

                                                      For more information, see IAM roles for Amazon Kendra.

                                                      " + } + } + } + }, "com.amazonaws.kendra#Query": { "type": "operation", "input": { @@ -6339,7 +6971,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an AWS Secrets Manager secret\n that contains the key/value pairs required to connect to your\n Salesforce instance. The secret must contain a JSON structure with\n the following keys:

                                                      \n
                                                        \n
                                                      • \n

                                                        authenticationUrl - The OAUTH endpoint that Amazon Kendra\n connects to get an OAUTH token.

                                                        \n
                                                      • \n
                                                      • \n

                                                        consumerKey - The application public key generated when\n you created your Salesforce application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        consumerSecret - The application private key generated\n when you created your Salesforce application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        password - The password associated with the user logging\n in to the Salesforce instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        securityToken - The token associated with the user account\n logging in to the Salesforce instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        username - The user name of the user logging in to the\n Salesforce instance.

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

                                                      The Amazon Resource Name (ARN) of an Secrets Managersecret\n that contains the key/value pairs required to connect to your\n Salesforce instance. The secret must contain a JSON structure with\n the following keys:

                                                      \n
                                                        \n
                                                      • \n

                                                        authenticationUrl - The OAUTH endpoint that Amazon Kendra\n connects to get an OAUTH token.

                                                        \n
                                                      • \n
                                                      • \n

                                                        consumerKey - The application public key generated when\n you created your Salesforce application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        consumerSecret - The application private key generated\n when you created your Salesforce application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        password - The password associated with the user logging\n in to the Salesforce instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        securityToken - The token associated with the user account\n logging in to the Salesforce instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        username - The user name of the user logging in to the\n Salesforce instance.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -6816,12 +7448,12 @@ "KmsKeyId": { "target": "com.amazonaws.kendra#KmsKeyId", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the AWS KMS customer master key (CMK). Amazon Kendra\n doesn't support asymmetric CMKs.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of the KMScustomer master key (CMK). Amazon Kendra\n doesn't support asymmetric CMKs.

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

                                                      Provides the identifier of the AWS KMS customer master key (CMK)\n used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support\n asymmetric CMKs.

                                                      " + "smithy.api#documentation": "

                                                      Provides the identifier of the KMScustomer master key (CMK)\n used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support\n asymmetric CMKs.

                                                      " } }, "com.amazonaws.kendra#ServiceNowAuthenticationType": { @@ -6867,7 +7499,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the AWS Secret Manager secret\n that contains the user name and password required to connect to the\n ServiceNow instance.

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

                                                      The Amazon Resource Name (ARN) of the Secrets Manager secret\n that contains the user name and password required to connect to the\n ServiceNow instance.

                                                      ", "smithy.api#required": {} } }, @@ -7050,7 +7682,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of credentials stored in AWS\n Secrets Manager. The credentials should be a user/password pair. For\n more information, see Using a\n Microsoft SharePoint Data Source. For more information\n about AWS Secrets Manager, see What Is AWS\n Secrets Manager in the AWS Secrets\n Manager user guide.

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

                                                      The Amazon Resource Name (ARN) of credentials stored in AWS\n Secrets Manager. The credentials should be a user/password pair. \n If you use SharePoint Sever, you also need to provide the sever \n domain name as part of the credentials. For\n more information, see Using a\n Microsoft SharePoint Data Source. For more information\n about AWS Secrets Manager, see What Is AWS\n Secrets Manager in the Secrets Manager\n user guide.

                                                      ", "smithy.api#required": {} } }, @@ -8363,12 +8995,30 @@ "Token": { "target": "com.amazonaws.kendra#Token", "traits": { - "smithy.api#documentation": "

                                                      The user context token. It must be a JWT or a JSON token.

                                                      " + "smithy.api#documentation": "

                                                      The user context token for filtering search results for a user. It must \n be a JWT or a JSON token.

                                                      " + } + }, + "UserId": { + "target": "com.amazonaws.kendra#PrincipalName", + "traits": { + "smithy.api#documentation": "

                                                      The identifier of the user you want to filter search results based on their \n access to documents.

                                                      " + } + }, + "Groups": { + "target": "com.amazonaws.kendra#Groups", + "traits": { + "smithy.api#documentation": "

                                                      The list of groups you want to filter search results based on the \n groups' access to documents.

                                                      " + } + }, + "DataSourceGroups": { + "target": "com.amazonaws.kendra#DataSourceGroups", + "traits": { + "smithy.api#documentation": "

                                                      The list of data source groups you want to filter search results \n based on groups' access to documents in that data source.

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

                                                      Provides information about the user context for a Amazon Kendra index.

                                                      " + "smithy.api#documentation": "

                                                      Provides information about the user context for a Amazon Kendra index.

                                                      \n

                                                      This is used for filtering search results for different users based on their access \n to documents.

                                                      \n

                                                      You provide one of the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        User token

                                                        \n
                                                      • \n
                                                      • \n

                                                        User ID, the groups the user belongs to, and the data sources \n the groups can access

                                                        \n
                                                      • \n
                                                      \n

                                                      If you provide both, an exception is thrown.

                                                      " } }, "com.amazonaws.kendra#UserContextPolicy": { @@ -8386,6 +9036,16 @@ ] } }, + "com.amazonaws.kendra#UserId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": "^\\P{C}*$" + } + }, "com.amazonaws.kendra#UserNameAttributeField": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json b/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json index 670948f85ad70..e635d8f6483ab 100644 --- a/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json +++ b/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json @@ -114,6 +114,12 @@ { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentVersions" }, + { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigration" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigrations" + }, { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotType" }, @@ -144,6 +150,9 @@ { "target": "com.amazonaws.lexmodelbuildingservice#StartImport" }, + { + "target": "com.amazonaws.lexmodelbuildingservice#StartMigration" + }, { "target": "com.amazonaws.lexmodelbuildingservice#TagResource" }, @@ -167,6 +176,19 @@ "smithy.api#title": "Amazon Lex Model Building Service" } }, + "com.amazonaws.lexmodelbuildingservice#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.lexmodelbuildingservice#String" + } + }, + "traits": { + "smithy.api#documentation": "

                                                      Your IAM user or role does not have permission to call the Amazon Lex V2 APIs\n required to migrate your bot.

                                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, "com.amazonaws.lexmodelbuildingservice#AliasName": { "type": "string", "traits": { @@ -1167,7 +1189,7 @@ "min": 1, "max": 100 }, - "smithy.api#pattern": "^((AMAZON\\.)_?|[A-Za-z]_?)+" + "smithy.api#pattern": "^((AMAZON\\.)_?|[A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#DeleteBot": { @@ -3276,6 +3298,212 @@ } } }, + "com.amazonaws.lexmodelbuildingservice#GetMigration": { + "type": "operation", + "input": { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigrationRequest" + }, + "output": { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Provides details about an ongoing or complete migration from an\n Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration\n alerts and warnings related to the migration.

                                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/migrations/{migrationId}", + "code": 200 + } + } + }, + "com.amazonaws.lexmodelbuildingservice#GetMigrationRequest": { + "type": "structure", + "members": { + "migrationId": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier of the migration to view. The\n migrationID is returned by the operation.

                                                      ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lexmodelbuildingservice#GetMigrationResponse": { + "type": "structure", + "members": { + "migrationId": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier of the migration. This is the same as the\n identifier used when calling the GetMigration\n operation.

                                                      " + } + }, + "v1BotName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                      " + } + }, + "v1BotVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", + "traits": { + "smithy.api#documentation": "

                                                      The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                      " + } + }, + "v1BotLocale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "traits": { + "smithy.api#documentation": "

                                                      The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.

                                                      " + } + }, + "v2BotId": { + "target": "com.amazonaws.lexmodelbuildingservice#V2BotId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being\n migrated to.

                                                      " + } + }, + "v2BotRole": { + "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", + "traits": { + "smithy.api#documentation": "

                                                      The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                      " + } + }, + "migrationStatus": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStatus", + "traits": { + "smithy.api#documentation": "

                                                      Indicates the status of the migration. When the status is\n COMPLETE the migration is finished and the bot is available\n in Amazon Lex V2. There may be alerts and warnings that need to be resolved to\n complete the migration.

                                                      " + } + }, + "migrationStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStrategy", + "traits": { + "smithy.api#documentation": "

                                                      The strategy used to conduct the migration.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates\n the Amazon Lex V1 bot to the new bot.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot\n metadata and the locale being migrated. It doesn't change any other\n locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale\n is created in the Amazon Lex V2 bot.

                                                        \n
                                                      • \n
                                                      " + } + }, + "migrationTimestamp": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      The date and time that the migration started.

                                                      " + } + }, + "alerts": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlerts", + "traits": { + "smithy.api#documentation": "

                                                      A list of alerts and warnings that indicate issues with the migration\n for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1\n feature has a different implementation if Amazon Lex V2.

                                                      \n

                                                      For more information, see Migrating a bot in the Amazon Lex V2\n developer guide.

                                                      " + } + } + } + }, + "com.amazonaws.lexmodelbuildingservice#GetMigrations": { + "type": "operation", + "input": { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigrationsRequest" + }, + "output": { + "target": "com.amazonaws.lexmodelbuildingservice#GetMigrationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

                                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/migrations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.lexmodelbuildingservice#GetMigrationsRequest": { + "type": "structure", + "members": { + "sortByAttribute": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationSortAttribute", + "traits": { + "smithy.api#documentation": "

                                                      The field to sort the list of migrations by. You can sort by the\n Amazon Lex V1 bot name or the date and time that the migration was\n started.

                                                      ", + "smithy.api#httpQuery": "sortByAttribute" + } + }, + "sortByOrder": { + "target": "com.amazonaws.lexmodelbuildingservice#SortOrder", + "traits": { + "smithy.api#documentation": "

                                                      The order so sort the list.

                                                      ", + "smithy.api#httpQuery": "sortByOrder" + } + }, + "v1BotNameContains": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                                                      Filters the list to contain only bots whose name contains the\n specified string. The string is matched anywhere in bot name.

                                                      ", + "smithy.api#httpQuery": "v1BotNameContains" + } + }, + "migrationStatusEquals": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStatus", + "traits": { + "smithy.api#documentation": "

                                                      Filters the list to contain only migrations in the specified state.

                                                      ", + "smithy.api#httpQuery": "migrationStatusEquals" + } + }, + "maxResults": { + "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", + "traits": { + "smithy.api#documentation": "

                                                      The maximum number of migrations to return in the response. The\n default is 10.

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

                                                      A pagination token that fetches the next page of migrations. If the\n response to this operation is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of migrations, specify the\n pagination token in the request.

                                                      ", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.lexmodelbuildingservice#GetMigrationsResponse": { + "type": "structure", + "members": { + "migrationSummaries": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationSummaryList", + "traits": { + "smithy.api#documentation": "

                                                      An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see\n details of the migration, use the migrationId from the\n summary in a call to the \n operation.

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

                                                      If the response is truncated, it includes a pagination token that you\n can specify in your next request to fetch the next page of\n migrations.

                                                      " + } + } + } + }, "com.amazonaws.lexmodelbuildingservice#GetSlotType": { "type": "operation", "input": { @@ -3572,7 +3800,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Use the GetUtterancesView operation to get information\n about the utterances that your users have made to your bot. You can use\n this list to tune the utterances that your bot responds to.

                                                      \n

                                                      For example, say that you have created a bot to order flowers.\n After your users have used your bot for a while, use the\n GetUtterancesView operation to see the requests that they\n have made and whether they have been successful. You might find that the\n utterance \"I want flowers\" is not being recognized. You could add this\n utterance to the OrderFlowers intent so that your bot\n recognizes that utterance.

                                                      \n

                                                      After you publish a new version of a bot, you can get information\n about the old version and the new so that you can compare the performance\n across the two versions.

                                                      \n

                                                      Utterance statistics are generated once a day. Data is available\n for the last 15 days. You can request information for up to 5 versions of\n your bot in each request. Amazon Lex returns the most frequent utterances\n received by the bot in the last 15 days. The response contains information\n about a maximum of 100 utterances for each version.

                                                      \n

                                                      If you set childDirected field to true when you\n created your bot, or if you opted out of participating in improving Amazon Lex,\n utterances are not available.

                                                      \n

                                                      This operation requires permissions for the\n lex:GetUtterancesView action.

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

                                                      Use the GetUtterancesView operation to get information\n about the utterances that your users have made to your bot. You can use\n this list to tune the utterances that your bot responds to.

                                                      \n

                                                      For example, say that you have created a bot to order flowers.\n After your users have used your bot for a while, use the\n GetUtterancesView operation to see the requests that they\n have made and whether they have been successful. You might find that the\n utterance \"I want flowers\" is not being recognized. You could add this\n utterance to the OrderFlowers intent so that your bot\n recognizes that utterance.

                                                      \n

                                                      After you publish a new version of a bot, you can get information\n about the old version and the new so that you can compare the performance\n across the two versions.

                                                      \n

                                                      Utterance statistics are generated once a day. Data is available\n for the last 15 days. You can request information for up to 5 versions of\n your bot in each request. Amazon Lex returns the most frequent utterances\n received by the bot in the last 15 days. The response contains information\n about a maximum of 100 utterances for each version.

                                                      \n

                                                      If you set childDirected field to true when you\n created your bot, if you are using slot obfuscation with one or more\n slots, or if you opted out of participating in improving Amazon Lex, utterances\n are not available.

                                                      \n

                                                      This operation requires permissions for the\n lex:GetUtterancesView action.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/bots/{botName}/utterances?view=aggregation", @@ -3844,7 +4072,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index\\/[a-zA-Z0-9][a-zA-Z0-9_-]*" + "smithy.api#pattern": "^arn:aws:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index\\/[a-zA-Z0-9][a-zA-Z0-9_-]*$" } }, "com.amazonaws.lexmodelbuildingservice#KmsKeyArn": { @@ -3864,7 +4092,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws:lambda:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?" + "smithy.api#pattern": "^arn:aws[a-zA-Z-]*:lambda:[a-z]+-[a-z]+(-[a-z]+)*-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?$" } }, "com.amazonaws.lexmodelbuildingservice#LimitExceededException": { @@ -3969,6 +4197,10 @@ "value": "en-GB", "name": "EN_GB" }, + { + "value": "en-IN", + "name": "EN_IN" + }, { "value": "en-US", "name": "EN_US" @@ -4184,6 +4416,207 @@ } } }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlert": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertType", + "traits": { + "smithy.api#documentation": "

                                                      The type of alert. There are two kinds of alerts:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ERROR - There was an issue with the migration that\n can't be resolved. The migration stops.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n WARN - There was an issue with the migration that\n requires manual changes to the new Amazon Lex V2 bot. The migration\n continues.

                                                        \n
                                                      • \n
                                                      " + } + }, + "message": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertMessage", + "traits": { + "smithy.api#documentation": "

                                                      A message that describes why the alert was issued.

                                                      " + } + }, + "details": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertDetails", + "traits": { + "smithy.api#documentation": "

                                                      Additional details about the alert.

                                                      " + } + }, + "referenceURLs": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertReferenceURLs", + "traits": { + "smithy.api#documentation": "

                                                      A link to the Amazon Lex documentation that describes how to resolve\n the alert.

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

                                                      Provides information about alerts and warnings that Amazon Lex sends during\n a migration. The alerts include information about how to resolve the\n issue.

                                                      " + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertDetail": { + "type": "string" + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertDetail" + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertMessage": { + "type": "string" + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertReferenceURL": { + "type": "string" + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertReferenceURLs": { + "type": "list", + "member": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlertReferenceURL" + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlertType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ERROR", + "name": "ERROR" + }, + { + "value": "WARN", + "name": "WARN" + } + ] + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationAlerts": { + "type": "list", + "member": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationAlert" + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 10 + }, + "smithy.api#pattern": "^[0-9a-zA-Z]+$" + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationSortAttribute": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "V1_BOT_NAME", + "name": "V1_BOT_NAME" + }, + { + "value": "MIGRATION_DATE_TIME", + "name": "MIGRATION_DATE_TIME" + } + ] + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationStrategy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATE_NEW", + "name": "CREATE_NEW" + }, + { + "value": "UPDATE_EXISTING", + "name": "UPDATE_EXISTING" + } + ] + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationSummary": { + "type": "structure", + "members": { + "migrationId": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier that Amazon Lex assigned to the migration.

                                                      " + } + }, + "v1BotName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Amazon Lex V1 bot that is the source of the migration.

                                                      " + } + }, + "v1BotVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", + "traits": { + "smithy.api#documentation": "

                                                      The version of the Amazon Lex V1 bot that is the source of the migration.

                                                      " + } + }, + "v1BotLocale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "traits": { + "smithy.api#documentation": "

                                                      The locale of the Amazon Lex V1 bot that is the source of the migration.

                                                      " + } + }, + "v2BotId": { + "target": "com.amazonaws.lexmodelbuildingservice#V2BotId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier of the Amazon Lex V2 that is the destination of the migration.

                                                      " + } + }, + "v2BotRole": { + "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", + "traits": { + "smithy.api#documentation": "

                                                      The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                      " + } + }, + "migrationStatus": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStatus", + "traits": { + "smithy.api#documentation": "

                                                      The status of the operation. When the status is COMPLETE\n the bot is available in Amazon Lex V2. There may be alerts and warnings that\n need to be resolved to complete the migration.

                                                      " + } + }, + "migrationStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStrategy", + "traits": { + "smithy.api#documentation": "

                                                      The strategy used to conduct the migration.

                                                      " + } + }, + "migrationTimestamp": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      The date and time that the migration started.

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

                                                      Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.

                                                      " + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationSummary" + } + }, "com.amazonaws.lexmodelbuildingservice#Name": { "type": "string", "traits": { @@ -4191,7 +4624,7 @@ "min": 1, "max": 100 }, - "smithy.api#pattern": "[a-zA-Z_]+" + "smithy.api#pattern": "^[a-zA-Z_]+$" } }, "com.amazonaws.lexmodelbuildingservice#NextToken": { @@ -4217,7 +4650,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[0-9]+" + "smithy.api#pattern": "^[0-9]+$" } }, "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting": { @@ -5606,6 +6039,21 @@ ] } }, + "com.amazonaws.lexmodelbuildingservice#SortOrder": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ASCENDING", + "name": "ASCENDING" + }, + { + "value": "DESCENDING", + "name": "DESCENDING" + } + ] + } + }, "com.amazonaws.lexmodelbuildingservice#StartImport": { "type": "operation", "input": { @@ -5713,6 +6161,133 @@ } } }, + "com.amazonaws.lexmodelbuildingservice#StartMigration": { + "type": "operation", + "input": { + "target": "com.amazonaws.lexmodelbuildingservice#StartMigrationRequest" + }, + "output": { + "target": "com.amazonaws.lexmodelbuildingservice#StartMigrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.lexmodelbuildingservice#AccessDeniedException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" + }, + { + "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when\n you want to take advantage of the new features of Amazon Lex V2.

                                                      \n

                                                      For more information, see Migrating a bot in the Amazon Lex\n developer guide.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/migrations", + "code": 202 + } + } + }, + "com.amazonaws.lexmodelbuildingservice#StartMigrationRequest": { + "type": "structure", + "members": { + "v1BotName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

                                                      ", + "smithy.api#required": {} + } + }, + "v1BotVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", + "traits": { + "smithy.api#documentation": "

                                                      The version of the bot to migrate to Amazon Lex V2. You can migrate the\n $LATEST version as well as any numbered version.

                                                      ", + "smithy.api#required": {} + } + }, + "v2BotName": { + "target": "com.amazonaws.lexmodelbuildingservice#V2BotName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.

                                                      \n
                                                        \n
                                                      • \n

                                                        If the Amazon Lex V2 bot doesn't exist, you must use the\n CREATE_NEW migration strategy.

                                                        \n
                                                      • \n
                                                      • \n

                                                        If the Amazon Lex V2 bot exists, you must use the\n UPDATE_EXISTING migration strategy to change the\n contents of the Amazon Lex V2 bot.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#required": {} + } + }, + "v2BotRole": { + "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", + "traits": { + "smithy.api#documentation": "

                                                      The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                      ", + "smithy.api#required": {} + } + }, + "migrationStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStrategy", + "traits": { + "smithy.api#documentation": "

                                                      The strategy used to conduct the migration.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates\n the Amazon Lex V1 bot to the new bot.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot\n metadata and the locale being migrated. It doesn't change any other\n locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale\n is created in the Amazon Lex V2 bot.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lexmodelbuildingservice#StartMigrationResponse": { + "type": "structure", + "members": { + "v1BotName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

                                                      " + } + }, + "v1BotVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", + "traits": { + "smithy.api#documentation": "

                                                      The version of the bot to migrate to Amazon Lex V2.

                                                      " + } + }, + "v1BotLocale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "traits": { + "smithy.api#documentation": "

                                                      The locale used for the Amazon Lex V1 bot.

                                                      " + } + }, + "v2BotId": { + "target": "com.amazonaws.lexmodelbuildingservice#V2BotId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier for the Amazon Lex V2 bot.

                                                      " + } + }, + "v2BotRole": { + "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", + "traits": { + "smithy.api#documentation": "

                                                      The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

                                                      " + } + }, + "migrationId": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationId", + "traits": { + "smithy.api#documentation": "

                                                      The unique identifier that Amazon Lex assigned to the migration.

                                                      " + } + }, + "migrationStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#MigrationStrategy", + "traits": { + "smithy.api#documentation": "

                                                      The strategy used to conduct the migration.

                                                      " + } + }, + "migrationTimestamp": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                                                      The date and time that the migration started.

                                                      " + } + } + } + }, "com.amazonaws.lexmodelbuildingservice#Statement": { "type": "structure", "members": { @@ -6060,6 +6635,26 @@ } } }, + "com.amazonaws.lexmodelbuildingservice#V2BotId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 10 + }, + "smithy.api#pattern": "^[0-9a-zA-Z]+$" + } + }, + "com.amazonaws.lexmodelbuildingservice#V2BotName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^([0-9a-zA-Z][_-]?)+$" + } + }, "com.amazonaws.lexmodelbuildingservice#Value": { "type": "string", "traits": { @@ -6076,7 +6671,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "\\$LATEST|[0-9]+" + "smithy.api#pattern": "^\\$LATEST|[0-9]+$" } }, "com.amazonaws.lexmodelbuildingservice#roleArn": { @@ -6086,7 +6681,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:role/.*" + "smithy.api#pattern": "^arn:aws:iam::[0-9]{12}:role/" } } } diff --git a/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json b/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json index 2818a9e17a5dd..a450e94cd11c9 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json +++ b/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json @@ -66,6 +66,85 @@ ] } }, + "com.amazonaws.lightsail#AccessKey": { + "type": "structure", + "members": { + "accessKeyId": { + "target": "com.amazonaws.lightsail#IAMAccessKeyId", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the access key.

                                                      " + } + }, + "secretAccessKey": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The secret access key used to sign requests.

                                                      \n\n

                                                      You should store the secret access key in a safe location. We recommend that you delete\n the access key if the secret access key is compromised.

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

                                                      The status of the access key.

                                                      \n\n

                                                      A status of Active means that the key is valid, while Inactive\n means it is not.

                                                      " + } + }, + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp when the access key was created.

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

                                                      Describes an access key for an Amazon Lightsail bucket.

                                                      \n\n

                                                      Access keys grant full programmatic access to the specified bucket and its objects. You\n can have a maximum of two access keys per bucket. Use the CreateBucketAccessKey action to create an access key for a specific bucket. For\n more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the\n Amazon Lightsail Developer Guide.

                                                      \n\n \n

                                                      The secretAccessKey value is returned only in response to the\n CreateBucketAccessKey action. You can get a secret access key only when you\n first create an access key; you cannot get the secret access key later. If you lose the\n secret access key, you must create a new access key.

                                                      \n
                                                      " + } + }, + "com.amazonaws.lightsail#AccessKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#AccessKey" + } + }, + "com.amazonaws.lightsail#AccessReceiverList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ResourceReceivingAccess" + } + }, + "com.amazonaws.lightsail#AccessRules": { + "type": "structure", + "members": { + "getObject": { + "target": "com.amazonaws.lightsail#AccessType", + "traits": { + "smithy.api#documentation": "

                                                      Specifies the anonymous access to all objects in a bucket.

                                                      \n\n

                                                      The following options can be specified:

                                                      \n\n
                                                        \n
                                                      • \n

                                                        \n public - Sets all objects in the bucket to public (read-only), making\n them readable by anyone in the world.

                                                        \n\n\n

                                                        If the getObject value is set to public, then all objects in\n the bucket default to public regardless of the allowPublicOverrides\n value.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n private - Sets all objects in the bucket to private, making them readable\n only by you or anyone you give access to.

                                                        \n\n\n

                                                        If the getObject value is set to private, and the\n allowPublicOverrides value is set to true, then all objects in\n the bucket default to private unless they are configured with a public-read\n ACL. Individual objects with a public-read ACL are readable by anyone in the\n world.

                                                        \n
                                                      • \n
                                                      " + } + }, + "allowPublicOverrides": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      A Boolean value that indicates whether the access control list (ACL) permissions that are\n applied to individual objects override the getObject option that is currently\n specified.

                                                      \n\n

                                                      When this is true, you can use the PutObjectAcl Amazon S3 API action to set\n individual objects to public (read-only) using the public-read ACL, or to private\n using the private ACL.

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

                                                      Describes the anonymous access permissions for an Amazon Lightsail bucket and its\n objects.

                                                      \n

                                                      For more information about bucket access permissions, see Understanding bucket permissions in Amazon Lightsail in the

                                                      \n

                                                      \n Amazon Lightsail Developer Guide.

                                                      " + } + }, + "com.amazonaws.lightsail#AccessType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "public", + "name": "Public" + }, + { + "value": "private", + "name": "Private" + } + ] + } + }, "com.amazonaws.lightsail#AccountSetupInProgressException": { "type": "structure", "members": { @@ -289,7 +368,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes an alarm.

                                                      \n

                                                      An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information,\n see Alarms\n in Amazon Lightsail.

                                                      " + "smithy.api#documentation": "

                                                      Describes an alarm.

                                                      \n

                                                      An alarm is a way to monitor your Lightsail resource metrics. For more information, see\n Alarms in Amazon Lightsail.

                                                      " } }, "com.amazonaws.lightsail#AlarmState": { @@ -479,7 +558,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Attaches a block storage disk to a running or stopped Lightsail instance and exposes it\n to the instance with the specified disk name.

                                                      \n

                                                      The attach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

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

                                                      Attaches a block storage disk to a running or stopped Lightsail instance and exposes it\n to the instance with the specified disk name.

                                                      \n

                                                      The attach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/AttachDisk", @@ -556,7 +635,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Attaches one or more Lightsail instances to a load balancer.

                                                      \n

                                                      After some time, the instances are attached to the load balancer and the health check\n status is available.

                                                      \n

                                                      The attach instances to load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Attaches one or more Lightsail instances to a load balancer.

                                                      \n

                                                      After some time, the instances are attached to the load balancer and the health check\n status is available.

                                                      \n

                                                      The attach instances to load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/AttachInstancesToLoadBalancer", @@ -626,7 +705,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just\n an updated, more secure version of Secure Socket Layer (SSL).

                                                      \n

                                                      Once you create and validate your certificate, you can attach it to your load balancer.\n You can also use this API to rotate the certificates on your account. Use the\n AttachLoadBalancerTlsCertificate action with the non-attached certificate, and\n it will replace the existing one and become the attached certificate.

                                                      \n

                                                      The AttachLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just\n an updated, more secure version of Secure Socket Layer (SSL).

                                                      \n

                                                      Once you create and validate your certificate, you can attach it to your load balancer.\n You can also use this API to rotate the certificates on your account. Use the\n AttachLoadBalancerTlsCertificate action with the non-attached certificate, and\n it will replace the existing one and become the attached certificate.

                                                      \n

                                                      The AttachLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/AttachLoadBalancerTlsCertificate", @@ -995,6 +1074,202 @@ ] } }, + "com.amazonaws.lightsail#Bucket": { + "type": "structure", + "members": { + "resourceType": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The Lightsail resource type of the bucket (for example, Bucket).

                                                      " + } + }, + "accessRules": { + "target": "com.amazonaws.lightsail#AccessRules", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the access rules of the bucket.

                                                      " + } + }, + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the bucket.

                                                      " + } + }, + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the bundle currently applied to the bucket.

                                                      \n\n

                                                      A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a\n bucket.

                                                      \n\n

                                                      Use the UpdateBucketBundle action to change the bundle of a\n bucket.

                                                      " + } + }, + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp when the distribution was created.

                                                      " + } + }, + "url": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The URL of the bucket.

                                                      " + } + }, + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation" + }, + "name": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket.

                                                      " + } + }, + "supportCode": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The support code for a bucket. Include this code in your email to support when you have\n questions about a Lightsail bucket. This code enables our support team to look up your\n Lightsail information more easily.

                                                      " + } + }, + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                                                      The tag keys and optional values for the bucket. For more information, see Tags in\n Amazon Lightsail in the Amazon Lightsail Developer Guide.

                                                      " + } + }, + "objectVersioning": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      Indicates whether object versioning is enabled for the bucket.

                                                      \n\n

                                                      The following options can be configured:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Enabled - Object versioning is enabled.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Suspended - Object versioning was previously enabled but is currently\n suspended. Existing object versions are retained.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NeverEnabled - Object versioning has never been enabled.

                                                        \n
                                                      • \n
                                                      " + } + }, + "ableToUpdateBundle": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      Indicates whether the bundle that is currently applied to a bucket can be changed to\n another bundle.

                                                      \n\n

                                                      You can update a bucket's bundle only one time within a monthly AWS billing\n cycle.

                                                      \n\n

                                                      Use the UpdateBucketBundle action to change a bucket's bundle.

                                                      " + } + }, + "readonlyAccessAccounts": { + "target": "com.amazonaws.lightsail#PartnerIdList", + "traits": { + "smithy.api#documentation": "

                                                      An array of strings that specify the AWS account IDs that have read-only access to the\n bucket.

                                                      " + } + }, + "resourcesReceivingAccess": { + "target": "com.amazonaws.lightsail#AccessReceiverList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe Lightsail instances that have access to the\n bucket.

                                                      \n\n

                                                      Use the SetResourceAccessForBucket action to update the instances that\n have access to a bucket.

                                                      " + } + }, + "state": { + "target": "com.amazonaws.lightsail#BucketState", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the state of the bucket.

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

                                                      Describes an Amazon Lightsail bucket.

                                                      " + } + }, + "com.amazonaws.lightsail#BucketBundle": { + "type": "structure", + "members": { + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the bundle.

                                                      " + } + }, + "name": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bundle.

                                                      " + } + }, + "price": { + "target": "com.amazonaws.lightsail#float", + "traits": { + "smithy.api#documentation": "

                                                      The monthly price of the bundle, in US dollars.

                                                      " + } + }, + "storagePerMonthInGb": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                                                      The storage size of the bundle, in GB.

                                                      " + } + }, + "transferPerMonthInGb": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                                                      The monthly network transfer quota of the bundle.

                                                      " + } + }, + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      Indicates whether the bundle is active. Use for a new or existing bucket.

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

                                                      Describes the specifications of a bundle that can be applied to an Amazon Lightsail\n bucket.

                                                      \n\n

                                                      A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a\n bucket.

                                                      " + } + }, + "com.amazonaws.lightsail#BucketBundleList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#BucketBundle" + } + }, + "com.amazonaws.lightsail#BucketList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#Bucket" + } + }, + "com.amazonaws.lightsail#BucketMetricName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "BucketSizeBytes", + "name": "BucketSizeBytes" + }, + { + "value": "NumberOfObjects", + "name": "NumberOfObjects" + } + ] + } + }, + "com.amazonaws.lightsail#BucketName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 54 + }, + "smithy.api#pattern": "^[a-z0-9][a-z0-9-]{1,52}[a-z0-9]$" + } + }, + "com.amazonaws.lightsail#BucketState": { + "type": "structure", + "members": { + "code": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The state code of the bucket.

                                                      \n\n

                                                      The following codes are possible:

                                                      \n\n
                                                        \n
                                                      • \n

                                                        \n OK - The bucket is in a running state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Unknown - Creation of the bucket might have timed-out. You might want to\n delete the bucket and create a new one.

                                                        \n
                                                      • \n
                                                      " + } + }, + "message": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                                                      A message that describes the state of the bucket.

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

                                                      Describes the state of an Amazon Lightsail bucket.

                                                      " + } + }, "com.amazonaws.lightsail#Bundle": { "type": "structure", "members": { @@ -1291,7 +1566,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "supportCode": { @@ -1379,7 +1654,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

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

                                                      Closes ports for a specific Amazon Lightsail instance.

                                                      \n

                                                      The CloseInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Closes ports for a specific Amazon Lightsail instance.

                                                      \n

                                                      The CloseInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CloseInstancePublicPorts", @@ -1516,7 +1791,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a CloudFormation stack record created as a result of the create cloud\n formation stack operation.

                                                      \n

                                                      A CloudFormation stack record provides information about the AWS CloudFormation stack used to\n create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.

                                                      " + "smithy.api#documentation": "

                                                      Describes a CloudFormation stack record created as a result of the create cloud\n formation stack action.

                                                      \n

                                                      A CloudFormation stack record provides information about the AWS CloudFormation stack used to\n create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.

                                                      " } }, "com.amazonaws.lightsail#CloudFormationStackRecordList": { @@ -1836,7 +2111,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "power": { @@ -2065,7 +2340,7 @@ "successCodes": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The HTTP codes to use when checking for a successful response from a container. You can\n specify values between 200 and 499.

                                                      " + "smithy.api#documentation": "

                                                      The HTTP codes to use when checking for a successful response from a container. You can\n specify values between 200 and 499. You can specify multiple values\n (for example, 200,202) or a range of values (for example,\n 200-299).

                                                      " } } }, @@ -2487,19 +2762,19 @@ "sourceResourceName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The name of the source instance or disk from which the source automatic snapshot was\n created.

                                                      \n

                                                      Constraint:

                                                      \n
                                                        \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      The name of the source instance or disk from which the source automatic snapshot was\n created.

                                                      \n

                                                      Constraint:

                                                      \n
                                                        \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "restoreDate": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The date of the source automatic snapshot to copy. Use the get auto snapshots\n operation to identify the dates of the available automatic snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      The date of the source automatic snapshot to copy. Use the get auto snapshots\n operation to identify the dates of the available automatic snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "useLatestRestorableAutoSnapshot": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot of the\n specified source instance or disk.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot of the\n specified source instance or disk.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "targetSnapshotName": { @@ -2529,6 +2804,148 @@ } } }, + "com.amazonaws.lightsail#CreateBucket": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateBucketRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateBucketResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Creates an Amazon Lightsail bucket.

                                                      \n\n

                                                      A bucket is a cloud storage resource available in the Lightsail object storage service.\n Use buckets to store objects such as data and its descriptive metadata. For more information\n about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer\n Guide.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/CreateBucket", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#CreateBucketAccessKey": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateBucketAccessKeyRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateBucketAccessKeyResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of\n an access key ID and corresponding secret access key.

                                                      \n\n

                                                      Access keys grant full programmatic access to the specified bucket and its objects. You\n can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information\n about access keys, see Creating access keys for a bucket in Amazon Lightsail in the\n Amazon Lightsail Developer Guide.

                                                      \n\n \n

                                                      The secretAccessKey value is returned only in response to the\n CreateBucketAccessKey action. You can get a secret access key only when you\n first create an access key; you cannot get the secret access key later. If you lose the\n secret access key, you must create a new access key.

                                                      \n
                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/CreateBucketAccessKey", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#CreateBucketAccessKeyRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket that the new access key will belong to, and grant access to.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#CreateBucketAccessKeyResult": { + "type": "structure", + "members": { + "accessKey": { + "target": "com.amazonaws.lightsail#AccessKey", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the access key that is created.

                                                      " + } + }, + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#CreateBucketRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name for the bucket.

                                                      \n\n

                                                      For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer\n Guide.

                                                      ", + "smithy.api#required": {} + } + }, + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the bundle to use for the bucket.

                                                      \n\n

                                                      A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a\n bucket.

                                                      \n\n

                                                      Use the GetBucketBundles action to get a list of bundle IDs that you can\n specify.

                                                      \n\n

                                                      Use the UpdateBucketBundle action to change the bundle after the bucket\n is created.

                                                      ", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                                                      The tag keys and optional values to add to the bucket during creation.

                                                      \n\n

                                                      Use the TagResource action to tag the bucket after it's created.

                                                      " + } + }, + "enableObjectVersioning": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      A Boolean value that indicates whether to enable versioning of objects in the\n bucket.

                                                      \n\n

                                                      For more information about versioning, see Enabling and suspending bucket object versioning in Amazon Lightsail in the\n Amazon Lightsail Developer Guide.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#CreateBucketResult": { + "type": "structure", + "members": { + "bucket": { + "target": "com.amazonaws.lightsail#Bucket", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the bucket that is created.

                                                      " + } + }, + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, "com.amazonaws.lightsail#CreateCertificate": { "type": "operation", "input": { @@ -2801,7 +3218,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a deployment for your Amazon Lightsail container service.

                                                      \n\n

                                                      A deployment specifies the containers that will be launched on the container service and\n their settings, such as the ports to open, the environment variables to apply, and the launch\n command to run. It also specifies the container that will serve as the public endpoint of the\n deployment and its settings, such as the HTTP or HTTPS port to use, and the health check\n configuration.

                                                      \n\n

                                                      You can deploy containers to your container service using container images from a public\n registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the\n Lightsail Dev Guide.

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

                                                      Creates a deployment for your Amazon Lightsail container service.

                                                      \n\n

                                                      A deployment specifies the containers that will be launched on the container service and\n their settings, such as the ports to open, the environment variables to apply, and the launch\n command to run. It also specifies the container that will serve as the public endpoint of the\n deployment and its settings, such as the HTTP or HTTPS port to use, and the health check\n configuration.

                                                      \n\n

                                                      You can deploy containers to your container service using container images from a public\n registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the\n Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/container-services/{serviceName}/deployments", @@ -2871,7 +3288,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a temporary set of log in credentials that you can use to log in to the Docker\n process on your local machine. After you're logged in, you can use the native Docker commands\n to push your local container images to the container image registry of your Amazon Lightsail\n account so that you can use them with your Lightsail container service. The log in\n credentials expire 12 hours after they are created, at which point you will need to create a\n new set of log in credentials.

                                                      \n\n \n

                                                      You can only push container images to the container service registry of your Lightsail\n account. You cannot pull container images or perform any other container image management\n actions on the container service registry.

                                                      \n
                                                      \n\n

                                                      After you push your container images to the container image registry of your Lightsail\n account, use the RegisterContainerImage action to register the pushed images to a\n specific Lightsail container service.

                                                      \n\n \n

                                                      This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and managing container images on your Amazon Lightsail container services\n in the Lightsail Dev Guide.

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

                                                      Creates a temporary set of log in credentials that you can use to log in to the Docker\n process on your local machine. After you're logged in, you can use the native Docker commands\n to push your local container images to the container image registry of your Amazon Lightsail\n account so that you can use them with your Lightsail container service. The log in\n credentials expire 12 hours after they are created, at which point you will need to create a\n new set of log in credentials.

                                                      \n\n \n

                                                      You can only push container images to the container service registry of your Lightsail\n account. You cannot pull container images or perform any other container image management\n actions on the container service registry.

                                                      \n
                                                      \n\n

                                                      After you push your container images to the container image registry of your Lightsail\n account, use the RegisterContainerImage action to register the pushed images to a\n specific Lightsail container service.

                                                      \n\n \n

                                                      This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and managing container images on your Amazon Lightsail container services\n in the Amazon Lightsail Developer Guide.

                                                      \n
                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/container-registry-login", @@ -2921,7 +3338,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the container service.

                                                      \n\n

                                                      For more information about tags in Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values to add to the certificate during create.

                                                      \n

                                                      Use the TagResource action to tag a resource after it's created.

                                                      \n

                                                      For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "publicDomainNames": { @@ -2981,7 +3398,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a block storage disk that can be attached to an Amazon Lightsail instance in the\n same Availability Zone (e.g., us-east-2a).

                                                      \n

                                                      The create disk operation supports tag-based access control via request tags.\n For more information, see the Lightsail Dev Guide.

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

                                                      Creates a block storage disk that can be attached to an Amazon Lightsail instance in the\n same Availability Zone (e.g., us-east-2a).

                                                      \n

                                                      The create disk operation supports tag-based access control via request tags.\n For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateDisk", @@ -3021,7 +3438,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting\n disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g.,\n us-east-2a).

                                                      \n

                                                      The create disk from snapshot operation supports tag-based access control via\n request tags and resource tags applied to the resource identified by disk snapshot\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting\n disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g.,\n us-east-2a).

                                                      \n

                                                      The create disk from snapshot operation supports tag-based access control via\n request tags and resource tags applied to the resource identified by disk snapshot\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateDiskFromSnapshot", @@ -3074,19 +3491,19 @@ "sourceDiskName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The name of the source disk from which the source automatic snapshot was created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the disk snapshot name\n parameter. The source disk name and disk snapshot name\n parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

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

                                                      The name of the source disk from which the source automatic snapshot was created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the disk snapshot name\n parameter. The source disk name and disk snapshot name\n parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "restoreDate": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The date of the automatic snapshot to use for the new disk. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

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

                                                      The date of the automatic snapshot to use for the new disk. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "useLatestRestorableAutoSnapshot": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

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

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Amazon Lightsail Developer Guide.

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

                                                      Creates a snapshot of a block storage disk. You can use snapshots for backups, to make\n copies of disks, and to save data before shutting down a Lightsail instance.

                                                      \n

                                                      You can take a snapshot of an attached disk that is in use; however, snapshots only\n capture data that has been written to your disk at the time the snapshot command is issued.\n This may exclude any data that has been cached by any applications or the operating system. If\n you can pause any file systems on the disk long enough to take a snapshot, your snapshot\n should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should\n unmount the disk from within the Lightsail instance, issue the create disk snapshot command,\n and then remount the disk to ensure a consistent and complete snapshot. You may remount and\n use your disk while the snapshot status is pending.

                                                      \n

                                                      You can also use this operation to create a snapshot of an instance's system volume. You\n might want to do this, for example, to recover data from the system volume of a botched\n instance or to create a backup of the system volume like you would for a block storage disk.\n To create a snapshot of a system volume, just define the instance name parameter\n when issuing the snapshot command, and a snapshot of the defined instance's system volume will\n be created. After the snapshot is available, you can create a block storage disk from the\n snapshot and attach it to a running instance to access the data on the disk.

                                                      \n \n

                                                      The create disk snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a snapshot of a block storage disk. You can use snapshots for backups, to make\n copies of disks, and to save data before shutting down a Lightsail instance.

                                                      \n

                                                      You can take a snapshot of an attached disk that is in use; however, snapshots only\n capture data that has been written to your disk at the time the snapshot command is issued.\n This may exclude any data that has been cached by any applications or the operating system. If\n you can pause any file systems on the disk long enough to take a snapshot, your snapshot\n should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should\n unmount the disk from within the Lightsail instance, issue the create disk snapshot command,\n and then remount the disk to ensure a consistent and complete snapshot. You may remount and\n use your disk while the snapshot status is pending.

                                                      \n

                                                      You can also use this operation to create a snapshot of an instance's system volume. You\n might want to do this, for example, to recover data from the system volume of a botched\n instance or to create a backup of the system volume like you would for a block storage disk.\n To create a snapshot of a system volume, just define the instance name parameter\n when issuing the snapshot command, and a snapshot of the defined instance's system volume will\n be created. After the snapshot is available, you can create a block storage disk from the\n snapshot and attach it to a running instance to access the data on the disk.

                                                      \n \n

                                                      The create disk snapshot operation supports tag-based access control via\n request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateDiskSnapshot", @@ -3375,7 +3792,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a domain resource for the specified domain (e.g., example.com).

                                                      \n

                                                      The create domain operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a domain resource for the specified domain (e.g., example.com).

                                                      \n

                                                      The create domain operation supports tag-based access control via request\n tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateDomain", @@ -3415,7 +3832,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates one of the following domain name system (DNS) records in a domain DNS zone:\n Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority\n (SOA), service locator (SRV), or text (TXT).

                                                      \n\n\n\n

                                                      The create domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Creates one of the following domain name system (DNS) records in a domain DNS zone:\n Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority\n (SOA), service locator (SRV), or text (TXT).

                                                      \n\n\n\n

                                                      The create domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateDomainEntry", @@ -3514,7 +3931,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a snapshot of a specific virtual private server, or instance.\n You can use a snapshot to create a new instance that is based on that snapshot.

                                                      \n

                                                      The create instance snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a snapshot of a specific virtual private server, or instance.\n You can use a snapshot to create a new instance that is based on that snapshot.

                                                      \n

                                                      The create instance snapshot operation supports tag-based access control via\n request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateInstanceSnapshot", @@ -3590,7 +4007,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates one or more Amazon Lightsail instances.

                                                      \n

                                                      The create instances operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates one or more Amazon Lightsail instances.

                                                      \n

                                                      The create instances operation supports tag-based access control via request\n tags. For more information, see the Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateInstances", @@ -3630,7 +4047,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates one or more new instances from a manual or automatic snapshot of an\n instance.

                                                      \n

                                                      The create instances from snapshot operation supports tag-based access\n control via request tags and resource tags applied to the resource identified by\n instance snapshot name. For more information, see the Lightsail Dev Guide.

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

                                                      Creates one or more new instances from a manual or automatic snapshot of an\n instance.

                                                      \n

                                                      The create instances from snapshot operation supports tag-based access\n control via request tags and resource tags applied to the resource identified by\n instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateInstancesFromSnapshot", @@ -3677,7 +4094,7 @@ "userData": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      You can create a launch script that configures a server with additional user data. For\n example, apt-get -y update.

                                                      \n \n

                                                      Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

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

                                                      You can create a launch script that configures a server with additional user data. For\n example, apt-get -y update.

                                                      \n \n

                                                      Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Amazon Lightsail Developer Guide.

                                                      \n
                                                      " } }, "keyPairName": { @@ -3707,19 +4124,19 @@ "sourceInstanceName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The name of the source instance from which the source automatic snapshot was\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the instance snapshot name\n parameter. The source instance name and instance snapshot name\n parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      The name of the source instance from which the source automatic snapshot was\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the instance snapshot name\n parameter. The source instance name and instance snapshot name\n parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "restoreDate": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      The date of the automatic snapshot to use for the new instance. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      The date of the automatic snapshot to use for the new instance. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be specified in YYYY-MM-DD format.

                                                        \n
                                                      • \n
                                                      • \n

                                                        This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } }, "useLatestRestorableAutoSnapshot": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

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

                                                      A Boolean value to indicate whether to use the latest available automatic snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Amazon Lightsail Developer Guide.

                                                        \n
                                                      • \n
                                                      " } } } @@ -3776,7 +4193,7 @@ "userData": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                                                      A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                                                      \n \n

                                                      Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

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

                                                      A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                                                      \n \n

                                                      Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Amazon Lightsail Developer Guide.

                                                      \n
                                                      " } }, "keyPairName": { @@ -3848,7 +4265,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an SSH key pair.

                                                      \n

                                                      The create key pair operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates an SSH key pair.

                                                      \n

                                                      The create key pair operation supports tag-based access control via request\n tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateKeyPair", @@ -3935,7 +4352,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a Lightsail load balancer. To learn more about deciding whether to load balance\n your application, see Configure your Lightsail instances for load balancing. You can create up to 5\n load balancers per AWS Region in your account.

                                                      \n

                                                      When you create a load balancer, you can specify a unique name and port settings. To\n change additional load balancer settings, use the UpdateLoadBalancerAttribute\n operation.

                                                      \n

                                                      The create load balancer operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a Lightsail load balancer. To learn more about deciding whether to load balance\n your application, see Configure your Lightsail instances for load balancing. You can create up to 5\n load balancers per AWS Region in your account.

                                                      \n

                                                      When you create a load balancer, you can specify a unique name and port settings. To\n change additional load balancer settings, use the UpdateLoadBalancerAttribute\n operation.

                                                      \n

                                                      The create load balancer operation supports tag-based access control via\n request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateLoadBalancer", @@ -4041,7 +4458,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.

                                                      \n

                                                      TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                                                      \n

                                                      The CreateLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.

                                                      \n

                                                      TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                                                      \n

                                                      The CreateLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateLoadBalancerTlsCertificate", @@ -4130,7 +4547,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a new database in Amazon Lightsail.

                                                      \n

                                                      The create relational database operation supports tag-based access control\n via request tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a new database in Amazon Lightsail.

                                                      \n

                                                      The create relational database operation supports tag-based access control\n via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateRelationalDatabase", @@ -4170,7 +4587,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a new database from an existing database snapshot in Amazon Lightsail.

                                                      \n

                                                      You can create a new database from a snapshot in if something goes wrong with your\n original database, or to change it to a different plan, such as a high availability or\n standard plan.

                                                      \n

                                                      The create relational database from snapshot operation supports tag-based\n access control via request tags and resource tags applied to the resource identified by\n relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a new database from an existing database snapshot in Amazon Lightsail.

                                                      \n

                                                      You can create a new database from a snapshot in if something goes wrong with your\n original database, or to change it to a different plan, such as a high availability or\n standard plan.

                                                      \n

                                                      The create relational database from snapshot operation supports tag-based\n access control via request tags and resource tags applied to the resource identified by\n relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseFromSnapshot", @@ -4368,7 +4785,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups,\n to make copies of a database, and to save data before deleting a database.

                                                      \n

                                                      The create relational database snapshot operation supports tag-based access\n control via request tags. For more information, see the Lightsail Dev Guide.

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

                                                      Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups,\n to make copies of a database, and to save data before deleting a database.

                                                      \n

                                                      The create relational database snapshot operation supports tag-based access\n control via request tags. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseSnapshot", @@ -4501,7 +4918,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.

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

                                                      Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteAutoSnapshot", @@ -4509,26 +4926,153 @@ } } }, - "com.amazonaws.lightsail#DeleteAutoSnapshotRequest": { + "com.amazonaws.lightsail#DeleteAutoSnapshotRequest": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the source instance or disk from which to delete the automatic\n snapshot.

                                                      ", + "smithy.api#required": {} + } + }, + "date": { + "target": "com.amazonaws.lightsail#AutoSnapshotDate", + "traits": { + "smithy.api#documentation": "

                                                      The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the\n get auto snapshots operation to get the available automatic snapshots for a\n resource.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DeleteAutoSnapshotResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#DeleteBucket": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DeleteBucketRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DeleteBucketResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Deletes a Amazon Lightsail bucket.

                                                      \n\n \n

                                                      When you delete your bucket, the bucket name is released and can be reused for a new\n bucket in your account or another AWS account.

                                                      \n
                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DeleteBucket", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DeleteBucketAccessKey": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DeleteBucketAccessKeyRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DeleteBucketAccessKeyResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Deletes an access key for the specified Amazon Lightsail bucket.

                                                      \n\n

                                                      We recommend that you delete an access key if the secret access key is compromised.

                                                      \n\n

                                                      For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the\n Amazon Lightsail Developer Guide.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DeleteBucketAccessKey", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DeleteBucketAccessKeyRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket that the access key belongs to.

                                                      ", + "smithy.api#required": {} + } + }, + "accessKeyId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the access key to delete.

                                                      \n\n

                                                      Use the GetBucketAccessKeys action to get a list of access key IDs that\n you can specify.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DeleteBucketAccessKeyResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#DeleteBucketRequest": { "type": "structure", "members": { - "resourceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", "traits": { - "smithy.api#documentation": "

                                                      The name of the source instance or disk from which to delete the automatic\n snapshot.

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

                                                      The name of the bucket to delete.

                                                      \n\n

                                                      Use the GetBuckets action to get a list of bucket names that you can\n specify.

                                                      ", "smithy.api#required": {} } }, - "date": { - "target": "com.amazonaws.lightsail#AutoSnapshotDate", + "forceDelete": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                                                      The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the\n get auto snapshots operation to get the available automatic snapshots for a\n resource.

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

                                                      A Boolean value that indicates whether to force delete the bucket.

                                                      \n\n

                                                      You must force delete the bucket if it has one of the following conditions:

                                                      \n
                                                        \n
                                                      • \n

                                                        The bucket is the origin of a distribution.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The bucket has objects.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The bucket has access keys.

                                                        \n
                                                      • \n
                                                      \n\n \n

                                                      Force deleting a bucket might impact other resources that rely on the bucket, such as\n instances, distributions, or software that use the issued access keys.

                                                      \n
                                                      " } } } }, - "com.amazonaws.lightsail#DeleteAutoSnapshotResult": { + "com.amazonaws.lightsail#DeleteBucketResult": { "type": "structure", "members": { "operations": { @@ -4798,7 +5342,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified block storage disk. The disk must be in the available\n state (not attached to a Lightsail instance).

                                                      \n \n

                                                      The disk may remain in the deleting state for several minutes.

                                                      \n
                                                      \n

                                                      The delete disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

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

                                                      Deletes the specified block storage disk. The disk must be in the available\n state (not attached to a Lightsail instance).

                                                      \n \n

                                                      The disk may remain in the deleting state for several minutes.

                                                      \n
                                                      \n

                                                      The delete disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteDisk", @@ -4867,7 +5411,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified disk snapshot.

                                                      \n

                                                      When you make periodic snapshots of a disk, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the disk.

                                                      \n

                                                      The delete disk snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by disk snapshot name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Deletes the specified disk snapshot.

                                                      \n

                                                      When you make periodic snapshots of a disk, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the disk.

                                                      \n

                                                      The delete disk snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by disk snapshot name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteDiskSnapshot", @@ -4989,7 +5533,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified domain recordset and all of its domain records.

                                                      \n

                                                      The delete domain operation supports tag-based access control via resource\n tags applied to the resource identified by domain name. For more information, see\n the Lightsail Dev Guide.

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

                                                      Deletes the specified domain recordset and all of its domain records.

                                                      \n

                                                      The delete domain operation supports tag-based access control via resource\n tags applied to the resource identified by domain name. For more information, see\n the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteDomain", @@ -5029,7 +5573,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a specific domain entry.

                                                      \n

                                                      The delete domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Deletes a specific domain entry.

                                                      \n

                                                      The delete domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteDomainEntry", @@ -5122,7 +5666,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes an Amazon Lightsail instance.

                                                      \n

                                                      The delete instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

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

                                                      Deletes an Amazon Lightsail instance.

                                                      \n

                                                      The delete instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteInstance", @@ -5191,7 +5735,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a specific snapshot of a virtual private server (or\n instance).

                                                      \n

                                                      The delete instance snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by instance snapshot name. For\n more information, see the Lightsail Dev Guide.

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

                                                      Deletes a specific snapshot of a virtual private server (or\n instance).

                                                      \n

                                                      The delete instance snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by instance snapshot name. For\n more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteInstanceSnapshot", @@ -5254,7 +5798,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a specific SSH key pair.

                                                      \n

                                                      The delete key pair operation supports tag-based access control via resource\n tags applied to the resource identified by key pair name. For more information,\n see the Lightsail Dev Guide.

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

                                                      Deletes a specific SSH key pair.

                                                      \n

                                                      The delete key pair operation supports tag-based access control via resource\n tags applied to the resource identified by key pair name. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteKeyPair", @@ -5317,7 +5861,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or\n RDP clients to authenticate an instance. This operation enables the Lightsail browser-based\n SSH or RDP clients to connect to the instance after a host key mismatch.

                                                      \n \n

                                                      Perform this operation only if you were expecting the host key or certificate mismatch\n or if you are familiar with the new host key or certificate on the instance. For more\n information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP\n client.

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

                                                      Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or\n RDP clients to authenticate an instance. This operation enables the Lightsail browser-based\n SSH or RDP clients to connect to the instance after a host key mismatch.

                                                      \n \n

                                                      Perform this operation only if you were expecting the host key or certificate mismatch\n or if you are familiar with the new host key or certificate on the instance. For more\n information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP\n client.

                                                      \n
                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteKnownHostKeys", @@ -5380,7 +5924,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the\n load balancer is deleted, you will need to create a new load balancer, create a new\n certificate, and verify domain ownership again.

                                                      \n

                                                      The delete load balancer operation supports tag-based access control via\n resource tags applied to the resource identified by load balancer name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the\n load balancer is deleted, you will need to create a new load balancer, create a new\n certificate, and verify domain ownership again.

                                                      \n

                                                      The delete load balancer operation supports tag-based access control via\n resource tags applied to the resource identified by load balancer name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteLoadBalancer", @@ -5443,7 +5987,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                                                      \n

                                                      The DeleteLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                                                      \n

                                                      The DeleteLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteLoadBalancerTlsCertificate", @@ -5519,7 +6063,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a database in Amazon Lightsail.

                                                      \n

                                                      The delete relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Deletes a database in Amazon Lightsail.

                                                      \n

                                                      The delete relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteRelationalDatabase", @@ -5594,7 +6138,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes a database snapshot in Amazon Lightsail.

                                                      \n

                                                      The delete relational database snapshot operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Lightsail Dev Guide.

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

                                                      Deletes a database snapshot in Amazon Lightsail.

                                                      \n

                                                      The delete relational database snapshot operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DeleteRelationalDatabaseSnapshot", @@ -5737,7 +6281,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount\n any file systems on the device within your operating system before stopping the instance and\n detaching the disk.

                                                      \n

                                                      The detach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

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

                                                      Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount\n any file systems on the device within your operating system before stopping the instance and\n detaching the disk.

                                                      \n

                                                      The detach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DetachDisk", @@ -5800,7 +6344,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Detaches the specified instances from a Lightsail load balancer.

                                                      \n

                                                      This operation waits until the instances are no longer needed before they are detached\n from the load balancer.

                                                      \n

                                                      The detach instances from load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Detaches the specified instances from a Lightsail load balancer.

                                                      \n

                                                      This operation waits until the instances are no longer needed before they are detached\n from the load balancer.

                                                      \n

                                                      The detach instances from load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DetachInstancesFromLoadBalancer", @@ -5930,7 +6474,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.

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

                                                      Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/DisableAddOn", @@ -6010,7 +6554,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "addOns": { @@ -6077,7 +6621,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a system disk or a block storage disk.

                                                      " + "smithy.api#documentation": "

                                                      Describes a block storage disk.

                                                      " } }, "com.amazonaws.lightsail#DiskInfo": { @@ -6192,7 +6736,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "sizeInGb": { @@ -6348,7 +6892,7 @@ "isActive": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                                                      Indicates whether the bundle is active, and can be specified for a new\n distribution.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the bundle is active, and can be specified for a new or existing\n distribution.

                                                      " } } }, @@ -6441,7 +6985,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "domainEntries": { @@ -6452,7 +6996,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a domain where you are storing recordsets in Lightsail.

                                                      " + "smithy.api#documentation": "

                                                      Describes a domain where you are storing recordsets.

                                                      " } }, "com.amazonaws.lightsail#DomainEntry": { @@ -6655,7 +7199,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see\n the Lightsail Dev Guide.

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

                                                      Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see\n the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/EnableAddOn", @@ -6762,7 +7306,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).\n This operation results in an export snapshot record that can be used with the create\n cloud formation stack operation to create new Amazon EC2 instances.

                                                      \n

                                                      Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the\n instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in\n Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the\n source Lightsail snapshot.

                                                      \n

                                                      \n

                                                      The export snapshot operation supports tag-based access control via resource\n tags applied to the resource identified by source snapshot name. For more\n information, see the Lightsail Dev Guide.

                                                      \n \n

                                                      Use the get instance snapshots or get disk snapshots\n operations to get a list of snapshots that you can export to Amazon EC2.

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

                                                      Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).\n This operation results in an export snapshot record that can be used with the create\n cloud formation stack operation to create new Amazon EC2 instances.

                                                      \n

                                                      Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the\n instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in\n Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the\n source Lightsail snapshot.

                                                      \n

                                                      \n

                                                      The export snapshot operation supports tag-based access control via resource\n tags applied to the resource identified by source snapshot name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      \n \n

                                                      Use the get instance snapshots or get disk snapshots\n operations to get a list of snapshots that you can export to Amazon EC2.

                                                      \n
                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/ExportSnapshot", @@ -7119,7 +7663,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns the available automatic snapshots for an instance or disk. For more information,\n see the Lightsail Dev Guide.

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

                                                      Returns the available automatic snapshots for an instance or disk. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetAutoSnapshots", @@ -7236,6 +7780,295 @@ } } }, + "com.amazonaws.lightsail#GetBucketAccessKeys": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetBucketAccessKeysRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetBucketAccessKeysResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Returns the existing access key IDs for the specified Amazon Lightsail bucket.

                                                      \n\n \n

                                                      This action does not return the secret access key value of an access key. You can get a\n secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must\n create a new access key.

                                                      \n
                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetBucketAccessKeys", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#GetBucketAccessKeysRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket for which to return access keys.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#GetBucketAccessKeysResult": { + "type": "structure", + "members": { + "accessKeys": { + "target": "com.amazonaws.lightsail#AccessKeyList", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the access keys for the specified bucket.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#GetBucketBundles": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetBucketBundlesRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetBucketBundlesResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Returns the bundles that you can apply to a Amazon Lightsail bucket.

                                                      \n\n

                                                      The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a\n bucket.

                                                      \n\n

                                                      Use the UpdateBucketBundle action to update the bundle for a\n bucket.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetBucketBundles", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#GetBucketBundlesRequest": { + "type": "structure", + "members": { + "includeInactive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      A Boolean value that indicates whether to include inactive (unavailable) bundles in the\n response.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#GetBucketBundlesResult": { + "type": "structure", + "members": { + "bundles": { + "target": "com.amazonaws.lightsail#BucketBundleList", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes bucket bundles.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#GetBucketMetricData": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetBucketMetricDataRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetBucketMetricDataResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Returns the data points of a specific metric for an Amazon Lightsail bucket.

                                                      \n\n

                                                      Metrics report the utilization of a bucket. View and collect metric data regularly to\n monitor the number of objects stored in a bucket (including object versions) and the storage\n space used by those objects.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetBucketMetricData", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#GetBucketMetricDataRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket for which to get metric data.

                                                      ", + "smithy.api#required": {} + } + }, + "metricName": { + "target": "com.amazonaws.lightsail#BucketMetricName", + "traits": { + "smithy.api#documentation": "

                                                      The metric for which you want to return information.

                                                      \n\n

                                                      Valid bucket metric names are listed below, along with the most useful statistics to\n include in your request, and the published unit value.

                                                      \n\n \n

                                                      These bucket metrics are reported once per day.

                                                      \n
                                                      \n\n
                                                        \n
                                                      • \n

                                                        \n \n BucketSizeBytes\n - The amount of data in\n bytes stored in a bucket. This value is calculated by summing the size of all objects in\n the bucket (including object versions), including the size of all parts for all incomplete\n multipart uploads to the bucket.

                                                        \n

                                                        Statistics: The most useful statistic is Maximum.

                                                        \n

                                                        Unit: The published unit is Bytes.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n NumberOfObjects\n - The total number of\n objects stored in a bucket. This value is calculated by counting all objects in the bucket\n (including object versions) and the total number of parts for all incomplete multipart\n uploads to the bucket.

                                                        \n

                                                        Statistics: The most useful statistic is Average.

                                                        \n

                                                        Unit: The published unit is Count.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#required": {} + } + }, + "startTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp indicating the earliest data to be returned.

                                                      ", + "smithy.api#required": {} + } + }, + "endTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                                                      The timestamp indicating the latest data to be returned.

                                                      ", + "smithy.api#required": {} + } + }, + "period": { + "target": "com.amazonaws.lightsail#MetricPeriod", + "traits": { + "smithy.api#documentation": "

                                                      The granularity, in seconds, of the returned data points.

                                                      \n \n

                                                      Bucket storage metrics are reported once per day. Therefore, you should specify a period\n of 86400 seconds, which is the number of seconds in a day.

                                                      \n
                                                      ", + "smithy.api#required": {} + } + }, + "statistics": { + "target": "com.amazonaws.lightsail#MetricStatisticList", + "traits": { + "smithy.api#documentation": "

                                                      The statistic for the metric.

                                                      \n\n

                                                      The following statistics are available:

                                                      \n\n
                                                        \n
                                                      • \n

                                                        \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Sum - The sum of all values submitted for the matching metric. You can\n use this statistic to determine the total volume of a metric.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Average - The value of Sum / SampleCount during\n the specified period. By comparing this statistic with the Minimum and\n Maximum values, you can determine the full scope of a metric and how close\n the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#required": {} + } + }, + "unit": { + "target": "com.amazonaws.lightsail#MetricUnit", + "traits": { + "smithy.api#documentation": "

                                                      The unit for the metric data request.

                                                      \n

                                                      Valid units depend on the metric data being requested. For the valid units with each\n available metric, see the metricName parameter.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#GetBucketMetricDataResult": { + "type": "structure", + "members": { + "metricName": { + "target": "com.amazonaws.lightsail#BucketMetricName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the metric returned.

                                                      " + } + }, + "metricData": { + "target": "com.amazonaws.lightsail#MetricDatapointList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the metric data returned.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#GetBuckets": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetBucketsRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetBucketsResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Returns information about one or more Amazon Lightsail buckets.

                                                      \n\n

                                                      For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer\n Guide..

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetBuckets", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#GetBucketsRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket for which to return information.

                                                      \n\n

                                                      When omitted, the response includes all of your buckets in the AWS Region where the\n request is made.

                                                      " + } + }, + "pageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                                                      The token to advance to the next page of results from your request.

                                                      \n\n

                                                      To get a page token, perform an initial GetBuckets request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.

                                                      " + } + }, + "includeConnectedResources": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                                                      A Boolean value that indicates whether to include Lightsail instances that were given\n access to the bucket using the SetResourceAccessForBucket action.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#GetBucketsResult": { + "type": "structure", + "members": { + "buckets": { + "target": "com.amazonaws.lightsail#BucketList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe buckets.

                                                      " + } + }, + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                                                      The token to advance to the next page of results from your request.

                                                      \n\n

                                                      A next page token is not returned if there are no more results to display.

                                                      \n\n

                                                      To get the next page of results, perform another GetBuckets request and\n specify the next page token using the pageToken parameter.

                                                      " + } + } + } + }, "com.amazonaws.lightsail#GetBundles": { "type": "operation", "input": { @@ -8254,7 +9087,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns the list bundles that can be applied to you Amazon Lightsail content delivery\n network (CDN) distributions.

                                                      \n

                                                      A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

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

                                                      Returns the bundles that can be applied to your Amazon Lightsail content delivery network\n (CDN) distributions.

                                                      \n

                                                      A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetDistributionBundles", @@ -8493,7 +9326,7 @@ "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                                                      The name of the distribution for which to return information.

                                                      \n

                                                      Use the GetDistributions action to get a list of distribution names that you\n can specify.

                                                      \n

                                                      When omitted, the response includes all of your distributions in the AWS Region where\n the request is made.

                                                      " + "smithy.api#documentation": "

                                                      The name of the distribution for which to return information.

                                                      \n \n

                                                      When omitted, the response includes all of your distributions in the AWS Region where\n the request is made.

                                                      " } }, "pageToken": { @@ -8684,7 +9517,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns the export snapshot record created as a result of the export snapshot\n operation.

                                                      \n

                                                      An export snapshot record can be used to create a new Amazon EC2 instance and its related\n resources with the create cloud formation stack operation.

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

                                                      Returns all export snapshot records created as a result of the export\n snapshot operation.

                                                      \n

                                                      An export snapshot record can be used to create a new Amazon EC2 instance and its related\n resources with the CreateCloudFormationStack action.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetExportSnapshotRecords", @@ -8792,7 +9625,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns temporary SSH keys you can use to connect to a specific virtual private server, or\n instance.

                                                      \n

                                                      The get instance access details operation supports tag-based access control\n via resource tags applied to the resource identified by instance name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Returns temporary SSH keys you can use to connect to a specific virtual private server, or\n instance.

                                                      \n

                                                      The get instance access details operation supports tag-based access control\n via resource tags applied to the resource identified by instance name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetInstanceAccessDetails", @@ -10328,7 +11161,7 @@ "endTime": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                                                      The end of the time interval from which to get log events.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

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

                                                      The end of the time interval from which to get log events.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

                                                        \n \n
                                                      • \n
                                                      " } }, "startFromHead": { @@ -10573,14 +11406,14 @@ "startTime": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                                                      The start of the time interval from which to get metric data.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the start time.

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

                                                      The start of the time interval from which to get metric data.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the start time.

                                                        \n \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, "endTime": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                                                      The end of the time interval from which to get metric data.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

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

                                                      The end of the time interval from which to get metric data.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Specified in Coordinated Universal Time (UTC).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Specified in the Unix time format.

                                                        \n

                                                        For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

                                                        \n \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -11194,6 +12027,17 @@ "target": "com.amazonaws.lightsail#HostKeyAttributes" } }, + "com.amazonaws.lightsail#IAMAccessKeyId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 20 + }, + "smithy.api#pattern": "^[A-Z0-9]{20}$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.lightsail#ImportKeyPair": { "type": "operation", "input": { @@ -11338,7 +12182,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "blueprintId": { @@ -11533,7 +12377,7 @@ "portInfoSource": { "target": "com.amazonaws.lightsail#PortInfoSourceType", "traits": { - "smithy.api#documentation": "

                                                      The port configuration to use for the new Amazon EC2 instance.

                                                      \n \n

                                                      The following configuration options are available:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n DEFAULT - Use the default firewall settings from the Lightsail instance\n blueprint. If this is specified, then IPv4 and IPv6 will be configured for the new\n instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n INSTANCE - Use the configured firewall settings from the source\n Lightsail instance. If this is specified, the new instance that is created in Amazon EC2 will\n be configured to match the configuration of the source Lightsail instance. For example,\n if the source instance is configured for dual-stack (IPv4 and IPv6), then IPv4 and IPv6\n will be configured for the new instance that is created in Amazon EC2. If the source instance\n is configured for IPv4 only, then only IPv4 will be configured for the new instance that\n is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NONE - Use the default Amazon EC2 security group. If this is specified, then\n only IPv4 will be configured for the new instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n CLOSED - All ports closed. If this is specified, then only IPv4 will be\n configured for the new instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you configured lightsail-connect as a cidrListAliases on\n your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to\n connect to your instance, that configuration is not carried over to your new Amazon EC2\n instance.

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

                                                      The port configuration to use for the new Amazon EC2 instance.

                                                      \n \n

                                                      The following configuration options are available:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n DEFAULT - Use the default firewall settings from the Lightsail instance\n blueprint. If this is specified, then IPv4 and IPv6 will be configured for the new\n instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n INSTANCE - Use the configured firewall settings from the source\n Lightsail instance. If this is specified, the new instance that is created in Amazon EC2 will\n be configured to match the configuration of the source Lightsail instance. For example,\n if the source instance is configured for dual-stack (IPv4 and IPv6), then IPv4 and IPv6\n will be configured for the new instance that is created in Amazon EC2. If the source instance\n is configured for IPv4 only, then only IPv4 will be configured for the new instance that\n is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NONE - Use the default Amazon EC2 security group. If this is specified, then\n only IPv4 will be configured for the new instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n CLOSED - All ports closed. If this is specified, then only IPv4 will be\n configured for the new instance that is created in Amazon EC2.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If you configured lightsail-connect as a cidrListAliases on\n your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to\n connect to your instance, that configuration is not carried over to your new Amazon EC2\n instance.

                                                      \n
                                                      ", "smithy.api#required": {} } }, @@ -11959,7 +12803,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "state": { @@ -12253,7 +13097,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "fingerprint": { @@ -12264,7 +13108,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes the SSH key pair.

                                                      " + "smithy.api#documentation": "

                                                      Describes an SSH key pair.

                                                      " } }, "com.amazonaws.lightsail#KeyPairList": { @@ -12393,7 +13237,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } } }, @@ -12429,6 +13273,12 @@ { "target": "com.amazonaws.lightsail#CopySnapshot" }, + { + "target": "com.amazonaws.lightsail#CreateBucket" + }, + { + "target": "com.amazonaws.lightsail#CreateBucketAccessKey" + }, { "target": "com.amazonaws.lightsail#CreateCertificate" }, @@ -12498,6 +13348,12 @@ { "target": "com.amazonaws.lightsail#DeleteAutoSnapshot" }, + { + "target": "com.amazonaws.lightsail#DeleteBucket" + }, + { + "target": "com.amazonaws.lightsail#DeleteBucketAccessKey" + }, { "target": "com.amazonaws.lightsail#DeleteCertificate" }, @@ -12585,6 +13441,18 @@ { "target": "com.amazonaws.lightsail#GetBlueprints" }, + { + "target": "com.amazonaws.lightsail#GetBucketAccessKeys" + }, + { + "target": "com.amazonaws.lightsail#GetBucketBundles" + }, + { + "target": "com.amazonaws.lightsail#GetBucketMetricData" + }, + { + "target": "com.amazonaws.lightsail#GetBuckets" + }, { "target": "com.amazonaws.lightsail#GetBundles" }, @@ -12786,6 +13654,9 @@ { "target": "com.amazonaws.lightsail#SetIpAddressType" }, + { + "target": "com.amazonaws.lightsail#SetResourceAccessForBucket" + }, { "target": "com.amazonaws.lightsail#StartInstance" }, @@ -12810,6 +13681,12 @@ { "target": "com.amazonaws.lightsail#UntagResource" }, + { + "target": "com.amazonaws.lightsail#UpdateBucket" + }, + { + "target": "com.amazonaws.lightsail#UpdateBucketBundle" + }, { "target": "com.amazonaws.lightsail#UpdateContainerService" }, @@ -12844,7 +13721,7 @@ "name": "lightsail" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

                                                      Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers\n who need to build websites or web applications. It includes everything you need to launch your\n project quickly - instances (virtual private servers), container services, managed databases,\n SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN)\n distributions, DNS management of registered domains, and resource snapshots (backups) - for a\n low, predictable monthly price.

                                                      \n\n

                                                      You can manage your Lightsail resources using the Lightsail console, Lightsail API,\n AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts\n and tasks, see the Lightsail Dev Guide.

                                                      \n\n

                                                      This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the Lightsail service. For more information about the supported\n AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and\n Quotas in the AWS General Reference.

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

                                                      Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers\n who need to build websites or web applications. It includes everything you need to launch your\n project quickly - instances (virtual private servers), container services, storage buckets,\n managed databases, SSD-based block storage, static IP addresses, load balancers, content\n delivery network (CDN) distributions, DNS management of registered domains, and resource\n snapshots (backups) - for a low, predictable monthly price.

                                                      \n\n

                                                      You can manage your Lightsail resources using the Lightsail console, Lightsail API,\n AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts\n and tasks, see the Amazon Lightsail Developer Guide.

                                                      \n\n

                                                      This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the Lightsail service. For more information about the supported\n AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and\n Quotas in the AWS General Reference.

                                                      ", "smithy.api#title": "Amazon Lightsail" } }, @@ -12890,7 +13767,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "dnsName": { @@ -12955,7 +13832,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes the Lightsail load balancer.

                                                      " + "smithy.api#documentation": "

                                                      Describes a load balancer.

                                                      " } }, "com.amazonaws.lightsail#LoadBalancerAttributeName": { @@ -13131,7 +14008,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "loadBalancerName": { @@ -13999,7 +14876,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses\n allowed to connect to the instance through the ports, and the protocol.

                                                      \n

                                                      The OpenInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses\n allowed to connect to the instance through the ports, and the protocol.

                                                      \n

                                                      The OpenInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/OpenInstancePublicPorts", @@ -14463,6 +15340,34 @@ { "value": "DeleteContainerImage", "name": "DeleteContainerImage" + }, + { + "value": "CreateBucket", + "name": "CreateBucket" + }, + { + "value": "DeleteBucket", + "name": "DeleteBucket" + }, + { + "value": "CreateBucketAccessKey", + "name": "CreateBucketAccessKey" + }, + { + "value": "DeleteBucketAccessKey", + "name": "DeleteBucketAccessKey" + }, + { + "value": "UpdateBucketBundle", + "name": "UpdateBucketBundle" + }, + { + "value": "UpdateBucket", + "name": "UpdateBucket" + }, + { + "value": "SetResourceAccessForBucket", + "name": "SetResourceAccessForBucket" } ] } @@ -14514,6 +15419,18 @@ ] } }, + "com.amazonaws.lightsail#PartnerIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, "com.amazonaws.lightsail#PasswordData": { "type": "structure", "members": { @@ -14566,7 +15483,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Tries to peer the Lightsail VPC with the user's default VPC.

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

                                                      Peers the Lightsail VPC with the user's default VPC.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/PeerVpc", @@ -14931,7 +15848,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses\n allowed to connect to the instance through the ports, and the protocol. This action also\n closes all currently open ports that are not included in the request. Include all of the ports\n and the protocols you want to open in your PutInstancePublicPortsrequest. Or use\n the OpenInstancePublicPorts action to open ports without closing currently open\n ports.

                                                      \n

                                                      The PutInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses\n allowed to connect to the instance through the ports, and the protocol. This action also\n closes all currently open ports that are not included in the request. Include all of the ports\n and the protocols you want to open in your PutInstancePublicPortsrequest. Or use\n the OpenInstancePublicPorts action to open ports without closing currently open\n ports.

                                                      \n

                                                      The PutInstancePublicPorts action supports tag-based access control via\n resource tags applied to the resource identified by instanceName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/PutInstancePublicPorts", @@ -15021,7 +15938,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Restarts a specific instance.

                                                      \n

                                                      The reboot instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

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

                                                      Restarts a specific instance.

                                                      \n

                                                      The reboot instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/RebootInstance", @@ -15084,7 +16001,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Restarts a specific database in Amazon Lightsail.

                                                      \n

                                                      The reboot relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Restarts a specific database in Amazon Lightsail.

                                                      \n

                                                      The reboot relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/RebootRelationalDatabase", @@ -15243,6 +16160,10 @@ { "value": "ap-northeast-2", "name": "AP_NORTHEAST_2" + }, + { + "value": "eu-north-1", + "name": "EU_NORTH_1" } ] } @@ -15273,7 +16194,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Registers a container image to your Amazon Lightsail container service.

                                                      \n\n \n

                                                      This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and managing container images on your Amazon Lightsail container services\n in the Lightsail Dev Guide.

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

                                                      Registers a container image to your Amazon Lightsail container service.

                                                      \n\n \n

                                                      This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and managing container images on your Amazon Lightsail container services\n in the Amazon Lightsail Developer Guide.

                                                      \n
                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/container-services/{serviceName}/images", @@ -15358,7 +16279,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "relationalDatabaseBlueprintId": { @@ -15853,7 +16774,7 @@ "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "engine": { @@ -16116,6 +17037,21 @@ "smithy.api#pattern": "^arn:(aws[^:]*):([a-zA-Z0-9-]+):([a-z0-9-]+):([0-9]+):([a-zA-Z]+)/([a-zA-Z0-9-]+)$" } }, + "com.amazonaws.lightsail#ResourceBucketAccess": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "allow", + "name": "Allow" + }, + { + "value": "deny", + "name": "Deny" + } + ] + } + }, "com.amazonaws.lightsail#ResourceLocation": { "type": "structure", "members": { @@ -16148,6 +17084,26 @@ "target": "com.amazonaws.lightsail#ResourceName" } }, + "com.amazonaws.lightsail#ResourceReceivingAccess": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Lightsail instance.

                                                      " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The Lightsail resource type (for example, Instance).

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

                                                      Describes an Amazon Lightsail instance that has access to a Lightsail bucket.

                                                      " + } + }, "com.amazonaws.lightsail#ResourceRecord": { "type": "structure", "members": { @@ -16253,6 +17209,10 @@ { "value": "Certificate", "name": "Certificate" + }, + { + "value": "Bucket", + "name": "Bucket" } ] } @@ -16428,6 +17388,77 @@ } } }, + "com.amazonaws.lightsail#SetResourceAccessForBucket": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#SetResourceAccessForBucketRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#SetResourceAccessForBucketResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Sets the Amazon Lightsail resources that can access the specified Lightsail\n bucket.

                                                      \n\n

                                                      Lightsail buckets currently support setting access for Lightsail instances in the same\n AWS Region.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/SetResourceAccessForBucket", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#SetResourceAccessForBucketRequest": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the Lightsail instance for which to set bucket access. The instance must be\n in a running or stopped state.

                                                      ", + "smithy.api#required": {} + } + }, + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket for which to set access to another Lightsail resource.

                                                      ", + "smithy.api#required": {} + } + }, + "access": { + "target": "com.amazonaws.lightsail#ResourceBucketAccess", + "traits": { + "smithy.api#documentation": "

                                                      The access setting.

                                                      \n\n

                                                      The following access settings are available:

                                                      \n\n
                                                        \n
                                                      • \n

                                                        \n allow - Allows access to the bucket and its objects.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n deny - Denies access to the bucket and its objects. Use this setting to\n remove access for a resource previously set to allow.

                                                        \n
                                                      • \n
                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#SetResourceAccessForBucketResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, "com.amazonaws.lightsail#StartInstance": { "type": "operation", "input": { @@ -16460,7 +17491,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance,\n use the reboot instance operation.

                                                      \n \n

                                                      When you start a stopped instance, Lightsail assigns a new public IP address to the\n instance. To use the same IP address after stopping and starting an instance, create a\n static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                      \n
                                                      \n

                                                      The start instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

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

                                                      Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance,\n use the reboot instance operation.

                                                      \n \n

                                                      When you start a stopped instance, Lightsail assigns a new public IP address to the\n instance. To use the same IP address after stopping and starting an instance, create a\n static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                      \n
                                                      \n

                                                      The start instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/StartInstance", @@ -16523,7 +17554,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Starts a specific database from a stopped state in Amazon Lightsail. To restart a database,\n use the reboot relational database operation.

                                                      \n

                                                      The start relational database operation supports tag-based access control via\n resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Starts a specific database from a stopped state in Amazon Lightsail. To restart a database,\n use the reboot relational database operation.

                                                      \n

                                                      The start relational database operation supports tag-based access control via\n resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/StartRelationalDatabase", @@ -16613,7 +17644,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes the static IP.

                                                      " + "smithy.api#documentation": "

                                                      Describes a static IP.

                                                      " } }, "com.amazonaws.lightsail#StaticIpList": { @@ -16622,6 +17653,21 @@ "target": "com.amazonaws.lightsail#StaticIp" } }, + "com.amazonaws.lightsail#StatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Active", + "name": "Active" + }, + { + "value": "Inactive", + "name": "Inactive" + } + ] + } + }, "com.amazonaws.lightsail#StopInstance": { "type": "operation", "input": { @@ -16654,7 +17700,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Stops a specific Amazon Lightsail instance that is currently running.

                                                      \n \n

                                                      When you start a stopped instance, Lightsail assigns a new public IP address to the\n instance. To use the same IP address after stopping and starting an instance, create a\n static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.

                                                      \n
                                                      \n

                                                      The stop instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

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

                                                      Stops a specific Amazon Lightsail instance that is currently running.

                                                      \n \n

                                                      When you start a stopped instance, Lightsail assigns a new public IP address to the\n instance. To use the same IP address after stopping and starting an instance, create a\n static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

                                                      \n
                                                      \n

                                                      The stop instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/StopInstance", @@ -16723,7 +17769,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Stops a specific database that is currently running in Amazon Lightsail.

                                                      \n

                                                      The stop relational database operation supports tag-based access control via\n resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Stops a specific database that is currently running in Amazon Lightsail.

                                                      \n

                                                      The stop relational database operation supports tag-based access control via\n resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/StopRelationalDatabase", @@ -16798,7 +17844,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a tag key and optional value assigned to an Amazon Lightsail resource.

                                                      \n

                                                      For more information about tags in Lightsail, see the Lightsail\n Dev Guide.

                                                      " + "smithy.api#documentation": "

                                                      Describes a tag key and optional value assigned to an Amazon Lightsail resource.

                                                      \n

                                                      For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

                                                      " } }, "com.amazonaws.lightsail#TagKey": { @@ -16848,7 +17894,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a\n maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique\n per resource. For more information about tags, see the Lightsail\n Dev Guide.

                                                      \n

                                                      The tag resource operation supports tag-based access control via request tags\n and resource tags applied to the resource identified by resource name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a\n maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique\n per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

                                                      \n

                                                      The tag resource operation supports tag-based access control via request tags\n and resource tags applied to the resource identified by resource name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/TagResource", @@ -17045,7 +18091,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Attempts to unpeer the Lightsail VPC from the user's default VPC.

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

                                                      Unpeers the Lightsail VPC from the user's default VPC.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UnpeerVpc", @@ -17100,7 +18146,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the specified set of tag keys and their values from the specified Amazon Lightsail\n resource.

                                                      \n

                                                      The untag resource operation supports tag-based access control via request\n tags and resource tags applied to the resource identified by resource name. For\n more information, see the Lightsail Dev Guide.

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

                                                      Deletes the specified set of tag keys and their values from the specified Amazon Lightsail\n resource.

                                                      \n

                                                      The untag resource operation supports tag-based access control via request\n tags and resource tags applied to the resource identified by resource name. For\n more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UntagResource", @@ -17144,6 +18190,151 @@ } } }, + "com.amazonaws.lightsail#UpdateBucket": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#UpdateBucketRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#UpdateBucketResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Updates an existing Amazon Lightsail bucket.

                                                      \n\n

                                                      Use this action to update the configuration of an existing bucket, such as versioning,\n public accessibility, and the AWS accounts that can access the bucket.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/UpdateBucket", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#UpdateBucketBundle": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#UpdateBucketBundleRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#UpdateBucketBundleResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.

                                                      \n\n

                                                      A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a\n bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To\n determine if you can update a bucket's bundle, use the GetBuckets action.\n The ableToUpdateBundle parameter in the response will indicate whether you can\n currently update a bucket's bundle.

                                                      \n\n

                                                      Update a bucket's bundle if it's consistently going over its storage space or data\n transfer quota, or if a bucket's usage is consistently in the lower range of its storage space\n or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might\n experience, we strongly recommend that you update a bucket's bundle only as a long-term\n strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle\n that will provide the bucket with ample storage space and data transfer for a long time to\n come.

                                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/UpdateBucketBundle", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#UpdateBucketBundleRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket for which to update the bundle.

                                                      ", + "smithy.api#required": {} + } + }, + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      The ID of the new bundle to apply to the bucket.

                                                      \n\n

                                                      Use the GetBucketBundles action to get a list of bundle IDs that you can\n specify.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#UpdateBucketBundleResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#UpdateBucketRequest": { + "type": "structure", + "members": { + "bucketName": { + "target": "com.amazonaws.lightsail#BucketName", + "traits": { + "smithy.api#documentation": "

                                                      The name of the bucket to update.

                                                      ", + "smithy.api#required": {} + } + }, + "accessRules": { + "target": "com.amazonaws.lightsail#AccessRules", + "traits": { + "smithy.api#documentation": "

                                                      An object that sets the public accessibility of objects in the specified bucket.

                                                      " + } + }, + "versioning": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                                      Specifies whether to enable or suspend versioning of objects in the bucket.

                                                      \n\n

                                                      The following options can be specified:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Enabled - Enables versioning of objects in the specified bucket.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Suspended - Suspends versioning of objects in the specified bucket.\n Existing object versions are retained.

                                                        \n
                                                      • \n
                                                      " + } + }, + "readonlyAccessAccounts": { + "target": "com.amazonaws.lightsail#PartnerIdList", + "traits": { + "smithy.api#documentation": "

                                                      An array of strings to specify the AWS account IDs that can access the bucket.

                                                      \n\n

                                                      You can give a maximum of 10 AWS accounts access to a bucket.

                                                      " + } + } + } + }, + "com.amazonaws.lightsail#UpdateBucketResult": { + "type": "structure", + "members": { + "bucket": { + "target": "com.amazonaws.lightsail#Bucket", + "traits": { + "smithy.api#documentation": "

                                                      An object that describes the bucket that is updated.

                                                      " + } + }, + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                                                      An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                                                      " + } + } + } + }, "com.amazonaws.lightsail#UpdateContainerService": { "type": "operation", "input": { @@ -17255,7 +18446,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                                                      \n

                                                      Use this action to update the configuration of your existing distribution

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

                                                      Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                                                      \n

                                                      Use this action to update the configuration of your existing distribution.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateDistribution", @@ -17410,7 +18601,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates a domain recordset after it is created.

                                                      \n

                                                      The update domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

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

                                                      Updates a domain recordset after it is created.

                                                      \n

                                                      The update domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateDomainEntry", @@ -17480,7 +18671,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates the specified attribute for a load balancer. You can only update one attribute at\n a time.

                                                      \n

                                                      The update load balancer attribute operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

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

                                                      Updates the specified attribute for a load balancer. You can only update one attribute at\n a time.

                                                      \n

                                                      The update load balancer attribute operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateLoadBalancerAttribute", @@ -17557,7 +18748,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Allows the update of one or more attributes of a database in Amazon Lightsail.

                                                      \n

                                                      Updates are applied immediately, or in cases where the updates could result in an outage,\n are applied during the database's predefined maintenance window.

                                                      \n

                                                      The update relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

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

                                                      Allows the update of one or more attributes of a database in Amazon Lightsail.

                                                      \n

                                                      Updates are applied immediately, or in cases where the updates could result in an outage,\n are applied during the database's predefined maintenance window.

                                                      \n

                                                      The update relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateRelationalDatabase", @@ -17597,7 +18788,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Allows the update of one or more parameters of a database in Amazon Lightsail.

                                                      \n

                                                      Parameter updates don't cause outages; therefore, their application is not subject to the\n preferred maintenance window. However, there are two ways in which parameter updates are\n applied: dynamic or pending-reboot. Parameters marked with a\n dynamic apply type are applied immediately. Parameters marked with a\n pending-reboot apply type are applied only after the database is rebooted using\n the reboot relational database operation.

                                                      \n

                                                      The update relational database parameters operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Lightsail Dev Guide.

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

                                                      Allows the update of one or more parameters of a database in Amazon Lightsail.

                                                      \n

                                                      Parameter updates don't cause outages; therefore, their application is not subject to the\n preferred maintenance window. However, there are two ways in which parameter updates are\n applied: dynamic or pending-reboot. Parameters marked with a\n dynamic apply type are applied immediately. Parameters marked with a\n pending-reboot apply type are applied only after the database is rebooted using\n the reboot relational database operation.

                                                      \n

                                                      The update relational database parameters operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Amazon Lightsail Developer Guide.

                                                      ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateRelationalDatabaseParameters", diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json index 6e09fb5f89ac6..3f61d64edb277 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json @@ -1463,7 +1463,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { - "smithy.api#documentation": "Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within av1Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", + "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } }, @@ -1476,7 +1476,7 @@ } }, "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode." + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." } }, "com.amazonaws.mediaconvert#Av1RateControlMode": { @@ -1553,7 +1553,7 @@ "QvbrSettings": { "target": "com.amazonaws.mediaconvert#Av1QvbrSettings", "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode).", "smithy.api#jsonName": "qvbrSettings" } }, @@ -2340,6 +2340,13 @@ "smithy.api#jsonName": "sccDestinationSettings" } }, + "SrtDestinationSettings": { + "target": "com.amazonaws.mediaconvert#SrtDestinationSettings", + "traits": { + "smithy.api#documentation": "SRT Destination Settings", + "smithy.api#jsonName": "srtDestinationSettings" + } + }, "TeletextDestinationSettings": { "target": "com.amazonaws.mediaconvert#TeletextDestinationSettings", "traits": { @@ -2865,6 +2872,13 @@ "smithy.api#jsonName": "streamInfResolution" } }, + "TargetDurationCompatibilityMode": { + "target": "com.amazonaws.mediaconvert#CmafTargetDurationCompatibilityMode", + "traits": { + "smithy.api#documentation": "When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.", + "smithy.api#jsonName": "targetDurationCompatibilityMode" + } + }, "WriteDashManifest": { "target": "com.amazonaws.mediaconvert#CmafWriteDASHManifest", "traits": { @@ -3039,6 +3053,22 @@ ] } }, + "com.amazonaws.mediaconvert#CmafTargetDurationCompatibilityMode": { + "type": "string", + "traits": { + "smithy.api#documentation": "When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.", + "smithy.api#enum": [ + { + "value": "LEGACY", + "name": "LEGACY" + }, + { + "value": "SPEC_COMPLIANT", + "name": "SPEC_COMPLIANT" + } + ] + } + }, "com.amazonaws.mediaconvert#CmafWriteDASHManifest": { "type": "string", "traits": { @@ -4964,7 +4994,7 @@ "FontColor": { "target": "com.amazonaws.mediaconvert#DvbSubtitleFontColor", "traits": { - "smithy.api#documentation": "Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#documentation": "Specifies the color of the DVB-SUB captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "fontColor" } }, @@ -5139,7 +5169,7 @@ "com.amazonaws.mediaconvert#DvbSubtitleFontColor": { "type": "string", "traits": { - "smithy.api#documentation": "Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#documentation": "Specifies the color of the DVB-SUB captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#enum": [ { "value": "WHITE", @@ -7019,7 +7049,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { - "smithy.api#documentation": "Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", + "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } }, @@ -7032,7 +7062,7 @@ } }, "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode." + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." } }, "com.amazonaws.mediaconvert#H264RateControlMode": { @@ -7302,7 +7332,7 @@ "QvbrSettings": { "target": "com.amazonaws.mediaconvert#H264QvbrSettings", "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode).", "smithy.api#jsonName": "qvbrSettings" } }, @@ -7824,7 +7854,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { - "smithy.api#documentation": "Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", + "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } }, @@ -7837,7 +7867,7 @@ } }, "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode." + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." } }, "com.amazonaws.mediaconvert#H265RateControlMode": { @@ -8104,7 +8134,7 @@ "QvbrSettings": { "target": "com.amazonaws.mediaconvert#H265QvbrSettings", "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode).", "smithy.api#jsonName": "qvbrSettings" } }, @@ -8907,6 +8937,13 @@ "smithy.api#jsonName": "streamInfResolution" } }, + "TargetDurationCompatibilityMode": { + "target": "com.amazonaws.mediaconvert#HlsTargetDurationCompatibilityMode", + "traits": { + "smithy.api#documentation": "When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.", + "smithy.api#jsonName": "targetDurationCompatibilityMode" + } + }, "TimedMetadataId3Frame": { "target": "com.amazonaws.mediaconvert#HlsTimedMetadataId3Frame", "traits": { @@ -9199,6 +9236,22 @@ ] } }, + "com.amazonaws.mediaconvert#HlsTargetDurationCompatibilityMode": { + "type": "string", + "traits": { + "smithy.api#documentation": "When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.", + "smithy.api#enum": [ + { + "value": "LEGACY", + "name": "LEGACY" + }, + { + "value": "SPEC_COMPLIANT", + "name": "SPEC_COMPLIANT" + } + ] + } + }, "com.amazonaws.mediaconvert#HlsTimedMetadataId3Frame": { "type": "string", "traits": { @@ -15741,6 +15794,37 @@ "smithy.api#documentation": "If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead." } }, + "com.amazonaws.mediaconvert#SrtDestinationSettings": { + "type": "structure", + "members": { + "StylePassthrough": { + "target": "com.amazonaws.mediaconvert#SrtStylePassthrough", + "traits": { + "smithy.api#documentation": "Choose Enabled (ENABLED) to have MediaConvert use the font style, color, and position information from the captions source in the input. Keep the default value, Disabled (DISABLED), for simplified output captions.", + "smithy.api#jsonName": "stylePassthrough" + } + } + }, + "traits": { + "smithy.api#documentation": "SRT Destination Settings" + } + }, + "com.amazonaws.mediaconvert#SrtStylePassthrough": { + "type": "string", + "traits": { + "smithy.api#documentation": "Choose Enabled (ENABLED) to have MediaConvert use the font style, color, and position information from the captions source in the input. Keep the default value, Disabled (DISABLED), for simplified output captions.", + "smithy.api#enum": [ + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, "com.amazonaws.mediaconvert#StaticKeyProvider": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/pricing.2017-10-15.json b/codegen/sdk-codegen/aws-models/pricing.2017-10-15.json index 5f0d9ef0cc193..af1f7fbc42e60 100644 --- a/codegen/sdk-codegen/aws-models/pricing.2017-10-15.json +++ b/codegen/sdk-codegen/aws-models/pricing.2017-10-15.json @@ -55,7 +55,7 @@ "name": "pricing" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

                                                      AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to\n programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service\n uses standardized product attributes such as Location, Storage\n Class, and Operating System, and provides prices at the SKU\n level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile\n billing data, forecast future spend for budgeting purposes, and provide cost benefit\n analysis that compare your internal workloads with AWS.

                                                      \n

                                                      Use GetServices without a service code to retrieve the service codes for all AWS services, then \n GetServices with a service code to retreive the attribute names for \n that service. After you have the service code and attribute names, you can use GetAttributeValues\n to see what values are available for an attribute. With the service code and an attribute name and value, \n you can use GetProducts to find specific products that you're interested in, such as \n an AmazonEC2 instance, with a Provisioned IOPS \n volumeType.

                                                      \n

                                                      Service Endpoint

                                                      \n

                                                      AWS Price List Service API provides the following two endpoints:

                                                      \n
                                                        \n
                                                      • \n

                                                        https://api.pricing.us-east-1.amazonaws.com

                                                        \n
                                                      • \n
                                                      • \n

                                                        https://api.pricing.ap-south-1.amazonaws.com

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

                                                      Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to\n programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service\n uses standardized product attributes such as Location, Storage\n Class, and Operating System, and provides prices at the SKU\n level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile\n billing data, forecast future spend for budgeting purposes, and provide cost benefit\n analysis that compare your internal workloads with Amazon Web Services.

                                                      \n

                                                      Use GetServices without a service code to retrieve the service codes for all AWS services, then \n GetServices with a service code to retreive the attribute names for \n that service. After you have the service code and attribute names, you can use GetAttributeValues\n to see what values are available for an attribute. With the service code and an attribute name and value, \n you can use GetProducts to find specific products that you're interested in, such as \n an AmazonEC2 instance, with a Provisioned IOPS \n volumeType.

                                                      \n

                                                      Service Endpoint

                                                      \n

                                                      Amazon Web Services Price List Service API provides the following two endpoints:

                                                      \n
                                                        \n
                                                      • \n

                                                        https://api.pricing.us-east-1.amazonaws.com

                                                        \n
                                                      • \n
                                                      • \n

                                                        https://api.pricing.ap-south-1.amazonaws.com

                                                        \n
                                                      • \n
                                                      ", "smithy.api#title": "AWS Price List Service" } }, @@ -266,7 +266,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns a list of attribute values. Attibutes are similar to the details \n in a Price List API offer file. For a list of available attributes, see \n Offer File Definitions\n in the AWS Billing and Cost Management User Guide.

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

                                                      Returns a list of attribute values. Attibutes are similar to the details \n in a Price List API offer file. For a list of available attributes, see \n Offer File Definitions\n in the Amazon Web Services Billing and Cost Management User Guide.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -480,7 +480,7 @@ "ServiceCode": { "target": "com.amazonaws.pricing#String", "traits": { - "smithy.api#documentation": "

                                                      The code for the AWS service.

                                                      " + "smithy.api#documentation": "

                                                      The code for the Amazon Web Services service.

                                                      " } }, "AttributeNames": { diff --git a/codegen/sdk-codegen/aws-models/redshift.2012-12-01.json b/codegen/sdk-codegen/aws-models/redshift.2012-12-01.json index 57d39f80b6f81..95da1aecd0182 100644 --- a/codegen/sdk-codegen/aws-models/redshift.2012-12-01.json +++ b/codegen/sdk-codegen/aws-models/redshift.2012-12-01.json @@ -165,18 +165,18 @@ "AccountId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of an AWS customer account authorized to restore a\n snapshot.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of an account authorized to restore a\n snapshot.

                                                      " } }, "AccountAlias": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of an AWS support account authorized to restore a snapshot. For AWS\n support, the identifier is amazon-redshift-support.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of an Amazon Web Services support account authorized to restore a \n snapshot. For Amazon Web Services Support, the identifier is amazon-redshift-support.

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

                                                      Describes an AWS customer account authorized to restore a snapshot.

                                                      " + "smithy.api#documentation": "

                                                      Describes an account authorized to restore a snapshot.

                                                      " } }, "com.amazonaws.redshift#AccountsWithRestoreAccessList": { @@ -242,7 +242,7 @@ "AquaConfigurationStatus": { "target": "com.amazonaws.redshift#AquaConfigurationStatus", "traits": { - "smithy.api#documentation": "

                                                      The value represents how the cluster is configured to use AQUA. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

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

                                                      The value represents how the cluster is configured to use AQUA. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

                                                        \n
                                                      • \n
                                                      " } } }, @@ -338,6 +338,93 @@ "smithy.api#documentation": "

                                                      Describes an attribute value.

                                                      " } }, + "com.amazonaws.redshift#AuthenticationProfile": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile.

                                                      " + } + }, + "AuthenticationProfileContent": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

                                                      The content of the authentication profile in JSON format.\n The maximum length of the JSON string is determined by a quota for your account.

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

                                                      Describes an authentication profile.

                                                      " + } + }, + "com.amazonaws.redshift#AuthenticationProfileAlreadyExistsFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "AuthenticationProfileAlreadyExistsFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The authentication profile already exists.

                                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.redshift#AuthenticationProfileList": { + "type": "list", + "member": { + "target": "com.amazonaws.redshift#AuthenticationProfile" + } + }, + "com.amazonaws.redshift#AuthenticationProfileNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 63 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\-]+$" + } + }, + "com.amazonaws.redshift#AuthenticationProfileNotFoundFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "AuthenticationProfileNotFoundFault", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The authentication profile can't be found.

                                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.redshift#AuthenticationProfileQuotaExceededFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "AuthenticationProfileQuotaExceededFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The size or number of authentication profiles has exceeded the quota.\n The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.

                                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.redshift#AuthorizationAlreadyExistsFault": { "type": "structure", "members": { @@ -427,7 +514,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether\n the application accessing your cluster is running on the Internet or an Amazon EC2\n instance, you can authorize inbound access to either a Classless Interdomain Routing\n (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as\n many as 20 ingress rules to an Amazon Redshift security group.

                                                      \n

                                                      If you authorize access to an Amazon EC2 security group, specify\n EC2SecurityGroupName and\n EC2SecurityGroupOwnerId. The Amazon EC2 security group and\n Amazon Redshift cluster must be in the same AWS Region.

                                                      \n

                                                      If you authorize access to a CIDR/IP address range, specify\n CIDRIP. For an overview of CIDR blocks, see the Wikipedia\n article on Classless Inter-Domain Routing.

                                                      \n

                                                      You must also associate the security group with a cluster so that clients running\n on these IP addresses or the EC2 instance are authorized to connect to the cluster. For\n information about managing security groups, go to Working with Security\n Groups in the Amazon Redshift Cluster Management Guide.

                                                      " + "smithy.api#documentation": "

                                                      Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether\n the application accessing your cluster is running on the Internet or an Amazon EC2\n instance, you can authorize inbound access to either a Classless Interdomain Routing\n (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as\n many as 20 ingress rules to an Amazon Redshift security group.

                                                      \n

                                                      If you authorize access to an Amazon EC2 security group, specify\n EC2SecurityGroupName and\n EC2SecurityGroupOwnerId. The Amazon EC2 security group and\n Amazon Redshift cluster must be in the same Region.

                                                      \n

                                                      If you authorize access to a CIDR/IP address range, specify\n CIDRIP. For an overview of CIDR blocks, see the Wikipedia\n article on Classless Inter-Domain Routing.

                                                      \n

                                                      You must also associate the security group with a cluster so that clients running\n on these IP addresses or the EC2 instance are authorized to connect to the cluster. For\n information about managing security groups, go to Working with Security\n Groups in the Amazon Redshift Cluster Management Guide.

                                                      " } }, "com.amazonaws.redshift#AuthorizeClusterSecurityGroupIngressMessage": { @@ -455,7 +542,7 @@ "EC2SecurityGroupOwnerId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account number of the owner of the security group specified by the\n EC2SecurityGroupName parameter. The AWS Access Key ID is not an\n acceptable value.

                                                      \n

                                                      Example: 111122223333\n

                                                      " + "smithy.api#documentation": "

                                                      The account number of the owner of the security group specified by the\n EC2SecurityGroupName parameter. The Amazon Web Services Access Key ID is not an\n acceptable value.

                                                      \n

                                                      Example: 111122223333\n

                                                      " } } }, @@ -515,7 +602,7 @@ "Account": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID to grant access to.

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

                                                      The account ID to grant access to.

                                                      ", "smithy.api#required": {} } }, @@ -556,7 +643,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Authorizes the specified AWS customer account to restore the specified\n snapshot.

                                                      \n

                                                      \nFor more information about working with snapshots, go to \nAmazon Redshift Snapshots \nin the Amazon Redshift Cluster Management Guide.

                                                      " + "smithy.api#documentation": "

                                                      Authorizes the specified account to restore the specified\n snapshot.

                                                      \n

                                                      \nFor more information about working with snapshots, go to \nAmazon Redshift Snapshots \nin the Amazon Redshift Cluster Management Guide.

                                                      " } }, "com.amazonaws.redshift#AuthorizeSnapshotAccessMessage": { @@ -578,7 +665,7 @@ "AccountWithRestoreAccess": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the AWS customer account authorized to restore the specified\n snapshot.

                                                      \n

                                                      To share a snapshot with AWS support, specify amazon-redshift-support.

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

                                                      The identifier of the account authorized to restore the specified\n snapshot.

                                                      \n

                                                      To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

                                                      ", "smithy.api#required": {} } } @@ -883,7 +970,7 @@ "MasterUsername": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The master user name for the cluster. This name is used to connect to the database\n that is specified in the DBName parameter.

                                                      " + "smithy.api#documentation": "

                                                      The admin user name for the cluster. This name is used to connect to the database\n that is specified in the DBName parameter.

                                                      " } }, "DBName": { @@ -1051,7 +1138,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS Key Management Service (AWS KMS) key ID of the encryption key used to\n encrypt data in the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The Key Management Service (KMS) key ID of the encryption key used to\n encrypt data in the cluster.

                                                      " } }, "EnhancedVpcRouting": { @@ -1063,7 +1150,7 @@ "IamRoles": { "target": "com.amazonaws.redshift#ClusterIamRoleList", "traits": { - "smithy.api#documentation": "

                                                      A list of AWS Identity and Access Management (IAM) roles that can be used by the\n cluster to access other AWS services.

                                                      " + "smithy.api#documentation": "

                                                      A list of Identity and Access Management (IAM) roles that can be used by the\n cluster to access other Amazon Web Services services.

                                                      " } }, "PendingActions": { @@ -1293,7 +1380,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An AWS Identity and Access Management (IAM) role that can be used by the associated\n Amazon Redshift cluster to access other AWS services.

                                                      " + "smithy.api#documentation": "

                                                      An Identity and Access Management (IAM) role that can be used by the associated\n Amazon Redshift cluster to access other Amazon Web Services services.

                                                      " } }, "com.amazonaws.redshift#ClusterIamRoleList": { @@ -2110,7 +2197,7 @@ "TargetSnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier given to the new manual snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Cannot be null, empty, or blank.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain from 1 to 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for the AWS account that is making the request.

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

                                                      The identifier given to the new manual snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Cannot be null, empty, or blank.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain from 1 to 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for the account that is making the request.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -2150,6 +2237,65 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.redshift#CreateAuthenticationProfile": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#CreateAuthenticationProfileMessage" + }, + "output": { + "target": "com.amazonaws.redshift#CreateAuthenticationProfileResult" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#AuthenticationProfileAlreadyExistsFault" + }, + { + "target": "com.amazonaws.redshift#AuthenticationProfileQuotaExceededFault" + }, + { + "target": "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Creates an authentication profile with the specified parameters.

                                                      " + } + }, + "com.amazonaws.redshift#CreateAuthenticationProfileMessage": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile to be created.

                                                      ", + "smithy.api#required": {} + } + }, + "AuthenticationProfileContent": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

                                                      The content of the authentication profile in JSON format. \n The maximum length of the JSON string is determined by a quota for your account.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.redshift#CreateAuthenticationProfileResult": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile that was created.

                                                      " + } + }, + "AuthenticationProfileContent": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

                                                      The content of the authentication profile in JSON format.

                                                      " + } + } + } + }, "com.amazonaws.redshift#CreateCluster": { "type": "operation", "input": { @@ -2242,7 +2388,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      A unique identifier for the cluster. You use this identifier to refer to the\n cluster for any subsequent cluster operations such as deleting or modifying. The\n identifier also appears in the Amazon Redshift console.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an AWS account.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      Example: myexamplecluster\n

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

                                                      A unique identifier for the cluster. You use this identifier to refer to the\n cluster for any subsequent cluster operations such as deleting or modifying. The\n identifier also appears in the Amazon Redshift console.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an account.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      Example: myexamplecluster\n

                                                      ", "smithy.api#required": {} } }, @@ -2262,14 +2408,14 @@ "MasterUsername": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The user name associated with the master user account for the cluster that is being\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be 1 - 128 alphanumeric characters. The user name can't be\n PUBLIC.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n\n

                                                        Cannot be a reserved word. A list of reserved words can be found in Reserved\n Words in the Amazon Redshift Database Developer Guide.

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

                                                      The user name associated with the admin user account for the cluster that is being\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be 1 - 128 alphanumeric characters. The user name can't be\n PUBLIC.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n\n

                                                        Cannot be a reserved word. A list of reserved words can be found in Reserved\n Words in the Amazon Redshift Database Developer Guide.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, "MasterUserPassword": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The password associated with the master user account for the cluster that is being\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be between 8 and 64 characters in length.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one uppercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one lowercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain one number.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Can be any printable ASCII character (ASCII code 33 to 126) except '\n (single quote), \" (double quote), \\, /, @, or space.

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

                                                      The password associated with the admin user account for the cluster that is being\n created.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be between 8 and 64 characters in length.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one uppercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one lowercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain one number.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Can be any printable ASCII character (ASCII code 33 to 126) except '\n (single quote), \" (double quote), \\, /, @, or space.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -2384,7 +2530,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS Key Management Service (KMS) key ID of the encryption key that you want to\n use to encrypt data in the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The Key Management Service (KMS) key ID of the encryption key that you want to\n use to encrypt data in the cluster.

                                                      " } }, "EnhancedVpcRouting": { @@ -2402,7 +2548,7 @@ "IamRoles": { "target": "com.amazonaws.redshift#IamRoleArnList", "traits": { - "smithy.api#documentation": "

                                                      A list of AWS Identity and Access Management (IAM) roles that can be used by the\n cluster to access other AWS services. You must supply the IAM roles in their Amazon\n Resource Name (ARN) format. You can supply up to 10 IAM roles in a single\n request.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated with it at any time.

                                                      " + "smithy.api#documentation": "

                                                      A list of Identity and Access Management (IAM) roles that can be used by the\n cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon\n Resource Name (ARN) format. You can supply up to 10 IAM roles in a single\n request.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated with it at any time.

                                                      " } }, "MaintenanceTrackName": { @@ -2426,7 +2572,7 @@ "AquaConfigurationStatus": { "target": "com.amazonaws.redshift#AquaConfigurationStatus", "traits": { - "smithy.api#documentation": "

                                                      The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) when it is created. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

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

                                                      The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) when it is created. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

                                                        \n
                                                      • \n
                                                      " } } }, @@ -2466,14 +2612,14 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the cluster parameter group.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be 1 to 255 alphanumeric characters or hyphens

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique withing your AWS account.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This value is stored as a lower-case string.

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

                                                      The name of the cluster parameter group.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be 1 to 255 alphanumeric characters or hyphens

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique withing your account.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      This value is stored as a lower-case string.

                                                      \n
                                                      ", "smithy.api#required": {} } }, "ParameterGroupFamily": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Redshift engine version to which the cluster parameter group applies. The\n cluster engine version determines the set of parameters.

                                                      \n

                                                      To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of\n all the parameter groups that are owned by your AWS account, including the default\n parameter groups for each Amazon Redshift engine version. The parameter group family names\n associated with the default parameter groups provide you the valid values. For example,\n a valid family name is \"redshift-1.0\".

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

                                                      The Amazon Redshift engine version to which the cluster parameter group applies. The\n cluster engine version determines the set of parameters.

                                                      \n

                                                      To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of\n all the parameter groups that are owned by your account, including the default\n parameter groups for each Amazon Redshift engine version. The parameter group family names\n associated with the default parameter groups provide you the valid values. For example,\n a valid family name is \"redshift-1.0\".

                                                      ", "smithy.api#required": {} } }, @@ -2543,7 +2689,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The name for the security group. Amazon Redshift stores the value as a lowercase\n string.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain no more than 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must not be \"Default\".

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all security groups that are created by your AWS\n account.

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: examplesecuritygroup\n

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

                                                      The name for the security group. Amazon Redshift stores the value as a lowercase\n string.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain no more than 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must not be \"Default\".

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all security groups that are created by your account.

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: examplesecuritygroup\n

                                                      ", "smithy.api#required": {} } }, @@ -2614,7 +2760,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      A unique identifier for the snapshot that you are requesting. This identifier must\n be unique for all snapshots within the AWS account.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Cannot be null, empty, or blank

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain from 1 to 255 alphanumeric characters or hyphens

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: my-snapshot-id\n

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

                                                      A unique identifier for the snapshot that you are requesting. This identifier must\n be unique for all snapshots within the account.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Cannot be null, empty, or blank

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain from 1 to 255 alphanumeric characters or hyphens

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: my-snapshot-id\n

                                                      ", "smithy.api#required": {} } }, @@ -2694,7 +2840,7 @@ "ClusterSubnetGroupName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The name for the subnet group. Amazon Redshift stores the value as a lowercase\n string.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain no more than 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must not be \"Default\".

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all subnet groups that are created by your AWS\n account.

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: examplesubnetgroup\n

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

                                                      The name for the subnet group. Amazon Redshift stores the value as a lowercase\n string.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain no more than 255 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must not be \"Default\".

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all subnet groups that are created by your account.

                                                        \n
                                                      • \n
                                                      \n

                                                      Example: examplesubnetgroup\n

                                                      ", "smithy.api#required": {} } }, @@ -2787,7 +2933,7 @@ "ResourceOwner": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of the owner of the cluster. This is only required if the cluster is in another AWS account.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the owner of the cluster. This is only required if the cluster is in another account.

                                                      " } }, "EndpointName": { @@ -2856,7 +3002,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates an Amazon Redshift event notification subscription. This action requires an ARN\n (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console,\n the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you\n must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in\n the SNS console.

                                                      \n

                                                      You can specify the source type, and lists of Amazon Redshift source IDs, event\n categories, and event severities. Notifications will be sent for all events you want\n that match those criteria. For example, you can specify source type = cluster, source ID\n = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity =\n ERROR. The subscription will only send notifications for those ERROR events in the\n Availability and Backup categories for the specified clusters.

                                                      \n

                                                      If you specify both the source type and source IDs, such as source type = cluster\n and source identifier = my-cluster-1, notifications will be sent for all the cluster\n events for my-cluster-1. If you specify a source type but do not specify a source\n identifier, you will receive notice of the events for the objects of that type in your\n AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you\n will be notified of events generated from all Amazon Redshift sources belonging to your AWS\n account. You must specify a source type if you specify a source ID.

                                                      " + "smithy.api#documentation": "

                                                      Creates an Amazon Redshift event notification subscription. This action requires an ARN\n (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console,\n the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you\n must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in\n the SNS console.

                                                      \n

                                                      You can specify the source type, and lists of Amazon Redshift source IDs, event\n categories, and event severities. Notifications will be sent for all events you want\n that match those criteria. For example, you can specify source type = cluster, source ID\n = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity =\n ERROR. The subscription will only send notifications for those ERROR events in the\n Availability and Backup categories for the specified clusters.

                                                      \n

                                                      If you specify both the source type and source IDs, such as source type = cluster\n and source identifier = my-cluster-1, notifications will be sent for all the cluster\n events for my-cluster-1. If you specify a source type but do not specify a source\n identifier, you will receive notice of the events for the objects of that type in your\n account. If you do not specify either the SourceType nor the SourceIdentifier, you\n will be notified of events generated from all Amazon Redshift sources belonging to your account. You must specify a source type if you specify a source ID.

                                                      " } }, "com.amazonaws.redshift#CreateEventSubscriptionMessage": { @@ -2879,7 +3025,7 @@ "SourceType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The type of source that will be generating the events. For example, if you want to\n be notified of events generated by a cluster, you would set this parameter to cluster.\n If this value is not specified, events are returned for all Amazon Redshift objects in your\n AWS account. You must specify a source type in order to specify source IDs.

                                                      \n

                                                      Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                                      " + "smithy.api#documentation": "

                                                      The type of source that will be generating the events. For example, if you want to\n be notified of events generated by a cluster, you would set this parameter to cluster.\n If this value is not specified, events are returned for all Amazon Redshift objects in your\n account. You must specify a source type in order to specify source IDs.

                                                      \n

                                                      Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                                      " } }, "SourceIds": { @@ -3188,7 +3334,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key\n (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a\n destination region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key\n (CMK) from Key Management Service (KMS) to encrypt copied snapshots in a\n destination region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

                                                      " } }, "com.amazonaws.redshift#CreateSnapshotCopyGrantMessage": { @@ -3197,7 +3343,7 @@ "SnapshotCopyGrantName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the snapshot copy grant. This name must be unique in the region for the\n AWS account.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an AWS account.

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

                                                      The name of the snapshot copy grant. This name must be unique in the region for the\n account.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an account.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -3561,6 +3707,49 @@ } } }, + "com.amazonaws.redshift#DeleteAuthenticationProfile": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#DeleteAuthenticationProfileMessage" + }, + "output": { + "target": "com.amazonaws.redshift#DeleteAuthenticationProfileResult" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#AuthenticationProfileNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Deletes an authentication profile.

                                                      " + } + }, + "com.amazonaws.redshift#DeleteAuthenticationProfileMessage": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile to delete.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.redshift#DeleteAuthenticationProfileResult": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile that was deleted.

                                                      " + } + } + } + }, "com.amazonaws.redshift#DeleteCluster": { "type": "operation", "input": { @@ -4163,6 +4352,48 @@ } } }, + "com.amazonaws.redshift#DescribeAuthenticationProfiles": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#DescribeAuthenticationProfilesMessage" + }, + "output": { + "target": "com.amazonaws.redshift#DescribeAuthenticationProfilesResult" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#AuthenticationProfileNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Describes an authentication profile.

                                                      " + } + }, + "com.amazonaws.redshift#DescribeAuthenticationProfilesMessage": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.

                                                      " + } + } + } + }, + "com.amazonaws.redshift#DescribeAuthenticationProfilesResult": { + "type": "structure", + "members": { + "AuthenticationProfiles": { + "target": "com.amazonaws.redshift#AuthenticationProfileList", + "traits": { + "smithy.api#documentation": "

                                                      The list of authentication profiles.

                                                      " + } + } + } + }, "com.amazonaws.redshift#DescribeClusterDbRevisions": { "type": "operation", "input": { @@ -4256,7 +4487,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterParameterGroups request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterParameterGroups request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "TagKeys": { @@ -4324,7 +4555,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterParameters request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterParameters request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -4376,7 +4607,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSecurityGroups request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSecurityGroups request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.

                                                      " } }, "TagKeys": { @@ -4416,7 +4647,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns one or more snapshot objects, which contain metadata about your cluster\n snapshots. By default, this operation returns information about all snapshots of all\n clusters that are owned by you AWS customer account. No information is returned for\n snapshots owned by inactive AWS customer accounts.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all snapshots that match any combination of the specified keys and values. For example,\n if you have owner and environment for tag keys, and\n admin and test for tag values, all snapshots that have any\n combination of those values are returned. Only snapshots that you own are returned in\n the response; shared snapshots are not returned with the tag key and tag value request\n parameters.

                                                      \n

                                                      If both tag keys and values are omitted from the request, snapshots are returned\n regardless of whether they have tag keys or values associated with them.

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

                                                      Returns one or more snapshot objects, which contain metadata about your cluster\n snapshots. By default, this operation returns information about all snapshots of all\n clusters that are owned by your account. No information is returned for\n snapshots owned by inactive accounts.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all snapshots that match any combination of the specified keys and values. For example,\n if you have owner and environment for tag keys, and\n admin and test for tag values, all snapshots that have any\n combination of those values are returned. Only snapshots that you own are returned in\n the response; shared snapshots are not returned with the tag key and tag value request\n parameters.

                                                      \n

                                                      If both tag keys and values are omitted from the request, snapshots are returned\n regardless of whether they have tag keys or values associated with them.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -4504,13 +4735,13 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSnapshots request exceed\n the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSnapshots request exceed\n the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "OwnerAccount": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS customer account used to create or copy the snapshot. Use this field to\n filter the results to snapshots owned by a particular account. To describe snapshots you\n own, either specify your AWS customer account, or do not specify the\n parameter.

                                                      " + "smithy.api#documentation": "

                                                      The account used to create or copy the snapshot. Use this field to\n filter the results to snapshots owned by a particular account. To describe snapshots you\n own, either specify your account, or do not specify the\n parameter.

                                                      " } }, "TagKeys": { @@ -4559,7 +4790,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns one or more cluster subnet group objects, which contain metadata about your\n cluster subnet groups. By default, this operation returns information about all cluster\n subnet groups that are defined in you AWS account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all subnet groups that match any combination of the specified keys and values. For\n example, if you have owner and environment for tag keys, and\n admin and test for tag values, all subnet groups that have\n any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, subnet groups are\n returned regardless of whether they have tag keys or values associated with\n them.

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

                                                      Returns one or more cluster subnet group objects, which contain metadata about your\n cluster subnet groups. By default, this operation returns information about all cluster\n subnet groups that are defined in your account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all subnet groups that match any combination of the specified keys and values. For\n example, if you have owner and environment for tag keys, and\n admin and test for tag values, all subnet groups that have\n any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, subnet groups are\n returned regardless of whether they have tag keys or values associated with\n them.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -4586,7 +4817,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSubnetGroups request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSubnetGroups request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "TagKeys": { @@ -4697,7 +4928,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterVersions request exceed\n the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterVersions request exceed\n the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -4729,7 +4960,70 @@ "items": "Clusters", "pageSize": "MaxRecords" }, + "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], "smithy.waiters#waitable": { + "ClusterAvailable": { + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "Clusters[].ClusterStatus", + "expected": "available", + "comparator": "allStringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "Clusters[].ClusterStatus", + "expected": "deleting", + "comparator": "anyStringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "errorType": "ClusterNotFound" + } + } + ], + "minDelay": 60 + }, + "ClusterDeleted": { + "acceptors": [ + { + "state": "success", + "matcher": { + "errorType": "ClusterNotFound" + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "Clusters[].ClusterStatus", + "expected": "creating", + "comparator": "anyStringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "Clusters[].ClusterStatus", + "expected": "modifying", + "comparator": "anyStringEquals" + } + } + } + ], + "minDelay": 60 + }, "ClusterRestored": { "acceptors": [ { @@ -4776,7 +5070,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusters request exceed the\n value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusters request exceed the\n value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.

                                                      " } }, "TagKeys": { @@ -4833,7 +5127,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeDefaultClusterParameters\n request exceed the value specified in MaxRecords, AWS returns a value in\n the Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeDefaultClusterParameters\n request exceed the value specified in MaxRecords, Amazon Web Services returns a value in\n the Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -4890,7 +5184,7 @@ "ResourceOwner": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of the owner of the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the owner of the cluster.

                                                      " } }, "EndpointName": { @@ -4957,7 +5251,7 @@ "Account": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of either the cluster owner (grantor) or grantee. \n If Grantee parameter is true, then the Account value is of the grantor.

                                                      " + "smithy.api#documentation": "

                                                      The Aaccount ID of either the cluster owner (grantor) or grantee. \n If Grantee parameter is true, then the Account value is of the grantor.

                                                      " } }, "Grantee": { @@ -5050,7 +5344,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeEventSubscriptions request exceed the value\n specified in MaxRecords, AWS returns a value in the Marker\n field of the response. You can retrieve the next set of response records by providing\n the returned marker value in the Marker parameter and retrying the request.\n

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeEventSubscriptions request exceed the value\n specified in MaxRecords, Amazon Web Services returns a value in the Marker\n field of the response. You can retrieve the next set of response records by providing\n the returned marker value in the Marker parameter and retrying the request.\n

                                                      " } }, "TagKeys": { @@ -5130,7 +5424,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeEvents request exceed the value\n specified in MaxRecords, AWS returns a value in the Marker\n field of the response. You can retrieve the next set of response records by providing\n the returned marker value in the Marker parameter and retrying the request.\n

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeEvents request exceed the value\n specified in MaxRecords, Amazon Web Services returns a value in the Marker\n field of the response. You can retrieve the next set of response records by providing\n the returned marker value in the Marker parameter and retrying the request.\n

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

                                                      Returns information about the specified HSM client certificate. If no certificate\n ID is specified, returns information about all the HSM certificates owned by your AWS\n customer account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all HSM client certificates that match any combination of the specified keys and values.\n For example, if you have owner and environment for tag keys,\n and admin and test for tag values, all HSM client certificates\n that have any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, HSM client certificates\n are returned regardless of whether they have tag keys or values associated with\n them.

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

                                                      Returns information about the specified HSM client certificate. If no certificate\n ID is specified, returns information about all the HSM certificates owned by your account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all HSM client certificates that match any combination of the specified keys and values.\n For example, if you have owner and environment for tag keys,\n and admin and test for tag values, all HSM client certificates\n that have any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, HSM client certificates\n are returned regardless of whether they have tag keys or values associated with\n them.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5170,7 +5464,7 @@ "HsmClientCertificateIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of a specific HSM client certificate for which you want information.\n If no identifier is specified, information is returned for all HSM client certificates\n owned by your AWS customer account.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of a specific HSM client certificate for which you want information.\n If no identifier is specified, information is returned for all HSM client certificates\n owned by your account.

                                                      " } }, "MaxRecords": { @@ -5182,7 +5476,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeHsmClientCertificates request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeHsmClientCertificates request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "TagKeys": { @@ -5219,7 +5513,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns information about the specified Amazon Redshift HSM configuration. If no\n configuration ID is specified, returns information about all the HSM configurations\n owned by your AWS customer account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all HSM connections that match any combination of the specified keys and values. For\n example, if you have owner and environment for tag keys, and\n admin and test for tag values, all HSM connections that\n have any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, HSM connections are\n returned regardless of whether they have tag keys or values associated with\n them.

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

                                                      Returns information about the specified Amazon Redshift HSM configuration. If no\n configuration ID is specified, returns information about all the HSM configurations\n owned by your account.

                                                      \n

                                                      If you specify both tag keys and tag values in the same request, Amazon Redshift returns\n all HSM connections that match any combination of the specified keys and values. For\n example, if you have owner and environment for tag keys, and\n admin and test for tag values, all HSM connections that\n have any combination of those values are returned.

                                                      \n

                                                      If both tag keys and values are omitted from the request, HSM connections are\n returned regardless of whether they have tag keys or values associated with\n them.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5234,7 +5528,7 @@ "HsmConfigurationIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of a specific Amazon Redshift HSM configuration to be described. If no\n identifier is specified, information is returned for all HSM configurations owned by\n your AWS customer account.

                                                      " + "smithy.api#documentation": "

                                                      The identifier of a specific Amazon Redshift HSM configuration to be described. If no\n identifier is specified, information is returned for all HSM configurations owned by\n your account.

                                                      " } }, "MaxRecords": { @@ -5246,7 +5540,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeHsmConfigurations request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeHsmConfigurations request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "TagKeys": { @@ -5355,7 +5649,7 @@ "OwnerAccount": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS customer account used to create or copy the snapshot. \n Required if you are restoring a snapshot you do not own, \n optional if you own the snapshot.

                                                      " + "smithy.api#documentation": "

                                                      The account used to create or copy the snapshot. \n Required if you are restoring a snapshot you do not own, \n optional if you own the snapshot.

                                                      " } }, "Filters": { @@ -5368,7 +5662,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeNodeConfigurationOptions request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeNodeConfigurationOptions request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "MaxRecords": { @@ -5388,7 +5682,7 @@ "target": "com.amazonaws.redshift#OrderableClusterOptionsMessage" }, "traits": { - "smithy.api#documentation": "

                                                      Returns a list of orderable cluster options. Before you create a new cluster you\n can use this operation to find what options are available, such as the EC2 Availability\n Zones (AZ) in the specific AWS Region that you can specify, and the node types you can\n request. The node types differ by available storage, memory, CPU and price. With the\n cost involved you might want to obtain a list of cluster options in the specific region\n and specify values when creating a cluster. \nFor more information about managing clusters, go to \nAmazon Redshift Clusters \nin the Amazon Redshift Cluster Management Guide.

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

                                                      Returns a list of orderable cluster options. Before you create a new cluster you\n can use this operation to find what options are available, such as the EC2 Availability\n Zones (AZ) in the specific Region that you can specify, and the node types you can\n request. The node types differ by available storage, memory, CPU and price. With the\n cost involved you might want to obtain a list of cluster options in the specific region\n and specify values when creating a cluster. \nFor more information about managing clusters, go to \nAmazon Redshift Clusters \nin the Amazon Redshift Cluster Management Guide.

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5421,7 +5715,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeOrderableClusterOptions request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeOrderableClusterOptions request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -5455,7 +5749,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID that owns the cluster.

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

                                                      The Region ID that owns the cluster.

                                                      ", "smithy.api#required": {} } }, @@ -5538,7 +5832,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeReservedNodeOfferings request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeReservedNodeOfferings request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -5590,7 +5884,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeReservedNodes request exceed\n the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeReservedNodes request exceed\n the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } } }, @@ -5624,7 +5918,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The unique identifier of a cluster whose resize progress you are requesting. This\n parameter is case-sensitive.

                                                      \n

                                                      By default, resize operations for all clusters defined for an AWS account are\n returned.

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

                                                      The unique identifier of a cluster whose resize progress you are requesting. This\n parameter is case-sensitive.

                                                      \n

                                                      By default, resize operations for all clusters defined for an account are\n returned.

                                                      ", "smithy.api#required": {} } } @@ -5701,7 +5995,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeScheduledActions request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeScheduledActions request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "MaxRecords": { @@ -5729,7 +6023,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns a list of snapshot copy grants owned by the AWS account in the destination\n region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

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

                                                      Returns a list of snapshot copy grants owned by the account in the destination\n region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

                                                      ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5756,7 +6050,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeSnapshotCopyGrant request exceed the\n value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeSnapshotCopyGrant request exceed the\n value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                                      " } }, "TagKeys": { @@ -6045,7 +6339,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeUsageLimits request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeUsageLimits request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "TagKeys": { @@ -6120,7 +6414,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Disables the automatic copying of snapshots from one region to another region for a\n specified cluster.

                                                      \n

                                                      If your cluster and its snapshots are encrypted using a customer master key (CMK)\n from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that\n grants Amazon Redshift permission to the CMK in the destination region.

                                                      " + "smithy.api#documentation": "

                                                      Disables the automatic copying of snapshots from one region to another region for a\n specified cluster.

                                                      \n

                                                      If your cluster and its snapshots are encrypted using a customer master key (CMK)\n from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that\n grants Amazon Redshift permission to the CMK in the destination region.

                                                      " } }, "com.amazonaws.redshift#DisableSnapshotCopyMessage": { @@ -6173,7 +6467,7 @@ "EC2SecurityGroupOwnerId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS ID of the owner of the EC2 security group specified in the\n EC2SecurityGroupName field.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the owner of the EC2 security group specified in the\n EC2SecurityGroupName field.

                                                      " } }, "Tags": { @@ -6345,7 +6639,7 @@ "DestinationRegion": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The destination AWS Region that you want to copy snapshots to.

                                                      \n

                                                      Constraints: Must be the name of a valid AWS Region. For more information, see\n Regions and Endpoints in the Amazon Web Services General Reference.\n

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

                                                      The destination Region that you want to copy snapshots to.

                                                      \n

                                                      Constraints: Must be the name of a valid Region. For more information, see\n Regions and Endpoints in the Amazon Web Services General Reference.\n

                                                      ", "smithy.api#required": {} } }, @@ -6358,13 +6652,13 @@ "SnapshotCopyGrantName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted\n cluster are copied to the destination region.

                                                      " + "smithy.api#documentation": "

                                                      The name of the snapshot copy grant to use when snapshots of an Amazon Web Services KMS-encrypted\n cluster are copied to the destination region.

                                                      " } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#IntegerOptional", "traits": { - "smithy.api#documentation": "

                                                      The number of days to retain newly copied snapshots in the destination AWS Region\n after they are copied from the source AWS Region. If the value is -1, the manual\n snapshot is retained indefinitely.

                                                      \n

                                                      The value must be either -1 or an integer between 1 and 3,653.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to retain newly copied snapshots in the destination Region\n after they are copied from the source Region. If the value is -1, the manual\n snapshot is retained indefinitely.

                                                      \n

                                                      The value must be either -1 or an integer between 1 and 3,653.

                                                      " } } }, @@ -6418,7 +6712,7 @@ "ResourceOwner": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of the owner of the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the owner of the cluster.

                                                      " } }, "SubnetGroupName": { @@ -6517,13 +6811,13 @@ "Grantor": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of the cluster owner.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the cluster owner.

                                                      " } }, "Grantee": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID of the grantee of the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The account ID of the grantee of the cluster.

                                                      " } }, "ClusterIdentifier": { @@ -6570,7 +6864,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts.

                                                      " + "smithy.api#documentation": "

                                                      Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across accounts.

                                                      " } }, "com.amazonaws.redshift#EndpointAuthorizationAlreadyExistsFault": { @@ -6856,7 +7150,7 @@ "CustomerAwsId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS customer account associated with the Amazon Redshift event notification\n subscription.

                                                      " + "smithy.api#documentation": "

                                                      The account associated with the Amazon Redshift event notification\n subscription.

                                                      " } }, "CustSubscriptionId": { @@ -7010,7 +7304,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns a database user name and temporary password with temporary authorization to\n log on to an Amazon Redshift database. The action returns the database user name\n prefixed with IAM: if AutoCreate is False or\n IAMA: if AutoCreate is True. You can\n optionally specify one or more database user groups that the user will join at log on.\n By default, the temporary credentials expire in 900 seconds. You can optionally specify\n a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more\n information, see Using IAM Authentication\n to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.

                                                      \n

                                                      The AWS Identity and Access Management (IAM)user or role that executes\n GetClusterCredentials must have an IAM policy attached that allows access to all\n necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the\n Amazon Redshift Cluster Management Guide.

                                                      \n

                                                      If the DbGroups parameter is specified, the IAM policy must allow the\n redshift:JoinGroup action with access to the listed\n dbgroups.

                                                      \n

                                                      In addition, if the AutoCreate parameter is set to True,\n then the policy must include the redshift:CreateClusterUser\n privilege.

                                                      \n

                                                      If the DbName parameter is specified, the IAM policy must allow access\n to the resource dbname for the specified database name.

                                                      " + "smithy.api#documentation": "

                                                      Returns a database user name and temporary password with temporary authorization to\n log on to an Amazon Redshift database. The action returns the database user name\n prefixed with IAM: if AutoCreate is False or\n IAMA: if AutoCreate is True. You can\n optionally specify one or more database user groups that the user will join at log on.\n By default, the temporary credentials expire in 900 seconds. You can optionally specify\n a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more\n information, see Using IAM Authentication\n to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.

                                                      \n

                                                      The Identity and Access Management (IAM) user or role that runs\n GetClusterCredentials must have an IAM policy attached that allows access to all\n necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the\n Amazon Redshift Cluster Management Guide.

                                                      \n

                                                      If the DbGroups parameter is specified, the IAM policy must allow the\n redshift:JoinGroup action with access to the listed\n dbgroups.

                                                      \n

                                                      In addition, if the AutoCreate parameter is set to True,\n then the policy must include the redshift:CreateClusterUser\n privilege.

                                                      \n

                                                      If the DbName parameter is specified, the IAM policy must allow access\n to the resource dbname for the specified database name.

                                                      " } }, "com.amazonaws.redshift#GetClusterCredentialsMessage": { @@ -7530,6 +7824,23 @@ "smithy.api#box": {} } }, + "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidAuthenticationProfileRequestFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The authentication profile request is not valid. The profile name can't be null or empty. \n The authentication profile API operation must be available in the Region.

                                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.redshift#InvalidAuthorizationStateFault": { "type": "structure", "members": { @@ -8001,7 +8312,7 @@ "code": "LimitExceededFault", "httpResponseCode": 400 }, - "smithy.api#documentation": "

                                                      The encryption key has exceeded its grant limit in AWS KMS.

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

                                                      The encryption key has exceeded its grant limit in Amazon Web Services KMS.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8136,7 +8447,7 @@ "AquaConfigurationStatus": { "target": "com.amazonaws.redshift#AquaConfigurationStatus", "traits": { - "smithy.api#documentation": "

                                                      The new value of AQUA configuration status. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

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

                                                      The new value of AQUA configuration status. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

                                                        \n
                                                      • \n
                                                      " } } } @@ -8152,6 +8463,65 @@ } } }, + "com.amazonaws.redshift#ModifyAuthenticationProfile": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#ModifyAuthenticationProfileMessage" + }, + "output": { + "target": "com.amazonaws.redshift#ModifyAuthenticationProfileResult" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#AuthenticationProfileNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#AuthenticationProfileQuotaExceededFault" + }, + { + "target": "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault" + } + ], + "traits": { + "smithy.api#documentation": "

                                                      Modifies an authentication profile.

                                                      " + } + }, + "com.amazonaws.redshift#ModifyAuthenticationProfileMessage": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile to replace.

                                                      ", + "smithy.api#required": {} + } + }, + "AuthenticationProfileContent": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

                                                      The new content of the authentication profile in JSON format.\n The maximum length of the JSON string is determined by a quota for your account.

                                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.redshift#ModifyAuthenticationProfileResult": { + "type": "structure", + "members": { + "AuthenticationProfileName": { + "target": "com.amazonaws.redshift#AuthenticationProfileNameString", + "traits": { + "smithy.api#documentation": "

                                                      The name of the authentication profile that was replaced.

                                                      " + } + }, + "AuthenticationProfileContent": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

                                                      The updated content of the authentication profile in JSON format.

                                                      " + } + } + } + }, "com.amazonaws.redshift#ModifyCluster": { "type": "operation", "input": { @@ -8220,7 +8590,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the settings for a cluster.

                                                      \n

                                                      You can also change node type and the number of nodes to scale up or down the\n cluster. When resizing a cluster, you must specify both the number of nodes and the node\n type even if one of the parameters does not change.

                                                      \n\t\t

                                                      You can add another security or\n parameter group, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. \nFor more information about managing clusters, go to \nAmazon Redshift Clusters \nin the Amazon Redshift Cluster Management Guide.

                                                      " + "smithy.api#documentation": "

                                                      Modifies the settings for a cluster.

                                                      \n

                                                      You can also change node type and the number of nodes to scale up or down the\n cluster. When resizing a cluster, you must specify both the number of nodes and the node\n type even if one of the parameters does not change.

                                                      \n\t\t

                                                      You can add another security or\n parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. \nFor more information about managing clusters, go to \nAmazon Redshift Clusters \nin the Amazon Redshift Cluster Management Guide.

                                                      " } }, "com.amazonaws.redshift#ModifyClusterDbRevision": { @@ -8290,7 +8660,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the list of AWS Identity and Access Management (IAM) roles that can be\n used by the cluster to access other AWS services.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated at any time.

                                                      " + "smithy.api#documentation": "

                                                      Modifies the list of Identity and Access Management (IAM) roles that can be\n used by the cluster to access other Amazon Web Services services.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated at any time.

                                                      " } }, "com.amazonaws.redshift#ModifyClusterIamRolesMessage": { @@ -8441,7 +8811,7 @@ "MasterUserPassword": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The new password for the cluster master user. This change is asynchronously applied\n as soon as possible. Between the time of the request and the completion of the request,\n the MasterUserPassword element exists in the\n PendingModifiedValues element of the operation response.

                                                      \n \n

                                                      Operations never return the password, so this operation provides a way to\n regain access to the master user account for a cluster if the password is\n lost.

                                                      \n
                                                      \n

                                                      Default: Uses existing setting.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be between 8 and 64 characters in length.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one uppercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one lowercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain one number.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Can be any printable ASCII character (ASCII code 33 to 126) except '\n (single quote), \" (double quote), \\, /, @, or space.

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

                                                      The new password for the cluster admin user. This change is asynchronously applied\n as soon as possible. Between the time of the request and the completion of the request,\n the MasterUserPassword element exists in the\n PendingModifiedValues element of the operation response.

                                                      \n \n

                                                      Operations never return the password, so this operation provides a way to\n regain access to the admin user account for a cluster if the password is\n lost.

                                                      \n
                                                      \n

                                                      Default: Uses existing setting.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must be between 8 and 64 characters in length.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one uppercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain at least one lowercase letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must contain one number.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Can be any printable ASCII character (ASCII code 33 to 126) except '\n (single quote), \" (double quote), \\, /, @, or space.

                                                        \n
                                                      • \n
                                                      " } }, "ClusterParameterGroupName": { @@ -8495,7 +8865,7 @@ "NewClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The new identifier for the cluster.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an AWS account.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      Example: examplecluster\n

                                                      " + "smithy.api#documentation": "

                                                      The new identifier for the cluster.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an account.

                                                        \n
                                                      • \n
                                                      \n\n

                                                      Example: examplecluster\n

                                                      " } }, "PubliclyAccessible": { @@ -8531,7 +8901,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS Key Management Service (KMS) key ID of the encryption key that you want to use\n to encrypt data in the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The Key Management Service (KMS) key ID of the encryption key that you want to use\n to encrypt data in the cluster.

                                                      " } }, "AvailabilityZoneRelocation": { @@ -8884,7 +9254,7 @@ "SourceType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The type of source that will be generating the events. For example, if you want to\n be notified of events generated by a cluster, you would set this parameter to cluster.\n If this value is not specified, events are returned for all Amazon Redshift objects in your\n AWS account. You must specify a source type in order to specify source IDs.

                                                      \n

                                                      Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                                      " + "smithy.api#documentation": "

                                                      The type of source that will be generating the events. For example, if you want to\n be notified of events generated by a cluster, you would set this parameter to cluster.\n If this value is not specified, events are returned for all Amazon Redshift objects in your\n account. You must specify a source type in order to specify source IDs.

                                                      \n

                                                      Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

                                                      " } }, "SourceIds": { @@ -9033,7 +9403,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the number of days to retain snapshots in the destination AWS Region after\n they are copied from the source AWS Region. By default, this operation only changes the\n retention period of copied automated snapshots. The retention periods for both new and\n existing copied automated snapshots are updated with the new retention period. You can\n set the manual option to change only the retention periods of copied manual snapshots.\n If you set this option, only newly copied manual snapshots have the new retention\n period.

                                                      " + "smithy.api#documentation": "

                                                      Modifies the number of days to retain snapshots in the destination Region after\n they are copied from the source Region. By default, this operation only changes the\n retention period of copied automated snapshots. The retention periods for both new and\n existing copied automated snapshots are updated with the new retention period. You can\n set the manual option to change only the retention periods of copied manual snapshots.\n If you set this option, only newly copied manual snapshots have the new retention\n period.

                                                      " } }, "com.amazonaws.redshift#ModifySnapshotCopyRetentionPeriodMessage": { @@ -9042,14 +9412,14 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The unique identifier of the cluster for which you want to change the retention\n period for either automated or manual snapshots that are copied to a destination AWS\n Region.

                                                      \n

                                                      Constraints: Must be the valid name of an existing cluster that has cross-region\n snapshot copy enabled.

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

                                                      The unique identifier of the cluster for which you want to change the retention\n period for either automated or manual snapshots that are copied to a destination Region.

                                                      \n

                                                      Constraints: Must be the valid name of an existing cluster that has cross-region\n snapshot copy enabled.

                                                      ", "smithy.api#required": {} } }, "RetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#documentation": "

                                                      The number of days to retain automated snapshots in the destination AWS Region\n after they are copied from the source AWS Region.

                                                      \n

                                                      By default, this only changes the retention period of copied automated snapshots.

                                                      \n

                                                      If you decrease the retention period for automated snapshots that are copied to a\n destination AWS Region, Amazon Redshift deletes any existing automated snapshots that were\n copied to the destination AWS Region and that fall outside of the new retention\n period.

                                                      \n

                                                      Constraints: Must be at least 1 and no more than 35 for automated snapshots.

                                                      \n

                                                      If you specify the manual option, only newly copied manual snapshots will\n have the new retention period.

                                                      \n

                                                      If you specify the value of -1 newly copied manual snapshots are retained\n indefinitely.

                                                      \n

                                                      Constraints: The number of days must be either -1 or an integer between 1 and 3,653\n for manual snapshots.

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

                                                      The number of days to retain automated snapshots in the destination Region\n after they are copied from the source Region.

                                                      \n

                                                      By default, this only changes the retention period of copied automated snapshots.

                                                      \n

                                                      If you decrease the retention period for automated snapshots that are copied to a\n destination Region, Amazon Redshift deletes any existing automated snapshots that were\n copied to the destination Region and that fall outside of the new retention\n period.

                                                      \n

                                                      Constraints: Must be at least 1 and no more than 35 for automated snapshots.

                                                      \n

                                                      If you specify the manual option, only newly copied manual snapshots will\n have the new retention period.

                                                      \n

                                                      If you specify the value of -1 newly copied manual snapshots are retained\n indefinitely.

                                                      \n

                                                      Constraints: The number of days must be either -1 or an integer between 1 and 3,653\n for manual snapshots.

                                                      ", "smithy.api#required": {} } }, @@ -9633,7 +10003,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID that owns the cluster.

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

                                                      The Region ID that owns the cluster.

                                                      ", "smithy.api#required": {} } }, @@ -9792,7 +10162,7 @@ "MasterUserPassword": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The pending or in-progress change of the master user password for the\n cluster.

                                                      " + "smithy.api#documentation": "

                                                      The pending or in-progress change of the admin user password for the\n cluster.

                                                      " } }, "NodeType": { @@ -10018,6 +10388,9 @@ { "target": "com.amazonaws.redshift#CopyClusterSnapshot" }, + { + "target": "com.amazonaws.redshift#CreateAuthenticationProfile" + }, { "target": "com.amazonaws.redshift#CreateCluster" }, @@ -10060,6 +10433,9 @@ { "target": "com.amazonaws.redshift#CreateUsageLimit" }, + { + "target": "com.amazonaws.redshift#DeleteAuthenticationProfile" + }, { "target": "com.amazonaws.redshift#DeleteCluster" }, @@ -10108,6 +10484,9 @@ { "target": "com.amazonaws.redshift#DescribeAccountAttributes" }, + { + "target": "com.amazonaws.redshift#DescribeAuthenticationProfiles" + }, { "target": "com.amazonaws.redshift#DescribeClusterDbRevisions" }, @@ -10222,6 +10601,9 @@ { "target": "com.amazonaws.redshift#ModifyAquaConfiguration" }, + { + "target": "com.amazonaws.redshift#ModifyAuthenticationProfile" + }, { "target": "com.amazonaws.redshift#ModifyCluster" }, @@ -11026,7 +11408,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the cluster that will be created from restoring the\n snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an AWS account.

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

                                                      The identifier of the cluster that will be created from restoring the\n snapshot.

                                                      \n

                                                      Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Alphabetic characters must be lowercase.

                                                        \n
                                                      • \n
                                                      • \n

                                                        First character must be a letter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Cannot end with a hyphen or contain two consecutive hyphens.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Must be unique for all clusters within an account.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -11076,7 +11458,7 @@ "OwnerAccount": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS customer account used to create or copy the snapshot. Required if you are\n restoring a snapshot you do not own, optional if you own the snapshot.

                                                      " + "smithy.api#documentation": "

                                                      The account used to create or copy the snapshot. Required if you are\n restoring a snapshot you do not own, optional if you own the snapshot.

                                                      " } }, "HsmClientCertificateIdentifier": { @@ -11136,7 +11518,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS Key Management Service (KMS) key ID of the encryption key that you want to\n use to encrypt data in the cluster that you restore from a shared snapshot.

                                                      " + "smithy.api#documentation": "

                                                      The Key Management Service (KMS) key ID of the encryption key that you want to\n use to encrypt data in the cluster that you restore from a shared snapshot.

                                                      " } }, "NodeType": { @@ -11160,7 +11542,7 @@ "IamRoles": { "target": "com.amazonaws.redshift#IamRoleArnList", "traits": { - "smithy.api#documentation": "

                                                      A list of AWS Identity and Access Management (IAM) roles that can be used by the\n cluster to access other AWS services. You must supply the IAM roles in their Amazon\n Resource Name (ARN) format. You can supply up to 10 IAM roles in a single\n request.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated at any time.

                                                      " + "smithy.api#documentation": "

                                                      A list of Identity and Access Management (IAM) roles that can be used by the\n cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon\n Resource Name (ARN) format. You can supply up to 10 IAM roles in a single\n request.

                                                      \n

                                                      A cluster can have up to 10 IAM roles associated at any time.

                                                      " } }, "MaintenanceTrackName": { @@ -11190,7 +11572,7 @@ "AquaConfigurationStatus": { "target": "com.amazonaws.redshift#AquaConfigurationStatus", "traits": { - "smithy.api#documentation": "

                                                      The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

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

                                                      The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type.

                                                        \n
                                                      • \n
                                                      • \n

                                                        disabled - Don't use AQUA.

                                                        \n
                                                      • \n
                                                      • \n

                                                        auto - Amazon Redshift determines whether to use AQUA.

                                                        \n
                                                      • \n
                                                      " } } }, @@ -11489,7 +11871,7 @@ "EC2SecurityGroupOwnerId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account number of the owner of the security group specified in the\n EC2SecurityGroupName parameter. The AWS access key ID is not an\n acceptable value. If EC2SecurityGroupOwnerId is specified,\n EC2SecurityGroupName must also be provided. and CIDRIP\n cannot be provided.

                                                      \n

                                                      Example: 111122223333\n

                                                      " + "smithy.api#documentation": "

                                                      The account number of the owner of the security group specified in the\n EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an\n acceptable value. If EC2SecurityGroupOwnerId is specified,\n EC2SecurityGroupName must also be provided. and CIDRIP\n cannot be provided.

                                                      \n

                                                      Example: 111122223333\n

                                                      " } } }, @@ -11552,7 +11934,7 @@ "Account": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID whose access is to be revoked.

                                                      " + "smithy.api#documentation": "

                                                      The account ID whose access is to be revoked.

                                                      " } }, "VpcIds": { @@ -11589,7 +11971,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Removes the ability of the specified AWS customer account to restore the specified\n snapshot. If the account is currently restoring the snapshot, the restore will run to\n completion.

                                                      \n

                                                      \nFor more information about working with snapshots, go to \nAmazon Redshift Snapshots \nin the Amazon Redshift Cluster Management Guide.

                                                      " + "smithy.api#documentation": "

                                                      Removes the ability of the specified account to restore the specified\n snapshot. If the account is currently restoring the snapshot, the restore will run to\n completion.

                                                      \n

                                                      \nFor more information about working with snapshots, go to \nAmazon Redshift Snapshots \nin the Amazon Redshift Cluster Management Guide.

                                                      " } }, "com.amazonaws.redshift#RevokeSnapshotAccessMessage": { @@ -11611,7 +11993,7 @@ "AccountWithRestoreAccess": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The identifier of the AWS customer account that can no longer restore the specified\n snapshot.

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

                                                      The identifier of the account that can no longer restore the specified\n snapshot.

                                                      ", "smithy.api#required": {} } } @@ -12030,7 +12412,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeScheduledActions request\n exceed the value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeScheduledActions request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      " } }, "ScheduledActions": { @@ -12104,7 +12486,7 @@ "MasterUsername": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The master user name for the cluster.

                                                      " + "smithy.api#documentation": "

                                                      The admin user name for the cluster.

                                                      " } }, "ClusterVersion": { @@ -12158,7 +12540,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The AWS Key Management Service (KMS) key ID of the encryption key that was used to\n encrypt data in the cluster from which the snapshot was taken.

                                                      " + "smithy.api#documentation": "

                                                      The Key Management Service (KMS) key ID of the encryption key that was used to\n encrypt data in the cluster from which the snapshot was taken.

                                                      " } }, "EncryptedWithHSM": { @@ -12170,13 +12552,13 @@ "AccountsWithRestoreAccess": { "target": "com.amazonaws.redshift#AccountsWithRestoreAccessList", "traits": { - "smithy.api#documentation": "

                                                      A list of the AWS customer accounts authorized to restore the snapshot. Returns\n null if no accounts are authorized. Visible only to the snapshot owner.\n

                                                      " + "smithy.api#documentation": "

                                                      A list of the accounts authorized to restore the snapshot. Returns\n null if no accounts are authorized. Visible only to the snapshot owner.\n

                                                      " } }, "OwnerAccount": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      For manual snapshots, the AWS customer account used to create or copy the snapshot.\n For automatic snapshots, the owner of the cluster. The owner can perform all snapshot\n actions, such as sharing a manual snapshot.

                                                      " + "smithy.api#documentation": "

                                                      For manual snapshots, the account used to create or copy the snapshot.\n For automatic snapshots, the owner of the cluster. The owner can perform all snapshot\n actions, such as sharing a manual snapshot.

                                                      " } }, "TotalBackupSizeInMegaBytes": { @@ -12350,7 +12732,7 @@ "KmsKeyId": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      The unique identifier of the customer master key (CMK) in AWS KMS to which\n Amazon Redshift is granted permission.

                                                      " + "smithy.api#documentation": "

                                                      The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which\n Amazon Redshift is granted permission.

                                                      " } }, "Tags": { @@ -12361,7 +12743,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The snapshot copy grant that grants Amazon Redshift permission to encrypt copied\n snapshots with the specified customer master key (CMK) from AWS KMS in the destination\n region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

                                                      " + "smithy.api#documentation": "

                                                      The snapshot copy grant that grants Amazon Redshift permission to encrypt copied\n snapshots with the specified customer master key (CMK) from Amazon Web Services KMS in the destination\n region.

                                                      \n

                                                      \nFor more information about managing snapshot copy grants, go to \nAmazon Redshift Database Encryption \nin the Amazon Redshift Cluster Management Guide.\n

                                                      " } }, "com.amazonaws.redshift#SnapshotCopyGrantAlreadyExistsFault": { @@ -12396,7 +12778,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeSnapshotCopyGrant request exceed the\n value specified in MaxRecords, AWS returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                                      " + "smithy.api#documentation": "

                                                      An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeSnapshotCopyGrant request exceed the\n value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

                                                      \n

                                                      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

                                                      " } }, "SnapshotCopyGrants": { @@ -12439,7 +12821,7 @@ "code": "SnapshotCopyGrantQuotaExceededFault", "httpResponseCode": 400 }, - "smithy.api#documentation": "

                                                      The AWS account has exceeded the maximum number of snapshot copy grants in this\n region.

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

                                                      The account has exceeded the maximum number of snapshot copy grants in this\n region.

                                                      ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -13384,7 +13766,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID that owns the cluster.

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

                                                      The Region ID that owns the cluster.

                                                      ", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json b/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json index afc3d732630e4..3641471346f7f 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json @@ -27823,6 +27823,12 @@ "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the transform job that was run by this step execution.

                                                      " } }, + "TuningJob": { + "target": "com.amazonaws.sagemaker#TuningJobStepMetaData", + "traits": { + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the tuning job that was run by this step execution.

                                                      " + } + }, "Model": { "target": "com.amazonaws.sagemaker#ModelStepMetadata", "traits": { @@ -30237,7 +30243,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Specifies an authentication configuration for the private docker registry where your\n model image is hosted. Specify a value for this property only if you specified\n Vpc as the value for the RepositoryAccessMode field of the\n ImageConfig object that you passed to a call to CreateModel and the private Docker registry where the model image is\n hosted requires authentication.

                                                      " + "smithy.api#documentation": "

                                                      Specifies an authentication configuration for the private docker registry where your\n model image is hosted. Specify a value for this property only if you specified\n Vpc as the value for the RepositoryAccessMode field of the\n ImageConfig object that you passed to a call to CreateModel\n and the private Docker registry where the model image is\n hosted requires authentication.

                                                      " } }, "com.amazonaws.sagemaker#RepositoryCredentialsProviderArn": { @@ -35611,6 +35617,20 @@ "smithy.api#documentation": "

                                                      The job completion criteria.

                                                      " } }, + "com.amazonaws.sagemaker#TuningJobStepMetaData": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.sagemaker#HyperParameterTuningJobArn", + "traits": { + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the tuning job that was run by this step execution.

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

                                                      Metadata for a tuning step.

                                                      " + } + }, "com.amazonaws.sagemaker#USD": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json index 2963beb8dfaca..c720db337e4ac 100644 --- a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json +++ b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json @@ -59,7 +59,7 @@ "AccountId": { "target": "com.amazonaws.ssm#AccountId", "traits": { - "smithy.api#documentation": "

                                                      The AWS account ID where the current document is shared.

                                                      " + "smithy.api#documentation": "

                                                      The account ID where the current document is shared.

                                                      " } }, "SharedDocumentVersion": { @@ -70,7 +70,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information includes the AWS account ID where the current document is shared and the version\n shared with that account.

                                                      " + "smithy.api#documentation": "

                                                      Information includes the account ID where the current document is shared and the\n version shared with that account.

                                                      " } }, "com.amazonaws.ssm#AccountSharingInfoList": { @@ -82,7 +82,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A list of of AWS accounts where the current document is shared and the version shared with\n each account.

                                                      " + "smithy.api#documentation": "

                                                      A list of of accounts where the current document is shared and the version shared with\n each account.

                                                      " } }, "com.amazonaws.ssm#Accounts": { @@ -121,7 +121,7 @@ "IamRole": { "target": "com.amazonaws.ssm#IamRole", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Identity and Access Management (IAM) role to assign to the managed\n instance.

                                                      " + "smithy.api#documentation": "

                                                      The Identity and Access Management (IAM) role to assign to the managed\n instance.

                                                      " } }, "RegistrationLimit": { @@ -162,7 +162,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An activation registers one or more on-premises servers or virtual machines (VMs) with AWS\n so that you can configure those servers or VMs using Run Command. A server or VM that has been\n registered with AWS is called a managed instance.

                                                      " + "smithy.api#documentation": "

                                                      An activation registers one or more on-premises servers or virtual machines (VMs) with Amazon Web Services\n so that you can configure those servers or VMs using Run Command. A server or VM that has been\n registered with Amazon Web Services Systems Manager is called a managed instance.

                                                      " } }, "com.amazonaws.ssm#ActivationCode": { @@ -221,7 +221,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Adds or overwrites one or more tags for the specified resource. Tags are metadata that you\n can assign to your documents, managed instances, maintenance windows, Parameter Store parameters,\n and patch baselines. Tags enable you to categorize your resources in different ways, for example,\n by purpose, owner, or environment. Each tag consists of a key and an optional value, both of\n which you define. For example, you could define a set of tags for your account's managed\n instances that helps you track each instance's owner and stack level. For example: Key=Owner and\n Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or\n Test.

                                                      \n

                                                      Each resource can have a maximum of 50 tags.

                                                      \n

                                                      We recommend that you devise a set of tag keys that meets your needs for each resource type.\n Using a consistent set of tag keys makes it easier for you to manage your resources. You can\n search and filter the resources based on the tags you add. Tags don't have any semantic meaning\n to and are interpreted strictly as a string of characters.

                                                      \n

                                                      For more information about using tags with EC2 instances, see Tagging your Amazon EC2 resources in the\n Amazon EC2 User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Adds or overwrites one or more tags for the specified resource. Tags are metadata that you\n can assign to your documents, managed instances, maintenance windows, Parameter Store parameters,\n and patch baselines. Tags enable you to categorize your resources in different ways, for example,\n by purpose, owner, or environment. Each tag consists of a key and an optional value, both of\n which you define. For example, you could define a set of tags for your account's managed\n instances that helps you track each instance's owner and stack level. For example:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Owner,Value=DbAdmin\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Owner,Value=SysAdmin\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Owner,Value=Dev\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Stack,Value=Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Stack,Value=Pre-Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Stack,Value=Test\n

                                                        \n
                                                      • \n
                                                      \n

                                                      Each resource can have a maximum of 50 tags.

                                                      \n

                                                      We recommend that you devise a set of tag keys that meets your needs for each resource type.\n Using a consistent set of tag keys makes it easier for you to manage your resources. You can\n search and filter the resources based on the tags you add. Tags don't have any semantic meaning\n to and are interpreted strictly as a string of characters.

                                                      \n

                                                      For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2\n resources in the Amazon EC2 User Guide.

                                                      " } }, "com.amazonaws.ssm#AddTagsToResourceRequest": { @@ -230,21 +230,21 @@ "ResourceType": { "target": "com.amazonaws.ssm#ResourceTypeForTagging", "traits": { - "smithy.api#documentation": "

                                                      Specifies the type of resource you are tagging.

                                                      \n \n

                                                      The ManagedInstance type for this API action is for on-premises managed instances. You must\n specify the name of the managed instance in the following format: mi-ID_number. For example,\n mi-1a2b3c4d5e6f.

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

                                                      Specifies the type of resource you are tagging.

                                                      \n \n

                                                      The ManagedInstance type for this API operation is for on-premises managed\n instances. You must specify the name of the managed instance in the following format:\n mi-ID_number\n . For example,\n mi-1a2b3c4d5e6f.

                                                      \n
                                                      ", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.ssm#ResourceId", "traits": { - "smithy.api#documentation": "

                                                      The resource ID you want to tag.

                                                      \n

                                                      Use the ID of the resource. Here are some examples:

                                                      \n

                                                      ManagedInstance: mi-012345abcde

                                                      \n

                                                      MaintenanceWindow: mw-012345abcde

                                                      \n

                                                      PatchBaseline: pb-012345abcde

                                                      \n

                                                      OpsMetadata object: ResourceID for tagging is created from the Amazon Resource\n Name (ARN) for the object. Specifically, ResourceID is created from the strings that\n come after the word opsmetadata in the ARN. For example, an OpsMetadata object with\n an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager\n has a ResourceID of either aws/ssm/MyGroup/appmanager or\n /aws/ssm/MyGroup/appmanager.

                                                      \n

                                                      For the Document and Parameter values, use the name of the resource.

                                                      \n \n

                                                      The ManagedInstance type for this API action is only for on-premises managed instances. You\n must specify the name of the managed instance in the following format: mi-ID_number. For\n example, mi-1a2b3c4d5e6f.

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

                                                      The resource ID you want to tag.

                                                      \n

                                                      Use the ID of the resource. Here are some examples:

                                                      \n

                                                      \n MaintenanceWindow: mw-012345abcde\n

                                                      \n

                                                      \n PatchBaseline: pb-012345abcde\n

                                                      \n

                                                      \n OpsMetadata object: ResourceID for tagging is created from the\n Amazon Resource Name (ARN) for the object. Specifically, ResourceID is created from\n the strings that come after the word opsmetadata in the ARN. For example, an\n OpsMetadata object with an ARN of\n arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a\n ResourceID of either aws/ssm/MyGroup/appmanager or\n /aws/ssm/MyGroup/appmanager.

                                                      \n

                                                      For the Document and Parameter values, use the name of the\n resource.

                                                      \n

                                                      \n ManagedInstance: mi-012345abcde\n

                                                      \n \n

                                                      The ManagedInstance type for this API operation is only for on-premises\n managed instances. You must specify the name of the managed instance in the following format:\n mi-ID_number\n . For example,\n mi-1a2b3c4d5e6f.

                                                      \n
                                                      ", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      One or more tags. The value parameter is required.

                                                      \n \n

                                                      Do not enter personally identifiable information in this field.

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

                                                      One or more tags. The value parameter is required.

                                                      \n \n

                                                      Don't enter personally identifiable information in this field.

                                                      \n
                                                      ", "smithy.api#required": {} } } @@ -283,6 +283,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AlreadyExistsException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      Error returned if an attempt is made to register a patch group with a patch baseline that is\n already registered with a different patch baseline.

                                                      ", "smithy.api#error": "client" } @@ -709,7 +713,7 @@ "name": "ssm" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Systems Manager\n

                                                      AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as\n collecting system inventory, applying operating system (OS) patches, automating the creation of\n Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale.\n Systems Manager lets you remotely and securely manage the configuration of your managed instances. A\n managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any\n on-premises server or virtual machine (VM) in your hybrid environment that has been configured\n for Systems Manager.

                                                      \n

                                                      This reference is intended to be used with the AWS Systems Manager User Guide.

                                                      \n

                                                      To get started, verify prerequisites and configure managed instances. For more information,\n see Setting up\n AWS Systems Manager in the AWS Systems Manager User Guide.

                                                      \n

                                                      \n Related resources\n

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

                                                      Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as\n collecting system inventory, applying operating system (OS) patches, automating the creation of\n Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale.\n Systems Manager lets you remotely and securely manage the configuration of your managed instances. A\n managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any\n on-premises server or virtual machine (VM) in your hybrid environment that has been configured\n for Systems Manager.

                                                      \n

                                                      This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      To get started, verify prerequisites and configure managed instances. For more information,\n see Setting up\n Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      \n Related resources\n

                                                      \n ", "smithy.api#title": "Amazon Simple Systems Manager (SSM)", "smithy.api#xmlNamespace": { "uri": "http://ssm.amazonaws.com/doc/2014-11-06/" @@ -754,7 +758,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can\n associate an Incident Manager incident or analysis with an OpsItem. Incident Manager is a\n capability of AWS Systems Manager.

                                                      " + "smithy.api#documentation": "

                                                      Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can associate\n an Incident Manager incident or analysis with an OpsItem. Incident Manager is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "com.amazonaws.ssm#AssociateOpsItemRelatedItemRequest": { @@ -777,14 +781,14 @@ "ResourceType": { "target": "com.amazonaws.ssm#OpsItemRelatedItemAssociationResourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of resource that you want to associate with an OpsItem. OpsCenter supports the\n following types:

                                                      \n

                                                      \n AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident\n Manager is a capability of AWS Systems Manager.

                                                      \n

                                                      \n AWS::SSM::Document: a Systems Manager (SSM) document.

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

                                                      The type of resource that you want to associate with an OpsItem. OpsCenter supports the\n following types:

                                                      \n

                                                      \n AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident Manager is a\n capability of Amazon Web Services Systems Manager.

                                                      \n

                                                      \n AWS::SSM::Document: a Systems Manager (SSM) document.

                                                      ", "smithy.api#required": {} } }, "ResourceUri": { "target": "com.amazonaws.ssm#OpsItemRelatedItemAssociationResourceUri", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the AWS resource that you want to associate with the\n OpsItem.

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

                                                      The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the\n OpsItem.

                                                      ", "smithy.api#required": {} } } @@ -805,6 +809,10 @@ "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "AssociatedInstances", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You must disassociate a document from all instances before you can delete it.

                                                      ", "smithy.api#error": "client" } @@ -815,7 +823,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "InstanceId": { @@ -874,13 +882,17 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes an association of a Systems Manager document and an instance.

                                                      " + "smithy.api#documentation": "

                                                      Describes an association of a Amazon Web Services Systems Manager document (SSM document) and an instance.

                                                      " } }, "com.amazonaws.ssm#AssociationAlreadyExists": { "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "AssociationAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The specified association already exists.

                                                      ", "smithy.api#error": "client" } @@ -918,7 +930,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "InstanceId": { @@ -966,7 +978,7 @@ "AutomationTargetParameterName": { "target": "com.amazonaws.ssm#AutomationTargetParameterName", "traits": { - "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation document and target resources by using rate controls.

                                                      " + "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation runbook and target resources by using rate controls. Automation is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "Parameters": { @@ -1020,13 +1032,13 @@ "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when the sixth error\n is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached are allowed to\n complete, but some of these executions may fail as well. If you need to ensure that there won't\n be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one\n at a time.

                                                      " + "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when\n the sixth error is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached\n are allowed to complete, but some of these executions may fail as well. If you need to ensure\n that there won't be more than max-errors failed executions, set MaxConcurrency to 1\n so that executions proceed one at a time.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next association\n interval, the new instance will process its association within the limit specified for\n MaxConcurrency.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next\n association interval, the new instance will process its association within the limit specified\n for MaxConcurrency.

                                                      " } }, "ComplianceSeverity": { @@ -1038,25 +1050,25 @@ "SyncCompliance": { "target": "com.amazonaws.ssm#AssociationSyncCompliance", "traits": { - "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API action. In this case, compliance data is not\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " + "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API operation. In this case, compliance data isn't\n managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the\n PutComplianceItems API operation.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " } }, "ApplyOnlyAtCronInterval": { "target": "com.amazonaws.ssm#ApplyOnlyAtCronInterval", "traits": { - "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter is not supported for rate\n expressions.

                                                      " + "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter isn't supported for rate\n expressions.

                                                      " } }, "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type \n documents your associations are gated under. The associations only run when that Change \n Calendar is open. For more information, see \n AWS Systems Manager Change Calendar.

                                                      " + "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your\n associations are gated under. The associations only run when that change calendar is open. For\n more information, see Amazon Web Services Systems Manager Change\n Calendar.

                                                      " } }, "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      The combination of AWS Regions and AWS accounts where you want to run the\n association.

                                                      " + "smithy.api#documentation": "

                                                      The combination of Regions and accounts where you want to run the\n association.

                                                      " } } }, @@ -1081,7 +1093,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified association does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "AssociationDoesNotExist", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The specified association doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -1149,7 +1165,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified execution ID does not exist. Verify the ID number and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "AssociationExecutionDoesNotExist", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The specified execution ID doesn't exist. Verify the ID number and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -1496,6 +1516,10 @@ "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "AssociationLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You can have at most 2,000 active associations.

                                                      ", "smithy.api#error": "client" } @@ -1673,7 +1697,7 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The version of a Systems Manager document used when the association version was created.

                                                      " + "smithy.api#documentation": "

                                                      The version of an Amazon Web Services Systems Manager document (SSM document) used when the association version was\n created.

                                                      " } }, "Parameters": { @@ -1697,7 +1721,7 @@ "OutputLocation": { "target": "com.amazonaws.ssm#InstanceAssociationOutputLocation", "traits": { - "smithy.api#documentation": "

                                                      The location in Amazon S3 specified for the association when the association version was\n created.

                                                      " + "smithy.api#documentation": "

                                                      The location in Amazon S3 specified for the association when the association version\n was created.

                                                      " } }, "AssociationName": { @@ -1709,13 +1733,13 @@ "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when the sixth error\n is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached are allowed to\n complete, but some of these executions may fail as well. If you need to ensure that there won't\n be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one\n at a time.

                                                      " + "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when\n the sixth error is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached\n are allowed to complete, but some of these executions may fail as well. If you need to ensure\n that there won't be more than max-errors failed executions, set MaxConcurrency to 1\n so that executions proceed one at a time.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next association\n interval, the new instance will process its association within the limit specified for\n MaxConcurrency.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next\n association interval, the new instance will process its association within the limit specified\n for MaxConcurrency.

                                                      " } }, "ComplianceSeverity": { @@ -1727,25 +1751,25 @@ "SyncCompliance": { "target": "com.amazonaws.ssm#AssociationSyncCompliance", "traits": { - "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API action. In this case, compliance data is not\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " + "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API operation. In this case, compliance data isn't\n managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the\n PutComplianceItems API operation.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " } }, "ApplyOnlyAtCronInterval": { "target": "com.amazonaws.ssm#ApplyOnlyAtCronInterval", "traits": { - "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter is not supported for rate\n expressions.

                                                      " + "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter isn't supported for rate\n expressions.

                                                      " } }, "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type \n documents your associations are gated under. The associations for this version only run when \n that Change Calendar is open. For more information, see \n AWS Systems Manager Change Calendar.

                                                      " + "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your\n associations are gated under. The associations for this version only run when that Change\n Calendar is open. For more information, see Amazon Web Services Systems Manager Change\n Calendar.

                                                      " } }, "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      The combination of AWS Regions and AWS accounts where you wanted to run the association when\n this association version was created.

                                                      " + "smithy.api#documentation": "

                                                      The combination of Regions and accounts where you wanted to run the association\n when this association version was created.

                                                      " } } }, @@ -1761,6 +1785,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AssociationVersionLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You have reached the maximum number versions allowed for an association. Each association\n has a limit of 1,000 versions.

                                                      ", "smithy.api#error": "client" } @@ -1991,6 +2019,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AutomationDefinitionNotApproved", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      Indicates that the Change Manager change template used in the change request was rejected or is\n still in a pending state.

                                                      ", "smithy.api#error": "client" } @@ -2003,7 +2035,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An Automation document with the specified name could not be found.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "AutomationDefinitionNotFound", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      An Automation runbook with the specified name couldn't be found.

                                                      ", "smithy.api#error": "client" } }, @@ -2015,7 +2051,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An Automation document with the specified name and version could not be found.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "AutomationDefinitionVersionNotFound", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      An Automation runbook with the specified name and version couldn't be found.

                                                      ", "smithy.api#error": "client" } }, @@ -2031,7 +2071,7 @@ "DocumentName": { "target": "com.amazonaws.ssm#DocumentName", "traits": { - "smithy.api#documentation": "

                                                      The name of the Automation document used during the execution.

                                                      " + "smithy.api#documentation": "

                                                      The name of the Automation runbook used during the execution.

                                                      " } }, "DocumentVersion": { @@ -2061,25 +2101,25 @@ "StepExecutions": { "target": "com.amazonaws.ssm#StepExecutionList", "traits": { - "smithy.api#documentation": "

                                                      A list of details about the current state of all steps that comprise an execution. An\n Automation document contains a list of steps that are run in order.

                                                      " + "smithy.api#documentation": "

                                                      A list of details about the current state of all steps that comprise an execution. An\n Automation runbook contains a list of steps that are run in order.

                                                      " } }, "StepExecutionsTruncated": { "target": "com.amazonaws.ssm#Boolean", "traits": { - "smithy.api#documentation": "

                                                      A boolean value that indicates if the response contains the full list of the Automation step\n executions. If true, use the DescribeAutomationStepExecutions API action to get the full list of\n step executions.

                                                      " + "smithy.api#documentation": "

                                                      A boolean value that indicates if the response contains the full list of the Automation step\n executions. If true, use the DescribeAutomationStepExecutions API operation to get the full list\n of step executions.

                                                      " } }, "Parameters": { "target": "com.amazonaws.ssm#AutomationParameterMap", "traits": { - "smithy.api#documentation": "

                                                      The key-value map of execution parameters, which were supplied when calling\n StartAutomationExecution.

                                                      " + "smithy.api#documentation": "

                                                      The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.

                                                      " } }, "Outputs": { "target": "com.amazonaws.ssm#AutomationParameterMap", "traits": { - "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the automation document.

                                                      " + "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation runbook.

                                                      " } }, "FailureMessage": { @@ -2145,7 +2185,7 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The MaxConcurrency value specified by the user when the execution started.

                                                      " + "smithy.api#documentation": "

                                                      The MaxConcurrency value specified by the user when the execution\n started.

                                                      " } }, "MaxErrors": { @@ -2163,13 +2203,13 @@ "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      The combination of AWS Regions and/or AWS accounts where you want to run the\n Automation.

                                                      " + "smithy.api#documentation": "

                                                      The combination of Regions and/or accounts where you want to run the\n Automation.

                                                      " } }, "ProgressCounters": { "target": "com.amazonaws.ssm#ProgressCounters", "traits": { - "smithy.api#documentation": "

                                                      An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and\n multi-account Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a\n multi-Region and multi-account Automation execution.

                                                      " } }, "AutomationSubtype": { @@ -2187,7 +2227,7 @@ "Runbooks": { "target": "com.amazonaws.ssm#Runbooks", "traits": { - "smithy.api#documentation": "

                                                      Information about the Automation runbooks (Automation documents) that are run as part of a\n runbook workflow.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

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

                                                      Information about the Automation runbooks that are run as part of a runbook workflow.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

                                                      \n
                                                      " } }, "OpsItemId": { @@ -2340,6 +2380,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AutomationExecutionLimitExceeded", + "httpResponseCode": 429 + }, "smithy.api#documentation": "

                                                      The number of simultaneously running Automation executions exceeded the allowable\n limit.

                                                      ", "smithy.api#error": "client" } @@ -2356,7 +2400,7 @@ "DocumentName": { "target": "com.amazonaws.ssm#DocumentName", "traits": { - "smithy.api#documentation": "

                                                      The name of the Automation document used during execution.

                                                      " + "smithy.api#documentation": "

                                                      The name of the Automation runbook used during execution.

                                                      " } }, "DocumentVersion": { @@ -2380,13 +2424,13 @@ "ExecutionEndTime": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The time the execution finished. This is not populated if the execution is still in\n progress.

                                                      " + "smithy.api#documentation": "

                                                      The time the execution finished. This isn't populated if the execution is still in\n progress.

                                                      " } }, "ExecutedBy": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The IAM role ARN of the user who ran the Automation.

                                                      " + "smithy.api#documentation": "

                                                      The IAM role ARN of the user who ran the automation.

                                                      " } }, "LogFile": { @@ -2398,7 +2442,7 @@ "Outputs": { "target": "com.amazonaws.ssm#AutomationParameterMap", "traits": { - "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation document.

                                                      " + "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation runbook.

                                                      " } }, "Mode": { @@ -2410,7 +2454,7 @@ "ParentAutomationExecutionId": { "target": "com.amazonaws.ssm#AutomationExecutionId", "traits": { - "smithy.api#documentation": "

                                                      The ExecutionId of the parent Automation.

                                                      " + "smithy.api#documentation": "

                                                      The execution ID of the parent automation.

                                                      " } }, "CurrentStepName": { @@ -2428,19 +2472,19 @@ "FailureMessage": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation document.

                                                      " + "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation runbook.

                                                      " } }, "TargetParameterName": { "target": "com.amazonaws.ssm#AutomationParameterKey", "traits": { - "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation document.

                                                      " + "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation runbook.

                                                      " } }, "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets defined by the user when starting the Automation.

                                                      " + "smithy.api#documentation": "

                                                      The targets defined by the user when starting the automation.

                                                      " } }, "TargetMaps": { @@ -2458,25 +2502,25 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The MaxConcurrency value specified by the user when starting the Automation.

                                                      " + "smithy.api#documentation": "

                                                      The MaxConcurrency value specified by the user when starting the\n automation.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The MaxErrors value specified by the user when starting the Automation.

                                                      " + "smithy.api#documentation": "

                                                      The MaxErrors value specified by the user when starting the automation.

                                                      " } }, "Target": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation document.

                                                      " + "smithy.api#documentation": "

                                                      The list of execution outputs as defined in the Automation runbook.

                                                      " } }, "AutomationType": { "target": "com.amazonaws.ssm#AutomationType", "traits": { - "smithy.api#documentation": "

                                                      Use this filter with DescribeAutomationExecutions. Specify either Local or\n CrossAccount. CrossAccount is an Automation that runs in multiple AWS Regions and accounts. For\n more information, see Running Automation workflows in multiple AWS Regions and accounts in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Use this filter with DescribeAutomationExecutions. Specify either Local or\n CrossAccount. CrossAccount is an Automation that runs in multiple Regions and\n accounts. For more information, see Running Automation workflows in multiple Regions and accounts in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "AutomationSubtype": { @@ -2494,7 +2538,7 @@ "Runbooks": { "target": "com.amazonaws.ssm#Runbooks", "traits": { - "smithy.api#documentation": "

                                                      Information about the Automation runbooks (Automation documents) that are run during a\n runbook workflow in Change Manager.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

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

                                                      Information about the Automation runbooks that are run during a runbook workflow in\n Change Manager.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

                                                      \n
                                                      " } }, "OpsItemId": { @@ -2534,6 +2578,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AutomationExecutionNotFound", + "httpResponseCode": 404 + }, "smithy.api#documentation": "

                                                      There is no automation execution information for the requested automation execution\n ID.

                                                      ", "smithy.api#error": "client" } @@ -2670,6 +2718,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AutomationStepNotFoundException", + "httpResponseCode": 404 + }, "smithy.api#documentation": "

                                                      The specified step name and execution ID don't exist. Verify the information and try\n again.

                                                      ", "smithy.api#error": "client" } @@ -2756,7 +2808,7 @@ "ApprovedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ApprovedPatchesComplianceLevel": { @@ -2768,19 +2820,19 @@ "RejectedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "RejectedPatchesAction": { "target": "com.amazonaws.ssm#PatchAction", "traits": { - "smithy.api#documentation": "

                                                      The action for Patch Manager to take on patches included in the RejectedPackages list. A\n patch can be allowed only if it is a dependency of another package, or blocked entirely along\n with packages that include it as a dependency.

                                                      " + "smithy.api#documentation": "

                                                      The action for Patch Manager to take on patches included in the\n RejectedPackages list. A patch can be allowed only if it is a dependency of another\n package, or blocked entirely along with packages that include it as a dependency.

                                                      " } }, "ApprovedPatchesEnableNonSecurity": { "target": "com.amazonaws.ssm#Boolean", "traits": { - "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is false. Applies to Linux instances\n only.

                                                      " } }, "Sources": { @@ -2895,7 +2947,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Stops a maintenance window execution that is already in progress and cancels any tasks in\n the window that have not already starting running. (Tasks already in progress will continue to\n completion.)

                                                      " + "smithy.api#documentation": "

                                                      Stops a maintenance window execution that is already in progress and cancels any tasks in\n the window that haven't already starting running. Tasks already in progress will continue to\n completion.

                                                      " } }, "com.amazonaws.ssm#CancelMaintenanceWindowExecutionRequest": { @@ -2963,7 +3015,7 @@ "CloudWatchLogGroupName": { "target": "com.amazonaws.ssm#CloudWatchLogGroupName", "traits": { - "smithy.api#documentation": "

                                                      The name of the CloudWatch log group where you want to send command output. If you don't\n specify a group name, Systems Manager automatically creates a log group for you. The log group uses the\n following naming format: aws/ssm/SystemsManagerDocumentName.

                                                      " + "smithy.api#documentation": "

                                                      The name of the CloudWatch Logs log group where you want to send command output. If you\n don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group\n uses the following naming format:

                                                      \n

                                                      \n aws/ssm/SystemsManagerDocumentName\n \n

                                                      " } }, "CloudWatchOutputEnabled": { @@ -2974,7 +3026,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Configuration options for sending command output to CloudWatch Logs.

                                                      " + "smithy.api#documentation": "

                                                      Configuration options for sending command output to Amazon CloudWatch Logs.

                                                      " } }, "com.amazonaws.ssm#CloudWatchOutputEnabled": { @@ -2998,7 +3050,7 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The SSM document version.

                                                      " + "smithy.api#documentation": "

                                                      The Systems Manager document (SSM document) version.

                                                      " } }, "Comment": { @@ -3010,7 +3062,7 @@ "ExpiresAfter": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      If this time is reached and the command has not already started running, it will not run.\n Calculated based on the ExpiresAfter user input provided as part of the SendCommand API.

                                                      " + "smithy.api#documentation": "

                                                      If this time is reached and the command hasn't already started running, it won't run.\n Calculated based on the ExpiresAfter user input provided as part of the\n SendCommand API operation.

                                                      " } }, "Parameters": { @@ -3046,7 +3098,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#StatusDetails", "traits": { - "smithy.api#documentation": "

                                                      A detailed status of the command execution. StatusDetails includes more information than\n Status because it includes states resulting from error and concurrency control parameters.\n StatusDetails can show different results than Status. For more information about these statuses,\n see Understanding command statuses in the AWS Systems Manager User Guide.\n StatusDetails can be one of the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command has not been sent to any instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to at least one instance but has not reached a\n final state on all instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The command successfully ran on all invocations. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of\n Delivery Timed Out. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: The value of MaxErrors or more command invocations shows a status of\n Execution Timed Out. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The value of MaxErrors or more command invocations shows a status of Failed. This\n is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Incomplete: The command was attempted on all instances and one or more invocations does\n not have a value of Success but not enough invocations failed for the status to be Failed. This\n is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Rate Exceeded: The number of instances targeted by the command exceeded the account limit\n for pending invocations. The system has canceled the command before running it on any instance.\n This is a terminal state.

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

                                                      A detailed status of the command execution. StatusDetails includes more\n information than Status because it includes states resulting from error and\n concurrency control parameters. StatusDetails can show different results than\n Status. For more information about these statuses, see Understanding command\n statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the\n following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command hasn't been sent to any instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to at least one instance but hasn't reached a final\n state on all instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The command successfully ran on all invocations. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of\n Delivery Timed Out. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: The value of MaxErrors or more command invocations shows a status of\n Execution Timed Out. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The value of MaxErrors or more command invocations shows a status of Failed. This\n is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Incomplete: The command was attempted on all instances and one or more invocations doesn't\n have a value of Success but not enough invocations failed for the status to be Failed. This is\n a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Rate Exceeded: The number of instances targeted by the command exceeded the account limit\n for pending invocations. The system has canceled the command before running it on any instance.\n This is a terminal state.

                                                        \n
                                                      • \n
                                                      " } }, "OutputS3Region": { @@ -3070,13 +3122,13 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of instances that are allowed to run the command at the same time. You\n can specify a number of instances, such as 10, or a percentage of instances, such as 10%. The\n default value is 50. For more information about how to use MaxConcurrency, see Running commands\n using Systems Manager Run Command in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of instances that are allowed to run the command at the same time. You\n can specify a number of instances, such as 10, or a percentage of instances, such as 10%. The\n default value is 50. For more information about how to use MaxConcurrency, see\n Running\n commands using Systems Manager Run Command in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of errors allowed before the system stops sending the command to\n additional targets. You can specify a number of errors, such as 10, or a percentage or errors,\n such as 10%. The default value is 0. For more information about how to use MaxErrors, see Running commands\n using Systems Manager Run Command in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of errors allowed before the system stops sending the command to\n additional targets. You can specify a number of errors, such as 10, or a percentage or errors,\n such as 10%. The default value is 0. For more information about how to use\n MaxErrors, see Running commands using Systems Manager Run\n Command in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "TargetCount": { @@ -3106,7 +3158,7 @@ "ServiceRole": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The IAM service role that Run Command uses to act on your behalf when sending notifications\n about command status changes.

                                                      " + "smithy.api#documentation": "

                                                      The Identity and Access Management (IAM) service role that Run Command, a capability\n of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes.\n

                                                      " } }, "NotificationConfig": { @@ -3118,7 +3170,7 @@ "CloudWatchOutputConfig": { "target": "com.amazonaws.ssm#CloudWatchOutputConfig", "traits": { - "smithy.api#documentation": "

                                                      CloudWatch Logs information where you want Systems Manager to send the command output.

                                                      " + "smithy.api#documentation": "

                                                      Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command\n output.

                                                      " } }, "TimeoutSeconds": { @@ -3145,7 +3197,7 @@ "value": { "target": "com.amazonaws.ssm#CommandFilterValue", "traits": { - "smithy.api#documentation": "

                                                      The filter value. Valid values for each filter key are as follows:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n InvokedAfter: Specify a timestamp to limit your results.\n For example, specify 2018-07-07T00:00:00Z to see a list of command executions\n occurring July 7, 2018, and later.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InvokedBefore: Specify a timestamp to limit your results.\n For example, specify 2018-07-07T00:00:00Z to see a list of command executions from\n before July 7, 2018.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Status: Specify a valid command status to see a list of\n all command executions with that status. Status values you can specify include:

                                                        \n
                                                          \n
                                                        • \n

                                                          \n Pending\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n InProgress\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Success\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Cancelled\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Failed\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n TimedOut\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Cancelling\n

                                                          \n
                                                        • \n
                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DocumentName: Specify name of the SSM document for which\n you want to see command execution results. For example, specify\n AWS-RunPatchBaseline to see command executions that used this SSM document to\n perform security patching operations on instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ExecutionStage: Specify one of the following\n values:

                                                        \n
                                                          \n
                                                        • \n

                                                          \n Executing: Returns a list of command executions that are currently still\n running.

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Complete: Returns a list of command executions that have already completed.\n

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

                                                      The filter value. Valid values for each filter key are as follows:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n InvokedAfter: Specify a timestamp to limit your results.\n For example, specify 2021-07-07T00:00:00Z to see a list of command executions\n occurring July 7, 2021, and later.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InvokedBefore: Specify a timestamp to limit your results.\n For example, specify 2021-07-07T00:00:00Z to see a list of command executions from\n before July 7, 2021.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Status: Specify a valid command status to see a list of\n all command executions with that status. Status values you can specify include:

                                                        \n
                                                          \n
                                                        • \n

                                                          \n Pending\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n InProgress\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Success\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Cancelled\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Failed\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n TimedOut\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Cancelling\n

                                                          \n
                                                        • \n
                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM\n document) for which you want to see command execution results. For example, specify\n AWS-RunPatchBaseline to see command executions that used this SSM document to\n perform security patching operations on instances.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ExecutionStage: Specify one of the following\n values:

                                                        \n
                                                          \n
                                                        • \n

                                                          \n Executing: Returns a list of command executions that are currently still\n running.

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n Complete: Returns a list of command executions that have already completed.\n

                                                          \n
                                                        • \n
                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } } @@ -3229,7 +3281,7 @@ "InstanceName": { "target": "com.amazonaws.ssm#InstanceTagName", "traits": { - "smithy.api#documentation": "

                                                      The name of the invocation target. For EC2 instances this is the value for the aws:Name tag.\n For on-premises instances, this is the name of the instance.

                                                      " + "smithy.api#documentation": "

                                                      The name of the invocation target. For EC2 instances this is the value for the\n aws:Name tag. For on-premises instances, this is the name of the instance.

                                                      " } }, "Comment": { @@ -3247,7 +3299,7 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The SSM document version.

                                                      " + "smithy.api#documentation": "

                                                      The Systems Manager document (SSM document) version.

                                                      " } }, "RequestedDateTime": { @@ -3265,7 +3317,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#StatusDetails", "traits": { - "smithy.api#documentation": "

                                                      A detailed status of the command execution for each invocation (each instance targeted by\n the command). StatusDetails includes more information than Status because it includes states\n resulting from error and concurrency control parameters. StatusDetails can show different results\n than Status. For more information about these statuses, see Understanding command\n statuses in the AWS Systems Manager User Guide. StatusDetails can be one of the\n following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command has not been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but has not reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The execution of the command or plugin was successfully completed. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command was not delivered to the instance before the delivery\n timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit,\n but they do contribute to whether the parent command status is Success or Incomplete. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: Command execution started on the instance, but the execution was not\n complete before the execution timeout expired. Execution timeouts count against the MaxErrors\n limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command was not successful on the instance. For a plugin, this indicates that\n the result code was not zero. For a command invocation, this indicates that the result code for\n one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the\n parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist or might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit and don't contribute to whether the parent command status is Success\n or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent command\n invocations were canceled by the system. This is a terminal state.

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

                                                      A detailed status of the command execution for each invocation (each instance targeted by\n the command). StatusDetails includes more information than Status because it includes states\n resulting from error and concurrency control parameters. StatusDetails can show different results\n than Status. For more information about these statuses, see Understanding command\n statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the\n following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command hasn't been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but hasn't reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The execution of the command or plugin was successfully completed. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command wasn't delivered to the instance before the delivery\n timeout expired. Delivery timeouts don't count against the parent command's\n MaxErrors limit, but they do contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: Command execution started on the instance, but the execution wasn't\n complete before the execution timeout expired. Execution timeouts count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command wasn't successful on the instance. For a plugin, this indicates that\n the result code wasn't zero. For a command invocation, this indicates that the result code for\n one or more plugins wasn't zero. Invocation failures count against the MaxErrors\n limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist or might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit and don't contribute to whether the parent command status is Success\n or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent command\n invocations were canceled by the system. This is a terminal state.

                                                        \n
                                                      • \n
                                                      " } }, "TraceOutput": { @@ -3277,13 +3329,13 @@ "StandardOutputUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL to the plugin's StdOut file in Amazon S3, if the S3 bucket was defined for the parent\n command. For an invocation, StandardOutputUrl is populated if there is just one plugin defined\n for the command, and the S3 bucket was defined for the command.

                                                      " + "smithy.api#documentation": "

                                                      The URL to the plugin's StdOut file in Amazon Simple Storage Service (Amazon S3), if the S3\n bucket was defined for the parent command. For an invocation, StandardOutputUrl is\n populated if there is just one plugin defined for the command, and the S3 bucket was defined for\n the command.

                                                      " } }, "StandardErrorUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL to the plugin's StdErr file in Amazon S3, if the S3 bucket was defined for the parent\n command. For an invocation, StandardErrorUrl is populated if there is just one plugin defined for\n the command, and the S3 bucket was defined for the command.

                                                      " + "smithy.api#documentation": "

                                                      The URL to the plugin's StdErr file in Amazon Simple Storage Service (Amazon S3), if the S3\n bucket was defined for the parent command. For an invocation, StandardErrorUrl is\n populated if there is just one plugin defined for the command, and the S3 bucket was defined for\n the command.

                                                      " } }, "CommandPlugins": { @@ -3295,7 +3347,7 @@ "ServiceRole": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The IAM service role that Run Command uses to act on your behalf when sending notifications\n about command status changes on a per instance basis.

                                                      " + "smithy.api#documentation": "

                                                      The Identity and Access Management (IAM) service role that Run Command, a capability\n of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes\n on a per instance basis.

                                                      " } }, "NotificationConfig": { @@ -3307,7 +3359,7 @@ "CloudWatchOutputConfig": { "target": "com.amazonaws.ssm#CloudWatchOutputConfig", "traits": { - "smithy.api#documentation": "

                                                      CloudWatch Logs information where you want Systems Manager to send the command output.

                                                      " + "smithy.api#documentation": "

                                                      Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command\n output.

                                                      " } } }, @@ -3381,7 +3433,7 @@ "Name": { "target": "com.amazonaws.ssm#CommandPluginName", "traits": { - "smithy.api#documentation": "

                                                      The name of the plugin. Must be one of the following: aws:updateAgent, aws:domainjoin,\n aws:applications, aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, aws:runShellScript, or\n aws:updateSSMAgent.

                                                      " + "smithy.api#documentation": "

                                                      The name of the plugin. Must be one of the following: aws:updateAgent,\n aws:domainjoin, aws:applications,\n aws:runPowerShellScript, aws:psmodule, aws:cloudWatch,\n aws:runShellScript, or aws:updateSSMAgent.

                                                      " } }, "Status": { @@ -3393,7 +3445,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#StatusDetails", "traits": { - "smithy.api#documentation": "

                                                      A detailed status of the plugin execution. StatusDetails includes more information than\n Status because it includes states resulting from error and concurrency control parameters.\n StatusDetails can show different results than Status. For more information about these statuses,\n see Understanding command statuses in the AWS Systems Manager User Guide.\n StatusDetails can be one of the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command has not been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but has not reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The execution of the command or plugin was successfully completed. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command was not delivered to the instance before the delivery\n timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit,\n but they do contribute to whether the parent command status is Success or Incomplete. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: Command execution started on the instance, but the execution was not\n complete before the execution timeout expired. Execution timeouts count against the MaxErrors\n limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command was not successful on the instance. For a plugin, this indicates that\n the result code was not zero. For a command invocation, this indicates that the result code for\n one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the\n parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist, or it might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit, and they don't contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent command\n invocations were canceled by the system. This is a terminal state.

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

                                                      A detailed status of the plugin execution. StatusDetails includes more\n information than Status because it includes states resulting from error and concurrency control\n parameters. StatusDetails can show different results than Status. For more information about\n these statuses, see Understanding command\n statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the\n following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command hasn't been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but hasn't reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The execution of the command or plugin was successfully completed. This is a\n terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command wasn't delivered to the instance before the delivery\n timeout expired. Delivery timeouts don't count against the parent command's\n MaxErrors limit, but they do contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: Command execution started on the instance, but the execution wasn't\n complete before the execution timeout expired. Execution timeouts count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command wasn't successful on the instance. For a plugin, this indicates that\n the result code wasn't zero. For a command invocation, this indicates that the result code for\n one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the\n parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist, or it might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit, and they don't contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent command\n invocations were canceled by the system. This is a terminal state.

                                                        \n
                                                      • \n
                                                      " } }, "ResponseCode": { @@ -3423,31 +3475,31 @@ "StandardOutputUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stdout in Amazon S3. If the S3 bucket for\n the command was not specified, then this string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stdout in Amazon S3. If the\n S3 bucket for the command wasn't specified, then this string is empty.

                                                      " } }, "StandardErrorUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stderr. If execution is not yet\n complete, then this string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stderr. If execution isn't yet\n complete, then this string is empty.

                                                      " } }, "OutputS3Region": { "target": "com.amazonaws.ssm#S3Region", "traits": { - "smithy.api#documentation": "

                                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager\n automatically determines the S3 bucket region.

                                                      " + "smithy.api#documentation": "

                                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead,\n Amazon Web Services Systems Manager automatically determines the S3 bucket region.

                                                      " } }, "OutputS3BucketName": { "target": "com.amazonaws.ssm#S3BucketName", "traits": { - "smithy.api#documentation": "

                                                      The S3 bucket where the responses to the command executions should be stored. This was\n requested when issuing the command. For example, in the following response:

                                                      \n

                                                      doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript

                                                      \n

                                                      doc-example-bucket is the name of the S3 bucket;

                                                      \n

                                                      ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                      \n

                                                      i-02573cafcfEXAMPLE is the instance ID;

                                                      \n

                                                      awsrunShellScript is the name of the plugin.

                                                      " + "smithy.api#documentation": "

                                                      The S3 bucket where the responses to the command executions should be stored. This was\n requested when issuing the command. For example, in the following response:

                                                      \n

                                                      \n doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript\n

                                                      \n

                                                      \n doc-example-bucket is the name of the S3 bucket;

                                                      \n

                                                      \n ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                      \n

                                                      \n i-02573cafcfEXAMPLE is the instance ID;

                                                      \n

                                                      \n awsrunShellScript is the name of the plugin.

                                                      " } }, "OutputS3KeyPrefix": { "target": "com.amazonaws.ssm#S3KeyPrefix", "traits": { - "smithy.api#documentation": "

                                                      The S3 directory path inside the bucket where the responses to the command executions should\n be stored. This was requested when issuing the command. For example, in the following\n response:

                                                      \n

                                                      doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript

                                                      \n

                                                      doc-example-bucket is the name of the S3 bucket;

                                                      \n

                                                      ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                      \n

                                                      i-02573cafcfEXAMPLE is the instance ID;

                                                      \n

                                                      awsrunShellScript is the name of the plugin.

                                                      " + "smithy.api#documentation": "

                                                      The S3 directory path inside the bucket where the responses to the command executions should\n be stored. This was requested when issuing the command. For example, in the following\n response:

                                                      \n

                                                      \n doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript\n

                                                      \n

                                                      \n doc-example-bucket is the name of the S3 bucket;

                                                      \n

                                                      \n ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

                                                      \n

                                                      \n i-02573cafcfEXAMPLE is the instance ID;

                                                      \n

                                                      \n awsrunShellScript is the name of the plugin.

                                                      " } } }, @@ -3975,6 +4027,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ComplianceTypeCountLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You specified too many custom compliance types. You can specify a maximum of 10 different\n types.

                                                      ", "smithy.api#error": "client" } @@ -4065,7 +4121,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Generates an activation code and activation ID you can use to register your on-premises\n server or virtual machine (VM) with Systems Manager. Registering these machines with Systems Manager makes it\n possible to manage them using Systems Manager capabilities. You use the activation code and ID when\n installing SSM Agent on machines in your hybrid environment. For more information about\n requirements for managing on-premises instances and VMs using Systems Manager, see Setting up\n AWS Systems Manager for hybrid environments in the AWS Systems Manager User Guide.

                                                      \n \n

                                                      On-premises servers or VMs that are registered with Systems Manager and EC2 instances that you manage\n with Systems Manager are all called managed instances.

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

                                                      Generates an activation code and activation ID you can use to register your on-premises\n server or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it\n possible to manage them using Systems Manager capabilities. You use the activation code and ID when\n installing SSM Agent on machines in your hybrid environment. For more information about\n requirements for managing on-premises instances and VMs using Systems Manager, see Setting up\n Amazon Web Services Systems Manager for hybrid environments in the Amazon Web Services Systems Manager User Guide.

                                                      \n \n

                                                      On-premises servers or VMs that are registered with Systems Manager and Amazon Elastic Compute Cloud (Amazon EC2) instances\n that you manage with Systems Manager are all called managed instances.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#CreateActivationRequest": { @@ -4074,19 +4130,19 @@ "Description": { "target": "com.amazonaws.ssm#ActivationDescription", "traits": { - "smithy.api#documentation": "

                                                      A user-defined description of the resource that you want to register with Systems Manager.

                                                      \n \n

                                                      Do not enter personally identifiable information in this field.

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

                                                      A user-defined description of the resource that you want to register with Systems Manager.

                                                      \n \n

                                                      Don't enter personally identifiable information in this field.

                                                      \n
                                                      " } }, "DefaultInstanceName": { "target": "com.amazonaws.ssm#DefaultInstanceName", "traits": { - "smithy.api#documentation": "

                                                      The name of the registered, managed instance as it will appear in the Systems Manager console or when\n you use the AWS command line tools to list Systems Manager resources.

                                                      \n \n

                                                      Do not enter personally identifiable information in this field.

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

                                                      The name of the registered, managed instance as it will appear in the Amazon Web Services Systems Manager console or\n when you use the Amazon Web Services command line tools to list Systems Manager resources.

                                                      \n \n

                                                      Don't enter personally identifiable information in this field.

                                                      \n
                                                      " } }, "IamRole": { "target": "com.amazonaws.ssm#IamRole", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Identity and Access Management (IAM) role that you want to assign to the managed\n instance. This IAM role must provide AssumeRole permissions for the Systems Manager service principal\n ssm.amazonaws.com. For more information, see Create an IAM service role for a\n hybrid environment in the AWS Systems Manager User Guide.

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

                                                      The Identity and Access Management (IAM) role that you want to assign to the managed\n instance. This IAMrole must provide AssumeRole permissions for the Amazon Web Services Systems Manager\n service principal ssm.amazonaws.com. For more information, see Create an\n IAM service role for a hybrid environment in the\n Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, @@ -4094,7 +4150,7 @@ "target": "com.amazonaws.ssm#RegistrationLimit", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Specify the maximum number of managed instances you want to register. The default value is 1\n instance.

                                                      " + "smithy.api#documentation": "

                                                      Specify the maximum number of managed instances you want to register. The default value is\n 1.

                                                      " } }, "ExpirationDate": { @@ -4106,7 +4162,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an\n activation to identify which servers or virtual machines (VMs) in your on-premises environment\n you intend to activate. In this case, you could specify the following key name/value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      When you install SSM Agent on your on-premises servers and VMs, you specify an activation\n ID and code. When you specify the activation ID and code, tags assigned to the activation are\n automatically applied to the on-premises servers or VMs.

                                                      \n
                                                      \n

                                                      You can't add tags to or delete tags from an existing activation. You can tag your\n on-premises servers and VMs after they connect to Systems Manager for the first time and are assigned a\n managed instance ID. This means they are listed in the AWS Systems Manager console with an ID that is\n prefixed with \"mi-\". For information about how to add tags to your managed instances, see AddTagsToResource. For information about how to remove tags from your managed\n instances, see RemoveTagsFromResource.

                                                      " + "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an\n activation to identify which servers or virtual machines (VMs) in your on-premises environment\n you intend to activate. In this case, you could specify the following key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      When you install SSM Agent on your on-premises servers and VMs, you specify an activation ID\n and code. When you specify the activation ID and code, tags assigned to the activation are\n automatically applied to the on-premises servers or VMs.

                                                      \n
                                                      \n

                                                      You can't add tags to or delete tags from an existing activation. You can tag your\n on-premises servers and VMs after they connect to Systems Manager for the first time and are assigned a\n managed instance ID. This means they are listed in the Amazon Web Services Systems Manager console with an ID that is\n prefixed with \"mi-\". For information about how to add tags to your managed instances, see AddTagsToResource. For information about how to remove tags from your managed\n instances, see RemoveTagsFromResource.

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

                                                      A State Manager association defines the state that you want to maintain on your instances.\n For example, an association can specify that anti-virus software must be installed and running on\n your instances, or that certain ports must be closed. For static targets, the association\n specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an AWS\n Resource Group or an AWS Autoscaling Group, State Manager applies the configuration when new\n instances are added to the group. The association also specifies actions to take when applying\n the configuration. For example, an association for anti-virus software might run once a day. If\n the software is not installed, then State Manager installs it. If the software is installed, but\n the service is not running, then the association might instruct State Manager to start the\n service.

                                                      " + "smithy.api#documentation": "

                                                      A State Manager association defines the state that you want to maintain on your instances.\n For example, an association can specify that anti-virus software must be installed and running on\n your instances, or that certain ports must be closed. For static targets, the association\n specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an\n Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a capability of Amazon Web Services Systems Manager\n applies the configuration when new instances are added to the group. The association also\n specifies actions to take when applying the configuration. For example, an association for\n anti-virus software might run once a day. If the software isn't installed, then State Manager\n installs it. If the software is installed, but the service isn't running, then the association\n might instruct State Manager to start the service.

                                                      " } }, "com.amazonaws.ssm#CreateAssociationBatch": { @@ -4219,7 +4275,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Associates the specified Systems Manager document with the specified instances or targets.

                                                      \n

                                                      When you associate a document with one or more instances using instance IDs or tags,\n SSM Agent running on the instance processes the document and configures the instance as\n specified.

                                                      \n

                                                      If you associate a document with an instance that already has an associated document, the\n system returns the AssociationAlreadyExists exception.

                                                      " + "smithy.api#documentation": "

                                                      Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified instances or\n targets.

                                                      \n

                                                      When you associate a document with one or more instances using instance IDs or tags,\n Amazon Web Services Systems Manager Agent (SSM Agent) running on the instance processes the document and configures the\n instance as specified.

                                                      \n

                                                      If you associate a document with an instance that already has an associated document, the\n system returns the AssociationAlreadyExists exception.

                                                      " } }, "com.amazonaws.ssm#CreateAssociationBatchRequest": { @@ -4254,7 +4310,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the SSM document that contains the configuration information for the instance.\n You can specify Command or Automation documents.

                                                      \n

                                                      You can specify AWS-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For SSM documents that are shared with you from other AWS accounts, you must specify the\n complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:aws:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For AWS-predefined documents and SSM documents you created in your account, you only need to\n specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

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

                                                      The name of the SSM document that contains the configuration information for the instance.\n You can specify Command or Automation runbooks.

                                                      \n

                                                      You can specify Amazon Web Services-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For SSM documents that are shared with you from other accounts, you must specify the\n complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:aws:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need\n to specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

                                                      ", "smithy.api#required": {} } }, @@ -4273,7 +4329,7 @@ "AutomationTargetParameterName": { "target": "com.amazonaws.ssm#AutomationTargetParameterName", "traits": { - "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation document and target resources by using rate controls.

                                                      " + "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation runbook and target resources by using rate controls. Automation is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "DocumentVersion": { @@ -4309,13 +4365,13 @@ "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when the sixth error\n is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached are allowed to\n complete, but some of these executions may fail as well. If you need to ensure that there won't\n be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one\n at a time.

                                                      " + "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when\n the sixth error is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached\n are allowed to complete, but some of these executions may fail as well. If you need to ensure\n that there won't be more than max-errors failed executions, set MaxConcurrency to 1\n so that executions proceed one at a time.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next association\n interval, the new instance will process its association within the limit specified for\n MaxConcurrency.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next\n association interval, the new instance will process its association within the limit specified\n for MaxConcurrency.

                                                      " } }, "ComplianceSeverity": { @@ -4327,19 +4383,19 @@ "SyncCompliance": { "target": "com.amazonaws.ssm#AssociationSyncCompliance", "traits": { - "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API action. In this case, compliance data is not\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " + "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API operation. In this case, compliance data isn't\n managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the\n PutComplianceItems API operation.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " } }, "ApplyOnlyAtCronInterval": { "target": "com.amazonaws.ssm#ApplyOnlyAtCronInterval", "traits": { - "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter is not supported for rate\n expressions.

                                                      " + "smithy.api#documentation": "

                                                      By default, when you create a new associations, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter isn't supported for rate\n expressions.

                                                      " } }, "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type \n documents your associations are gated under. The associations only run when that Change \n Calendar is open. For more information, see \n AWS Systems Manager Change Calendar.

                                                      " + "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your\n associations are gated under. The associations only run when that Change Calendar is open. For\n more information, see Amazon Web Services Systems Manager Change\n Calendar.

                                                      " } }, "TargetLocations": { @@ -4350,7 +4406,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes the association of a Systems Manager SSM document and an instance.

                                                      " + "smithy.api#documentation": "

                                                      Describes the association of a Amazon Web Services Systems Manager document (SSM document) and an instance.

                                                      " } }, "com.amazonaws.ssm#CreateAssociationBatchResult": { @@ -4376,7 +4432,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the SSM document that contains the configuration information for the instance.\n You can specify Command or Automation documents.

                                                      \n

                                                      You can specify AWS-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For SSM documents that are shared with you from other AWS accounts, you must specify the\n complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:partition:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For AWS-predefined documents and SSM documents you created in your account, you only need to\n specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

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

                                                      The name of the SSM Command document or Automation runbook that contains the configuration\n information for the instance.

                                                      \n

                                                      You can specify Amazon Web Services-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For Systems Manager documents (SSM documents) that are shared with you from other accounts, you\n must specify the complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:partition:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need\n to specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

                                                      ", "smithy.api#required": {} } }, @@ -4389,7 +4445,7 @@ "InstanceId": { "target": "com.amazonaws.ssm#InstanceId", "traits": { - "smithy.api#documentation": "

                                                      The instance ID.

                                                      \n \n

                                                      \n InstanceId has been deprecated. To specify an instance ID for an association,\n use the Targets parameter. Requests that include the\n parameter InstanceID with SSM documents that use schema version 2.0 or later will\n fail. In addition, if you use the parameter InstanceId, you\n cannot use the parameters AssociationName, DocumentVersion,\n MaxErrors, MaxConcurrency, OutputLocation, or\n ScheduleExpression. To use these parameters, you must use the Targets\n parameter.

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

                                                      The instance ID.

                                                      \n \n

                                                      \n InstanceId has been deprecated. To specify an instance ID for an association,\n use the Targets parameter. Requests that include the\n parameter InstanceID with Systems Manager documents (SSM documents) that use schema version\n 2.0 or later will fail. In addition, if you use the parameter\n InstanceId, you can't use the parameters AssociationName,\n DocumentVersion, MaxErrors, MaxConcurrency,\n OutputLocation, or ScheduleExpression. To use these parameters, you\n must use the Targets parameter.

                                                      \n
                                                      " } }, "Parameters": { @@ -4401,7 +4457,7 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets for the association. You can target instances by using tags, AWS Resource\n Groups, all instances in an AWS account, or individual instance IDs. For more information about\n choosing targets for an association, see Using targets and rate controls with State Manager associations in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The targets for the association. You can target instances by using tags, Amazon Web Services resource\n groups, all instances in an account, or individual instance IDs. For more information about\n choosing targets for an association, see Using targets and rate controls with State Manager associations in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ScheduleExpression": { @@ -4413,7 +4469,7 @@ "OutputLocation": { "target": "com.amazonaws.ssm#InstanceAssociationOutputLocation", "traits": { - "smithy.api#documentation": "

                                                      An S3 bucket where you want to store the output details of the request.

                                                      " + "smithy.api#documentation": "

                                                      An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output\n details of the request.

                                                      " } }, "AssociationName": { @@ -4425,19 +4481,19 @@ "AutomationTargetParameterName": { "target": "com.amazonaws.ssm#AutomationTargetParameterName", "traits": { - "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation document and target resources by using rate controls.

                                                      " + "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation runbook and target resources by using rate controls. Automation is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when the sixth error\n is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached are allowed to\n complete, but some of these executions may fail as well. If you need to ensure that there won't\n be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one\n at a time.

                                                      " + "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when\n the sixth error is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached\n are allowed to complete, but some of these executions may fail as well. If you need to ensure\n that there won't be more than max-errors failed executions, set MaxConcurrency to 1\n so that executions proceed one at a time.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next association\n interval, the new instance will process its association within the limit specified for\n MaxConcurrency.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next\n association interval, the new instance will process its association within the limit specified\n for MaxConcurrency.

                                                      " } }, "ComplianceSeverity": { @@ -4449,25 +4505,25 @@ "SyncCompliance": { "target": "com.amazonaws.ssm#AssociationSyncCompliance", "traits": { - "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API action. In this case, compliance data is not\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " + "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API operation. In this case, compliance data isn't\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API operation.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " } }, "ApplyOnlyAtCronInterval": { "target": "com.amazonaws.ssm#ApplyOnlyAtCronInterval", "traits": { - "smithy.api#documentation": "

                                                      By default, when you create a new association, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter is not supported for rate\n expressions.

                                                      " + "smithy.api#documentation": "

                                                      By default, when you create a new association, the system runs it immediately after it is\n created and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you create it. This parameter isn't supported for rate\n expressions.

                                                      " } }, "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type\n documents you want to gate your associations under. The associations only run when that Change\n Calendar is open. For more information, see AWS Systems Manager Change\n Calendar.

                                                      " + "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to\n gate your associations under. The associations only run when that change calendar is open. For\n more information, see Amazon Web Services Systems Manager Change\n Calendar.

                                                      " } }, "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      A location is a combination of AWS Regions and AWS accounts where you want to run the\n association. Use this action to create an association in multiple Regions and multiple\n accounts.

                                                      " + "smithy.api#documentation": "

                                                      A location is a combination of Regions and accounts where you want to run the\n association. Use this action to create an association in multiple Regions and multiple\n accounts.

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

                                                      Creates a Systems Manager (SSM) document. An SSM document defines the actions that Systems Manager performs on\n your managed instances. For more information about SSM documents, including information about\n supported schemas, features, and syntax, see AWS Systems Manager Documents in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs\n on your managed instances. For more information about SSM documents, including information about\n supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#CreateDocumentRequest": { @@ -4521,39 +4577,39 @@ "Content": { "target": "com.amazonaws.ssm#DocumentContent", "traits": { - "smithy.api#documentation": "

                                                      The content for the new SSM document in JSON or YAML format. We recommend storing the\n contents for your new document in an external JSON or YAML file and referencing the file in a\n command.

                                                      \n

                                                      For examples, see the following topics in the AWS Systems Manager User Guide.

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

                                                      The content for the new SSM document in JSON or YAML format. We recommend storing the\n contents for your new document in an external JSON or YAML file and referencing the file in a\n command.

                                                      \n

                                                      For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

                                                      \n ", "smithy.api#required": {} } }, "Requires": { "target": "com.amazonaws.ssm#DocumentRequiresList", "traits": { - "smithy.api#documentation": "

                                                      A list of SSM documents required by a document. This parameter is used exclusively by AWS\n AppConfig. When a user creates an AppConfig configuration in an SSM document, the user must also\n specify a required document for validation purposes. In this case, an\n ApplicationConfiguration document requires an\n ApplicationConfigurationSchema document for validation purposes. For more\n information, see AWS AppConfig in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of SSM documents required by a document. This parameter is used exclusively by\n AppConfig. When a user creates an AppConfig configuration in an SSM document, the user must also\n specify a required document for validation purposes. In this case, an\n ApplicationConfiguration document requires an\n ApplicationConfigurationSchema document for validation purposes. For more\n information, see What is AppConfig? in the\n AppConfig User Guide.

                                                      " } }, "Attachments": { "target": "com.amazonaws.ssm#AttachmentsSourceList", "traits": { - "smithy.api#documentation": "

                                                      A list of key and value pairs that describe attachments to a version of a document.

                                                      " + "smithy.api#documentation": "

                                                      A list of key-value pairs that describe attachments to a version of a document.

                                                      " } }, "Name": { "target": "com.amazonaws.ssm#DocumentName", "traits": { - "smithy.api#documentation": "

                                                      A name for the Systems Manager document.

                                                      \n \n

                                                      You can't use the following strings as document name prefixes. These are reserved by AWS\n for use as document name prefixes:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n aws-\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n amazon\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n amzn\n

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

                                                      A name for the SSM document.

                                                      \n \n

                                                      You can't use the following strings as document name prefixes. These are reserved by Amazon Web Services\n for use as document name prefixes:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n aws-\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n amazon\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n amzn\n

                                                        \n
                                                      • \n
                                                      \n
                                                      ", "smithy.api#required": {} } }, "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      An optional field where you can specify a friendly name for the Systems Manager document. This value\n can differ for each version of the document. You can update this value at a later time using the\n UpdateDocument action.

                                                      " + "smithy.api#documentation": "

                                                      An optional field where you can specify a friendly name for the SSM document. This value can\n differ for each version of the document. You can update this value at a later time using the\n UpdateDocument operation.

                                                      " } }, "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact you are creating with the document.\n For example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact you are creating with the document.\n For example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.

                                                      " } }, "DocumentType": { @@ -4571,13 +4627,13 @@ "TargetType": { "target": "com.amazonaws.ssm#TargetType", "traits": { - "smithy.api#documentation": "

                                                      Specify a target type to define the kinds of resources the document can run on. For example,\n to run a document on EC2 instances, specify the following value: /AWS::EC2::Instance. If you\n specify a value of '/' the document can run on all types of resources. If you don't specify a\n value, the document can't run on any resources. For a list of valid resource types, see AWS resource and property types\n reference in the AWS CloudFormation User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Specify a target type to define the kinds of resources the document can run on. For example,\n to run a document on EC2 instances, specify the following value:\n /AWS::EC2::Instance. If you specify a value of '/' the document can run on all types\n of resources. If you don't specify a value, the document can't run on any resources. For a list\n of valid resource types, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

                                                      " } }, "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an\n SSM document to identify the types of targets or the environment where it will run. In this case,\n you could specify the following key name/value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing SSM document, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an\n SSM document to identify the types of targets or the environment where it will run. In this case,\n you could specify the following key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing SSM document, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } } } @@ -4588,7 +4644,7 @@ "DocumentDescription": { "target": "com.amazonaws.ssm#DocumentDescription", "traits": { - "smithy.api#documentation": "

                                                      Information about the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Information about the SSM document.

                                                      " } } } @@ -4635,13 +4691,13 @@ "StartDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become active. StartDate allows you to delay activation of the maintenance window until the\n specified future date.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become active. StartDate allows you to delay activation of the maintenance window\n until the specified future date.

                                                      " } }, "EndDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become inactive. EndDate allows you to set a date and time in the future when the maintenance\n window will no longer run.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become inactive. EndDate allows you to set a date and time in the future when the\n maintenance window will no longer run.

                                                      " } }, "Schedule": { @@ -4661,7 +4717,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of days to wait after the date and time specified by a CRON expression before\n running the maintenance window.

                                                      \n

                                                      For example, the following cron expression schedules a maintenance window to run on the\n third Tuesday of every month at 11:30 PM.

                                                      \n

                                                      \n cron(30 23 ? * TUE#3 *)\n

                                                      \n

                                                      If the schedule offset is 2, the maintenance window won't run until two days\n later.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to wait after the date and time specified by a cron expression before\n running the maintenance window.

                                                      \n

                                                      For example, the following cron expression schedules a maintenance window to run on the\n third Tuesday of every month at 11:30 PM.

                                                      \n

                                                      \n cron(30 23 ? * TUE#3 *)\n

                                                      \n

                                                      If the schedule offset is 2, the maintenance window won't run until two days\n later.

                                                      " } }, "Duration": { @@ -4674,14 +4730,14 @@ "Cutoff": { "target": "com.amazonaws.ssm#MaintenanceWindowCutoff", "traits": { - "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Systems Manager stops scheduling new\n tasks for execution.

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

                                                      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling\n new tasks for execution.

                                                      ", "smithy.api#required": {} } }, "AllowUnassociatedTargets": { "target": "com.amazonaws.ssm#MaintenanceWindowAllowUnassociatedTargets", "traits": { - "smithy.api#documentation": "

                                                      Enables a maintenance window task to run on managed instances, even if you have not\n registered those instances as targets. If enabled, then you must specify the unregistered\n instances (by instance ID) when you register a task with the maintenance window.

                                                      \n

                                                      If you don't enable this option, then you must specify previously-registered targets when\n you register a task with the maintenance window.

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

                                                      Enables a maintenance window task to run on managed instances, even if you haven't\n registered those instances as targets. If enabled, then you must specify the unregistered\n instances (by instance ID) when you register a task with the maintenance window.

                                                      \n

                                                      If you don't enable this option, then you must specify previously-registered targets when\n you register a task with the maintenance window.

                                                      ", "smithy.api#required": {} } }, @@ -4695,7 +4751,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n maintenance window to identify the type of tasks it will run, the types of targets, and the\n environment it will run in. In this case, you could specify the following key name/value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=TaskType,Value=AgentUpdate\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing maintenance window, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n maintenance window to identify the type of tasks it will run, the types of targets, and the\n environment it will run in. In this case, you could specify the following key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=TaskType,Value=AgentUpdate\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing maintenance window, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } } } @@ -4734,7 +4790,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a new OpsItem. You must have permission in AWS Identity and Access Management (IAM)\n to create a new OpsItem. For more information, see Getting started with\n OpsCenter in the AWS Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate\n operational issues impacting the performance and health of their AWS resources. For more\n information, see AWS Systems Manager OpsCenter in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Getting started with\n OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and\n remediate operational issues impacting the performance and health of their Amazon Web Services resources. For\n more information, see Amazon Web Services Systems Manager OpsCenter in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#CreateOpsItemRequest": { @@ -4756,7 +4812,7 @@ "OperationalData": { "target": "com.amazonaws.ssm#OpsItemOperationalData", "traits": { - "smithy.api#documentation": "

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following: amazon, aws,\n amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API action) can view and search on the\n specified data. Operational data that is not searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API action).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see\n Creating OpsItems manually in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following:\n amazon, aws, amzn, ssm,\n /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API operation) can view and search on the\n specified data. Operational data that isn't searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API operation).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see\n Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "Notifications": { @@ -4780,7 +4836,7 @@ "Source": { "target": "com.amazonaws.ssm#OpsItemSource", "traits": { - "smithy.api#documentation": "

                                                      The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

                                                      \n \n

                                                      The source name can't contain the following strings: aws, amazon, and amzn.

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

                                                      The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

                                                      \n \n

                                                      The source name can't contain the following strings: aws, amazon,\n and amzn.

                                                      \n
                                                      ", "smithy.api#required": {} } }, @@ -4794,7 +4850,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. You can restrict access to OpsItems by\n using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.

                                                      \n

                                                      Tags use a key-value pair. For example:

                                                      \n

                                                      \n Key=Department,Value=Finance\n

                                                      \n \n

                                                      To add tags to an existing OpsItem, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. You can restrict access to OpsItems by\n using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Tags use a key-value pair. For example:

                                                      \n

                                                      \n Key=Department,Value=Finance\n

                                                      \n \n

                                                      To add tags to a new OpsItem, a user must have IAM permissions for both the\n ssm:CreateOpsItems operation and the ssm:AddTagsToResource operation.\n To add tags to an existing OpsItem, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } }, "Category": { @@ -4872,7 +4928,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      If you create a new application in Application Manager, Systems Manager calls this API action to specify\n information about the new application, including the application type.

                                                      " + "smithy.api#documentation": "

                                                      If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify\n information about the new application, including the application type.

                                                      " } }, "com.amazonaws.ssm#CreateOpsMetadataRequest": { @@ -4894,7 +4950,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by\n purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to\n identify an environment or target AWS Region. In this case, you could specify the following\n key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Region,Value=us-east-2\n

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

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by\n purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to\n identify an environment or target Region. In this case, you could specify the following\n key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Region,Value=us-east-2\n

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

                                                      Creates a patch baseline.

                                                      \n \n

                                                      For information about valid key and value pairs in PatchFilters for each\n supported operating system type, see PatchFilter.

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

                                                      Creates a patch baseline.

                                                      \n \n

                                                      For information about valid key-value pairs in PatchFilters for each supported\n operating system type, see PatchFilter.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#CreatePatchBaselineRequest": { @@ -4939,7 +4995,7 @@ "OperatingSystem": { "target": "com.amazonaws.ssm#OperatingSystem", "traits": { - "smithy.api#documentation": "

                                                      Defines the operating system the patch baseline applies to. The Default value is\n WINDOWS.

                                                      " + "smithy.api#documentation": "

                                                      Defines the operating system the patch baseline applies to. The default value is\n WINDOWS.

                                                      " } }, "Name": { @@ -4964,32 +5020,32 @@ "ApprovedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ApprovedPatchesComplianceLevel": { "target": "com.amazonaws.ssm#PatchComplianceLevel", "traits": { - "smithy.api#documentation": "

                                                      Defines the compliance level for approved patches. When an approved patch is reported as\n missing, this value describes the severity of the compliance violation. The default value is\n UNSPECIFIED.

                                                      " + "smithy.api#documentation": "

                                                      Defines the compliance level for approved patches. When an approved patch is reported as\n missing, this value describes the severity of the compliance violation. The default value is\n UNSPECIFIED.

                                                      " } }, "ApprovedPatchesEnableNonSecurity": { "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is false. Applies to Linux instances\n only.

                                                      " } }, "RejectedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "RejectedPatchesAction": { "target": "com.amazonaws.ssm#PatchAction", "traits": { - "smithy.api#documentation": "

                                                      The action for Patch Manager to take on patches included in the RejectedPackages\n list.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ALLOW_AS_DEPENDENCY: A package in the Rejected patches\n list is installed only if it is a dependency of another package. It is considered compliant\n with the patch baseline, and its status is reported as InstalledOther.\n This is the default action if no option is specified.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BLOCK: Packages in the RejectedPatches list, and packages\n that include them as dependencies, are not installed under any circumstances. If a package was\n installed before it was added to the Rejected patches list, it is considered non-compliant with\n the patch baseline, and its status is reported as\n InstalledRejected.

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

                                                      The action for Patch Manager to take on patches included in the\n RejectedPackages list.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n ALLOW_AS_DEPENDENCY\n : A package in the\n Rejected patches list is installed only if it is a dependency of another package.\n It is considered compliant with the patch baseline, and its status is reported as\n InstalledOther. This is the default action if no option is specified.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n BLOCK\n : Packages in the\n RejectedPatches list, and packages that include them as dependencies, aren't\n installed under any circumstances. If a package was installed before it was added to the\n Rejected patches list, it is considered non-compliant with the patch baseline, and its status\n is reported as InstalledRejected.

                                                        \n
                                                      • \n
                                                      " } }, "Description": { @@ -5014,7 +5070,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n patch baseline to identify the severity level of patches it specifies and the operating system\n family it applies to. In this case, you could specify the following key name/value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=PatchSeverity,Value=Critical\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing patch baseline, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n patch baseline to identify the severity level of patches it specifies and the operating system\n family it applies to. In this case, you could specify the following key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=PatchSeverity,Value=Critical\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing patch baseline, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } } } @@ -5053,7 +5109,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      A resource data sync helps you view data from multiple sources in a single location. Systems\n Manager offers two types of resource data sync: SyncToDestination and\n SyncFromSource.

                                                      \n

                                                      You can configure Systems Manager Inventory to use the SyncToDestination type to\n synchronize Inventory data from multiple AWS Regions to a single S3 bucket. For more information,\n see Configuring Resource Data\n Sync for Inventory in the AWS Systems Manager User Guide.

                                                      \n

                                                      You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize\n operational work items (OpsItems) and operational data (OpsData) from multiple AWS Regions to a\n single S3 bucket. This type can synchronize OpsItems and OpsData from multiple AWS accounts and\n Regions or EntireOrganization by using AWS Organizations. For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the\n AWS Systems Manager User Guide.

                                                      \n

                                                      A resource data sync is an asynchronous operation that returns immediately. After a\n successful initial sync is completed, the system continuously syncs data. To check the status of\n a sync, use the ListResourceDataSync.

                                                      \n \n

                                                      By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption\n in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3\n bucket by creating a restrictive bucket policy.

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

                                                      A resource data sync helps you view data from multiple sources in a single location.\n Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination and\n SyncFromSource.

                                                      \n

                                                      You can configure Systems Manager Inventory to use the SyncToDestination type to\n synchronize Inventory data from multiple Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Configuring resource data\n sync for Inventory in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize\n operational work items (OpsItems) and operational data (OpsData) from multiple Regions to a\n single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple\n accounts and Regions or EntireOrganization by using Organizations. For more\n information, see Setting up Systems Manager\n Explorer to display data from multiple accounts and Regions in the\n Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      A resource data sync is an asynchronous operation that returns immediately. After a\n successful initial sync is completed, the system continuously syncs data. To check the status of\n a sync, use the ListResourceDataSync.

                                                      \n \n

                                                      By default, data isn't encrypted in Amazon S3. We strongly recommend that you\n enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you\n secure access to the Amazon S3 bucket by creating a restrictive bucket policy.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#CreateResourceDataSyncRequest": { @@ -5075,7 +5131,7 @@ "SyncType": { "target": "com.amazonaws.ssm#ResourceDataSyncType", "traits": { - "smithy.api#documentation": "

                                                      Specify SyncToDestination to create a resource data sync that synchronizes data\n to an S3 bucket for Inventory. If you specify SyncToDestination, you must provide a\n value for S3Destination. Specify SyncFromSource to synchronize data\n from a single account and multiple Regions, or multiple AWS accounts and Regions, as listed in\n AWS Organizations for Explorer. If you specify SyncFromSource, you must provide a value for\n SyncSource. The default value is SyncToDestination.

                                                      " + "smithy.api#documentation": "

                                                      Specify SyncToDestination to create a resource data sync that synchronizes data\n to an S3 bucket for Inventory. If you specify SyncToDestination, you must provide a\n value for S3Destination. Specify SyncFromSource to synchronize data\n from a single account and multiple Regions, or multiple accounts and Regions, as\n listed in Organizations for Explorer. If you specify SyncFromSource, you must provide a\n value for SyncSource. The default value is SyncToDestination.

                                                      " } }, "SyncSource": { @@ -5101,6 +5157,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "CustomSchemaCountLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You have exceeded the limit for custom schemas. Delete one or more custom schemas and try\n again.

                                                      ", "smithy.api#error": "client" } @@ -5144,7 +5204,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes an activation. You are not required to delete an activation. If you delete an\n activation, you can no longer use it to register additional managed instances. Deleting an\n activation does not de-register managed instances. You must manually de-register managed\n instances.

                                                      " + "smithy.api#documentation": "

                                                      Deletes an activation. You aren't required to delete an activation. If you delete an\n activation, you can no longer use it to register additional managed instances. Deleting an\n activation doesn't de-register managed instances. You must manually de-register managed\n instances.

                                                      " } }, "com.amazonaws.ssm#DeleteActivationRequest": { @@ -5189,7 +5249,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Disassociates the specified Systems Manager document from the specified instance.

                                                      \n

                                                      When you disassociate a document from an instance, it does not change the configuration of\n the instance. To change the configuration state of an instance after you disassociate a document,\n you must create a new document with the desired configuration and associate it with the\n instance.

                                                      " + "smithy.api#documentation": "

                                                      Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified\n instance.

                                                      \n

                                                      When you disassociate a document from an instance, it doesn't change the configuration of\n the instance. To change the configuration state of an instance after you disassociate a document,\n you must create a new document with the desired configuration and associate it with the\n instance.

                                                      " } }, "com.amazonaws.ssm#DeleteAssociationRequest": { @@ -5198,7 +5258,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "InstanceId": { @@ -5242,7 +5302,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the Systems Manager document and all instance associations to the document.

                                                      \n

                                                      Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

                                                      " + "smithy.api#documentation": "

                                                      Deletes the Amazon Web Services Systems Manager document (SSM document) and all instance associations to the\n document.

                                                      \n

                                                      Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

                                                      " } }, "com.amazonaws.ssm#DeleteDocumentRequest": { @@ -5270,7 +5330,7 @@ "Force": { "target": "com.amazonaws.ssm#Boolean", "traits": { - "smithy.api#documentation": "

                                                      Some SSM document types require that you specify a Force flag before you can\n delete the document. For example, you must specify a Force flag to delete a document\n of type ApplicationConfigurationSchema. You can restrict access to the\n Force flag in an AWS Identity and Access Management (IAM) policy.

                                                      " + "smithy.api#documentation": "

                                                      Some SSM document types require that you specify a Force flag before you can\n delete the document. For example, you must specify a Force flag to delete a document\n of type ApplicationConfigurationSchema. You can restrict access to the\n Force flag in an Identity and Access Management (IAM) policy.

                                                      " } } } @@ -5321,7 +5381,7 @@ "SchemaDeleteOption": { "target": "com.amazonaws.ssm#InventorySchemaDeleteOption", "traits": { - "smithy.api#documentation": "

                                                      Use the SchemaDeleteOption to delete a custom inventory type (schema). If you\n don't choose this option, the system only deletes existing inventory data associated with the\n custom inventory type. Choose one of the following options:

                                                      \n

                                                      DisableSchema: If you choose this option, the system ignores all inventory data for the\n specified version, and any earlier versions. To enable this schema again, you must call the\n PutInventory action for a version greater than the disabled version.

                                                      \n

                                                      DeleteSchema: This option deletes the specified custom type from the Inventory service. You\n can recreate the schema later, if you want.

                                                      " + "smithy.api#documentation": "

                                                      Use the SchemaDeleteOption to delete a custom inventory type (schema). If you\n don't choose this option, the system only deletes existing inventory data associated with the\n custom inventory type. Choose one of the following options:

                                                      \n

                                                      DisableSchema: If you choose this option, the system ignores all inventory data for the\n specified version, and any earlier versions. To enable this schema again, you must call the\n PutInventory operation for a version greater than the disabled version.

                                                      \n

                                                      DeleteSchema: This option deletes the specified custom type from the Inventory service. You\n can recreate the schema later, if you want.

                                                      " } }, "DryRun": { @@ -5345,7 +5405,7 @@ "DeletionId": { "target": "com.amazonaws.ssm#UUID", "traits": { - "smithy.api#documentation": "

                                                      Every DeleteInventory action is assigned a unique ID. This option returns a\n unique ID. You can use this ID to query the status of a delete operation. This option is useful\n for ensuring that a delete operation has completed before you begin other actions.

                                                      " + "smithy.api#documentation": "

                                                      Every DeleteInventory operation is assigned a unique ID. This option returns a\n unique ID. You can use this ID to query the status of a delete operation. This option is useful\n for ensuring that a delete operation has completed before you begin other operations.

                                                      " } }, "TypeName": { @@ -5357,7 +5417,7 @@ "DeletionSummary": { "target": "com.amazonaws.ssm#InventoryDeletionSummary", "traits": { - "smithy.api#documentation": "

                                                      A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the Amazon Web Services Systems Manager User Guide.

                                                      " } } } @@ -5518,7 +5578,7 @@ "InvalidParameters": { "target": "com.amazonaws.ssm#ParameterNameList", "traits": { - "smithy.api#documentation": "

                                                      The names of parameters that weren't deleted because the parameters are not valid.

                                                      " + "smithy.api#documentation": "

                                                      The names of parameters that weren't deleted because the parameters aren't valid.

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

                                                      Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to\n data on managed instances are no longer synced to or from the target. Deleting a sync\n configuration does not delete data.

                                                      " + "smithy.api#documentation": "

                                                      Deletes a resource data sync configuration. After the configuration is deleted, changes to\n data on managed instances are no longer synced to or from the target. Deleting a sync\n configuration doesn't delete data.

                                                      " } }, "com.amazonaws.ssm#DeleteResourceDataSyncRequest": { @@ -5750,7 +5810,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The system checks if the target is being referenced by a task. If the target is being\n referenced, the system returns an error and does not deregister the target from the maintenance\n window.

                                                      " + "smithy.api#documentation": "

                                                      The system checks if the target is being referenced by a task. If the target is being\n referenced, the system returns an error and doesn't deregister the target from the maintenance\n window.

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

                                                      Describes details about the activation, such as the date and time the activation was\n created, its expiration date, the IAM role assigned to the instances in the activation, and the\n number of instances registered by using this activation.

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

                                                      Describes details about the activation, such as the date and time the activation was\n created, its expiration date, the Identity and Access Management (IAM) role assigned to\n the instances in the activation, and the number of instances registered by using this\n activation.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5932,7 +5992,7 @@ "ActivationList": { "target": "com.amazonaws.ssm#ActivationList", "traits": { - "smithy.api#documentation": "

                                                      A list of activations for your AWS account.

                                                      " + "smithy.api#documentation": "

                                                      A list of activations for your account.

                                                      " } }, "NextToken": { @@ -5969,7 +6029,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Describes the association for the specified target or instance. If you created the\n association by using the Targets parameter, then you must retrieve the association\n by using the association ID. If you created the association by specifying an instance ID and a\n Systems Manager document, then you retrieve the association by specifying the document name and the\n instance ID.

                                                      " + "smithy.api#documentation": "

                                                      Describes the association for the specified target or instance. If you created the\n association by using the Targets parameter, then you must retrieve the association\n by using the association ID. If you created the association by specifying an instance ID and an\n Amazon Web Services Systems Manager document (SSM document), then you retrieve the association by specifying the document\n name and the instance ID.

                                                      " } }, "com.amazonaws.ssm#DescribeAssociationExecutionTargets": { @@ -5995,7 +6055,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Use this API action to view information about a specific execution of a specific\n association.

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

                                                      Views information about a specific execution of a specific association.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -6079,7 +6139,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Use this API action to view all executions for a specific association ID.

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

                                                      Views all executions for a specific association ID.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -6142,7 +6202,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "InstanceId": { @@ -6368,7 +6428,7 @@ "Filters": { "target": "com.amazonaws.ssm#PatchOrchestratorFilterList", "traits": { - "smithy.api#documentation": "

                                                      Filters used to scope down the returned patches.

                                                      " + "smithy.api#documentation": "

                                                      Each element in the array is a structure containing a key-value pair.

                                                      \n

                                                      \n Windows Server\n

                                                      \n

                                                      Supported keys for Windows Server instance patches include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n PATCH_SET\n \n

                                                        \n

                                                        Sample values: OS | APPLICATION\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n PRODUCT\n \n

                                                        \n

                                                        Sample values: WindowsServer2012 | Office 2010 |\n MicrosoftDefenderAntivirus\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n PRODUCT_FAMILY\n \n

                                                        \n

                                                        Sample values: Windows | Office\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n MSRC_SEVERITY\n \n

                                                        \n

                                                        Sample values: ServicePacks | Important | Moderate\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n CLASSIFICATION\n \n

                                                        \n

                                                        Sample values: ServicePacks | SecurityUpdates |\n DefinitionUpdates\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n PATCH_ID\n \n

                                                        \n

                                                        Sample values: KB123456 | KB4516046\n

                                                        \n
                                                      • \n
                                                      \n\n

                                                      \n Linux\n

                                                      \n \n

                                                      When specifying filters for Linux patches, you must specify a key-pair for\n PRODUCT. For example, using the Command Line Interface (CLI), the\n following command fails:

                                                      \n

                                                      \n aws ssm describe-available-patches --filters\n Key=CVE_ID,Values=CVE-2018-3615\n

                                                      \n

                                                      However, the following command succeeds:

                                                      \n

                                                      \n aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03\n Key=CVE_ID,Values=CVE-2018-3615\n

                                                      \n
                                                      \n

                                                      Supported keys for Linux instance patches include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n PRODUCT\n \n

                                                        \n

                                                        Sample values: AmazonLinux2018.03 | AmazonLinux2.0\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n NAME\n \n

                                                        \n

                                                        Sample values: kernel-headers | samba-python | php\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n SEVERITY\n \n

                                                        \n

                                                        Sample values: Critical | Important | Medium |\n Low\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n EPOCH\n \n

                                                        \n

                                                        Sample values: 0 | 1\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n VERSION\n \n

                                                        \n

                                                        Sample values: 78.6.1 | 4.10.16\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n RELEASE\n \n

                                                        \n

                                                        Sample values: 9.56.amzn1 | 1.amzn2\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n ARCH\n \n

                                                        \n

                                                        Sample values: i686 | x86_64\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n REPOSITORY\n \n

                                                        \n

                                                        Sample values: Core | Updates\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n ADVISORY_ID\n \n

                                                        \n

                                                        Sample values: ALAS-2018-1058 | ALAS2-2021-1594\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n CVE_ID\n \n

                                                        \n

                                                        Sample values: CVE-2018-3615 | CVE-2020-1472\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n BUGZILLA_ID\n \n

                                                        \n

                                                        Sample values: 1463241\n

                                                        \n
                                                      • \n
                                                      " } }, "MaxResults": { @@ -6423,7 +6483,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Describes the specified Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Describes the specified Amazon Web Services Systems Manager document (SSM document).

                                                      " } }, "com.amazonaws.ssm#DescribeDocumentPermission": { @@ -6452,7 +6512,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Describes the permissions for a Systems Manager document. If you created the document, you are the\n owner. If a document is shared, it can either be shared privately (by specifying a user's AWS\n account ID) or publicly (All).

                                                      " + "smithy.api#documentation": "

                                                      Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the\n document, you are the owner. If a document is shared, it can either be shared privately (by\n specifying a user's account ID) or publicly (All).

                                                      " } }, "com.amazonaws.ssm#DescribeDocumentPermissionRequest": { @@ -6493,13 +6553,13 @@ "AccountIds": { "target": "com.amazonaws.ssm#AccountIdList", "traits": { - "smithy.api#documentation": "

                                                      The account IDs that have permission to use this document. The ID can be either an AWS\n account or All.

                                                      " + "smithy.api#documentation": "

                                                      The account IDs that have permission to use this document. The ID can be either an\n account or All.

                                                      " } }, "AccountSharingInfoList": { "target": "com.amazonaws.ssm#AccountSharingInfoList", "traits": { - "smithy.api#documentation": "

                                                      A list of AWS accounts where the current document is shared and the version shared with each\n account.

                                                      " + "smithy.api#documentation": "

                                                      A list of accounts where the current document is shared and the version shared with\n each account.

                                                      " } }, "NextToken": { @@ -6516,7 +6576,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

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

                                                      The name of the SSM document.

                                                      ", "smithy.api#required": {} } }, @@ -6529,7 +6589,7 @@ "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.

                                                      " } } } @@ -6540,7 +6600,7 @@ "Document": { "target": "com.amazonaws.ssm#DocumentDescription", "traits": { - "smithy.api#documentation": "

                                                      Information about the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Information about the SSM document.

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

                                                      Retrieves the current effective patches (the patch and the approval state) for the specified\n patch baseline. Note that this API applies only to Windows patch baselines.

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

                                                      Retrieves the current effective patches (the patch and the approval state) for the specified\n patch baseline. Applies to patch baselines for Windows only.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -6787,7 +6847,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Describes one or more of your instances, including information about the operating system\n platform, the version of SSM Agent installed on the instance, instance status, and so on.

                                                      \n

                                                      If you specify one or more instance IDs, it returns information for those instances. If you\n do not specify instance IDs, it returns information for all your instances. If you specify an\n instance ID that is not valid or an instance that you do not own, you receive an error.

                                                      \n \n

                                                      The IamRole field for this API action is the Amazon Identity and Access Management (IAM)\n role assigned to on-premises instances. This call does not return the IAM role for EC2\n instances.

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

                                                      Describes one or more of your instances, including information about the operating system\n platform, the version of SSM Agent installed on the instance, instance status, and so on.

                                                      \n

                                                      If you specify one or more instance IDs, it returns information for those instances. If you\n don't specify instance IDs, it returns information for all your instances. If you specify an\n instance ID that isn't valid or an instance that you don't own, you receive an error.

                                                      \n \n

                                                      The IamRole field for this API operation is the Identity and Access Management\n (IAM) role assigned to on-premises instances. This call doesn't return the\n IAM role for EC2 instances.

                                                      \n
                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -6911,7 +6971,7 @@ "Filters": { "target": "com.amazonaws.ssm#InstancePatchStateFilterList", "traits": { - "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n

                                                      Key (string between 1 and 200 characters)

                                                      \n

                                                      Values (array containing a single string)

                                                      \n

                                                      Type (string \"Equal\", \"NotEqual\", \"LessThan\", \"GreaterThan\")

                                                      " + "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n
                                                        \n
                                                      • \n

                                                        Key (string between 1 and 200 characters)

                                                        \n
                                                      • \n
                                                      • \n

                                                        Values (array containing a single string)

                                                        \n
                                                      • \n
                                                      • \n

                                                        Type (string \"Equal\", \"NotEqual\", \"LessThan\", \"GreaterThan\")

                                                        \n
                                                      • \n
                                                      " } }, "NextToken": { @@ -6952,7 +7012,7 @@ "InstanceIds": { "target": "com.amazonaws.ssm#InstanceIdList", "traits": { - "smithy.api#documentation": "

                                                      The ID of the instance whose patch state information should be retrieved.

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

                                                      The ID of the instance for which patch state information should be retrieved.

                                                      ", "smithy.api#required": {} } }, @@ -7033,7 +7093,7 @@ "Filters": { "target": "com.amazonaws.ssm#PatchOrchestratorFilterList", "traits": { - "smithy.api#documentation": "

                                                      An array of structures. Each entry in the array is a structure containing a Key, Value\n combination. Valid values for Key are Classification | KBId |\n Severity | State.

                                                      " + "smithy.api#documentation": "

                                                      Each element in the array is a structure containing a key-value pair.

                                                      \n

                                                      Supported keys for DescribeInstancePatchesinclude the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n Classification\n \n

                                                        \n

                                                        Sample values: Security | SecurityUpdates\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n KBId\n \n

                                                        \n

                                                        Sample values: KB4480056 | java-1.7.0-openjdk.x86_64\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n Severity\n \n

                                                        \n

                                                        Sample values: Important | Medium | Low\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n State\n \n

                                                        \n

                                                        Sample values: Installed | InstalledOther |\n InstalledPendingReboot\n

                                                        \n
                                                      • \n
                                                      " } }, "NextToken": { @@ -7057,7 +7117,7 @@ "Patches": { "target": "com.amazonaws.ssm#PatchComplianceDataList", "traits": { - "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n

                                                      Title (string)

                                                      \n

                                                      KBId (string)

                                                      \n

                                                      Classification (string)

                                                      \n

                                                      Severity (string)

                                                      \n

                                                      State (string, such as \"INSTALLED\" or \"FAILED\")

                                                      \n

                                                      InstalledTime (DateTime)

                                                      \n

                                                      InstalledBy (string)

                                                      " + "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n
                                                        \n
                                                      • \n

                                                        Title (string)

                                                        \n
                                                      • \n
                                                      • \n

                                                        KBId (string)

                                                        \n
                                                      • \n
                                                      • \n

                                                        Classification (string)

                                                        \n
                                                      • \n
                                                      • \n

                                                        Severity (string)

                                                        \n
                                                      • \n
                                                      • \n

                                                        State (string, such as \"INSTALLED\" or \"FAILED\")

                                                        \n
                                                      • \n
                                                      • \n

                                                        InstalledTime (DateTime)

                                                        \n
                                                      • \n
                                                      • \n

                                                        InstalledBy (string)

                                                        \n
                                                      • \n
                                                      " } }, "NextToken": { @@ -7103,7 +7163,7 @@ "DeletionId": { "target": "com.amazonaws.ssm#UUID", "traits": { - "smithy.api#documentation": "

                                                      Specify the delete inventory ID for which you want information. This ID was returned by the\n DeleteInventory action.

                                                      " + "smithy.api#documentation": "

                                                      Specify the delete inventory ID for which you want information. This ID was returned by the\n DeleteInventory operation.

                                                      " } }, "NextToken": { @@ -7184,7 +7244,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned task invocations. The supported filter key\n is STATUS with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT,\n CANCELLING, and CANCELLED.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned task invocations. The supported filter key\n is STATUS with the corresponding values PENDING,\n IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT,\n CANCELLING, and CANCELLED.

                                                      " } }, "MaxResults": { @@ -7258,7 +7318,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned tasks. The supported filter key is STATUS\n with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, and\n CANCELLED.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned tasks. The supported filter key is\n STATUS with the corresponding values PENDING,\n IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT,\n CANCELLING, and CANCELLED.

                                                      " } }, "MaxResults": { @@ -7329,7 +7389,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n

                                                      Key (string, between 1 and 128 characters)

                                                      \n

                                                      Values (array of strings, each string is between 1 and 256 characters)

                                                      \n

                                                      The supported Keys are ExecutedBefore and ExecutedAfter with the value being a date/time\n string such as 2016-11-04T05:00:00Z.

                                                      " + "smithy.api#documentation": "

                                                      Each entry in the array is a structure containing:

                                                      \n
                                                        \n
                                                      • \n

                                                        Key. A string between 1 and 128 characters. Supported keys include\n ExecutedBefore and ExecutedAfter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Values. An array of strings, each between 1 and 256 characters. Supported values are\n date/time strings in a valid ISO 8601 date/time format, such as\n 2021-11-04T05:00:00Z.

                                                        \n
                                                      • \n
                                                      " } }, "MaxResults": { @@ -7402,13 +7462,13 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The instance ID or key/value pair to retrieve information about.

                                                      " + "smithy.api#documentation": "

                                                      The instance ID or key-value pair to retrieve information about.

                                                      " } }, "ResourceType": { "target": "com.amazonaws.ssm#MaintenanceWindowResourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of resource you want to retrieve information about. For example, \"INSTANCE\".

                                                      " + "smithy.api#documentation": "

                                                      The type of resource you want to retrieve information about. For example,\n INSTANCE.

                                                      " } }, "Filters": { @@ -7488,7 +7548,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters that can be used to narrow down the scope of the returned window targets.\n The supported filter keys are Type, WindowTargetId and OwnerInformation.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters that can be used to narrow down the scope of the returned window targets.\n The supported filter keys are Type, WindowTargetId, and\n OwnerInformation.

                                                      " } }, "MaxResults": { @@ -7540,7 +7600,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the tasks in a maintenance window.

                                                      \n \n

                                                      For maintenance window tasks without a specified target, you cannot supply values for\n --max-errors and --max-concurrency. Instead, the system inserts a\n placeholder value of 1, which may be reported in the response to this command.\n These values do not affect the running of your task and can be ignored.

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

                                                      Lists the tasks in a maintenance window.

                                                      \n \n

                                                      For maintenance window tasks without a specified target, you can't supply values for\n --max-errors and --max-concurrency. Instead, the system inserts a\n placeholder value of 1, which may be reported in the response to this command.\n These values don't affect the running of your task and can be ignored.

                                                      \n
                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7562,7 +7622,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters used to narrow down the scope of the returned tasks. The supported filter\n keys are WindowTaskId, TaskArn, Priority, and TaskType.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters used to narrow down the scope of the returned tasks. The supported filter\n keys are WindowTaskId, TaskArn, Priority, and\n TaskType.

                                                      " } }, "MaxResults": { @@ -7611,7 +7671,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Retrieves the maintenance windows in an AWS account.

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

                                                      Retrieves the maintenance windows in an account.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7649,14 +7709,14 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The instance ID or key/value pair to retrieve information about.

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

                                                      The instance ID or key-value pair to retrieve information about.

                                                      ", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.ssm#MaintenanceWindowResourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of resource you want to retrieve information about. For example, \"INSTANCE\".

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

                                                      The type of resource you want to retrieve information about. For example,\n INSTANCE.

                                                      ", "smithy.api#required": {} } }, @@ -7698,7 +7758,7 @@ "Filters": { "target": "com.amazonaws.ssm#MaintenanceWindowFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters used to narrow down the scope of the returned maintenance windows.\n Supported filter keys are Name and Enabled.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters used to narrow down the scope of the returned maintenance windows.\n Supported filter keys are Name and Enabled. For example,\n Name=MyMaintenanceWindow and Enabled=True.

                                                      " } }, "MaxResults": { @@ -7747,7 +7807,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Query a set of OpsItems. You must have permission in AWS Identity and Access Management\n (IAM) to query a list of OpsItems. For more information, see Getting started with\n OpsCenter in the AWS Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate\n operational issues impacting the performance and health of their AWS resources. For more\n information, see AWS Systems Manager OpsCenter in the\n AWS Systems Manager User Guide.

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

                                                      Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with\n OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and\n remediate operational issues impacting the performance and health of their Amazon Web Services resources. For\n more information, see OpsCenter in the\n Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7762,7 +7822,7 @@ "OpsItemFilters": { "target": "com.amazonaws.ssm#OpsItemFilters", "traits": { - "smithy.api#documentation": "

                                                      One or more filters to limit the response.

                                                      \n
                                                        \n
                                                      • \n

                                                        Key: CreatedTime

                                                        \n

                                                        Operations: GreaterThan, LessThan

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: LastModifiedBy

                                                        \n

                                                        Operations: Contains, Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: LastModifiedTime

                                                        \n

                                                        Operations: GreaterThan, LessThan

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Priority

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Source

                                                        \n

                                                        Operations: Contains, Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Status

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Title

                                                        \n

                                                        Operations: Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalData*

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalDataKey

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalDataValue

                                                        \n

                                                        Operations: Equals, Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OpsItemId

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: ResourceId

                                                        \n

                                                        Operations: Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: AutomationId

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      \n

                                                      *If you filter the response by using the OperationalData operator, specify a key-value pair\n by using the following JSON format: {\"key\":\"key_name\",\"value\":\"a_value\"}

                                                      " + "smithy.api#documentation": "

                                                      One or more filters to limit the response.

                                                      \n
                                                        \n
                                                      • \n

                                                        Key: CreatedTime

                                                        \n

                                                        Operations: GreaterThan, LessThan

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: LastModifiedBy

                                                        \n

                                                        Operations: Contains, Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: LastModifiedTime

                                                        \n

                                                        Operations: GreaterThan, LessThan

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Priority

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Source

                                                        \n

                                                        Operations: Contains, Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Status

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: Title*

                                                        \n

                                                        Operations: Equals,Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalData**

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalDataKey

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OperationalDataValue

                                                        \n

                                                        Operations: Equals, Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: OpsItemId

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: ResourceId

                                                        \n

                                                        Operations: Contains

                                                        \n
                                                      • \n
                                                      • \n

                                                        Key: AutomationId

                                                        \n

                                                        Operations: Equals

                                                        \n
                                                      • \n
                                                      \n

                                                      *The Equals operator for Title matches the first 100 characters. If you specify more than\n 100 characters, they system returns an error that the filter value exceeds the length\n limit.

                                                      \n

                                                      **If you filter the response by using the OperationalData operator, specify a key-value pair\n by using the following JSON format: {\"key\":\"key_name\",\"value\":\"a_value\"}

                                                      " } }, "MaxResults": { @@ -7822,7 +7882,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Get information about a parameter.

                                                      \n \n

                                                      Request results are returned on a best-effort basis. If you specify MaxResults\n in the request, the response includes information up to the limit specified. The number of items\n returned, however, can be between zero and the value of MaxResults. If the service\n reaches an internal limit while processing the results, it stops the operation and returns the\n matching values up to that point and a NextToken. You can specify the\n NextToken in a subsequent call to get the next set of results.

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

                                                      Get information about a parameter.

                                                      \n

                                                      Request results are returned on a best-effort basis. If you specify MaxResults\n in the request, the response includes information up to the limit specified. The number of items\n returned, however, can be between zero and the value of MaxResults. If the service\n reaches an internal limit while processing the results, it stops the operation and returns the\n matching values up to that point and a NextToken. You can specify the\n NextToken in a subsequent call to get the next set of results.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7891,7 +7951,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the patch baselines in your AWS account.

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

                                                      Lists the patch baselines in your account.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7906,7 +7966,7 @@ "Filters": { "target": "com.amazonaws.ssm#PatchOrchestratorFilterList", "traits": { - "smithy.api#documentation": "

                                                      Each element in the array is a structure containing:

                                                      \n

                                                      Key: (string, \"NAME_PREFIX\" or \"OWNER\")

                                                      \n

                                                      Value: (array of strings, exactly 1 entry, between 1 and 255 characters)

                                                      " + "smithy.api#documentation": "

                                                      Each element in the array is a structure containing a key-value pair.

                                                      \n

                                                      Supported keys for DescribePatchBaselines include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n NAME_PREFIX\n \n

                                                        \n

                                                        Sample values: AWS- | My-\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n OWNER\n \n

                                                        \n

                                                        Sample values: AWS | Self\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n OPERATING_SYSTEM\n \n

                                                        \n

                                                        Sample values: AMAZON_LINUX | SUSE | WINDOWS\n

                                                        \n
                                                      • \n
                                                      " } }, "MaxResults": { @@ -7930,7 +7990,7 @@ "BaselineIdentities": { "target": "com.amazonaws.ssm#PatchBaselineIdentityList", "traits": { - "smithy.api#documentation": "

                                                      An array of PatchBaselineIdentity elements.

                                                      " + "smithy.api#documentation": "

                                                      An array of PatchBaselineIdentity elements.

                                                      " } }, "NextToken": { @@ -7958,7 +8018,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns high-level aggregated patch compliance state for a patch group.

                                                      " + "smithy.api#documentation": "

                                                      Returns high-level aggregated patch compliance state information for a patch group.

                                                      " } }, "com.amazonaws.ssm#DescribePatchGroupStateRequest": { @@ -7998,14 +8058,14 @@ "target": "com.amazonaws.ssm#InstancesCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances with patches installed by Patch Manager that have not been rebooted\n after the patch installation. The status of these instances is NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances with patches installed by Patch Manager that haven't been rebooted\n after the patch installation. The status of these instances is NON_COMPLIANT.

                                                      " } }, "InstancesWithInstalledRejectedPatches": { "target": "com.amazonaws.ssm#InstancesCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances with patches installed that are specified in a RejectedPatches list.\n Patches with a status of INSTALLED_REJECTED were typically installed before\n they were added to a RejectedPatches list.

                                                      \n \n

                                                      If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the value of\n InstancesWithInstalledRejectedPatches will always be 0 (zero).

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

                                                      The number of instances with patches installed that are specified in a\n RejectedPatches list. Patches with a status of INSTALLED_REJECTED were\n typically installed before they were added to a RejectedPatches list.

                                                      \n \n

                                                      If ALLOW_AS_DEPENDENCY is the specified option for\n RejectedPatchesAction, the value of\n InstancesWithInstalledRejectedPatches will always be 0 (zero).

                                                      \n
                                                      " } }, "InstancesWithMissingPatches": { @@ -8030,28 +8090,28 @@ "target": "com.amazonaws.ssm#Integer", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances with NotApplicable patches beyond the supported limit,\n which are not reported by name to Systems Manager Inventory.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances with NotApplicable patches beyond the supported limit,\n which aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

                                                      " } }, "InstancesWithCriticalNonCompliantPatches": { "target": "com.amazonaws.ssm#InstancesCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as \"Critical\" for compliance\n reporting in the patch baseline are not installed. These patches might be missing, have failed\n installation, were rejected, or were installed but awaiting a required instance reboot. The\n status of these instances is NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as Critical for\n compliance reporting in the patch baseline aren't installed. These patches might be missing, have\n failed installation, were rejected, or were installed but awaiting a required instance reboot.\n The status of these instances is NON_COMPLIANT.

                                                      " } }, "InstancesWithSecurityNonCompliantPatches": { "target": "com.amazonaws.ssm#InstancesCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as \"Security\" in a patch advisory\n are not installed. These patches might be missing, have failed installation, were rejected, or\n were installed but awaiting a required instance reboot. The status of these instances is\n NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as Security in a patch\n advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required instance reboot. The status of these\n instances is NON_COMPLIANT.

                                                      " } }, "InstancesWithOtherNonCompliantPatches": { "target": "com.amazonaws.ssm#InstancesCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances with patches installed that are specified as other than \"Critical\"\n or \"Security\" but are not compliant with the patch baseline. The status of these instances is\n NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances with patches installed that are specified as other than\n Critical or Security but aren't compliant with the patch baseline. The\n status of these instances is NON_COMPLIANT.

                                                      " } } } @@ -8092,7 +8152,7 @@ "Filters": { "target": "com.amazonaws.ssm#PatchOrchestratorFilterList", "traits": { - "smithy.api#documentation": "

                                                      One or more filters. Use a filter to return a more specific list of results.

                                                      \n

                                                      For DescribePatchGroups,valid filter keys include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n NAME_PREFIX: The name of the patch group. Wildcards (*) are accepted.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n OPERATING_SYSTEM: The supported operating system type to return results for.\n For valid operating system values, see GetDefaultPatchBaselineRequest$OperatingSystem in CreatePatchBaseline.

                                                        \n

                                                        Examples:

                                                        \n
                                                          \n
                                                        • \n

                                                          \n --filters Key=NAME_PREFIX,Values=MyPatchGroup*\n

                                                          \n
                                                        • \n
                                                        • \n

                                                          \n --filters Key=OPERATING_SYSTEM,Values=AMAZON_LINUX_2\n

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

                                                      Each element in the array is a structure containing a key-value pair.

                                                      \n

                                                      Supported keys for DescribePatchGroups include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n NAME_PREFIX\n \n

                                                        \n

                                                        Sample values: AWS- | My-.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n OPERATING_SYSTEM\n \n

                                                        \n

                                                        Sample values: AMAZON_LINUX | SUSE | WINDOWS\n

                                                        \n
                                                      • \n
                                                      " } }, "NextToken": { @@ -8109,7 +8169,7 @@ "Mappings": { "target": "com.amazonaws.ssm#PatchGroupPatchBaselineMappingList", "traits": { - "smithy.api#documentation": "

                                                      Each entry in the array contains:

                                                      \n

                                                      PatchGroup: string (between 1 and 256 characters, Regex:\n ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$)

                                                      \n

                                                      PatchBaselineIdentity: A PatchBaselineIdentity element.

                                                      " + "smithy.api#documentation": "

                                                      Each entry in the array contains:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n PatchGroup: string (between 1 and 256 characters. Regex:\n ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$)\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n PatchBaselineIdentity: A PatchBaselineIdentity element.

                                                        \n
                                                      • \n
                                                      " } }, "NextToken": { @@ -8134,7 +8194,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the properties of available patches organized by product, product family,\n classification, severity, and other properties of available patches. You can use the reported\n properties in the filters you specify in requests for actions such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                                      \n

                                                      The following section lists the properties that can be used in filters for each major\n operating system type:

                                                      \n
                                                      \n
                                                      AMAZON_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      AMAZON_LINUX_2
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      CENTOS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      DEBIAN
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, PRIORITY

                                                      \n
                                                      \n
                                                      MACOS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION

                                                      \n
                                                      \n
                                                      ORACLE_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      REDHAT_ENTERPRISE_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      SUSE
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, CLASSIFICATION, SEVERITY

                                                      \n
                                                      \n
                                                      UBUNTU
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, PRIORITY

                                                      \n
                                                      \n
                                                      WINDOWS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY

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

                                                      Lists the properties of available patches organized by product, product family,\n classification, severity, and other properties of available patches. You can use the reported\n properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

                                                      \n

                                                      The following section lists the properties that can be used in filters for each major\n operating system type:

                                                      \n
                                                      \n
                                                      AMAZON_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      AMAZON_LINUX_2
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      CENTOS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      DEBIAN
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | PRIORITY\n

                                                      \n
                                                      \n
                                                      MACOS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION\n

                                                      \n
                                                      \n
                                                      ORACLE_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      REDHAT_ENTERPRISE_LINUX
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      SUSE
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | CLASSIFICATION |\n SEVERITY\n

                                                      \n
                                                      \n
                                                      UBUNTU
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | PRIORITY\n

                                                      \n
                                                      \n
                                                      WINDOWS
                                                      \n
                                                      \n

                                                      Valid properties: PRODUCT | PRODUCT_FAMILY |\n CLASSIFICATION | MSRC_SEVERITY\n

                                                      \n
                                                      \n
                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8163,7 +8223,7 @@ "PatchSet": { "target": "com.amazonaws.ssm#PatchSet", "traits": { - "smithy.api#documentation": "

                                                      Indicates whether to list patches for the Windows operating system or for Microsoft\n applications. Not applicable for the Linux or macOS operating systems.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether to list patches for the Windows operating system or for applications\n released by Microsoft. Not applicable for the Linux or macOS operating systems.

                                                      " } }, "MaxResults": { @@ -8301,7 +8361,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes the association between an OpsItem and a related resource. For example, this API\n action can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability\n of AWS Systems Manager.

                                                      " + "smithy.api#documentation": "

                                                      Deletes the association between an OpsItem and a related resource. For example, this API\n operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "com.amazonaws.ssm#DisassociateOpsItemRelatedItemRequest": { @@ -8341,6 +8401,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "DocumentAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The specified document already exists.

                                                      ", "smithy.api#error": "client" } @@ -8406,13 +8470,13 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      The friendly name of the Systems Manager document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " + "smithy.api#documentation": "

                                                      The friendly name of the SSM document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " } }, "VersionName": { @@ -8424,7 +8488,7 @@ "Owner": { "target": "com.amazonaws.ssm#DocumentOwner", "traits": { - "smithy.api#documentation": "

                                                      The AWS user account that created the document.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services user account that created the document.

                                                      " } }, "CreatedDate": { @@ -8436,13 +8500,13 @@ "Status": { "target": "com.amazonaws.ssm#DocumentStatus", "traits": { - "smithy.api#documentation": "

                                                      The status of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The status of the SSM document.

                                                      " } }, "StatusInformation": { "target": "com.amazonaws.ssm#DocumentStatusInformation", "traits": { - "smithy.api#documentation": "

                                                      A message returned by AWS Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " + "smithy.api#documentation": "

                                                      A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " } }, "DocumentVersion": { @@ -8466,7 +8530,7 @@ "PlatformTypes": { "target": "com.amazonaws.ssm#PlatformTypeList", "traits": { - "smithy.api#documentation": "

                                                      The list of OS platforms compatible with this Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The list of OS platforms compatible with this SSM document.

                                                      " } }, "DocumentType": { @@ -8502,7 +8566,7 @@ "TargetType": { "target": "com.amazonaws.ssm#TargetType", "traits": { - "smithy.api#documentation": "

                                                      The target type which defines the kinds of resources the document can run on. For example,\n /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types\n reference in the AWS CloudFormation User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The target type which defines the kinds of resources the document can run on. For example,\n /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

                                                      " } }, "Tags": { @@ -8555,7 +8619,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Describes a Amazon Web Services Systems Manager document (SSM document).

                                                      " } }, "com.amazonaws.ssm#DocumentDisplayName": { @@ -8684,31 +8748,31 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "CreatedDate": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The date the Systems Manager document was created.

                                                      " + "smithy.api#documentation": "

                                                      The date the SSM document was created.

                                                      " } }, "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      An optional field where you can specify a friendly name for the Systems Manager document. This value\n can differ for each version of the document. If you want to update this value, see UpdateDocument.

                                                      " + "smithy.api#documentation": "

                                                      An optional field where you can specify a friendly name for the SSM document. This value can\n differ for each version of the document. If you want to update this value, see UpdateDocument.

                                                      " } }, "Owner": { "target": "com.amazonaws.ssm#DocumentOwner", "traits": { - "smithy.api#documentation": "

                                                      The AWS user account that created the document.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services user account that created the document.

                                                      " } }, "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.

                                                      " } }, "PlatformTypes": { @@ -8744,7 +8808,7 @@ "TargetType": { "target": "com.amazonaws.ssm#TargetType", "traits": { - "smithy.api#documentation": "

                                                      The target type which defines the kinds of resources the document can run on. For example,\n /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types\n reference in the AWS CloudFormation User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The target type which defines the kinds of resources the document can run on. For example,\n /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

                                                      " } }, "Tags": { @@ -8773,7 +8837,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes the name of a Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Describes the name of a SSM document.

                                                      " } }, "com.amazonaws.ssm#DocumentIdentifierList": { @@ -8802,7 +8866,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      One or more filters. Use a filter to return a more specific list of documents.

                                                      \n

                                                      For keys, you can specify one or more tags that have been applied to a document.

                                                      \n

                                                      You can also use AWS-provided keys, some of which have specific allowed values. These keys\n and their associated values are as follows:

                                                      \n
                                                      \n
                                                      DocumentType
                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        ApplicationConfiguration

                                                        \n
                                                      • \n
                                                      • \n

                                                        ApplicationConfigurationSchema

                                                        \n
                                                      • \n
                                                      • \n

                                                        Automation

                                                        \n
                                                      • \n
                                                      • \n

                                                        ChangeCalendar

                                                        \n
                                                      • \n
                                                      • \n

                                                        Command

                                                        \n
                                                      • \n
                                                      • \n

                                                        DeploymentStrategy

                                                        \n
                                                      • \n
                                                      • \n

                                                        Package

                                                        \n
                                                      • \n
                                                      • \n

                                                        Policy

                                                        \n
                                                      • \n
                                                      • \n

                                                        Session

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      Owner
                                                      \n
                                                      \n

                                                      Note that only one Owner can be specified in a request. For example:\n Key=Owner,Values=Self.

                                                      \n
                                                        \n
                                                      • \n

                                                        Amazon

                                                        \n
                                                      • \n
                                                      • \n

                                                        Private

                                                        \n
                                                      • \n
                                                      • \n

                                                        Public

                                                        \n
                                                      • \n
                                                      • \n

                                                        Self

                                                        \n
                                                      • \n
                                                      • \n

                                                        ThirdParty

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      PlatformTypes
                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        Linux

                                                        \n
                                                      • \n
                                                      • \n

                                                        Windows

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      \n

                                                      \n Name is another AWS-provided key. If you use Name as a key, you\n can use a name prefix to return a list of documents. For example, in the AWS CLI, to return a\n list of all documents that begin with Te, run the following command:

                                                      \n

                                                      \n aws ssm list-documents --filters Key=Name,Values=Te\n

                                                      \n

                                                      You can also use the TargetType AWS-provided key. For a list of valid resource\n type values that can be used with this key, see AWS resource and property types\n reference in the AWS CloudFormation User Guide.

                                                      \n

                                                      If you specify more than two keys, only documents that are identified by all the tags are\n returned in the results. If you specify more than two values for a key, documents that are\n identified by any of the values are returned in the results.

                                                      \n

                                                      To specify a custom key and value pair, use the format\n Key=tag:tagName,Values=valueName.

                                                      \n

                                                      For example, if you created a key called region and are using the AWS CLI to call the\n list-documents command:

                                                      \n

                                                      \n aws ssm list-documents --filters Key=tag:region,Values=east,west\n Key=Owner,Values=Self\n

                                                      " + "smithy.api#documentation": "

                                                      One or more filters. Use a filter to return a more specific list of documents.

                                                      \n

                                                      For keys, you can specify one or more tags that have been applied to a document.

                                                      \n

                                                      You can also use Amazon Web Services-provided keys, some of which have specific allowed values. These keys\n and their associated values are as follows:

                                                      \n
                                                      \n
                                                      DocumentType
                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        \n ApplicationConfiguration\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ApplicationConfigurationSchema\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Automation\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ChangeCalendar\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Command\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n DeploymentStrategy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Package\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Policy\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Session\n

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      Owner
                                                      \n
                                                      \n

                                                      Note that only one Owner can be specified in a request. For example:\n Key=Owner,Values=Self.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Amazon\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Private\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Public\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Self\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ThirdParty\n

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      PlatformTypes
                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        \n Linux\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Windows\n

                                                        \n
                                                      • \n
                                                      \n
                                                      \n
                                                      \n

                                                      \n Name is another Amazon Web Services-provided key. If you use Name as a key, you\n can use a name prefix to return a list of documents. For example, in the Amazon Web Services CLI, to return a list\n of all documents that begin with Te, run the following command:

                                                      \n

                                                      \n aws ssm list-documents --filters Key=Name,Values=Te\n

                                                      \n

                                                      You can also use the TargetType Amazon Web Services-provided key. For a list of valid\n resource type values that can be used with this key, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

                                                      \n

                                                      If you specify more than two keys, only documents that are identified by all the tags are\n returned in the results. If you specify more than two values for a key, documents that are\n identified by any of the values are returned in the results.

                                                      \n

                                                      To specify a custom key-value pair, use the format\n Key=tag:tagName,Values=valueName.

                                                      \n

                                                      For example, if you created a key called region and are using the Amazon Web Services CLI to call the\n list-documents command:

                                                      \n

                                                      \n aws ssm list-documents --filters Key=tag:region,Values=east,west\n Key=Owner,Values=Self\n

                                                      " } }, "com.amazonaws.ssm#DocumentKeyValuesFilterKey": { @@ -8849,7 +8913,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      You can have at most 500 active Systems Manager documents.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "DocumentLimitExceeded", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      You can have at most 500 active SSM documents.

                                                      ", "smithy.api#error": "client" } }, @@ -8960,7 +9028,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The document cannot be shared with more AWS user accounts. You can share a document with a\n maximum of 20 accounts. You can publicly share up to five documents. If you need to increase this\n limit, contact AWS Support.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "DocumentPermissionLimit", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The document can't be shared with more Amazon Web Services user accounts. You can share a document\n with a maximum of 20 accounts. You can publicly share up to five documents. If you need to\n increase this limit, contact Amazon Web Services Support.

                                                      ", "smithy.api#error": "client" } }, @@ -9270,7 +9342,7 @@ "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      The friendly name of the Systems Manager document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " + "smithy.api#documentation": "

                                                      The friendly name of the SSM document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " } }, "DocumentVersion": { @@ -9282,7 +9354,7 @@ "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      The version of the artifact associated with the document. For example, \"Release 12, Update\n 6\". This value is unique across all versions of a document, and cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      The version of the artifact associated with the document. For example, \"Release 12, Update\n 6\". This value is unique across all versions of a document, and can't be changed.

                                                      " } }, "CreatedDate": { @@ -9306,13 +9378,13 @@ "Status": { "target": "com.amazonaws.ssm#DocumentStatus", "traits": { - "smithy.api#documentation": "

                                                      The status of the Systems Manager document, such as Creating, Active,\n Failed, and Deleting.

                                                      " + "smithy.api#documentation": "

                                                      The status of the SSM document, such as Creating, Active,\n Failed, and Deleting.

                                                      " } }, "StatusInformation": { "target": "com.amazonaws.ssm#DocumentStatusInformation", "traits": { - "smithy.api#documentation": "

                                                      A message returned by AWS Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " + "smithy.api#documentation": "

                                                      A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " } }, "ReviewStatus": { @@ -9334,6 +9406,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "DocumentVersionLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The document has too many versions. Delete one or more document versions and try\n again.

                                                      ", "smithy.api#error": "client" } @@ -9369,7 +9445,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Error returned when the ID specified for a resource, such as a maintenance window or Patch\n baseline, doesn't exist.

                                                      \n

                                                      For information about resource quotas in Systems Manager, see Systems Manager service quotas in the\n AWS General Reference.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "DoesNotExistException", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      Error returned when the ID specified for a resource, such as a maintenance window or patch\n baseline, doesn't exist.

                                                      \n

                                                      For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the\n Amazon Web Services General Reference.

                                                      ", "smithy.api#error": "client" } }, @@ -9384,6 +9464,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "DuplicateDocumentContent", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The content of the association document matches another document. Change the content of the\n document and try again.

                                                      ", "smithy.api#error": "client" } @@ -9396,6 +9480,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "DuplicateDocumentVersionName", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The version name has already been used in this document. Specify a different version name,\n and then try again.

                                                      ", "smithy.api#error": "client" } @@ -9404,7 +9492,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      You cannot specify an instance ID in more than one association.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "DuplicateInstanceId", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      You can't specify an instance ID in more than one association.

                                                      ", "smithy.api#error": "client" } }, @@ -9434,7 +9526,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The EffectivePatch structure defines metadata about a patch along with the approval state of\n the patch in a particular patch baseline. The approval state includes information about whether\n the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly\n rejected and the date the patch was or will be approved.

                                                      " + "smithy.api#documentation": "

                                                      The EffectivePatch structure defines metadata about a patch along with the\n approval state of the patch in a particular patch baseline. The approval state includes\n information about whether the patch is currently approved, due to be approved by a rule,\n explicitly approved, or explicitly rejected and the date the patch was or will be\n approved.

                                                      " } }, "com.amazonaws.ssm#EffectivePatchList": { @@ -9562,7 +9654,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      You attempted to register a LAMBDA or STEP_FUNCTIONS task in a region where the\n corresponding service is not available.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "FeatureNotAvailableException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      You attempted to register a LAMBDA or STEP_FUNCTIONS task in a\n region where the corresponding service isn't available.

                                                      ", "smithy.api#error": "client" } }, @@ -9592,7 +9688,7 @@ "AutomationExecutionId": { "target": "com.amazonaws.ssm#AutomationExecutionId", "traits": { - "smithy.api#documentation": "

                                                      The unique identifier for an existing automation execution to examine. The execution ID is\n returned by StartAutomationExecution when the execution of an Automation document is\n initiated.

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

                                                      The unique identifier for an existing automation execution to examine. The execution ID is\n returned by StartAutomationExecution when the execution of an Automation runbook is\n initiated.

                                                      ", "smithy.api#required": {} } } @@ -9632,7 +9728,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Gets the state of the AWS Systems Manager Change Calendar at an optional, specified time. If you\n specify a time, GetCalendarState returns the state of the calendar at a specific\n time, and returns the next time that the Change Calendar state will transition. If you do not\n specify a time, GetCalendarState assumes the current time. Change Calendar entries\n have two possible states: OPEN or CLOSED.

                                                      \n

                                                      If you specify more than one calendar in a request, the command returns the status of\n OPEN only if all calendars in the request are open. If one or more calendars in the\n request are closed, the status returned is CLOSED.

                                                      \n

                                                      For more information about Systems Manager Change Calendar, see AWS Systems Manager Change\n Calendar in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If\n you specify a time, GetCalendarState returns the state of the calendar at that\n specific time, and returns the next time that the change calendar state will transition. If you\n don't specify a time, GetCalendarState uses the current time. Change Calendar\n entries have two possible states: OPEN or CLOSED.

                                                      \n

                                                      If you specify more than one calendar in a request, the command returns the status of\n OPEN only if all calendars in the request are open. If one or more calendars in the\n request are closed, the status returned is CLOSED.

                                                      \n

                                                      For more information about Change Calendar, a capability of Amazon Web Services Systems Manager, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#GetCalendarStateRequest": { @@ -9641,14 +9737,14 @@ "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager documents that represent the calendar\n entries for which you want to get the state.

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

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager documents (SSM documents) that\n represent the calendar entries for which you want to get the state.

                                                      ", "smithy.api#required": {} } }, "AtTime": { "target": "com.amazonaws.ssm#ISO8601String", "traits": { - "smithy.api#documentation": "

                                                      (Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you do not add\n AtTime, the current time is assumed.

                                                      " + "smithy.api#documentation": "

                                                      (Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you don't specify a\n value or AtTime, the current time is used.

                                                      " } } } @@ -9659,13 +9755,13 @@ "State": { "target": "com.amazonaws.ssm#CalendarState", "traits": { - "smithy.api#documentation": "

                                                      The state of the calendar. An OPEN calendar indicates that actions are allowed\n to proceed, and a CLOSED calendar indicates that actions are not allowed to\n proceed.

                                                      " + "smithy.api#documentation": "

                                                      The state of the calendar. An OPEN calendar indicates that actions are allowed\n to proceed, and a CLOSED calendar indicates that actions aren't allowed to\n proceed.

                                                      " } }, "AtTime": { "target": "com.amazonaws.ssm#ISO8601String", "traits": { - "smithy.api#documentation": "

                                                      The time, as an ISO 8601 string,\n that you specified in your command. If you did not specify a time, GetCalendarState\n uses the current time.

                                                      " + "smithy.api#documentation": "

                                                      The time, as an ISO 8601 string,\n that you specified in your command. If you don't specify a time, GetCalendarState\n uses the current time.

                                                      " } }, "NextTransitionTime": { @@ -9805,14 +9901,14 @@ "InstanceId": { "target": "com.amazonaws.ssm#InstanceId", "traits": { - "smithy.api#documentation": "

                                                      (Required) The ID of the managed instance targeted by the command. A managed instance can be\n an Amazon Elastic Compute Cloud (Amazon EC2) instance or an instance in your hybrid environment that is configured for\n AWS Systems Manager.

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

                                                      (Required) The ID of the managed instance targeted by the command. A managed instance can be\n an Amazon Elastic Compute Cloud (Amazon EC2) instance or an instance in your hybrid environment that is configured for\n Amazon Web Services Systems Manager.

                                                      ", "smithy.api#required": {} } }, "PluginName": { "target": "com.amazonaws.ssm#CommandPluginName", "traits": { - "smithy.api#documentation": "

                                                      The name of the plugin for which you want detailed results. If the document contains only\n one plugin, you can omit the name and details for that plugin. If the document contains more than\n one plugin, you must specify the name of the plugin for which you want to view details.

                                                      \n

                                                      Plugin names are also referred to as step names in Systems Manager documents. For\n example, aws:RunShellScript is a plugin.

                                                      \n

                                                      To find the PluginName, check the document content and find the name of the\n plugin. Alternatively, use ListCommandInvocations with the\n CommandId and Details parameters. The PluginName is the\n Name attribute of the CommandPlugin object in the\n CommandPlugins list.

                                                      " + "smithy.api#documentation": "

                                                      The name of the plugin for which you want detailed results. If the document contains only\n one plugin, you can omit the name and details for that plugin. If the document contains more than\n one plugin, you must specify the name of the plugin for which you want to view details.

                                                      \n

                                                      Plugin names are also referred to as step names in Systems Manager documents (SSM\n documents). For example, aws:RunShellScript is a plugin.

                                                      \n

                                                      To find the PluginName, check the document content and find the name of the\n plugin. Alternatively, use ListCommandInvocations with the\n CommandId and Details parameters. The PluginName is the\n Name attribute of the CommandPlugin object in the\n CommandPlugins list.

                                                      " } } } @@ -9847,7 +9943,7 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The SSM document version used in the request.

                                                      " + "smithy.api#documentation": "

                                                      The Systems Manager document (SSM document) version used in the request.

                                                      " } }, "PluginName": { @@ -9859,13 +9955,13 @@ "ResponseCode": { "target": "com.amazonaws.ssm#ResponseCode", "traits": { - "smithy.api#documentation": "

                                                      The error level response code for the plugin script. If the response code is\n -1, then the command has not started running on the instance, or it was not received\n by the instance.

                                                      " + "smithy.api#documentation": "

                                                      The error level response code for the plugin script. If the response code is\n -1, then the command hasn't started running on the instance, or it wasn't received\n by the instance.

                                                      " } }, "ExecutionStartDateTime": { "target": "com.amazonaws.ssm#StringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time the plugin started running. Date and time are written in ISO 8601 format.\n For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses\n the InvokedBefore filter.

                                                      \n

                                                      \n aws ssm list-commands --filters key=InvokedBefore,value=2017-06-07T00:00:00Z\n

                                                      \n

                                                      If the plugin has not started to run, the string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The date and time the plugin started running. Date and time are written in ISO 8601 format.\n For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses\n the InvokedBefore filter.

                                                      \n

                                                      \n aws ssm list-commands --filters key=InvokedBefore,value=2017-06-07T00:00:00Z\n

                                                      \n

                                                      If the plugin hasn't started to run, the string is empty.

                                                      " } }, "ExecutionElapsedTime": { @@ -9877,7 +9973,7 @@ "ExecutionEndDateTime": { "target": "com.amazonaws.ssm#StringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time the plugin finished running. Date and time are written in ISO 8601 format.\n For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses\n the InvokedAfter filter.

                                                      \n

                                                      \n aws ssm list-commands --filters key=InvokedAfter,value=2017-06-07T00:00:00Z\n

                                                      \n

                                                      If the plugin has not started to run, the string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The date and time the plugin finished running. Date and time are written in ISO 8601 format.\n For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses\n the InvokedAfter filter.

                                                      \n

                                                      \n aws ssm list-commands --filters key=InvokedAfter,value=2017-06-07T00:00:00Z\n

                                                      \n

                                                      If the plugin hasn't started to run, the string is empty.

                                                      " } }, "Status": { @@ -9889,37 +9985,37 @@ "StatusDetails": { "target": "com.amazonaws.ssm#StatusDetails", "traits": { - "smithy.api#documentation": "

                                                      A detailed status of the command execution for an invocation. StatusDetails\n includes more information than Status because it includes states resulting from\n error and concurrency control parameters. StatusDetails can show different results\n than Status. For more information about these statuses, see Understanding\n command statuses in the AWS Systems Manager User Guide.\n StatusDetails can be one of the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command has not been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but has not reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delayed: The system attempted to send the command to the target, but the target was not\n available. The instance might not be available because of network issues, because the instance\n was stopped, or for similar reasons. The system will try to send the command again.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The command or plugin ran successfully. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command was not delivered to the instance before the delivery\n timeout expired. Delivery timeouts do not count against the parent command's\n MaxErrors limit, but they do contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: The command started to run on the instance, but the execution was not\n complete before the timeout expired. Execution timeouts count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command wasn't run successfully on the instance. For a plugin, this indicates\n that the result code was not zero. For a command invocation, this indicates that the result\n code for one or more plugins was not zero. Invocation failures count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist or might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit and don't contribute to whether the parent command\n status is Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent\n command invocations were canceled by the system. This is a terminal state.

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

                                                      A detailed status of the command execution for an invocation. StatusDetails\n includes more information than Status because it includes states resulting from\n error and concurrency control parameters. StatusDetails can show different results\n than Status. For more information about these statuses, see Understanding\n command statuses in the Amazon Web Services Systems Manager User Guide.\n StatusDetails can be one of the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        Pending: The command hasn't been sent to the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        In Progress: The command has been sent to the instance but hasn't reached a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delayed: The system attempted to send the command to the target, but the target wasn't\n available. The instance might not be available because of network issues, because the instance\n was stopped, or for similar reasons. The system will try to send the command again.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Success: The command or plugin ran successfully. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Delivery Timed Out: The command wasn't delivered to the instance before the delivery\n timeout expired. Delivery timeouts don't count against the parent command's\n MaxErrors limit, but they do contribute to whether the parent command status is\n Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Execution Timed Out: The command started to run on the instance, but the execution wasn't\n complete before the timeout expired. Execution timeouts count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Failed: The command wasn't run successfully on the instance. For a plugin, this indicates\n that the result code wasn't zero. For a command invocation, this indicates that the result code\n for one or more plugins wasn't zero. Invocation failures count against the\n MaxErrors limit of the parent command. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Canceled: The command was terminated before it was completed. This is a terminal\n state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Undeliverable: The command can't be delivered to the instance. The instance might not\n exist or might not be responding. Undeliverable invocations don't count against the parent\n command's MaxErrors limit and don't contribute to whether the parent command\n status is Success or Incomplete. This is a terminal state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Terminated: The parent command exceeded its MaxErrors limit and subsequent\n command invocations were canceled by the system. This is a terminal state.

                                                        \n
                                                      • \n
                                                      " } }, "StandardOutputContent": { "target": "com.amazonaws.ssm#StandardOutputContent", "traits": { - "smithy.api#documentation": "

                                                      The first 24,000 characters written by the plugin to stdout. If the command has\n not finished running, if ExecutionStatus is neither Succeeded nor Failed, then this\n string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The first 24,000 characters written by the plugin to stdout. If the command\n hasn't finished running, if ExecutionStatus is neither Succeeded nor Failed, then\n this string is empty.

                                                      " } }, "StandardOutputUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stdout in Amazon Simple Storage Service\n (Amazon S3). If an S3 bucket was not specified, then this string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stdout in Amazon Simple Storage Service (Amazon S3). If an S3 bucket wasn't specified, then this string is\n empty.

                                                      " } }, "StandardErrorContent": { "target": "com.amazonaws.ssm#StandardErrorContent", "traits": { - "smithy.api#documentation": "

                                                      The first 8,000 characters written by the plugin to stderr. If the command has\n not finished running, then this string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The first 8,000 characters written by the plugin to stderr. If the command\n hasn't finished running, then this string is empty.

                                                      " } }, "StandardErrorUrl": { "target": "com.amazonaws.ssm#Url", "traits": { - "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stderr. If the command\n has not finished running, then this string is empty.

                                                      " + "smithy.api#documentation": "

                                                      The URL for the complete text written by the plugin to stderr. If the command\n hasn't finished running, then this string is empty.

                                                      " } }, "CloudWatchOutputConfig": { "target": "com.amazonaws.ssm#CloudWatchOutputConfig", "traits": { - "smithy.api#documentation": "

                                                      CloudWatch Logs information where Systems Manager sent the command output.

                                                      " + "smithy.api#documentation": "

                                                      Amazon CloudWatch Logs information where Systems Manager sent the command output.

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

                                                      Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default\n patch baselines. For example, you can create a default patch baseline for each operating\n system.

                                                      \n

                                                      If you do not specify an operating system value, the default patch baseline for Windows is\n returned.

                                                      " + "smithy.api#documentation": "

                                                      Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch\n baselines. For example, you can create a default patch baseline for each operating system.

                                                      \n

                                                      If you don't specify an operating system value, the default patch baseline for Windows is\n returned.

                                                      " } }, "com.amazonaws.ssm#GetDefaultPatchBaselineRequest": { @@ -10035,7 +10131,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Retrieves the current snapshot for the patch baseline the instance uses. This API is\n primarily used by the AWS-RunPatchBaseline Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Retrieves the current snapshot for the patch baseline the instance uses. This API is\n primarily used by the AWS-RunPatchBaseline Systems Manager document (SSM document).

                                                      \n \n

                                                      If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local AWS credentials and the operation fails. To avoid\n this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of\n Amazon Web Services Systems Manager, with an SSM document that enables you to target an instance with a script or command.\n For example, run the command using the AWS-RunShellScript document or the\n AWS-RunPowerShellScript document.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#GetDeployablePatchSnapshotForInstanceRequest": { @@ -10051,7 +10147,7 @@ "SnapshotId": { "target": "com.amazonaws.ssm#SnapshotId", "traits": { - "smithy.api#documentation": "

                                                      The user-defined snapshot ID.

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

                                                      The snapshot ID provided by the user when running AWS-RunPatchBaseline.

                                                      ", "smithy.api#required": {} } }, @@ -10081,7 +10177,7 @@ "SnapshotDownloadUrl": { "target": "com.amazonaws.ssm#SnapshotDownloadUrl", "traits": { - "smithy.api#documentation": "

                                                      A pre-signed Amazon S3 URL that can be used to download the patch snapshot.

                                                      " + "smithy.api#documentation": "

                                                      A pre-signed Amazon Simple Storage Service (Amazon S3) URL that can be used to download the\n patch snapshot.

                                                      " } }, "Product": { @@ -10112,7 +10208,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Gets the contents of the specified Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      Gets the contents of the specified Amazon Web Services Systems Manager document (SSM document).

                                                      " } }, "com.amazonaws.ssm#GetDocumentRequest": { @@ -10121,7 +10217,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

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

                                                      The name of the SSM document.

                                                      ", "smithy.api#required": {} } }, @@ -10151,25 +10247,25 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM document.

                                                      " } }, "CreatedDate": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The date the Systems Manager document was created.

                                                      " + "smithy.api#documentation": "

                                                      The date the SSM document was created.

                                                      " } }, "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      The friendly name of the Systems Manager document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " + "smithy.api#documentation": "

                                                      The friendly name of the SSM document. This value can differ for each version of the\n document. If you want to update this value, see UpdateDocument.

                                                      " } }, "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      The version of the artifact associated with the document. For example, \"Release 12, Update\n 6\". This value is unique across all versions of a document, and cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      The version of the artifact associated with the document. For example, \"Release 12, Update\n 6\". This value is unique across all versions of a document, and can't be changed.

                                                      " } }, "DocumentVersion": { @@ -10181,19 +10277,19 @@ "Status": { "target": "com.amazonaws.ssm#DocumentStatus", "traits": { - "smithy.api#documentation": "

                                                      The status of the Systems Manager document, such as Creating, Active,\n Updating, Failed, and Deleting.

                                                      " + "smithy.api#documentation": "

                                                      The status of the SSM document, such as Creating, Active,\n Updating, Failed, and Deleting.

                                                      " } }, "StatusInformation": { "target": "com.amazonaws.ssm#DocumentStatusInformation", "traits": { - "smithy.api#documentation": "

                                                      A message returned by AWS Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " + "smithy.api#documentation": "

                                                      A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a\n Failed status might be explained by the StatusInformation message,\n \"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct.\"

                                                      " } }, "Content": { "target": "com.amazonaws.ssm#DocumentContent", "traits": { - "smithy.api#documentation": "

                                                      The contents of the Systems Manager document.

                                                      " + "smithy.api#documentation": "

                                                      The contents of the SSM document.

                                                      " } }, "DocumentType": { @@ -10490,7 +10586,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionStatusDetails", "traits": { - "smithy.api#documentation": "

                                                      The details explaining the Status. Only available for certain status values.

                                                      " + "smithy.api#documentation": "

                                                      The details explaining the status. Not available for all status values.

                                                      " } }, "StartTime": { @@ -10603,7 +10699,7 @@ "TaskType": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskType", "traits": { - "smithy.api#documentation": "

                                                      Retrieves the task type for a maintenance window. Task types include the following: LAMBDA,\n STEP_FUNCTIONS, AUTOMATION, RUN_COMMAND.

                                                      " + "smithy.api#documentation": "

                                                      Retrieves the task type for a maintenance window.

                                                      " } }, "Parameters": { @@ -10639,7 +10735,7 @@ "OwnerInformation": { "target": "com.amazonaws.ssm#OwnerInformation", "traits": { - "smithy.api#documentation": "

                                                      User-provided value to be included in any CloudWatch events raised while running tasks for\n these targets in this maintenance window.

                                                      " + "smithy.api#documentation": "

                                                      User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge\n events raised while running tasks for these targets in this maintenance window.

                                                      " } }, "WindowTargetId": { @@ -10687,7 +10783,7 @@ "TaskArn": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskArn", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the task that ran.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task that ran.

                                                      " } }, "ServiceRole": { @@ -10705,7 +10801,7 @@ "TaskParameters": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskParametersList", "traits": { - "smithy.api#documentation": "

                                                      The parameters passed to the task when it was run.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      \n

                                                      The map has the following format:

                                                      \n

                                                      Key: string, between 1 and 255 characters

                                                      \n

                                                      Value: an array of strings, each string is between 1 and 255 characters

                                                      " + "smithy.api#documentation": "

                                                      The parameters passed to the task when it was run.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      \n

                                                      The map has the following format:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key: string, between 1 and 255 characters

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Value: an array of strings, each between 1 and 255 characters

                                                        \n
                                                      • \n
                                                      " } }, "Priority": { @@ -10735,7 +10831,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionStatusDetails", "traits": { - "smithy.api#documentation": "

                                                      The details explaining the Status. Only available for certain status values.

                                                      " + "smithy.api#documentation": "

                                                      The details explaining the status. Not available for all status values.

                                                      " } }, "StartTime": { @@ -10788,13 +10884,13 @@ "StartDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become active. The maintenance window will not run before this specified time.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become active. The maintenance window won't run before this specified time.

                                                      " } }, "EndDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become inactive. The maintenance window will not run after this specified time.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become inactive. The maintenance window won't run after this specified time.

                                                      " } }, "Schedule": { @@ -10813,7 +10909,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled CRON expression\n date and time.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

                                                      " } }, "NextExecutionTime": { @@ -10831,7 +10927,7 @@ "Cutoff": { "target": "com.amazonaws.ssm#MaintenanceWindowCutoff", "traits": { - "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Systems Manager stops scheduling new\n tasks for execution.

                                                      " + "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling\n new tasks for execution.

                                                      " } }, "AllowUnassociatedTargets": { @@ -10877,7 +10973,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Lists the tasks in a maintenance window.

                                                      \n \n

                                                      For maintenance window tasks without a specified target, you cannot supply values for\n --max-errors and --max-concurrency. Instead, the system inserts a\n placeholder value of 1, which may be reported in the response to this command.\n These values do not affect the running of your task and can be ignored.

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

                                                      Lists the tasks in a maintenance window.

                                                      \n \n

                                                      For maintenance window tasks without a specified target, you can't supply values for\n --max-errors and --max-concurrency. Instead, the system inserts a\n placeholder value of 1, which may be reported in the response to this command.\n These values don't affect the running of your task and can be ignored.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#GetMaintenanceWindowTaskRequest": { @@ -10923,13 +11019,13 @@ "TaskArn": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskArn", "traits": { - "smithy.api#documentation": "

                                                      The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types,\n the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN.\n For STEP_FUNCTIONS tasks, the value is the state machine ARN.

                                                      " + "smithy.api#documentation": "

                                                      The resource that the task used during execution. For RUN_COMMAND and\n AUTOMATION task types, the value of TaskArn is the SSM document\n name/ARN. For LAMBDA tasks, the value is the function name/ARN. For\n STEP_FUNCTIONS tasks, the value is the state machine ARN.

                                                      " } }, "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for\n maintenance window Run Command tasks.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service \n(Amazon SNS) notifications for maintenance window Run Command tasks.

                                                      " } }, "TaskType": { @@ -10959,19 +11055,19 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run this task in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value does not affect the running of your task and can be\n ignored.

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

                                                      The maximum number of targets allowed to run this task in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value doesn't affect the running of your task and can be\n ignored.

                                                      \n
                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of errors allowed before the task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value does not affect the running of your task and can be\n ignored.

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

                                                      The maximum number of errors allowed before the task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value doesn't affect the running of your task and can be\n ignored.

                                                      \n
                                                      " } }, "LoggingInfo": { "target": "com.amazonaws.ssm#LoggingInfo", "traits": { - "smithy.api#documentation": "

                                                      The location in Amazon S3 where the task results are logged.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      The location in Amazon Simple Storage Service (Amazon S3) where the task results are\n logged.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "Name": { @@ -11005,7 +11101,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Get information about an OpsItem by using the ID. You must have permission in AWS Identity\n and Access Management (IAM) to view information about an OpsItem. For more information, see\n Getting started with\n OpsCenter in the AWS Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate\n operational issues impacting the performance and health of their AWS resources. For more\n information, see AWS Systems Manager OpsCenter in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information,\n see Getting started with\n OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and\n remediate operational issues impacting the performance and health of their Amazon Web Services resources. For\n more information, see OpsCenter in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#GetOpsItemRequest": { @@ -11140,7 +11236,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      View a summary of OpsItems based on specified filters and aggregators.

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

                                                      View a summary of operations metadata (OpsData) based on specified filters and aggregators.\n OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as\n well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager\n Explorer.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -11161,19 +11257,19 @@ "Filters": { "target": "com.amazonaws.ssm#OpsFilterList", "traits": { - "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned OpsItems.

                                                      " + "smithy.api#documentation": "

                                                      Optional filters used to scope down the returned OpsData.

                                                      " } }, "Aggregators": { "target": "com.amazonaws.ssm#OpsAggregatorList", "traits": { - "smithy.api#documentation": "

                                                      Optional aggregators that return counts of OpsItems based on one or more expressions.

                                                      " + "smithy.api#documentation": "

                                                      Optional aggregators that return counts of OpsData based on one or more expressions.

                                                      " } }, "ResultAttributes": { "target": "com.amazonaws.ssm#OpsResultAttributeList", "traits": { - "smithy.api#documentation": "

                                                      The OpsItem data type to return.

                                                      " + "smithy.api#documentation": "

                                                      The OpsData data type to return.

                                                      " } }, "NextToken": { @@ -11197,7 +11293,7 @@ "Entities": { "target": "com.amazonaws.ssm#OpsEntityList", "traits": { - "smithy.api#documentation": "

                                                      The list of aggregated and filtered OpsItems.

                                                      " + "smithy.api#documentation": "

                                                      The list of aggregated and filtered OpsData.

                                                      " } }, "NextToken": { @@ -11231,7 +11327,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Get information about a parameter by using the parameter name. Don't confuse this API action\n with the GetParameters API action.

                                                      " + "smithy.api#documentation": "

                                                      Get information about a parameter by using the parameter name. Don't confuse this API\n operation with the GetParameters API operation.

                                                      " } }, "com.amazonaws.ssm#GetParameterHistory": { @@ -11279,7 +11375,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Return decrypted values for secure string parameters. This flag is ignored for String and\n StringList parameter types.

                                                      " + "smithy.api#documentation": "

                                                      Return decrypted values for secure string parameters. This flag is ignored for\n String and StringList parameter types.

                                                      " } }, "MaxResults": { @@ -11328,7 +11424,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Return decrypted values for secure string parameters. This flag is ignored for String and\n StringList parameter types.

                                                      " + "smithy.api#documentation": "

                                                      Return decrypted values for secure string parameters. This flag is ignored for\n String and StringList parameter types.

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

                                                      Get details of a parameter. Don't confuse this API action with the GetParameter API action.

                                                      " + "smithy.api#documentation": "

                                                      Get details of a parameter. Don't confuse this API operation with the GetParameter API operation.

                                                      " } }, "com.amazonaws.ssm#GetParametersByPath": { @@ -11393,7 +11489,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Retrieve information about one or more parameters in a specific hierarchy.

                                                      \n \n

                                                      Request results are returned on a best-effort basis. If you specify MaxResults\n in the request, the response includes information up to the limit specified. The number of items\n returned, however, can be between zero and the value of MaxResults. If the service\n reaches an internal limit while processing the results, it stops the operation and returns the\n matching values up to that point and a NextToken. You can specify the\n NextToken in a subsequent call to get the next set of results.

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

                                                      Retrieve information about one or more parameters in a specific hierarchy.

                                                      \n

                                                      Request results are returned on a best-effort basis. If you specify MaxResults\n in the request, the response includes information up to the limit specified. The number of items\n returned, however, can be between zero and the value of MaxResults. If the service\n reaches an internal limit while processing the results, it stops the operation and returns the\n matching values up to that point and a NextToken. You can specify the\n NextToken in a subsequent call to get the next set of results.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -11416,7 +11512,7 @@ "Path": { "target": "com.amazonaws.ssm#PSParameterName", "traits": { - "smithy.api#documentation": "

                                                      The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is\n the parameter name except the last part of the parameter. For the API call to succeeed, the last\n part of the parameter name cannot be in the path. A parameter name hierarchy can have a maximum\n of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33\n \n

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

                                                      The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is\n the parameter name except the last part of the parameter. For the API call to succeeed, the last\n part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of\n 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33\n \n

                                                      ", "smithy.api#required": {} } }, @@ -11424,7 +11520,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Retrieve all parameters within a hierarchy.

                                                      \n \n

                                                      If a user has access to a path, then the user can access all levels of that path. For\n example, if a user has permission to access path /a, then the user can also access\n /a/b. Even if a user has explicitly been denied access in IAM for parameter\n /a/b, they can still call the GetParametersByPath API action recursively for\n /a and view /a/b.

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

                                                      Retrieve all parameters within a hierarchy.

                                                      \n \n

                                                      If a user has access to a path, then the user can access all levels of that path. For\n example, if a user has permission to access path /a, then the user can also access\n /a/b. Even if a user has explicitly been denied access in IAM for\n parameter /a/b, they can still call the GetParametersByPath API operation\n recursively for /a and view /a/b.

                                                      \n
                                                      " } }, "ParameterFilters": { @@ -11486,7 +11582,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Return decrypted secure string value. Return decrypted values for secure string parameters.\n This flag is ignored for String and StringList parameter types.

                                                      " + "smithy.api#documentation": "

                                                      Return decrypted secure string value. Return decrypted values for secure string parameters.\n This flag is ignored for String and StringList parameter types.

                                                      " } } } @@ -11503,7 +11599,7 @@ "InvalidParameters": { "target": "com.amazonaws.ssm#ParameterNameList", "traits": { - "smithy.api#documentation": "

                                                      A list of parameters that are not formatted correctly or do not run during an\n execution.

                                                      " + "smithy.api#documentation": "

                                                      A list of parameters that aren't formatted correctly or don't run during an\n execution.

                                                      " } } } @@ -11650,7 +11746,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is false. Applies to Linux instances\n only.

                                                      " } }, "RejectedPatches": { @@ -11662,7 +11758,7 @@ "RejectedPatchesAction": { "target": "com.amazonaws.ssm#PatchAction", "traits": { - "smithy.api#documentation": "

                                                      The action specified to take on patches included in the RejectedPatches list. A patch can be\n allowed only if it is a dependency of another package, or blocked entirely along with packages\n that include it as a dependency.

                                                      " + "smithy.api#documentation": "

                                                      The action specified to take on patches included in the RejectedPatches list. A\n patch can be allowed only if it is a dependency of another package, or blocked entirely along\n with packages that include it as a dependency.

                                                      " } }, "PatchGroups": { @@ -11714,7 +11810,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an AWS service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n AWS service charges money to the account based on feature or service usage, then the AWS service\n team might create a default setting of \"false\". This means the user can't use this feature unless\n they change the setting to \"true\" and intentionally opt in for a paid feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. AWS services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the UpdateServiceSetting API action to change\n the default setting. Or use the ResetServiceSetting to change the value back to\n the original value defined by the AWS service team.

                                                      \n

                                                      Query the current service setting for the account.

                                                      " + "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an Amazon Web Services service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services\n service team might create a default setting of false. This means the user can't use\n this feature unless they change the setting to true and intentionally opt in for a\n paid feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the UpdateServiceSetting API operation to\n change the default setting. Or use the ResetServiceSetting to change the value\n back to the original value defined by the Amazon Web Services service team.

                                                      \n

                                                      Query the current service setting for the account.

                                                      " } }, "com.amazonaws.ssm#GetServiceSettingRequest": { @@ -11729,7 +11825,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The request body of the GetServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The request body of the GetServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#GetServiceSettingResult": { @@ -11743,7 +11839,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The query result body of the GetServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The query result body of the GetServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#HierarchyLevelLimitExceededException": { @@ -11752,12 +11848,16 @@ "message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      A hierarchy can have a maximum of 15 levels. For more information, see Requirements and\n constraints for parameter names in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A hierarchy can have a maximum of 15 levels. For more information, see Requirements and\n constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

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

                                                      A hierarchy can have a maximum of 15 levels. For more information, see Requirements and\n constraints for parameter names in the AWS Systems Manager User Guide.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "HierarchyLevelLimitExceededException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      A hierarchy can have a maximum of 15 levels. For more information, see Requirements and\n constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#error": "client" } }, @@ -11767,12 +11867,16 @@ "message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      Parameter Store does not support changing a parameter type in a hierarchy. For example, you\n can't change a parameter from a String type to a SecureString type. You\n must create a new, unique parameter.

                                                      " + "smithy.api#documentation": "

                                                      Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you\n can't change a parameter from a String type to a SecureString type. You\n must create a new, unique parameter.

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

                                                      Parameter Store does not support changing a parameter type in a hierarchy. For example, you\n can't change a parameter from a String type to a SecureString type. You\n must create a new, unique parameter.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "HierarchyTypeMismatchException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you\n can't change a parameter from a String type to a SecureString type. You\n must create a new, unique parameter.

                                                      ", "smithy.api#error": "client" } }, @@ -11815,6 +11919,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "IdempotentParameterMismatch", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      Error returned when an idempotent operation is retried and the parameters don't match the\n original call to the API with the same idempotency token.

                                                      ", "smithy.api#error": "client" } @@ -11827,6 +11935,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "IncompatiblePolicyException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      There is a conflict in the policies specified for this parameter. You can't, for example,\n specify two Expiration policies for a parameter. Review your policies, and try again.

                                                      ", "smithy.api#error": "client" } @@ -11919,7 +12031,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An S3 bucket where you want to store the results of this request.

                                                      \n

                                                      For the minimal permissions required to enable Amazon S3 output for an association, see Creating\n associations in the Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      An S3 bucket where you want to store the results of this request.

                                                      \n

                                                      For the minimal permissions required to enable Amazon S3 output for an association,\n see Creating associations in the Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#InstanceAssociationOutputUrl": { @@ -12083,7 +12195,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.\n This field does not indicate whether or not the latest version is installed on Windows managed\n instances, because some older versions of Windows Server use the EC2Config service to process SSM\n requests.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.\n This field doesn't indicate whether or not the latest version is installed on Windows managed\n instances, because some older versions of Windows Server use the EC2Config service to process\n Systems Manager requests.

                                                      " } }, "PlatformType": { @@ -12107,19 +12219,19 @@ "ActivationId": { "target": "com.amazonaws.ssm#ActivationId", "traits": { - "smithy.api#documentation": "

                                                      The activation ID created by Systems Manager when the server or VM was registered.

                                                      " + "smithy.api#documentation": "

                                                      The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was\n registered.

                                                      " } }, "IamRole": { "target": "com.amazonaws.ssm#IamRole", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager\n managed instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM\n role for an EC2 instance, use the Amazon EC2 DescribeInstances action. For information,\n see DescribeInstances in the\n Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.

                                                      " + "smithy.api#documentation": "

                                                      The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager\n managed instance. This call doesn't return the IAM role for Amazon Elastic Compute Cloud\n (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use\n the Amazon EC2 DescribeInstances operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in\n the Amazon Web Services CLI Command Reference.

                                                      " } }, "RegistrationDate": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The date the server or VM was registered with AWS as a managed instance.

                                                      " + "smithy.api#documentation": "

                                                      The date the server or VM was registered with Amazon Web Services as a managed instance.

                                                      " } }, "ResourceType": { @@ -12131,7 +12243,7 @@ "Name": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The name assigned to an on-premises server or virtual machine (VM) when it is activated as a\n Systems Manager managed instance. The name is specified as the DefaultInstanceName property\n using the CreateActivation command. It is applied to the managed instance by\n specifying the Activation Code and Activation ID when you install SSM Agent on the instance, as\n explained in Install SSM Agent for a\n hybrid environment (Linux) and Install SSM Agent for a hybrid environment\n (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2\n DescribeInstances action. For information, see DescribeInstances in the\n Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.

                                                      " + "smithy.api#documentation": "

                                                      The name assigned to an on-premises server or virtual machine (VM) when it is activated as a\n Systems Manager managed instance. The name is specified as the DefaultInstanceName property\n using the CreateActivation command. It is applied to the managed instance by\n specifying the Activation Code and Activation ID when you install SSM Agent on the instance, as\n explained in Install SSM Agent for a\n hybrid environment (Linux) and Install SSM Agent for a\n hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2\n DescribeInstances operation. For information, see DescribeInstances in the\n Amazon EC2 API Reference or describe-instances in the\n Amazon Web Services CLI Command Reference.

                                                      " } }, "IPAddress": { @@ -12194,7 +12306,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Describes a filter for a specific list of instances. You can filter instances information by\n using tags. You specify tags by using a key-value mapping.

                                                      \n

                                                      Use this action instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The\n InstanceInformationFilterList method is a legacy method and does not support tags.\n

                                                      " + "smithy.api#documentation": "

                                                      Describes a filter for a specific list of instances. You can filter instances information by\n using tags. You specify tags by using a key-value mapping.

                                                      \n

                                                      Use this operation instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The\n InstanceInformationFilterList method is a legacy method and doesn't support tags.\n

                                                      " } }, "com.amazonaws.ssm#InstanceInformationFilterKey": { @@ -12288,7 +12400,7 @@ "Key": { "target": "com.amazonaws.ssm#InstanceInformationStringFilterKey", "traits": { - "smithy.api#documentation": "

                                                      The filter key name to describe your instances. For example:

                                                      \n

                                                      \"InstanceIds\"|\"AgentVersion\"|\"PingStatus\"|\"PlatformTypes\"|\"ActivationIds\"|\"IamRole\"|\"ResourceType\"|\"AssociationStatus\"|\"Tag\n Key\"

                                                      \n \n

                                                      \n Tag key is not a valid filter. You must specify either tag-key or\n tag:keyname and a string. Here are some valid examples: tag-key, tag:123, tag:al!,\n tag:Windows. Here are some invalid examples: tag-keys, Tag Key, tag:,\n tagKey, abc:keyname.

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

                                                      The filter key name to describe your instances. For example:

                                                      \n

                                                      \"InstanceIds\"|\"AgentVersion\"|\"PingStatus\"|\"PlatformTypes\"|\"ActivationIds\"|\"IamRole\"|\"ResourceType\"|\"AssociationStatus\"|\"Tag\n Key\"

                                                      \n \n

                                                      \n Tag key isn't a valid filter. You must specify either tag-key or\n tag:keyname and a string. Here are some valid examples: tag-key, tag:123, tag:al!,\n tag:Windows. Here are some invalid examples: tag-keys, Tag Key, tag:,\n tagKey, abc:keyname.

                                                      \n
                                                      ", "smithy.api#required": {} } }, @@ -12359,7 +12471,7 @@ "InstallOverrideList": { "target": "com.amazonaws.ssm#InstallOverrideList", "traits": { - "smithy.api#documentation": "

                                                      An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch\n installation list, which you maintain in an S3 bucket in YAML format and specify in the SSM\n document AWS-RunPatchBaseline, overrides the patches specified by the default patch\n baseline.

                                                      \n

                                                      For more information about the InstallOverrideList parameter, see About the\n SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of\n patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML\n format and specify in the SSM document AWS-RunPatchBaseline, overrides the patches\n specified by the default patch baseline.

                                                      \n

                                                      For more information about the InstallOverrideList parameter, see About the\n AWS-RunPatchBaseline\n SSM document in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "OwnerInformation": { @@ -12391,7 +12503,7 @@ "target": "com.amazonaws.ssm#PatchInstalledRejectedCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of patches installed on an instance that are specified in a\n RejectedPatches list. Patches with a status of\n InstalledRejected were typically installed before they were added to a\n RejectedPatches list.

                                                      \n \n

                                                      If ALLOW_AS_DEPENDENCY is the specified option for\n RejectedPatchesAction, the value of InstalledRejectedCount will\n always be 0 (zero).

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

                                                      The number of patches installed on an instance that are specified in a\n RejectedPatches list. Patches with a status of InstalledRejected were\n typically installed before they were added to a RejectedPatches list.

                                                      \n \n

                                                      If ALLOW_AS_DEPENDENCY is the specified option for\n RejectedPatchesAction, the value of InstalledRejectedCount will\n always be 0 (zero).

                                                      \n
                                                      " } }, "MissingCount": { @@ -12410,7 +12522,7 @@ "target": "com.amazonaws.ssm#PatchUnreportedNotApplicableCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of patches beyond the supported limit of NotApplicableCount that are\n not reported by name to Systems Manager Inventory.

                                                      " + "smithy.api#documentation": "

                                                      The number of patches beyond the supported limit of NotApplicableCount that\n aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

                                                      " } }, "NotApplicableCount": { @@ -12436,7 +12548,7 @@ "Operation": { "target": "com.amazonaws.ssm#PatchOperationType", "traits": { - "smithy.api#documentation": "

                                                      The type of patching operation that was performed: SCAN (assess patch\n compliance state) or INSTALL (install missing patches).

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

                                                      The type of patching operation that was performed: or

                                                      \n
                                                        \n
                                                      • \n

                                                        \n SCAN assesses the patch compliance state.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n INSTALL installs missing patches.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, @@ -12449,28 +12561,28 @@ "RebootOption": { "target": "com.amazonaws.ssm#RebootOption", "traits": { - "smithy.api#documentation": "

                                                      Indicates the reboot option specified in the patch baseline.

                                                      \n \n

                                                      Reboot options apply to Install operations only. Reboots are not attempted for\n Patch Manager Scan operations.

                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        \n RebootIfNeeded: Patch Manager tries to reboot the\n instance if it installed any patches, or if any patches are detected with a status of\n InstalledPendingReboot.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NoReboot: Patch Manager attempts to install missing\n packages without trying to reboot the system. Patches installed with this option are assigned a\n status of InstalledPendingReboot. These patches might not be in effect until a\n reboot is performed.

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

                                                      Indicates the reboot option specified in the patch baseline.

                                                      \n \n

                                                      Reboot options apply to Install operations only. Reboots aren't attempted for\n Patch Manager Scan operations.

                                                      \n
                                                      \n
                                                        \n
                                                      • \n

                                                        \n RebootIfNeeded: Patch Manager tries to reboot the instance if it installed\n any patches, or if any patches are detected with a status of\n InstalledPendingReboot.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NoReboot: Patch Manager attempts to install missing packages without trying\n to reboot the system. Patches installed with this option are assigned a status of\n InstalledPendingReboot. These patches might not be in effect until a reboot is\n performed.

                                                        \n
                                                      • \n
                                                      " } }, "CriticalNonCompliantCount": { "target": "com.amazonaws.ssm#PatchCriticalNonCompliantCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as \"Critical\" for compliance\n reporting in the patch baseline are not installed. These patches might be missing, have failed\n installation, were rejected, or were installed but awaiting a required instance reboot. The\n status of these instances is NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as Critical for\n compliance reporting in the patch baseline aren't installed. These patches might be missing, have\n failed installation, were rejected, or were installed but awaiting a required instance reboot.\n The status of these instances is NON_COMPLIANT.

                                                      " } }, "SecurityNonCompliantCount": { "target": "com.amazonaws.ssm#PatchSecurityNonCompliantCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as \"Security\" in a patch advisory\n are not installed. These patches might be missing, have failed installation, were rejected, or\n were installed but awaiting a required instance reboot. The status of these instances is\n NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances where patches that are specified as Security in a patch\n advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required instance reboot. The status of these\n instances is NON_COMPLIANT.

                                                      " } }, "OtherNonCompliantCount": { "target": "com.amazonaws.ssm#PatchOtherNonCompliantCount", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of instances with patches installed that are specified as other than \"Critical\"\n or \"Security\" but are not compliant with the patch baseline. The status of these instances is\n NON_COMPLIANT.

                                                      " + "smithy.api#documentation": "

                                                      The number of instances with patches installed that are specified as other than\n Critical or Security but aren't compliant with the patch baseline. The\n status of these instances is NON_COMPLIANT.

                                                      " } } }, @@ -12484,27 +12596,27 @@ "Key": { "target": "com.amazonaws.ssm#InstancePatchStateFilterKey", "traits": { - "smithy.api#documentation": "

                                                      The key for the filter. Supported values are FailedCount, InstalledCount,\n InstalledOtherCount, MissingCount and NotApplicableCount.

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

                                                      The key for the filter. Supported values include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n InstalledCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InstalledOtherCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InstalledPendingRebootCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n InstalledRejectedCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n MissingCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n FailedCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n UnreportedNotApplicableCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n NotApplicableCount\n

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } }, "Values": { "target": "com.amazonaws.ssm#InstancePatchStateFilterValues", "traits": { - "smithy.api#documentation": "

                                                      The value for the filter, must be an integer greater than or equal to 0.

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

                                                      The value for the filter. Must be an integer greater than or equal to 0.

                                                      ", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.ssm#InstancePatchStateOperatorType", "traits": { - "smithy.api#documentation": "

                                                      The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or\n GreaterThan.

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

                                                      The type of comparison that should be performed for the value.

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

                                                      Defines a filter used in DescribeInstancePatchStatesForPatchGroup used to\n scope down the information returned by the API.

                                                      " + "smithy.api#documentation": "

                                                      Defines a filter used in DescribeInstancePatchStatesForPatchGroup to scope\n down the information returned by the API.

                                                      \n

                                                      \n Example: To filter for all instances in a patch group\n having more than three patches with a FailedCount status, use the following for the\n filter:

                                                      \n
                                                        \n
                                                      • \n

                                                        Value for Key: FailedCount\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        Value for Type: GreaterThan\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        Value for Values: 3\n

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.ssm#InstancePatchStateFilterKey": { @@ -12607,6 +12719,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InternalServerError", + "httpResponseCode": 500 + }, "smithy.api#documentation": "

                                                      An error occurred on the server side.

                                                      ", "smithy.api#error": "server" } @@ -12619,7 +12735,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The activation is not valid. The activation might have been deleted, or the ActivationId and\n the ActivationCode do not match.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidActivation", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The activation isn't valid. The activation might have been deleted, or the ActivationId and\n the ActivationCode don't match.

                                                      ", "smithy.api#error": "client" } }, @@ -12631,7 +12751,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The activation ID is not valid. Verify the you entered the correct ActivationId or\n ActivationCode and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidActivationId", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The activation ID isn't valid. Verify the you entered the correct ActivationId or\n ActivationCode and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12643,7 +12767,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified aggregator is not valid for inventory groups. Verify that the aggregator uses\n a valid inventory type such as AWS:Application or\n AWS:InstanceInformation.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAggregator", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a\n valid inventory type such as AWS:Application or\n AWS:InstanceInformation.

                                                      ", "smithy.api#error": "client" } }, @@ -12653,12 +12781,16 @@ "message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The request does not meet the regular expression requirement.

                                                      " + "smithy.api#documentation": "

                                                      The request doesn't meet the regular expression requirement.

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

                                                      The request does not meet the regular expression requirement.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAllowedPatternException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The request doesn't meet the regular expression requirement.

                                                      ", "smithy.api#error": "client" } }, @@ -12670,7 +12802,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The association is not valid or does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAssociation", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The association isn't valid or doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -12682,7 +12818,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The version you specified is not valid. Use ListAssociationVersions to view all versions of\n an association according to the association ID. Or, use the $LATEST parameter to\n view the latest version of the association.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAssociationVersion", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The version you specified isn't valid. Use ListAssociationVersions to view all versions of\n an association according to the association ID. Or, use the $LATEST parameter to\n view the latest version of the association.

                                                      ", "smithy.api#error": "client" } }, @@ -12694,7 +12834,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The supplied parameters for invoking the specified Automation document are incorrect. For\n example, they may not match the set of parameters permitted for the specified Automation\n document.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAutomationExecutionParameters", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The supplied parameters for invoking the specified Automation runbook are incorrect. For\n example, they may not match the set of parameters permitted for the specified Automation\n document.

                                                      ", "smithy.api#error": "client" } }, @@ -12706,7 +12850,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The signal is not valid for the current Automation execution.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAutomationSignalException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The signal isn't valid for the current Automation execution.

                                                      ", "smithy.api#error": "client" } }, @@ -12718,7 +12866,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified update status operation is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidAutomationStatusUpdateException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified update status operation isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12726,7 +12878,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The specified command ID is not valid. Verify the ID and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidCommandId", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The specified command ID isn't valid. Verify the ID and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12738,7 +12894,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      One or more of the parameters specified for the delete operation is not valid. Verify all\n parameters and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDeleteInventoryParameters", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      One or more of the parameters specified for the delete operation isn't valid. Verify all\n parameters and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12750,7 +12910,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The ID specified for the delete operation does not exist or is not valid. Verify the ID and\n try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDeletionId", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and\n try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12760,12 +12924,16 @@ "Message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The document does not exist or the document is not available to the user. This exception can\n be issued by CreateAssociation, CreateAssociationBatch, DeleteAssociation, DeleteDocument,\n DescribeAssociation, DescribeDocument, GetDocument, SendCommand, or UpdateAssociationStatus.\n

                                                      " + "smithy.api#documentation": "

                                                      The SSM document doesn't exist or the document isn't available to the user. This exception\n can be issued by various API operations.

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

                                                      The specified document does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDocument", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The specified SSM document doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -12780,7 +12948,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The content for the document is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDocumentContent", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The content for the document isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12792,6 +12964,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidDocumentOperation", + "httpResponseCode": 403 + }, "smithy.api#documentation": "

                                                      You attempted to delete a document while it is still shared. You must stop sharing the\n document before you can delete it.

                                                      ", "smithy.api#error": "client" } @@ -12804,7 +12980,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The version of the document schema is not supported.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDocumentSchemaVersion", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The version of the document schema isn't supported.

                                                      ", "smithy.api#error": "client" } }, @@ -12816,7 +12996,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The document type is not valid. Valid document types are described in the\n DocumentType property.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDocumentType", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The SSM document type isn't valid. Valid document types are described in the\n DocumentType property.

                                                      ", "smithy.api#error": "client" } }, @@ -12828,7 +13012,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The document version is not valid or does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidDocumentVersion", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The document version isn't valid or doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -12840,7 +13028,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The filter name is not valid. Verify the you entered the correct name and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidFilter", + "httpResponseCode": 441 + }, + "smithy.api#documentation": "

                                                      The filter name isn't valid. Verify the you entered the correct name and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12848,7 +13040,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The specified key is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidFilterKey", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified key isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12858,12 +13054,16 @@ "message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path\n filter, valid options are Recursive and OneLevel.

                                                      " + "smithy.api#documentation": "

                                                      The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path\n filter, valid options are Recursive and OneLevel.

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

                                                      The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path\n filter, valid options are Recursive and OneLevel.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidFilterOption", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path\n filter, valid options are Recursive and OneLevel.

                                                      ", "smithy.api#error": "client" } }, @@ -12875,7 +13075,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The filter value is not valid. Verify the value and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidFilterValue", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The filter value isn't valid. Verify the value and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -12887,7 +13091,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The following problems can cause this exception:

                                                      \n

                                                      You do not have permission to access the instance.

                                                      \n

                                                      SSM Agent is not running. Verify that SSM Agent is running.

                                                      \n

                                                      SSM Agent is not registered with the SSM endpoint. Try reinstalling SSM Agent.

                                                      \n

                                                      The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping.\n Invalid states are: Shutting-down and Terminated.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidInstanceId", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The following problems can cause this exception:

                                                      \n
                                                        \n
                                                      • \n

                                                        You don't have permission to access the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is\n running.

                                                        \n
                                                      • \n
                                                      • \n

                                                        SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The instance isn't in valid state. Valid states are: Running,\n Pending, Stopped, and Stopping. Invalid states are:\n Shutting-down and Terminated.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#error": "client" } }, @@ -12899,7 +13107,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified filter value is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidInstanceInformationFilterValue", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified filter value isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12911,7 +13123,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified inventory group is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidInventoryGroup", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified inventory group isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12923,6 +13139,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidInventoryItemContext", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You specified invalid keys or values in the Context attribute for\n InventoryItem. Verify the keys and values, and try again.

                                                      ", "smithy.api#error": "client" } @@ -12935,7 +13155,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The request is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidInventoryRequest", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The request isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12950,7 +13174,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      One or more content items is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidItemContent", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      One or more content items isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12962,7 +13190,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The query key ID is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidKeyId", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The query key ID isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12974,7 +13206,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified token is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidNextToken", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified token isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -12986,7 +13222,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      One or more configuration items is not valid. Verify that a valid Amazon Resource Name (ARN)\n was provided for an Amazon SNS topic.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidNotificationConfig", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN)\n was provided for an Amazon Simple Notification Service topic.

                                                      ", "smithy.api#error": "client" } }, @@ -12998,7 +13238,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The delete inventory option specified is not valid. Verify the option and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidOption", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The delete inventory option specified isn't valid. Verify the option and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -13006,7 +13250,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The S3 bucket does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidOutputFolder", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The S3 bucket doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -13014,7 +13262,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The output location is not valid or does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidOutputLocation", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The output location isn't valid or doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -13026,7 +13278,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      You must specify values for all required parameters in the Systems Manager document. You can only\n supply values to parameters defined in the Systems Manager document.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidParameters", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM\n document). You can only supply values to parameters defined in the SSM document.

                                                      ", "smithy.api#error": "client" } }, @@ -13038,7 +13294,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The permission type is not supported. Share is the only supported\n permission type.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidPermissionType", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The permission type isn't supported. Share is the only supported\n permission type.

                                                      ", "smithy.api#error": "client" } }, @@ -13046,7 +13306,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The plugin name is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidPluginName", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The plugin name isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -13058,6 +13322,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidPolicyAttributeException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      A policy attribute or its value is invalid.

                                                      ", "smithy.api#error": "client" } @@ -13070,7 +13338,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The policy type is not supported. Parameter Store supports the following policy types:\n Expiration, ExpirationNotification, and NoChangeNotification.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidPolicyTypeException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The policy type isn't supported. Parameter Store supports the following policy types:\n Expiration, ExpirationNotification, and NoChangeNotification.

                                                      ", "smithy.api#error": "client" } }, @@ -13078,7 +13350,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The resource ID is not valid. Verify that you entered the correct ID and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidResourceId", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The resource ID isn't valid. Verify that you entered the correct ID and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -13086,7 +13362,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The resource type is not valid. For example, if you are attempting to tag an instance, the\n instance must be a registered, managed instance.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidResourceType", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The resource type isn't valid. For example, if you are attempting to tag an instance, the\n instance must be a registered, managed instance.

                                                      ", "smithy.api#error": "client" } }, @@ -13098,7 +13378,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified inventory item result attribute is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidResultAttribute", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified inventory item result attribute isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -13110,7 +13394,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The role name can't contain invalid characters. Also verify that you specified an IAM role\n for notifications that includes the required trust policy. For information about configuring the\n IAM role for Run Command notifications, see Configuring Amazon SNS\n Notifications for Run Command in the AWS Systems Manager User Guide.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidRole", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about\n configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command in the\n Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#error": "client" } }, @@ -13122,6 +13410,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidSchedule", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The schedule is invalid. Verify your cron or rate expression and try again.

                                                      ", "smithy.api#error": "client" } @@ -13134,7 +13426,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The target is not valid or does not exist. It might not be configured for Systems Manager or you might\n not have permission to perform the operation.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidTarget", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might\n not have permission to perform the operation.

                                                      ", "smithy.api#error": "client" } }, @@ -13146,7 +13442,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The parameter type name is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidTypeName", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The parameter type name isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -13158,7 +13458,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The update is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvalidUpdate", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The update isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -13257,7 +13561,7 @@ "DeletionId": { "target": "com.amazonaws.ssm#UUID", "traits": { - "smithy.api#documentation": "

                                                      The deletion ID returned by the DeleteInventory action.

                                                      " + "smithy.api#documentation": "

                                                      The deletion ID returned by the DeleteInventory operation.

                                                      " } }, "TypeName": { @@ -13287,7 +13591,7 @@ "DeletionSummary": { "target": "com.amazonaws.ssm#InventoryDeletionSummary", "traits": { - "smithy.api#documentation": "

                                                      Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "LastStatusUpdateTime": { @@ -13298,7 +13602,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Status information returned by the DeleteInventory action.

                                                      " + "smithy.api#documentation": "

                                                      Status information returned by the DeleteInventory operation.

                                                      " } }, "com.amazonaws.ssm#InventoryDeletionSummary": { @@ -13307,7 +13611,7 @@ "TotalCount": { "target": "com.amazonaws.ssm#TotalCount", "traits": { - "smithy.api#documentation": "

                                                      The total number of items to delete. This count does not change during the delete\n operation.

                                                      " + "smithy.api#documentation": "

                                                      The total number of items to delete. This count doesn't change during the delete\n operation.

                                                      " } }, "RemainingCount": { @@ -13378,14 +13682,14 @@ "Values": { "target": "com.amazonaws.ssm#InventoryFilterValueList", "traits": { - "smithy.api#documentation": "

                                                      Inventory filter values. Example: inventory filter where instance IDs are specified as\n values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal\n

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

                                                      Inventory filter values. Example: inventory filter where instance IDs are specified as\n values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g,\n i-1a2b3c4d5e6,Type=Equal.

                                                      ", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.ssm#InventoryQueryOperatorType", "traits": { - "smithy.api#documentation": "

                                                      The type of filter.

                                                      \n \n

                                                      The Exists filter must be used with aggregators. For more information, see\n Aggregating inventory\n data in the AWS Systems Manager User Guide.

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

                                                      The type of filter.

                                                      \n \n

                                                      The Exists filter must be used with aggregators. For more information, see\n Aggregating inventory\n data in the Amazon Web Services Systems Manager User Guide.

                                                      \n
                                                      " } } }, @@ -13487,7 +13791,7 @@ "TypeName": { "target": "com.amazonaws.ssm#InventoryItemTypeName", "traits": { - "smithy.api#documentation": "

                                                      The name of the inventory type. Default inventory item type names start with AWS. Custom\n inventory type names will start with Custom. Default inventory item types include the following:\n AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and\n AWS:WindowsUpdate.

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

                                                      The name of the inventory type. Default inventory item type names start with\n AWS. Custom inventory type names will start with Custom. Default inventory item\n types include the following: AWS:AWSComponent, AWS:Application,\n AWS:InstanceInformation, AWS:Network, and\n AWS:WindowsUpdate.

                                                      ", "smithy.api#required": {} } }, @@ -13508,7 +13812,7 @@ "ContentHash": { "target": "com.amazonaws.ssm#InventoryItemContentHash", "traits": { - "smithy.api#documentation": "

                                                      MD5 hash of the inventory item type contents. The content hash is used to determine whether\n to update inventory information. The PutInventory API does not update the inventory item type\n contents if the MD5 hash has not changed since last update.

                                                      " + "smithy.api#documentation": "

                                                      MD5 hash of the inventory item type contents. The content hash is used to determine whether\n to update inventory information. The PutInventory API doesn't update the inventory item type\n contents if the MD5 hash hasn't changed since last update.

                                                      " } }, "Content": { @@ -13646,7 +13950,7 @@ "TypeName": { "target": "com.amazonaws.ssm#InventoryItemTypeName", "traits": { - "smithy.api#documentation": "

                                                      The name of the inventory type. Default inventory item type names start with AWS. Custom\n inventory type names will start with Custom. Default inventory item types include the following:\n AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and\n AWS:WindowsUpdate.

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

                                                      The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom\n inventory type names will start with Custom. Default inventory item types include the following:\n AWS:AWSComponent, AWS:Application,\n AWS:InstanceInformation, AWS:Network, and\n AWS:WindowsUpdate.

                                                      ", "smithy.api#required": {} } }, @@ -13794,7 +14098,7 @@ "ContentHash": { "target": "com.amazonaws.ssm#InventoryItemContentHash", "traits": { - "smithy.api#documentation": "

                                                      MD5 hash of the inventory item type contents. The content hash is used to determine whether\n to update inventory information. The PutInventory API does not update the inventory item type\n contents if the MD5 hash has not changed since last update.

                                                      " + "smithy.api#documentation": "

                                                      MD5 hash of the inventory item type contents. The content hash is used to determine whether\n to update inventory information. The PutInventory API doesn't update the inventory item type\n contents if the MD5 hash hasn't changed since last update.

                                                      " } }, "Content": { @@ -13843,7 +14147,11 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The command ID and instance ID you specified did not match any invocations. Verify the\n command ID and the instance ID and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "InvocationDoesNotExist", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The command ID and instance ID you specified didn't match any invocations. Verify the\n command ID and the instance ID and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -13870,6 +14178,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ItemContentMismatch", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The inventory item has invalid content.

                                                      ", "smithy.api#error": "client" } @@ -13885,6 +14197,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ItemSizeLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The inventory item size has exceeded the size limit.

                                                      ", "smithy.api#error": "client" } @@ -13921,7 +14237,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      A parameter label is a user-defined alias to help you manage different versions of a\n parameter. When you modify a parameter, Systems Manager automatically saves a new version and increments\n the version number by one. A label can help you remember the purpose of a parameter when there\n are multiple versions.

                                                      \n

                                                      Parameter labels have the following requirements and restrictions.

                                                      \n
                                                        \n
                                                      • \n

                                                        A version of a parameter can have a maximum of 10 labels.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can't attach the same label to different versions of the same parameter. For example,\n if version 1 has the label Production, then you can't attach Production to version 2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can move a label from one version of a parameter to another.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can't create a label when you create a new parameter. You must attach a label to a\n specific version of a parameter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        If you no longer want to use a parameter label, then you can either delete it or move it\n to a different version of a parameter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A label can have a maximum of 100 characters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Labels can contain letters (case sensitive), numbers, periods (.), hyphens (-), or\n underscores (_).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Labels can't begin with a number, \"aws,\" or \"ssm\" (not case sensitive). If a label fails\n to meet these requirements, then the label is not associated with a parameter and the system\n displays it in the list of InvalidLabels.

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

                                                      A parameter label is a user-defined alias to help you manage different versions of a\n parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and\n increments the version number by one. A label can help you remember the purpose of a parameter\n when there are multiple versions.

                                                      \n

                                                      Parameter labels have the following requirements and restrictions.

                                                      \n
                                                        \n
                                                      • \n

                                                        A version of a parameter can have a maximum of 10 labels.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can't attach the same label to different versions of the same parameter. For example,\n if version 1 has the label Production, then you can't attach Production to version 2.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can move a label from one version of a parameter to another.

                                                        \n
                                                      • \n
                                                      • \n

                                                        You can't create a label when you create a new parameter. You must attach a label to a\n specific version of a parameter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        If you no longer want to use a parameter label, then you can either delete it or move it\n to a different version of a parameter.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A label can have a maximum of 100 characters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Labels can contain letters (case sensitive), numbers, periods (.), hyphens (-), or\n underscores (_).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Labels can't begin with a number, \"aws\" or \"ssm\" (not case\n sensitive). If a label fails to meet these requirements, then the label isn't associated with a\n parameter and the system displays it in the list of InvalidLabels.

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.ssm#LabelParameterVersionRequest": { @@ -13956,7 +14272,7 @@ "InvalidLabels": { "target": "com.amazonaws.ssm#ParameterLabelList", "traits": { - "smithy.api#documentation": "

                                                      The label does not meet the requirements. For information about parameter label\n requirements, see Labeling parameters\n in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The label doesn't meet the requirements. For information about parameter label requirements,\n see Labeling parameters\n in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ParameterVersion": { @@ -14083,7 +14399,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns all State Manager associations in the current AWS account and Region. You can limit\n the results to a specific State Manager association document or instance by specifying a\n filter.

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

                                                      Returns all State Manager associations in the current account and Region. You\n can limit the results to a specific State Manager association document or instance by specifying\n a filter. State Manager is a capability of Amazon Web Services Systems Manager.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14098,7 +14414,7 @@ "AssociationFilterList": { "target": "com.amazonaws.ssm#AssociationFilterList", "traits": { - "smithy.api#documentation": "

                                                      One or more filters. Use a filter to return a more specific list of results.

                                                      \n \n

                                                      Filtering associations using the InstanceID attribute only returns legacy\n associations created using the InstanceID attribute. Associations targeting the\n instance that are part of the Target Attributes ResourceGroup or Tags\n are not returned.

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

                                                      One or more filters. Use a filter to return a more specific list of results.

                                                      \n \n

                                                      Filtering associations using the InstanceID attribute only returns legacy\n associations created using the InstanceID attribute. Associations targeting the\n instance that are part of the Target Attributes ResourceGroup or Tags\n aren't returned.

                                                      \n
                                                      " } }, "MaxResults": { @@ -14159,7 +14475,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      An invocation is copy of a command sent to a specific instance. A command can apply to one\n or more instances. A command invocation applies to one instance. For example, if a user runs\n SendCommand against three instances, then a command invocation is created for each requested\n instance ID. ListCommandInvocations provide status about command execution.

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

                                                      An invocation is copy of a command sent to a specific instance. A command can apply to one\n or more instances. A command invocation applies to one instance. For example, if a user runs\n SendCommand against three instances, then a command invocation is created for each\n requested instance ID. ListCommandInvocations provide status about command\n execution.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14205,7 +14521,7 @@ "Details": { "target": "com.amazonaws.ssm#Boolean", "traits": { - "smithy.api#documentation": "

                                                      (Optional) If set this returns the response of the command executions and any command\n output. The default value is 'false'.

                                                      " + "smithy.api#documentation": "

                                                      (Optional) If set this returns the response of the command executions and any command\n output. The default value is false.

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

                                                      Lists the commands requested by users of the AWS account.

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

                                                      Lists the commands requested by users of the account.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14274,7 +14590,7 @@ "InstanceId": { "target": "com.amazonaws.ssm#InstanceId", "traits": { - "smithy.api#documentation": "

                                                      (Optional) Lists commands issued against this instance ID.

                                                      \n \n

                                                      You can't specify an instance ID in the same command that you specify Status =\n Pending. This is because the command has not reached the instance yet.

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

                                                      (Optional) Lists commands issued against this instance ID.

                                                      \n \n

                                                      You can't specify an instance ID in the same command that you specify Status =\n Pending. This is because the command hasn't reached the instance yet.

                                                      \n
                                                      " } }, "MaxResults": { @@ -14341,7 +14657,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      For a specified resource ID, this API action returns a list of compliance statuses for\n different resource types. Currently, you can only specify one resource ID per call. List results\n depend on the criteria specified in the filter.

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

                                                      For a specified resource ID, this API operation returns a list of compliance statuses for\n different resource types. Currently, you can only specify one resource ID per call. List results\n depend on the criteria specified in the filter.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14663,7 +14979,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns all Systems Manager (SSM) documents in the current AWS account and Region. You can limit the\n results of this request by using a filter.

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

                                                      Returns all Systems Manager (SSM) documents in the current account and Region. You can\n limit the results of this request by using a filter.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14684,7 +15000,7 @@ "Filters": { "target": "com.amazonaws.ssm#DocumentKeyValuesFilterList", "traits": { - "smithy.api#documentation": "

                                                      One or more DocumentKeyValuesFilter objects. Use a filter to return a more\n specific list of results. For keys, you can specify one or more key-value pair tags that have\n been applied to a document. Other valid keys include Owner, Name,\n PlatformTypes, DocumentType, and TargetType. For example,\n to return documents you own use Key=Owner,Values=Self. To specify a custom key-value\n pair, use the format Key=tag:tagName,Values=valueName.

                                                      \n \n

                                                      This API action only supports filtering documents by using a single tag key and one or more\n tag values. For example: Key=tag:tagName,Values=valueName1,valueName2\n

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

                                                      One or more DocumentKeyValuesFilter objects. Use a filter to return a more\n specific list of results. For keys, you can specify one or more key-value pair tags that have\n been applied to a document. Other valid keys include Owner, Name,\n PlatformTypes, DocumentType, and TargetType. For example,\n to return documents you own use Key=Owner,Values=Self. To specify a custom key-value\n pair, use the format Key=tag:tagName,Values=valueName.

                                                      \n \n

                                                      This API operation only supports filtering documents by using a single tag key and one or\n more tag values. For example: Key=tag:tagName,Values=valueName1,valueName2\n

                                                      \n
                                                      " } }, "MaxResults": { @@ -14708,7 +15024,7 @@ "DocumentIdentifiers": { "target": "com.amazonaws.ssm#DocumentIdentifierList", "traits": { - "smithy.api#documentation": "

                                                      The names of the Systems Manager documents.

                                                      " + "smithy.api#documentation": "

                                                      The names of the SSM documents.

                                                      " } }, "NextToken": { @@ -14850,7 +15166,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns a list of all OpsItem events in the current AWS account and Region. You can limit\n the results to events associated with specific OpsItems by specifying a filter.

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

                                                      Returns a list of all OpsItem events in the current Region and account. You can\n limit the results to events associated with specific OpsItems by specifying a filter.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -14988,7 +15304,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Systems Manager calls this API action when displaying all Application Manager OpsMetadata objects or\n blobs.

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

                                                      Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or\n blobs.

                                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -15152,7 +15468,7 @@ "SyncType": { "target": "com.amazonaws.ssm#ResourceDataSyncType", "traits": { - "smithy.api#documentation": "

                                                      View a list of resource data syncs according to the sync type. Specify\n SyncToDestination to view resource data syncs that synchronize data to an Amazon S3\n bucket. Specify SyncFromSource to view resource data syncs from AWS Organizations or from\n multiple AWS Regions.

                                                      " + "smithy.api#documentation": "

                                                      View a list of resource data syncs according to the sync type. Specify\n SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations\n or from multiple Regions.

                                                      " } }, "NextToken": { @@ -15176,7 +15492,7 @@ "ResourceDataSyncItems": { "target": "com.amazonaws.ssm#ResourceDataSyncItemList", "traits": { - "smithy.api#documentation": "

                                                      A list of your current Resource Data Sync configurations and their statuses.

                                                      " + "smithy.api#documentation": "

                                                      A list of your current resource data sync configurations and their statuses.

                                                      " } }, "NextToken": { @@ -15207,7 +15523,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Returns a list of the tags assigned to the specified resource.

                                                      " + "smithy.api#documentation": "

                                                      Returns a list of the tags assigned to the specified resource.

                                                      \n

                                                      For information about the ID format for each supported resource type, see AddTagsToResource.

                                                      " } }, "com.amazonaws.ssm#ListTagsForResourceRequest": { @@ -15265,7 +15581,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about an S3 bucket to write instance-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      Information about an Amazon Simple Storage Service (Amazon S3) bucket to write\n instance-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#Long": { @@ -15280,18 +15596,18 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The version of an Automation document to use during task execution.

                                                      " + "smithy.api#documentation": "

                                                      The version of an Automation runbook to use during task execution.

                                                      " } }, "Parameters": { "target": "com.amazonaws.ssm#AutomationParameterMap", "traits": { - "smithy.api#documentation": "

                                                      The parameters for the AUTOMATION task.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For AUTOMATION task types, Systems Manager ignores any values specified for these parameters.

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

                                                      The parameters for the AUTOMATION task.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For AUTOMATION task types, Amazon Web Services Systems Manager ignores any values specified for these\n parameters.

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

                                                      The parameters for an AUTOMATION task type.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for an AUTOMATION task type.

                                                      " } }, "com.amazonaws.ssm#MaintenanceWindowCutoff": { @@ -15349,7 +15665,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionStatusDetails", "traits": { - "smithy.api#documentation": "

                                                      The details explaining the Status. Only available for certain status values.

                                                      " + "smithy.api#documentation": "

                                                      The details explaining the status. Not available for all status values.

                                                      " } }, "StartTime": { @@ -15476,7 +15792,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionStatusDetails", "traits": { - "smithy.api#documentation": "

                                                      The details explaining the status of the task execution. Only available for certain status\n values.

                                                      " + "smithy.api#documentation": "

                                                      The details explaining the status of the task execution. Not available for all status\n values.

                                                      " } }, "StartTime": { @@ -15494,7 +15810,7 @@ "TaskArn": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskArn", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the task that ran.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the task that ran.

                                                      " } }, "TaskType": { @@ -15548,7 +15864,7 @@ "ExecutionId": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionTaskExecutionId", "traits": { - "smithy.api#documentation": "

                                                      The ID of the action performed in the service that actually handled the task invocation. If\n the task type is RUN_COMMAND, this value is the command ID.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the action performed in the service that actually handled the task invocation. If\n the task type is RUN_COMMAND, this value is the command ID.

                                                      " } }, "TaskType": { @@ -15572,7 +15888,7 @@ "StatusDetails": { "target": "com.amazonaws.ssm#MaintenanceWindowExecutionStatusDetails", "traits": { - "smithy.api#documentation": "

                                                      The details explaining the status of the task invocation. Only available for certain Status\n values.

                                                      " + "smithy.api#documentation": "

                                                      The details explaining the status of the task invocation. Not available for all status\n values.

                                                      " } }, "StartTime": { @@ -15590,7 +15906,7 @@ "OwnerInformation": { "target": "com.amazonaws.ssm#OwnerInformation", "traits": { - "smithy.api#documentation": "

                                                      User-provided value that was specified when the target was registered with the maintenance\n window. This was also included in any CloudWatch events raised during the task invocation.

                                                      " + "smithy.api#documentation": "

                                                      User-provided value that was specified when the target was registered with the maintenance\n window. This was also included in any Amazon CloudWatch Events events raised during the task\n invocation.

                                                      " } }, "WindowTargetId": { @@ -15633,7 +15949,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Filter used in the request. Supported filter keys are Name and Enabled.

                                                      " + "smithy.api#documentation": "

                                                      Filter used in the request. Supported filter keys depend on the API operation that includes\n the filter. API operations that use MaintenanceWindowFilter> include the\n following:

                                                      \n " } }, "com.amazonaws.ssm#MaintenanceWindowFilterKey": { @@ -15718,7 +16034,7 @@ "Cutoff": { "target": "com.amazonaws.ssm#MaintenanceWindowCutoff", "traits": { - "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Systems Manager stops scheduling new\n tasks for execution.

                                                      " + "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling\n new tasks for execution.

                                                      " } }, "Schedule": { @@ -15737,7 +16053,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled CRON expression\n date and time.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

                                                      " } }, "EndDate": { @@ -15804,13 +16120,13 @@ "ClientContext": { "target": "com.amazonaws.ssm#MaintenanceWindowLambdaClientContext", "traits": { - "smithy.api#documentation": "

                                                      Pass client-specific information to the Lambda function that you are invoking. You can then\n process the client information in your Lambda function as you choose through the context\n variable.

                                                      " + "smithy.api#documentation": "

                                                      Pass client-specific information to the Lambda function that you are\n invoking. You can then process the client information in your Lambda function as you\n choose through the context variable.

                                                      " } }, "Qualifier": { "target": "com.amazonaws.ssm#MaintenanceWindowLambdaQualifier", "traits": { - "smithy.api#documentation": "

                                                      (Optional) Specify a Lambda function version or alias name. If you specify a function\n version, the action uses the qualified function ARN to invoke a specific Lambda function. If you\n specify an alias name, the action uses the alias ARN to invoke the Lambda function version to\n which the alias points.

                                                      " + "smithy.api#documentation": "

                                                      (Optional) Specify an Lambda function version or alias name. If you specify a\n function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke\n a specific Lambda function. If you specify an alias name, the operation uses the\n alias ARN to invoke the Lambda function version to which the alias points.

                                                      " } }, "Payload": { @@ -15821,7 +16137,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The parameters for a LAMBDA task type.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and\n LoggingInfo.

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

                                                      The parameters for a LAMBDA task type.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and\n LoggingInfo.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#MaintenanceWindowLambdaPayload": { @@ -15913,7 +16229,7 @@ "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a\n specific version number. If you run commands by using the AWS CLI, then you must escape the first\n two options by using a backslash. If you specify a version number, then you don't need to use the\n backslash. For example:

                                                      \n

                                                      --document-version \"\\$DEFAULT\"

                                                      \n

                                                      --document-version \"\\$LATEST\"

                                                      \n

                                                      --document-version \"3\"

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services Systems Manager document (SSM document) version to use in the request. You can specify\n $DEFAULT, $LATEST, or a specific version number. If you run commands\n by using the Amazon Web Services CLI, then you must escape the first two options by using a backslash. If you\n specify a version number, then you don't need to use the backslash. For example:

                                                      \n

                                                      \n --document-version \"\\$DEFAULT\"\n

                                                      \n

                                                      \n --document-version \"\\$LATEST\"\n

                                                      \n

                                                      \n --document-version \"3\"\n

                                                      " } }, "NotificationConfig": { @@ -15925,7 +16241,7 @@ "OutputS3BucketName": { "target": "com.amazonaws.ssm#S3BucketName", "traits": { - "smithy.api#documentation": "

                                                      The name of the S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      The name of the Amazon Simple Storage Service (Amazon S3) bucket.

                                                      " } }, "OutputS3KeyPrefix": { @@ -15937,25 +16253,25 @@ "Parameters": { "target": "com.amazonaws.ssm#Parameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters for the RUN_COMMAND task execution.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for the RUN_COMMAND task execution.

                                                      " } }, "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for\n maintenance window Run Command tasks.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service \n(Amazon SNS) notifications for maintenance window Run Command tasks.

                                                      " } }, "TimeoutSeconds": { "target": "com.amazonaws.ssm#TimeoutSeconds", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If this time is reached and the command has not already started running, it doesn't\n run.

                                                      " + "smithy.api#documentation": "

                                                      If this time is reached and the command hasn't already started running, it doesn't\n run.

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

                                                      The parameters for a RUN_COMMAND task type.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For Run Command tasks, Systems Manager uses specified values for TaskParameters and\n LoggingInfo only if no values are specified for\n TaskInvocationParameters.

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

                                                      The parameters for a RUN_COMMAND task type.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For RUN_COMMAND tasks, Systems Manager uses specified values for\n TaskParameters and LoggingInfo only if no values are specified for\n TaskInvocationParameters.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#MaintenanceWindowSchedule": { @@ -16000,18 +16316,18 @@ "Input": { "target": "com.amazonaws.ssm#MaintenanceWindowStepFunctionsInput", "traits": { - "smithy.api#documentation": "

                                                      The inputs for the STEP_FUNCTIONS task.

                                                      " + "smithy.api#documentation": "

                                                      The inputs for the STEP_FUNCTIONS task.

                                                      " } }, "Name": { "target": "com.amazonaws.ssm#MaintenanceWindowStepFunctionsName", "traits": { - "smithy.api#documentation": "

                                                      The name of the STEP_FUNCTIONS task.

                                                      " + "smithy.api#documentation": "

                                                      The name of the STEP_FUNCTIONS task.

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

                                                      The parameters for a STEP_FUNCTIONS task.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For Step Functions tasks, Systems Manager ignores any values specified for\n TaskParameters and LoggingInfo.

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

                                                      The parameters for a STEP_FUNCTIONS task.

                                                      \n

                                                      For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n \n

                                                      \n TaskParameters has been deprecated. To specify parameters to pass to a task when it runs,\n instead use the Parameters option in the TaskInvocationParameters structure. For information\n about how Systems Manager handles these options for the supported maintenance window task\n types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n

                                                      For Step Functions tasks, Systems Manager ignores any values specified for\n TaskParameters and LoggingInfo.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#MaintenanceWindowStringDateTime": { @@ -16047,7 +16363,7 @@ "OwnerInformation": { "target": "com.amazonaws.ssm#OwnerInformation", "traits": { - "smithy.api#documentation": "

                                                      A user-provided value that will be included in any CloudWatch events that are raised while\n running tasks for these targets in this maintenance window.

                                                      " + "smithy.api#documentation": "

                                                      A user-provided value that will be included in any Amazon CloudWatch Events events that are\n raised while running tasks for these targets in this maintenance window.

                                                      " } }, "Name": { @@ -16101,19 +16417,19 @@ "TaskArn": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskArn", "traits": { - "smithy.api#documentation": "

                                                      The resource that the task uses during execution. For RUN_COMMAND and AUTOMATION task types,\n TaskArn is the Systems Manager document name or ARN. For LAMBDA tasks, it's the function name\n or ARN. For STEP_FUNCTIONS tasks, it's the state machine ARN.

                                                      " + "smithy.api#documentation": "

                                                      The resource that the task uses during execution. For RUN_COMMAND and\n AUTOMATION task types, TaskArn is the Amazon Web Services Systems Manager (SSM document) name or\n ARN. For LAMBDA tasks, it's the function name or ARN. For\n STEP_FUNCTIONS tasks, it's the state machine ARN.

                                                      " } }, "Type": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskType", "traits": { - "smithy.api#documentation": "

                                                      The type of task. The type can be one of the following: RUN_COMMAND, AUTOMATION, LAMBDA, or\n STEP_FUNCTIONS.

                                                      " + "smithy.api#documentation": "

                                                      The type of task.

                                                      " } }, "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets (either instances or tags). Instances are specified using\n Key=instanceids,Values=,. Tags are specified using\n Key=,Values=.

                                                      " + "smithy.api#documentation": "

                                                      The targets (either instances or tags). Instances are specified using\n Key=instanceids,Values=,. Tags are specified\n using Key=,Values=.

                                                      " } }, "TaskParameters": { @@ -16131,13 +16447,13 @@ "LoggingInfo": { "target": "com.amazonaws.ssm#LoggingInfo", "traits": { - "smithy.api#documentation": "

                                                      Information about an S3 bucket to write task-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      Information about an S3 bucket to write task-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for\n maintenance window Run Command tasks.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service \n(Amazon SNS) notifications for maintenance window Run Command tasks.

                                                      " } }, "MaxConcurrency": { @@ -16194,25 +16510,25 @@ "RunCommand": { "target": "com.amazonaws.ssm#MaintenanceWindowRunCommandParameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters for a RUN_COMMAND task type.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for a RUN_COMMAND task type.

                                                      " } }, "Automation": { "target": "com.amazonaws.ssm#MaintenanceWindowAutomationParameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters for an AUTOMATION task type.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for an AUTOMATION task type.

                                                      " } }, "StepFunctions": { "target": "com.amazonaws.ssm#MaintenanceWindowStepFunctionsParameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters for a STEP_FUNCTIONS task type.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for a STEP_FUNCTIONS task type.

                                                      " } }, "Lambda": { "target": "com.amazonaws.ssm#MaintenanceWindowLambdaParameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters for a LAMBDA task type.

                                                      " + "smithy.api#documentation": "

                                                      The parameters for a LAMBDA task type.

                                                      " } } }, @@ -16363,6 +16679,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "MaxDocumentSizeExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The size limit of a document is 64 KB.

                                                      ", "smithy.api#error": "client" } @@ -16481,7 +16801,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Shares a Systems Manager document publicly or privately. If you share a document privately, you must\n specify the AWS user account IDs for those people who can use the document. If you share a\n document publicly, you must specify All as the account ID.

                                                      " + "smithy.api#documentation": "

                                                      Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document\n privately, you must specify the Amazon Web Services user account IDs for those people who can use the\n document. If you share a document publicly, you must specify All as the\n account ID.

                                                      " } }, "com.amazonaws.ssm#ModifyDocumentPermissionRequest": { @@ -16504,19 +16824,19 @@ "AccountIdsToAdd": { "target": "com.amazonaws.ssm#AccountIdList", "traits": { - "smithy.api#documentation": "

                                                      The AWS user accounts that should have access to the document. The account IDs can either be\n a group of account IDs or All.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services user accounts that should have access to the document. The account IDs can\n either be a group of account IDs or All.

                                                      " } }, "AccountIdsToRemove": { "target": "com.amazonaws.ssm#AccountIdList", "traits": { - "smithy.api#documentation": "

                                                      The AWS user accounts that should no longer have access to the document. The AWS user\n account can either be a group of account IDs or All. This action has a\n higher priority than AccountIdsToAdd. If you specify an account ID to add\n and the same ID to remove, the system removes access to the document.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services\n user account can either be a group of account IDs or All. This action has a\n higher priority than AccountIdsToAdd. If you specify an account ID to add\n and the same ID to remove, the system removes access to the document.

                                                      " } }, "SharedDocumentVersion": { "target": "com.amazonaws.ssm#SharedDocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      (Optional) The version of the document to share. If it's not specified, the system choose\n the Default version to share.

                                                      " + "smithy.api#documentation": "

                                                      (Optional) The version of the document to share. If it isn't specified, the system choose\n the Default version to share.

                                                      " } } } @@ -16534,7 +16854,7 @@ "NonCompliantCount": { "target": "com.amazonaws.ssm#ComplianceSummaryCount", "traits": { - "smithy.api#documentation": "

                                                      The total number of compliance items that are not compliant.

                                                      " + "smithy.api#documentation": "

                                                      The total number of compliance items that aren't compliant.

                                                      " } }, "SeveritySummary": { @@ -16545,7 +16865,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A summary of resources that are not compliant. The summary is organized according to\n resource type.

                                                      " + "smithy.api#documentation": "

                                                      A summary of resources that aren't compliant. The summary is organized according to resource\n type.

                                                      " } }, "com.amazonaws.ssm#NormalStringMap": { @@ -16566,19 +16886,19 @@ "NotificationArn": { "target": "com.amazonaws.ssm#NotificationArn", "traits": { - "smithy.api#documentation": "

                                                      An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes\n notifications about command status changes to this topic.

                                                      " + "smithy.api#documentation": "

                                                      An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run\n Command pushes notifications about command status changes to this topic.

                                                      " } }, "NotificationEvents": { "target": "com.amazonaws.ssm#NotificationEventList", "traits": { - "smithy.api#documentation": "

                                                      The different events for which you can receive notifications. These events include the\n following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about\n these events, see Monitoring Systems\n Manager status changes using Amazon SNS notifications in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The different events for which you can receive notifications. To learn more about these\n events, see Monitoring Systems Manager status\n changes using Amazon SNS notifications in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "NotificationType": { "target": "com.amazonaws.ssm#NotificationType", "traits": { - "smithy.api#documentation": "

                                                      Command: Receive notification when the status of a command changes. Invocation: For commands\n sent to multiple instances, receive notification on a per-instance basis when the status of a\n command changes.

                                                      " + "smithy.api#documentation": "

                                                      The type of notification.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Command: Receive notification when the status of a command changes.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Invocation: For commands sent to multiple instances, receive notification on\n a per-instance basis when the status of a command changes.

                                                        \n
                                                      • \n
                                                      " } } }, @@ -16691,19 +17011,19 @@ "AggregatorType": { "target": "com.amazonaws.ssm#OpsAggregatorType", "traits": { - "smithy.api#documentation": "

                                                      Either a Range or Count aggregator for limiting an OpsItem summary.

                                                      " + "smithy.api#documentation": "

                                                      Either a Range or Count aggregator for limiting an OpsData\n summary.

                                                      " } }, "TypeName": { "target": "com.amazonaws.ssm#OpsDataTypeName", "traits": { - "smithy.api#documentation": "

                                                      The data type name to use for viewing counts of OpsItems.

                                                      " + "smithy.api#documentation": "

                                                      The data type name to use for viewing counts of OpsData.

                                                      " } }, "AttributeName": { "target": "com.amazonaws.ssm#OpsDataAttributeName", "traits": { - "smithy.api#documentation": "

                                                      The name of an OpsItem attribute on which to limit the count of OpsItems.

                                                      " + "smithy.api#documentation": "

                                                      The name of an OpsData attribute on which to limit the count of OpsData.

                                                      " } }, "Values": { @@ -16721,12 +17041,12 @@ "Aggregators": { "target": "com.amazonaws.ssm#OpsAggregatorList", "traits": { - "smithy.api#documentation": "

                                                      A nested aggregator for viewing counts of OpsItems.

                                                      " + "smithy.api#documentation": "

                                                      A nested aggregator for viewing counts of OpsData.

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

                                                      One or more aggregators for viewing counts of OpsItems using different dimensions such as\n Source, CreatedTime, or Source and CreatedTime, to name a\n few.

                                                      " + "smithy.api#documentation": "

                                                      One or more aggregators for viewing counts of OpsData using different dimensions such as\n Source, CreatedTime, or Source and CreatedTime, to name a\n few.

                                                      " } }, "com.amazonaws.ssm#OpsAggregatorList": { @@ -16835,18 +17155,18 @@ "CaptureTime": { "target": "com.amazonaws.ssm#OpsEntityItemCaptureTime", "traits": { - "smithy.api#documentation": "

                                                      The time OpsItem data was captured.

                                                      " + "smithy.api#documentation": "

                                                      The time the OpsData was captured.

                                                      " } }, "Content": { "target": "com.amazonaws.ssm#OpsEntityItemEntryList", "traits": { - "smithy.api#documentation": "

                                                      The detailed data content for an OpsItem summaries result item.

                                                      " + "smithy.api#documentation": "

                                                      The details of an OpsData summary.

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

                                                      The OpsItem summaries result item.

                                                      " + "smithy.api#documentation": "

                                                      The OpsData summary.

                                                      " } }, "com.amazonaws.ssm#OpsEntityItemCaptureTime": { @@ -16928,7 +17248,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A filter for viewing OpsItem summaries.

                                                      " + "smithy.api#documentation": "

                                                      A filter for viewing OpsData summaries.

                                                      " } }, "com.amazonaws.ssm#OpsFilterKey": { @@ -17016,7 +17336,7 @@ "CreatedBy": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the AWS account that created the OpsItem.

                                                      " + "smithy.api#documentation": "

                                                      The ARN of the account that created the OpsItem.

                                                      " } }, "OpsItemType": { @@ -17040,7 +17360,7 @@ "LastModifiedBy": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the AWS account that last updated the OpsItem.

                                                      " + "smithy.api#documentation": "

                                                      The ARN of the account that last updated the OpsItem.

                                                      " } }, "LastModifiedTime": { @@ -17052,7 +17372,7 @@ "Notifications": { "target": "com.amazonaws.ssm#OpsItemNotifications", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this\n OpsItem is edited or changed.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where\n notifications are sent when this OpsItem is edited or changed.

                                                      " } }, "Priority": { @@ -17070,7 +17390,7 @@ "Status": { "target": "com.amazonaws.ssm#OpsItemStatus", "traits": { - "smithy.api#documentation": "

                                                      The OpsItem status. Status can be Open, In Progress, or\n Resolved. For more information, see Editing OpsItem details in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The OpsItem status. Status can be Open, In Progress, or\n Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "OpsItemId": { @@ -17100,7 +17420,7 @@ "OperationalData": { "target": "com.amazonaws.ssm#OpsItemOperationalData", "traits": { - "smithy.api#documentation": "

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following: amazon, aws,\n amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API action) can view and search on the\n specified data. Operational data that is not searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API action).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see\n Creating OpsItems manually in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following:\n amazon, aws, amzn, ssm,\n /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API operation) can view and search on the\n specified data. Operational data that isn't searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API operation).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see\n Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "Category": { @@ -17141,7 +17461,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate\n operational issues impacting the performance and health of their AWS resources. For more\n information, see AWS Systems Manager OpsCenter in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and\n remediate operational issues impacting the performance and health of their Amazon Web Services resources. For\n more information, see OpsCenter in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#OpsItemAlreadyExistsException": { @@ -17155,6 +17475,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsItemAlreadyExistsException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The OpsItem already exists.

                                                      ", "smithy.api#error": "client" } @@ -17505,6 +17829,10 @@ { "value": "ChangeRequestByTargetsResourceGroup", "name": "CHANGE_REQUEST_TARGETS_RESOURCE_GROUP" + }, + { + "value": "InsightByType", + "name": "INSIGHT_TYPE" } ] } @@ -17559,7 +17887,7 @@ "Arn": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem event.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem\n event.

                                                      " } } }, @@ -17578,6 +17906,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsItemInvalidParameterException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      A specified parameter argument isn't valid. Verify the available arguments and try\n again.

                                                      ", "smithy.api#error": "client" } @@ -17599,6 +17931,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsItemLimitExceededException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The request caused OpsItems to exceed one or more quotas. For information about OpsItem\n quotas, see What are the resource limits for OpsCenter?.

                                                      ", "smithy.api#error": "client" } @@ -17621,6 +17957,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsItemNotFoundException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The specified OpsItem ID doesn't exist. Verify the ID and try again.

                                                      ", "smithy.api#error": "client" } @@ -17631,7 +17971,7 @@ "Arn": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this\n OpsItem is edited or changed.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where\n notifications are sent when this OpsItem is edited or changed.

                                                      " } } }, @@ -17690,6 +18030,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsItemRelatedItemAlreadyExistsException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) is already associated with the OpsItem.

                                                      ", "smithy.api#error": "client" } @@ -17705,7 +18049,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The association was not found using the parameters you specified in the call. Verify the\n information and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "OpsItemRelatedItemAssociationNotFoundException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The association wasn't found using the parameters you specified in the call. Verify the\n information and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -17959,6 +18307,10 @@ { "value": "Rejected", "name": "REJECTED" + }, + { + "value": "Closed", + "name": "CLOSED" } ] } @@ -17975,7 +18327,7 @@ "CreatedBy": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the\n OpsItem.

                                                      " } }, "CreatedTime": { @@ -17987,7 +18339,7 @@ "LastModifiedBy": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the IAM entity that created the\n OpsItem.

                                                      " } }, "LastModifiedTime": { @@ -18005,7 +18357,7 @@ "Source": { "target": "com.amazonaws.ssm#OpsItemSource", "traits": { - "smithy.api#documentation": "

                                                      The impacted AWS resource.

                                                      " + "smithy.api#documentation": "

                                                      The impacted Amazon Web Services resource.

                                                      " } }, "Status": { @@ -18138,6 +18490,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsMetadataAlreadyExistsException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      An OpsMetadata object already exists for the selected resource.

                                                      ", "smithy.api#error": "client" } @@ -18225,6 +18581,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsMetadataInvalidArgumentException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      One of the arguments passed is invalid.

                                                      ", "smithy.api#error": "client" } @@ -18237,6 +18597,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsMetadataKeyLimitExceededException", + "httpResponseCode": 429 + }, "smithy.api#documentation": "

                                                      The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to\n an application in Application Manager.

                                                      ", "smithy.api#error": "client" } @@ -18249,6 +18613,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsMetadataLimitExceededException", + "httpResponseCode": 429 + }, "smithy.api#documentation": "

                                                      Your account reached the maximum number of OpsMetadata objects allowed by Application Manager. The\n maximum is 200 OpsMetadata objects. Delete one or more OpsMetadata object and try again.

                                                      ", "smithy.api#error": "client" } @@ -18273,7 +18641,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The OpsMetadata object does not exist.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "OpsMetadataNotFoundException", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The OpsMetadata object doesn't exist.

                                                      ", "smithy.api#error": "client" } }, @@ -18295,6 +18667,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "OpsMetadataTooManyUpdatesException", + "httpResponseCode": 429 + }, "smithy.api#documentation": "

                                                      The system is processing too many concurrent updates. Wait a few moments and try\n again.

                                                      ", "smithy.api#error": "client" } @@ -18305,7 +18681,7 @@ "TypeName": { "target": "com.amazonaws.ssm#OpsDataTypeName", "traits": { - "smithy.api#documentation": "

                                                      Name of the data type. Valid value: AWS:OpsItem, AWS:EC2InstanceInformation,\n AWS:OpsItemTrendline, or AWS:ComplianceSummary.

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

                                                      Name of the data type. Valid value: AWS:OpsItem,\n AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or\n AWS:ComplianceSummary.

                                                      ", "smithy.api#required": {} } } @@ -18340,7 +18716,7 @@ "OutputSourceType": { "target": "com.amazonaws.ssm#OutputSourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of source where the association execution details are stored, for example,\n Amazon S3.

                                                      " + "smithy.api#documentation": "

                                                      The type of source where the association execution details are stored, for example, Amazon S3.

                                                      " } } }, @@ -18430,7 +18806,7 @@ "SourceResult": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      Applies to parameters that reference information in other AWS services. SourceResult is the\n raw result or response from the source.

                                                      " + "smithy.api#documentation": "

                                                      Applies to parameters that reference information in other Amazon Web Services services.\n SourceResult is the raw result or response from the source.

                                                      " } }, "LastModifiedDate": { @@ -18453,7 +18829,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      An Systems Manager parameter in Parameter Store.

                                                      " + "smithy.api#documentation": "

                                                      An Amazon Web Services Systems Manager parameter in Parameter Store.

                                                      " } }, "com.amazonaws.ssm#ParameterAlreadyExists": { @@ -18464,6 +18840,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ParameterAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The parameter already exists. You can't create duplicate parameters.

                                                      ", "smithy.api#error": "client" } @@ -18516,7 +18896,7 @@ "LastModifiedUser": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) of the AWS user who last changed the parameter.

                                                      " + "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

                                                      " } }, "Description": { @@ -18558,7 +18938,7 @@ "Policies": { "target": "com.amazonaws.ssm#ParameterPolicyList", "traits": { - "smithy.api#documentation": "

                                                      Information about the policies assigned to a parameter.

                                                      \n

                                                      \n Assigning parameter\n policies in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Information about the policies assigned to a parameter.

                                                      \n

                                                      \n Assigning parameter\n policies in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "DataType": { @@ -18590,13 +18970,13 @@ "PolicyType": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The type of policy. Parameter Store supports the following policy types: Expiration,\n ExpirationNotification, and NoChangeNotification.

                                                      " + "smithy.api#documentation": "

                                                      The type of policy. Parameter Store, a capablility of Amazon Web Services Systems Manager, supports the following\n policy types: Expiration, ExpirationNotification, and NoChangeNotification.

                                                      " } }, "PolicyStatus": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The status of the policy. Policies report the following statuses: Pending (the policy has\n not been enforced or applied yet), Finished (the policy was applied), Failed (the policy was not\n applied), or InProgress (the policy is being applied now).

                                                      " + "smithy.api#documentation": "

                                                      The status of the policy. Policies report the following statuses: Pending (the policy hasn't\n been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't\n applied), or InProgress (the policy is being applied now).

                                                      " } } }, @@ -18643,7 +19023,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      You have exceeded the number of parameters for this AWS account. Delete one or more\n parameters and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ParameterLimitExceeded", + "httpResponseCode": 429 + }, + "smithy.api#documentation": "

                                                      You have exceeded the number of parameters for this account. Delete one or more\n parameters and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -18661,7 +19045,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Parameter Store retains the 100 most recently created versions of a parameter. After this\n number of versions has been created, Parameter Store deletes the oldest version when a new one is\n created. However, if the oldest version has a label attached to it,\n Parameter Store will not delete the version and instead presents this error message:

                                                      \n

                                                      \n An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter\n operation: You attempted to create a new version of parameter-name by\n calling the PutParameter API with the overwrite flag. Version\n version-number, the oldest version, can't be deleted because it has a\n label associated with it. Move the label to another version of the parameter, and try\n again.\n

                                                      \n

                                                      This safeguard is to prevent parameter versions with mission critical labels assigned to\n them from being deleted. To continue creating new parameters, first move the label from the\n oldest version of the parameter to a newer one for use in your operations. For information about\n moving parameter labels, see Move a\n parameter label (console) or Move a\n parameter label (CLI) in the AWS Systems Manager User Guide.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ParameterMaxVersionLimitExceeded", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      Parameter Store retains the 100 most recently created versions of a parameter. After this\n number of versions has been created, Parameter Store deletes the oldest version when a new one is\n created. However, if the oldest version has a label attached to it,\n Parameter Store won't delete the version and instead presents this error message:

                                                      \n

                                                      \n An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter\n operation: You attempted to create a new version of parameter-name by\n calling the PutParameter API with the overwrite flag. Version\n version-number, the oldest version, can't be deleted because it has a\n label associated with it. Move the label to another version of the parameter, and try\n again.\n

                                                      \n

                                                      This safeguard is to prevent parameter versions with mission critical labels assigned to\n them from being deleted. To continue creating new parameters, first move the label from the\n oldest version of the parameter to a newer one for use in your operations. For information about\n moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#error": "client" } }, @@ -18695,7 +19083,7 @@ "LastModifiedUser": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) of the AWS user who last changed the parameter.

                                                      " + "smithy.api#documentation": "

                                                      Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

                                                      " } }, "Description": { @@ -18768,7 +19156,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The parameter could not be found. Verify the name and try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ParameterNotFound", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The parameter couldn't be found. Verify the name and try again.

                                                      ", "smithy.api#error": "client" } }, @@ -18778,12 +19170,16 @@ "message": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The parameter name is not valid.

                                                      " + "smithy.api#documentation": "

                                                      The parameter name isn't valid.

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

                                                      The parameter name is not valid.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ParameterPatternMismatchException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The parameter name isn't valid.

                                                      ", "smithy.api#error": "client" } }, @@ -18808,7 +19204,7 @@ "Key": { "target": "com.amazonaws.ssm#ParameterStringFilterKey", "traits": { - "smithy.api#documentation": "

                                                      The name of the filter.

                                                      \n \n

                                                      The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API actions. However,\n not all of the pattern values listed for Key can be used with both actions.

                                                      \n

                                                      For DescribeActions, all of the listed patterns are valid, with the exception\n of Label.

                                                      \n

                                                      For GetParametersByPath, the following patterns listed for Key\n are not valid: tag, Name, Path, and\n Tier.

                                                      \n

                                                      For examples of CLI commands demonstrating valid parameter filter constructions, see Searching for\n Systems Manager parameters in the AWS Systems Manager User Guide.

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

                                                      The name of the filter.

                                                      \n

                                                      The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations.\n However, not all of the pattern values listed for Key can be used with both\n operations.

                                                      \n

                                                      For DescribeActions, all of the listed patterns are valid, with the exception\n of Label.

                                                      \n

                                                      For GetParametersByPath, the following patterns listed for Key\n aren't valid: tag, Name, Path, and\n Tier.

                                                      \n

                                                      For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see\n Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, @@ -18930,6 +19326,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ParameterVersionLabelLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      A parameter version can have a maximum of ten labels.

                                                      ", "smithy.api#error": "client" } @@ -18942,7 +19342,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified parameter version was not found. Verify the parameter name and version, and\n try again.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ParameterVersionNotFound", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified parameter version wasn't found. Verify the parameter name and version, and try\n again.

                                                      ", "smithy.api#error": "client" } }, @@ -19029,7 +19433,7 @@ "Id": { "target": "com.amazonaws.ssm#PatchId", "traits": { - "smithy.api#documentation": "

                                                      The ID of the patch. Applies to Windows patches only.

                                                      \n \n

                                                      This ID is not the same as the Microsoft Knowledge Base ID.

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

                                                      The ID of the patch. Applies to Windows patches only.

                                                      \n \n

                                                      This ID isn't the same as the Microsoft Knowledge Base ID.

                                                      \n
                                                      " } }, "ReleaseDate": { @@ -19214,7 +19618,7 @@ "OperatingSystem": { "target": "com.amazonaws.ssm#OperatingSystem", "traits": { - "smithy.api#documentation": "

                                                      Defines the operating system the patch baseline applies to. The Default value is WINDOWS.\n

                                                      " + "smithy.api#documentation": "

                                                      Defines the operating system the patch baseline applies to. The default value is\n WINDOWS.

                                                      " } }, "BaselineDescription": { @@ -19226,7 +19630,7 @@ "DefaultBaseline": { "target": "com.amazonaws.ssm#DefaultBaseline", "traits": { - "smithy.api#documentation": "

                                                      Whether this is the default baseline. Note that Systems Manager supports creating multiple default\n patch baselines. For example, you can create a default patch baseline for each operating\n system.

                                                      " + "smithy.api#documentation": "

                                                      Whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch\n baselines. For example, you can create a default patch baseline for each operating system.

                                                      " } } }, @@ -19293,28 +19697,28 @@ "Classification": { "target": "com.amazonaws.ssm#PatchClassification", "traits": { - "smithy.api#documentation": "

                                                      The classification of the patch (for example, SecurityUpdates, Updates,\n CriticalUpdates).

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

                                                      The classification of the patch, such as SecurityUpdates, Updates,\n and CriticalUpdates.

                                                      ", "smithy.api#required": {} } }, "Severity": { "target": "com.amazonaws.ssm#PatchSeverity", "traits": { - "smithy.api#documentation": "

                                                      The severity of the patch (for example, Critical, Important, Moderate).

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

                                                      The severity of the patchsuch as Critical, Important, and\n Moderate.

                                                      ", "smithy.api#required": {} } }, "State": { "target": "com.amazonaws.ssm#PatchComplianceDataState", "traits": { - "smithy.api#documentation": "

                                                      The state of the patch on the instance, such as INSTALLED or FAILED.

                                                      \n

                                                      For descriptions of each patch state, see About patch compliance in the AWS Systems Manager User Guide.

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

                                                      The state of the patch on the instance, such as INSTALLED or FAILED.

                                                      \n

                                                      For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, "InstalledTime": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The date/time the patch was installed on the instance. Note that not all operating systems\n provide this level of information.

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

                                                      The date/time the patch was installed on the instance. Not all operating systems provide\n this level of information.

                                                      ", "smithy.api#required": {} } }, @@ -19467,7 +19871,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Defines which patches should be included in a patch baseline.

                                                      \n

                                                      A patch filter consists of a key and a set of values. The filter key is a patch property.\n For example, the available filter keys for WINDOWS are PATCH_SET, PRODUCT, PRODUCT_FAMILY,\n CLASSIFICATION, and MSRC_SEVERITY. The filter values define a matching criterion for the patch\n property indicated by the key. For example, if the filter key is PRODUCT and the filter values\n are [\"Office 2013\", \"Office 2016\"], then the filter accepts all patches where product name is\n either \"Office 2013\" or \"Office 2016\". The filter values can be exact values for the patch\n property given as a key, or a wildcard (*), which matches all values.

                                                      \n

                                                      You can view lists of valid values for the patch properties by running the\n DescribePatchProperties command. For information about which patch properties can\n be used with each major operating system, see DescribePatchProperties.

                                                      " + "smithy.api#documentation": "

                                                      Defines which patches should be included in a patch baseline.

                                                      \n

                                                      A patch filter consists of a key and a set of values. The filter key is a patch property.\n For example, the available filter keys for WINDOWS are PATCH_SET,\n PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, and\n MSRC_SEVERITY.

                                                      \n

                                                      The filter values define a matching criterion for the patch property indicated by the key.\n For example, if the filter key is PRODUCT and the filter values are [\"Office\n 2013\", \"Office 2016\"], then the filter accepts all patches where product name is either\n \"Office 2013\" or \"Office 2016\". The filter values can be exact values for the patch property\n given as a key, or a wildcard (*), which matches all values.

                                                      \n

                                                      You can view lists of valid values for the patch properties by running the\n DescribePatchProperties command. For information about which patch properties can\n be used with each major operating system, see DescribePatchProperties.

                                                      " } }, "com.amazonaws.ssm#PatchFilterGroup": { @@ -19735,7 +20139,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Defines a filter used in Patch Manager APIs.

                                                      " + "smithy.api#documentation": "

                                                      Defines a filter used in Patch Manager APIs. Supported filter keys depend on the API\n operation that includes the filter. Patch Manager API operations that use\n PatchOrchestratorFilter include the following:

                                                      \n " } }, "com.amazonaws.ssm#PatchOrchestratorFilterKey": { @@ -19861,14 +20265,14 @@ "ApproveUntilDate": { "target": "com.amazonaws.ssm#PatchStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The cutoff date for auto approval of released patches. Any patches released on or before\n this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

                                                      \n

                                                      Enter dates in the format YYYY-MM-DD. For example,\n 2020-12-31.

                                                      " + "smithy.api#documentation": "

                                                      The cutoff date for auto approval of released patches. Any patches released on or before\n this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

                                                      \n

                                                      Enter dates in the format YYYY-MM-DD. For example,\n 2021-12-31.

                                                      " } }, "EnableNonSecurity": { "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      For instances identified by the approval rule filters, enables a patch baseline to apply\n non-security updates available in the specified repository. The default value is 'false'. Applies\n to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      For instances identified by the approval rule filters, enables a patch baseline to apply\n non-security updates available in the specified repository. The default value is\n false. Applies to Linux instances only.

                                                      " } } }, @@ -20008,7 +20412,7 @@ "DeploymentStatus": { "target": "com.amazonaws.ssm#PatchDeploymentStatus", "traits": { - "smithy.api#documentation": "

                                                      The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED,\n EXPLICIT_REJECTED).

                                                      " + "smithy.api#documentation": "

                                                      The approval status of a patch.

                                                      " } }, "ComplianceLevel": { @@ -20020,7 +20424,7 @@ "ApprovalDate": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      The date the patch was approved (or will be approved if the status is\n PENDING_APPROVAL).

                                                      " + "smithy.api#documentation": "

                                                      The date the patch was approved (or will be approved if the status is\n PENDING_APPROVAL).

                                                      " } } }, @@ -20100,6 +20504,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "PoliciesLimitExceededException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You specified more than the maximum number of allowed policies for the parameter. The\n maximum is 10.

                                                      ", "smithy.api#error": "client" } @@ -20113,36 +20521,36 @@ "TotalSteps": { "target": "com.amazonaws.ssm#Integer", "traits": { - "smithy.api#documentation": "

                                                      The total number of steps run in all specified AWS Regions and accounts for the current\n Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The total number of steps run in all specified Regions and accounts for the\n current Automation execution.

                                                      " } }, "SuccessSteps": { "target": "com.amazonaws.ssm#Integer", "traits": { - "smithy.api#documentation": "

                                                      The total number of steps that successfully completed in all specified AWS Regions and\n accounts for the current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The total number of steps that successfully completed in all specified Regions and\n accounts for the current Automation execution.

                                                      " } }, "FailedSteps": { "target": "com.amazonaws.ssm#Integer", "traits": { - "smithy.api#documentation": "

                                                      The total number of steps that failed to run in all specified AWS Regions and accounts for\n the current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The total number of steps that failed to run in all specified Regions and\n accounts for the current Automation execution.

                                                      " } }, "CancelledSteps": { "target": "com.amazonaws.ssm#Integer", "traits": { - "smithy.api#documentation": "

                                                      The total number of steps that the system cancelled in all specified AWS Regions and\n accounts for the current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The total number of steps that the system cancelled in all specified Regions and\n accounts for the current Automation execution.

                                                      " } }, "TimedOutSteps": { "target": "com.amazonaws.ssm#Integer", "traits": { - "smithy.api#documentation": "

                                                      The total number of steps that timed out in all specified AWS Regions and accounts for the\n current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The total number of steps that timed out in all specified Regions and accounts\n for the current Automation execution.

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

                                                      An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and\n multi-account Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a\n multi-Region and multi-account Automation execution.

                                                      " } }, "com.amazonaws.ssm#PutComplianceItems": { @@ -20177,7 +20585,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Registers a compliance type and other compliance details on a designated resource. This\n action lets you register custom compliance details with a resource. This call overwrites existing\n compliance information on the resource, so you must provide a full list of compliance items each\n time that you send the request.

                                                      \n

                                                      ComplianceType can be one of the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        ExecutionId: The execution ID when the patch, association, or custom compliance item was\n applied.

                                                        \n
                                                      • \n
                                                      • \n

                                                        ExecutionType: Specify patch, association, or Custom:string.

                                                        \n
                                                      • \n
                                                      • \n

                                                        ExecutionTime. The time the patch, association, or custom compliance item was applied to\n the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Id: The patch, association, or custom compliance ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Title: A title.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Status: The status of the compliance item. For example, approved for patches,\n or Failed for associations.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Severity: A patch severity. For example, critical.

                                                        \n
                                                      • \n
                                                      • \n

                                                        DocumentName: A SSM document name. For example, AWS-RunPatchBaseline.

                                                        \n
                                                      • \n
                                                      • \n

                                                        DocumentVersion: An SSM document version number. For example, 4.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Classification: A patch classification. For example, security updates.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchBaselineId: A patch baseline ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchSeverity: A patch severity. For example, Critical.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchState: A patch state. For example, InstancesWithFailedPatches.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchGroup: The name of a patch group.

                                                        \n
                                                      • \n
                                                      • \n

                                                        InstalledTime: The time the association, patch, or custom compliance item was applied to\n the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'

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

                                                      Registers a compliance type and other compliance details on a designated resource. This\n operation lets you register custom compliance details with a resource. This call overwrites\n existing compliance information on the resource, so you must provide a full list of compliance\n items each time that you send the request.

                                                      \n

                                                      ComplianceType can be one of the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        ExecutionId: The execution ID when the patch, association, or custom compliance item was\n applied.

                                                        \n
                                                      • \n
                                                      • \n

                                                        ExecutionType: Specify patch, association, or Custom:string.

                                                        \n
                                                      • \n
                                                      • \n

                                                        ExecutionTime. The time the patch, association, or custom compliance item was applied to\n the instance.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Id: The patch, association, or custom compliance ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Title: A title.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Status: The status of the compliance item. For example, approved for patches,\n or Failed for associations.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Severity: A patch severity. For example, critical.

                                                        \n
                                                      • \n
                                                      • \n

                                                        DocumentName: An SSM document name. For example, AWS-RunPatchBaseline.

                                                        \n
                                                      • \n
                                                      • \n

                                                        DocumentVersion: An SSM document version number. For example, 4.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Classification: A patch classification. For example, security updates.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchBaselineId: A patch baseline ID.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchSeverity: A patch severity. For example, Critical.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchState: A patch state. For example, InstancesWithFailedPatches.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PatchGroup: The name of a patch group.

                                                        \n
                                                      • \n
                                                      • \n

                                                        InstalledTime: The time the association, patch, or custom compliance item was applied to\n the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'

                                                        \n
                                                      • \n
                                                      " } }, "com.amazonaws.ssm#PutComplianceItemsRequest": { @@ -20384,14 +20792,14 @@ "Name": { "target": "com.amazonaws.ssm#PSParameterName", "traits": { - "smithy.api#documentation": "

                                                      The fully qualified name of the parameter that you want to add to the system. The fully\n qualified name includes the complete hierarchy of the parameter path and name. For parameters in\n a hierarchy, you must include a leading forward slash character (/) when you create or reference\n a parameter. For example: /Dev/DBServer/MySQL/db-string13\n

                                                      \n

                                                      Naming Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Parameter names are case sensitive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name must be unique within an AWS Region

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name can't be prefixed with \"aws\" or \"ssm\" (case-insensitive).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Parameter names can include only the following symbols and letters:\n a-zA-Z0-9_.-\n

                                                        \n

                                                        In addition, the slash character ( / ) is used to delineate hierarchies in parameter\n names. For example: /Dev/Production/East/Project-ABC/MyParameter\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name can't include spaces.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Parameter hierarchies are limited to a maximum depth of fifteen levels.

                                                        \n
                                                      • \n
                                                      \n

                                                      For additional information about valid values for parameter names, see Creating Systems Manager parameters in the AWS Systems Manager User Guide.

                                                      \n \n

                                                      The maximum length constraint listed below includes capacity for additional system\n attributes that are not part of the name. The maximum length for a parameter name, including the\n full length of the parameter ARN, is 1011 characters. For example, the length of the following\n parameter name is 65 characters, not 20 characters:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName\n

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

                                                      The fully qualified name of the parameter that you want to add to the system. The fully\n qualified name includes the complete hierarchy of the parameter path and name. For parameters in\n a hierarchy, you must include a leading forward slash character (/) when you create or reference\n a parameter. For example: /Dev/DBServer/MySQL/db-string13\n

                                                      \n

                                                      Naming Constraints:

                                                      \n
                                                        \n
                                                      • \n

                                                        Parameter names are case sensitive.

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name must be unique within an Region

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name can't be prefixed with \"aws\" or \"ssm\"\n (case-insensitive).

                                                        \n
                                                      • \n
                                                      • \n

                                                        Parameter names can include only the following symbols and letters:\n a-zA-Z0-9_.-\n

                                                        \n

                                                        In addition, the slash character ( / ) is used to delineate hierarchies in parameter\n names. For example: /Dev/Production/East/Project-ABC/MyParameter\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        A parameter name can't include spaces.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Parameter hierarchies are limited to a maximum depth of fifteen levels.

                                                        \n
                                                      • \n
                                                      \n

                                                      For additional information about valid values for parameter names, see Creating Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

                                                      \n \n

                                                      The maximum length constraint listed below includes capacity for additional system\n attributes that aren't part of the name. The maximum length for a parameter name, including the\n full length of the parameter ARN, is 1011 characters. For example, the length of the following\n parameter name is 65 characters, not 20 characters:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName\n

                                                      \n
                                                      ", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.ssm#ParameterDescription", "traits": { - "smithy.api#documentation": "

                                                      Information about the parameter that you want to add to the system. Optional but\n recommended.

                                                      \n \n

                                                      Do not enter personally identifiable information in this field.

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

                                                      Information about the parameter that you want to add to the system. Optional but\n recommended.

                                                      \n \n

                                                      Don't enter personally identifiable information in this field.

                                                      \n
                                                      " } }, "Value": { @@ -20404,20 +20812,20 @@ "Type": { "target": "com.amazonaws.ssm#ParameterType", "traits": { - "smithy.api#documentation": "

                                                      The type of parameter that you want to add to the system.

                                                      \n \n

                                                      \n SecureString is not currently supported for AWS CloudFormation\n templates.

                                                      \n
                                                      \n

                                                      Items in a StringList must be separated by a comma (,). You can't\n use other punctuation or special character to escape items in the list. If you have a parameter\n value that requires a comma, then use the String data type.

                                                      \n \n

                                                      Specifying a parameter type is not required when updating a parameter. You must specify a\n parameter type when creating a parameter.

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

                                                      The type of parameter that you want to add to the system.

                                                      \n \n

                                                      \n SecureString isn't currently supported for CloudFormation templates.

                                                      \n
                                                      \n

                                                      Items in a StringList must be separated by a comma (,). You can't\n use other punctuation or special character to escape items in the list. If you have a parameter\n value that requires a comma, then use the String data type.

                                                      \n \n

                                                      Specifying a parameter type isn't required when updating a parameter. You must specify a\n parameter type when creating a parameter.

                                                      \n
                                                      " } }, "KeyId": { "target": "com.amazonaws.ssm#ParameterKeyId", "traits": { - "smithy.api#documentation": "

                                                      The KMS Key ID that you want to use to encrypt a parameter. Either the default AWS Key\n Management Service (AWS KMS) key automatically assigned to your AWS account or a custom key.\n Required for parameters that use the SecureString data type.

                                                      \n

                                                      If you don't specify a key ID, the system uses the default key associated with your AWS\n account.

                                                      \n
                                                        \n
                                                      • \n

                                                        To use your default AWS KMS key, choose the SecureString data\n type, and do not specify the Key ID when you\n create the parameter. The system automatically populates Key ID with\n your default KMS key.

                                                        \n
                                                      • \n
                                                      • \n

                                                        To use a custom KMS key, choose the SecureString data type with\n the Key ID parameter.

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

                                                      The Key Management Service (KMS) ID that you want to use to encrypt a\n parameter. Either the default KMS key automatically assigned to your account\n or a custom key. Required for parameters that use the SecureString\n data type.

                                                      \n

                                                      If you don't specify a key ID, the system uses the default key associated with your\n account.

                                                      \n
                                                        \n
                                                      • \n

                                                        To use your default KMS key, choose the SecureString data type, and do not specify the Key ID when you create the parameter. The system automatically populates\n Key ID with your default KMS key.

                                                        \n
                                                      • \n
                                                      • \n

                                                        To use a custom KMS key, choose the SecureString\n data type with the Key ID parameter.

                                                        \n
                                                      • \n
                                                      " } }, "Overwrite": { "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Overwrite an existing parameter. The default value is 'false'.

                                                      " + "smithy.api#documentation": "

                                                      Overwrite an existing parameter. The default value is false.

                                                      " } }, "AllowedPattern": { @@ -20429,25 +20837,25 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n Systems Manager parameter to identify the type of resource to which it applies, the environment, or the\n type of configuration data referenced by the parameter. In this case, you could specify the\n following key name/value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Resource,Value=S3bucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=ParameterType,Value=LicenseKey\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing Systems Manager parameter, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n Systems Manager parameter to identify the type of resource to which it applies, the environment, or the\n type of configuration data referenced by the parameter. In this case, you could specify the\n following key-value pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Resource,Value=S3bucket\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=ParameterType,Value=LicenseKey\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing Systems Manager parameter, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } }, "Tier": { "target": "com.amazonaws.ssm#ParameterTier", "traits": { - "smithy.api#documentation": "

                                                      The parameter tier to assign to a parameter.

                                                      \n

                                                      Parameter Store offers a standard tier and an advanced tier for parameters. Standard\n parameters have a content size limit of 4 KB and can't be configured to use parameter policies.\n You can create a maximum of 10,000 standard parameters for each Region in an AWS account.\n Standard parameters are offered at no additional cost.

                                                      \n

                                                      Advanced parameters have a content size limit of 8 KB and can be configured to use parameter\n policies. You can create a maximum of 100,000 advanced parameters for each Region in an AWS\n account. Advanced parameters incur a charge. For more information, see Standard and\n advanced parameter tiers in the AWS Systems Manager User Guide.

                                                      \n

                                                      You can change a standard parameter to an advanced parameter any time. But you can't revert\n an advanced parameter to a standard parameter. Reverting an advanced parameter to a standard\n parameter would result in data loss because the system would truncate the size of the parameter\n from 8 KB to 4 KB. Reverting would also remove any policies attached to the parameter. Lastly,\n advanced parameters use a different form of encryption than standard parameters.

                                                      \n

                                                      If you no longer need an advanced parameter, or if you no longer want to incur charges for\n an advanced parameter, you must delete it and recreate it as a new standard parameter.

                                                      \n

                                                      \n Using the Default Tier Configuration\n

                                                      \n

                                                      In PutParameter requests, you can specify the tier to create the parameter in.\n Whenever you specify a tier in the request, Parameter Store creates or updates the parameter\n according to that request. However, if you do not specify a tier in a request, Parameter Store\n assigns the tier based on the current Parameter Store default tier configuration.

                                                      \n

                                                      The default tier when you begin using Parameter Store is the standard-parameter tier. If you\n use the advanced-parameter tier, you can specify one of the following as the default:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Advanced: With this option, Parameter Store evaluates all\n requests as advanced parameters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Intelligent-Tiering: With this option, Parameter Store\n evaluates each request to determine if the parameter is standard or advanced.

                                                        \n

                                                        If the request doesn't include any options that require an advanced parameter, the\n parameter is created in the standard-parameter tier. If one or more options requiring an\n advanced parameter are included in the request, Parameter Store create a parameter in the\n advanced-parameter tier.

                                                        \n

                                                        This approach helps control your parameter-related costs by always creating standard\n parameters unless an advanced parameter is necessary.

                                                        \n
                                                      • \n
                                                      \n

                                                      Options that require an advanced parameter include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        The content size of the parameter is more than 4 KB.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The parameter uses a parameter policy.

                                                        \n
                                                      • \n
                                                      • \n

                                                        More than 10,000 parameters already exist in your AWS account in the current\n Region.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about configuring the default tier option, see Specifying a\n default parameter tier in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The parameter tier to assign to a parameter.

                                                      \n

                                                      Parameter Store offers a standard tier and an advanced tier for parameters. Standard\n parameters have a content size limit of 4 KB and can't be configured to use parameter policies.\n You can create a maximum of 10,000 standard parameters for each Region in an account.\n Standard parameters are offered at no additional cost.

                                                      \n

                                                      Advanced parameters have a content size limit of 8 KB and can be configured to use parameter\n policies. You can create a maximum of 100,000 advanced parameters for each Region in an\n account. Advanced parameters incur a charge. For more information, see Standard and\n advanced parameter tiers in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      You can change a standard parameter to an advanced parameter any time. But you can't revert\n an advanced parameter to a standard parameter. Reverting an advanced parameter to a standard\n parameter would result in data loss because the system would truncate the size of the parameter\n from 8 KB to 4 KB. Reverting would also remove any policies attached to the parameter. Lastly,\n advanced parameters use a different form of encryption than standard parameters.

                                                      \n

                                                      If you no longer need an advanced parameter, or if you no longer want to incur charges for\n an advanced parameter, you must delete it and recreate it as a new standard parameter.

                                                      \n

                                                      \n Using the Default Tier Configuration\n

                                                      \n

                                                      In PutParameter requests, you can specify the tier to create the parameter in.\n Whenever you specify a tier in the request, Parameter Store creates or updates the parameter\n according to that request. However, if you don't specify a tier in a request, Parameter Store\n assigns the tier based on the current Parameter Store default tier configuration.

                                                      \n

                                                      The default tier when you begin using Parameter Store is the standard-parameter tier. If you\n use the advanced-parameter tier, you can specify one of the following as the default:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Advanced: With this option, Parameter Store evaluates all\n requests as advanced parameters.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Intelligent-Tiering: With this option, Parameter Store\n evaluates each request to determine if the parameter is standard or advanced.

                                                        \n

                                                        If the request doesn't include any options that require an advanced parameter, the\n parameter is created in the standard-parameter tier. If one or more options requiring an\n advanced parameter are included in the request, Parameter Store create a parameter in the\n advanced-parameter tier.

                                                        \n

                                                        This approach helps control your parameter-related costs by always creating standard\n parameters unless an advanced parameter is necessary.

                                                        \n
                                                      • \n
                                                      \n

                                                      Options that require an advanced parameter include the following:

                                                      \n
                                                        \n
                                                      • \n

                                                        The content size of the parameter is more than 4 KB.

                                                        \n
                                                      • \n
                                                      • \n

                                                        The parameter uses a parameter policy.

                                                        \n
                                                      • \n
                                                      • \n

                                                        More than 10,000 parameters already exist in your account in the current\n Region.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about configuring the default tier option, see Specifying a\n default parameter tier in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "Policies": { "target": "com.amazonaws.ssm#ParameterPolicies", "traits": { - "smithy.api#documentation": "

                                                      One or more policies to apply to a parameter. This action takes a JSON array. Parameter\n Store supports the following policy types:

                                                      \n

                                                      Expiration: This policy deletes the parameter after it expires. When you create the policy,\n you specify the expiration date. You can update the expiration date and time by updating the\n policy. Updating the parameter does not affect the expiration date and time.\n When the expiration time is reached, Parameter Store deletes the parameter.

                                                      \n

                                                      ExpirationNotification: This policy triggers an event in Amazon CloudWatch Events that\n notifies you about the expiration. By using this policy, you can receive notification before or\n after the expiration time is reached, in units of days or hours.

                                                      \n

                                                      NoChangeNotification: This policy triggers a CloudWatch event if a parameter has not been\n modified for a specified period of time. This policy type is useful when, for example, a secret\n needs to be changed within a period of time, but it has not been changed.

                                                      \n

                                                      All existing policies are preserved until you send new policies or an empty policy. For more\n information about parameter policies, see Assigning parameter\n policies.

                                                      " + "smithy.api#documentation": "

                                                      One or more policies to apply to a parameter. This operation takes a JSON array. Parameter\n Store, a capability of Amazon Web Services Systems Manager supports the following policy types:

                                                      \n

                                                      Expiration: This policy deletes the parameter after it expires. When you create the policy,\n you specify the expiration date. You can update the expiration date and time by updating the\n policy. Updating the parameter doesn't affect the expiration date and time.\n When the expiration time is reached, Parameter Store deletes the parameter.

                                                      \n

                                                      ExpirationNotification: This policy triggers an event in Amazon CloudWatch Events that\n notifies you about the expiration. By using this policy, you can receive notification before or\n after the expiration time is reached, in units of days or hours.

                                                      \n

                                                      NoChangeNotification: This policy triggers a CloudWatch Events event if a parameter hasn't\n been modified for a specified period of time. This policy type is useful when, for example, a\n secret needs to be changed within a period of time, but it hasn't been changed.

                                                      \n

                                                      All existing policies are preserved until you send new policies or an empty policy. For more\n information about parameter policies, see Assigning parameter\n policies.

                                                      " } }, "DataType": { "target": "com.amazonaws.ssm#ParameterDataType", "traits": { - "smithy.api#documentation": "

                                                      The data type for a String parameter. Supported data types include plain text\n and Amazon Machine Image IDs.

                                                      \n

                                                      \n The following data type values are supported.\n

                                                      \n
                                                        \n
                                                      • \n

                                                        \n text\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n aws:ec2:image\n

                                                        \n
                                                      • \n
                                                      \n

                                                      When you create a String parameter and specify aws:ec2:image,\n Systems Manager validates the parameter value is in the required format, such as\n ami-12345abcdeEXAMPLE, and that the specified AMI is available in your AWS account.\n For more information, see Native\n parameter support for Amazon Machine Image IDs in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The data type for a String parameter. Supported data types include plain text\n and Amazon Machine Image (AMI) IDs.

                                                      \n

                                                      \n The following data type values are supported.\n

                                                      \n
                                                        \n
                                                      • \n

                                                        \n text\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n aws:ec2:image\n

                                                        \n
                                                      • \n
                                                      \n

                                                      When you create a String parameter and specify aws:ec2:image,\n Amazon Web Services Systems Manager validates the parameter value is in the required format, such as\n ami-12345abcdeEXAMPLE, and that the specified AMI is available in your\n account. For more information, see Native parameter support\n for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide.

                                                      " } } } @@ -20458,7 +20866,7 @@ "Version": { "target": "com.amazonaws.ssm#PSParameterVersion", "traits": { - "smithy.api#documentation": "

                                                      The new version number of a parameter. If you edit a parameter value, Parameter Store\n automatically creates a new version and assigns this new version a unique ID. You can reference a\n parameter version ID in API actions or in Systems Manager documents (SSM documents). By default, if you\n don't specify a specific version, the system returns the latest parameter value when a parameter\n is called.

                                                      " + "smithy.api#documentation": "

                                                      The new version number of a parameter. If you edit a parameter value, Parameter Store\n automatically creates a new version and assigns this new version a unique ID. You can reference a\n parameter version ID in API operations or in Systems Manager documents (SSM documents). By default, if you\n don't specify a specific version, the system returns the latest parameter value when a parameter\n is called.

                                                      " } }, "Tier": { @@ -20519,7 +20927,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Defines the default patch baseline for the relevant operating system.

                                                      \n

                                                      To reset the AWS predefined patch baseline as the default, specify the full patch baseline\n ARN as the baseline ID value. For example, for CentOS, specify\n arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of\n pb-0574b43a65ea646ed.

                                                      " + "smithy.api#documentation": "

                                                      Defines the default patch baseline for the relevant operating system.

                                                      \n

                                                      To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline\n Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify\n arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of\n pb-0574b43a65ea646ed.

                                                      " } }, "com.amazonaws.ssm#RegisterDefaultPatchBaselineRequest": { @@ -20580,14 +20988,14 @@ "BaselineId": { "target": "com.amazonaws.ssm#BaselineId", "traits": { - "smithy.api#documentation": "

                                                      The ID of the patch baseline to register the patch group with.

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

                                                      The ID of the patch baseline to register with the patch group.

                                                      ", "smithy.api#required": {} } }, "PatchGroup": { "target": "com.amazonaws.ssm#PatchGroup", "traits": { - "smithy.api#documentation": "

                                                      The name of the patch group that should be registered with the patch baseline.

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

                                                      The name of the patch group to be registered with the patch baseline.

                                                      ", "smithy.api#required": {} } } @@ -20656,14 +21064,14 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets to register with the maintenance window. In other words, the instances to run\n commands on when the maintenance window runs.

                                                      \n \n

                                                      If a single maintenance window task is registered with multiple targets, its task\n invocations occur sequentially and not in parallel. If your task must run on multiple targets at\n the same time, register a task for each target individually and assign each task the same\n priority level.

                                                      \n
                                                      \n

                                                      You can specify targets using instance IDs, resource group names, or tags that have been\n applied to instances.

                                                      \n

                                                      \n Example 1: Specify instance IDs

                                                      \n

                                                      \n Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3\n \n

                                                      \n

                                                      \n Example 2: Use tag key-pairs applied to instances

                                                      \n

                                                      \n Key=tag:my-tag-key,Values=my-tag-value-1,my-tag-value-2\n \n

                                                      \n

                                                      \n Example 3: Use tag-keys applied to instances

                                                      \n

                                                      \n Key=tag-key,Values=my-tag-key-1,my-tag-key-2\n \n

                                                      \n \n

                                                      \n Example 4: Use resource group names

                                                      \n

                                                      \n Key=resource-groups:Name,Values=resource-group-name\n \n

                                                      \n

                                                      \n Example 5: Use filters for resource group types

                                                      \n

                                                      \n Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2\n \n

                                                      \n \n

                                                      For Key=resource-groups:ResourceTypeFilters, specify resource types in the\n following format

                                                      \n

                                                      \n Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC\n \n

                                                      \n
                                                      \n \n

                                                      For more information about these examples formats, including the best use case for each one,\n see Examples: Register\n targets with a maintenance window in the AWS Systems Manager User Guide.

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

                                                      The targets to register with the maintenance window. In other words, the instances to run\n commands on when the maintenance window runs.

                                                      \n \n

                                                      If a single maintenance window task is registered with multiple targets, its task\n invocations occur sequentially and not in parallel. If your task must run on multiple targets at\n the same time, register a task for each target individually and assign each task the same\n priority level.

                                                      \n
                                                      \n

                                                      You can specify targets using instance IDs, resource group names, or tags that have been\n applied to instances.

                                                      \n

                                                      \n Example 1: Specify instance IDs

                                                      \n

                                                      \n Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3\n \n

                                                      \n

                                                      \n Example 2: Use tag key-pairs applied to instances

                                                      \n

                                                      \n Key=tag:my-tag-key,Values=my-tag-value-1,my-tag-value-2\n \n

                                                      \n

                                                      \n Example 3: Use tag-keys applied to instances

                                                      \n

                                                      \n Key=tag-key,Values=my-tag-key-1,my-tag-key-2\n \n

                                                      \n \n

                                                      \n Example 4: Use resource group names

                                                      \n

                                                      \n Key=resource-groups:Name,Values=resource-group-name\n \n

                                                      \n

                                                      \n Example 5: Use filters for resource group types

                                                      \n

                                                      \n Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2\n \n

                                                      \n \n

                                                      For Key=resource-groups:ResourceTypeFilters, specify resource types in the\n following format

                                                      \n

                                                      \n Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC\n \n

                                                      \n
                                                      \n \n

                                                      For more information about these examples formats, including the best use case for each one,\n see Examples: Register\n targets with a maintenance window in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, "OwnerInformation": { "target": "com.amazonaws.ssm#OwnerInformation", "traits": { - "smithy.api#documentation": "

                                                      User-provided value that will be included in any CloudWatch events raised while running\n tasks for these targets in this maintenance window.

                                                      " + "smithy.api#documentation": "

                                                      User-provided value that will be included in any Amazon CloudWatch Events events raised while\n running tasks for these targets in this maintenance window.

                                                      " } }, "Name": { @@ -20740,7 +21148,7 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets (either instances or maintenance window targets).

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n AWS Lambda, and AWS Step Functions). For more information about running tasks that do not\n specify targets, see Registering\n maintenance window tasks without targets in the\n AWS Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      Specify instances using the following format:

                                                      \n

                                                      \n Key=InstanceIds,Values=,\n

                                                      \n

                                                      Specify maintenance window targets using the following format:

                                                      \n

                                                      \n Key=WindowTargetIds,Values=,\n

                                                      " + "smithy.api#documentation": "

                                                      The targets (either instances or maintenance window targets).

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n Lambda, and Step Functions). For more information about running tasks\n that don't specify targets, see Registering\n maintenance window tasks without targets in the\n Amazon Web Services Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      Specify instances using the following format:

                                                      \n

                                                      \n Key=InstanceIds,Values=,\n

                                                      \n

                                                      Specify maintenance window targets using the following format:

                                                      \n

                                                      \n Key=WindowTargetIds,Values=,\n

                                                      " } }, "TaskArn": { @@ -20753,7 +21161,7 @@ "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role for Systems Manager to assume when running a \n maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's \n service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run \n RegisterTaskWithMaintenanceWindow.

                                                      \n

                                                      For more information, see the following topics in the in the AWS Systems Manager User Guide:

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

                                                      The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a \n maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's \n service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run \n RegisterTaskWithMaintenanceWindow.

                                                      \n

                                                      For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

                                                      \n " } }, "TaskType": { @@ -20785,19 +21193,19 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets this task can be run for in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1. This value does not\n affect the running of your task.

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

                                                      The maximum number of targets this task can be run for in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1. This value doesn't\n affect the running of your task.

                                                      \n
                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of errors allowed before this task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1. This value does not\n affect the running of your task.

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

                                                      The maximum number of errors allowed before this task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1. This value doesn't\n affect the running of your task.

                                                      \n
                                                      " } }, "LoggingInfo": { "target": "com.amazonaws.ssm#LoggingInfo", "traits": { - "smithy.api#documentation": "

                                                      A structure containing information about an S3 bucket to write instance-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      A structure containing information about an Amazon Simple Storage Service (Amazon S3) bucket\n to write instance-level logs to.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "Name": { @@ -20906,14 +21314,14 @@ "ResourceType": { "target": "com.amazonaws.ssm#ResourceTypeForTagging", "traits": { - "smithy.api#documentation": "

                                                      The type of resource from which you want to remove a tag.

                                                      \n \n

                                                      The ManagedInstance type for this API action is only for on-premises managed instances.\n Specify the name of the managed instance in the following format: mi-ID_number. For example,\n mi-1a2b3c4d5e6f.

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

                                                      The type of resource from which you want to remove a tag.

                                                      \n \n

                                                      The ManagedInstance type for this API operation is only for on-premises\n managed instances. Specify the name of the managed instance in the following format:\n mi-ID_number\n . For example,\n mi-1a2b3c4d5e6f.

                                                      \n
                                                      ", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.ssm#ResourceId", "traits": { - "smithy.api#documentation": "

                                                      The ID of the resource from which you want to remove tags. For example:

                                                      \n

                                                      ManagedInstance: mi-012345abcde

                                                      \n

                                                      MaintenanceWindow: mw-012345abcde

                                                      \n

                                                      PatchBaseline: pb-012345abcde

                                                      \n

                                                      OpsMetadata object: ResourceID for tagging is created from the Amazon Resource\n Name (ARN) for the object. Specifically, ResourceID is created from the strings that\n come after the word opsmetadata in the ARN. For example, an OpsMetadata object with\n an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager\n has a ResourceID of either aws/ssm/MyGroup/appmanager or\n /aws/ssm/MyGroup/appmanager.

                                                      \n

                                                      For the Document and Parameter values, use the name of the resource.

                                                      \n \n

                                                      The ManagedInstance type for this API action is only for on-premises managed instances.\n Specify the name of the managed instance in the following format: mi-ID_number. For example,\n mi-1a2b3c4d5e6f.

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

                                                      The ID of the resource from which you want to remove tags. For example:

                                                      \n

                                                      ManagedInstance: mi-012345abcde

                                                      \n

                                                      MaintenanceWindow: mw-012345abcde

                                                      \n

                                                      PatchBaseline: pb-012345abcde

                                                      \n

                                                      OpsMetadata object: ResourceID for tagging is created from the Amazon Resource\n Name (ARN) for the object. Specifically, ResourceID is created from the strings that\n come after the word opsmetadata in the ARN. For example, an OpsMetadata object with\n an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager\n has a ResourceID of either aws/ssm/MyGroup/appmanager or\n /aws/ssm/MyGroup/appmanager.

                                                      \n

                                                      For the Document and Parameter values, use the name of the resource.

                                                      \n \n

                                                      The ManagedInstance type for this API operation is only for on-premises managed instances.\n Specify the name of the managed instance in the following format: mi-ID_number. For example,\n mi-1a2b3c4d5e6f.

                                                      \n
                                                      ", "smithy.api#required": {} } }, @@ -20950,7 +21358,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an AWS service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n AWS service charges money to the account based on feature or service usage, then the AWS service\n team might create a default setting of \"false\". This means the user can't use this feature unless\n they change the setting to \"true\" and intentionally opt in for a paid feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. AWS services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the GetServiceSetting API action to view the\n current value. Use the UpdateServiceSetting API action to change the default\n setting.

                                                      \n

                                                      Reset the service setting for the account to the default value as provisioned by the AWS\n service team.

                                                      " + "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an Amazon Web Services service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services\n service team might create a default setting of \"false\". This means the user can't use this\n feature unless they change the setting to \"true\" and intentionally opt in for a paid\n feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the GetServiceSetting API operation to view the\n current value. Use the UpdateServiceSetting API operation to change the default\n setting.

                                                      \n

                                                      Reset the service setting for the account to the default value as provisioned by the Amazon Web Services\n service team.

                                                      " } }, "com.amazonaws.ssm#ResetServiceSettingRequest": { @@ -20959,13 +21367,13 @@ "SettingId": { "target": "com.amazonaws.ssm#ServiceSettingId", "traits": { - "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n /ssm/automation/customer-script-log-destination\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/automation/customer-script-log-group-name\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/documents/console/public-sharing-permission\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/parameter-store/default-parameter-tier\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/parameter-store/high-throughput-enabled\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/managed-instance/activation-tier\n

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

                                                      The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of\n the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n /ssm/automation/customer-script-log-destination\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/automation/customer-script-log-group-name\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/documents/console/public-sharing-permission\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/parameter-store/default-parameter-tier\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/parameter-store/high-throughput-enabled\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n /ssm/managed-instance/activation-tier\n

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

                                                      The request body of the ResetServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The request body of the ResetServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#ResetServiceSettingResult": { @@ -20974,12 +21382,12 @@ "ServiceSetting": { "target": "com.amazonaws.ssm#ServiceSetting", "traits": { - "smithy.api#documentation": "

                                                      The current, effective service setting after calling the ResetServiceSetting API\n action.

                                                      " + "smithy.api#documentation": "

                                                      The current, effective service setting after calling the ResetServiceSetting API\n operation.

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

                                                      The result body of the ResetServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The result body of the ResetServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#ResolvedTargets": { @@ -21091,6 +21499,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceDataSyncAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      A sync configuration with the same name already exists.

                                                      ", "smithy.api#error": "client" } @@ -21101,19 +21513,19 @@ "OrganizationSourceType": { "target": "com.amazonaws.ssm#ResourceDataSyncOrganizationSourceType", "traits": { - "smithy.api#documentation": "

                                                      If an AWS Organization is present, this is either OrganizationalUnits or\n EntireOrganization. For OrganizationalUnits, the data is aggregated\n from a set of organization units. For EntireOrganization, the data is aggregated\n from the entire AWS Organization.

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

                                                      If an Amazon Web Services organization is present, this is either OrganizationalUnits or\n EntireOrganization. For OrganizationalUnits, the data is aggregated\n from a set of organization units. For EntireOrganization, the data is aggregated\n from the entire Amazon Web Services organization.

                                                      ", "smithy.api#required": {} } }, "OrganizationalUnits": { "target": "com.amazonaws.ssm#ResourceDataSyncOrganizationalUnitList", "traits": { - "smithy.api#documentation": "

                                                      The AWS Organizations organization units included in the sync.

                                                      " + "smithy.api#documentation": "

                                                      The Organizations organization units included in the sync.

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

                                                      Information about the AwsOrganizationsSource resource data sync source. A sync source of\n this type can synchronize data from AWS Organizations or, if an AWS Organization is not present, from\n multiple AWS Regions.

                                                      " + "smithy.api#documentation": "

                                                      Information about the AwsOrganizationsSource resource data sync source. A sync\n source of this type can synchronize data from Organizations or, if an Amazon Web Services organization isn't\n present, from multiple Regions.

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncConflictException": { @@ -21124,6 +21536,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceDataSyncConflictException", + "httpResponseCode": 409 + }, "smithy.api#documentation": "

                                                      Another UpdateResourceDataSync request is being processed. Wait a few minutes\n and try again.

                                                      ", "smithy.api#error": "client" } @@ -21136,6 +21552,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceDataSyncCountExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You have exceeded the allowed maximum sync configurations.

                                                      ", "smithy.api#error": "client" } @@ -21154,7 +21574,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Synchronize Systems Manager Inventory data from multiple AWS accounts defined in AWS Organizations to\n a centralized S3 bucket. Data is synchronized to individual key prefixes in the central bucket.\n Each key prefix represents a different AWS account ID.

                                                      " + "smithy.api#documentation": "

                                                      Synchronize Amazon Web Services Systems Manager Inventory data from multiple accounts defined in Organizations to a\n centralized Amazon S3 bucket. Data is synchronized to individual key prefixes in the\n central bucket. Each key prefix represents a different account ID.

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncDestinationDataSharingType": { @@ -21180,6 +21600,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceDataSyncInvalidConfiguration", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The specified sync configuration is invalid.

                                                      ", "smithy.api#error": "client" } @@ -21190,13 +21614,13 @@ "SyncName": { "target": "com.amazonaws.ssm#ResourceDataSyncName", "traits": { - "smithy.api#documentation": "

                                                      The name of the Resource Data Sync.

                                                      " + "smithy.api#documentation": "

                                                      The name of the resource data sync.

                                                      " } }, "SyncType": { "target": "com.amazonaws.ssm#ResourceDataSyncType", "traits": { - "smithy.api#documentation": "

                                                      The type of resource data sync. If SyncType is SyncToDestination,\n then the resource data sync synchronizes data to an S3 bucket. If the SyncType is\n SyncFromSource then the resource data sync synchronizes data from AWS Organizations or from\n multiple AWS Regions.

                                                      " + "smithy.api#documentation": "

                                                      The type of resource data sync. If SyncType is SyncToDestination,\n then the resource data sync synchronizes data to an S3 bucket. If the SyncType is\n SyncFromSource then the resource data sync synchronizes data from Organizations or from\n multiple Regions.

                                                      " } }, "SyncSource": { @@ -21249,7 +21673,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about a Resource Data Sync configuration, including its current status and last\n successful sync.

                                                      " + "smithy.api#documentation": "

                                                      Information about a resource data sync configuration, including its current status and last\n successful sync.

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncItemList": { @@ -21284,7 +21708,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified sync name was not found.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ResourceDataSyncNotFound", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

                                                      The specified sync name wasn't found.

                                                      ", "smithy.api#error": "client" } }, @@ -21303,12 +21731,12 @@ "OrganizationalUnitId": { "target": "com.amazonaws.ssm#ResourceDataSyncOrganizationalUnitId", "traits": { - "smithy.api#documentation": "

                                                      The AWS Organization unit ID data source for the sync.

                                                      " + "smithy.api#documentation": "

                                                      The Organizations unit ID data source for the sync.

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

                                                      The AWS Organizations organizational unit data source for the sync.

                                                      " + "smithy.api#documentation": "

                                                      The Organizations organizational unit data source for the sync.

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncOrganizationalUnitId": { @@ -21368,14 +21796,14 @@ "Region": { "target": "com.amazonaws.ssm#ResourceDataSyncS3Region", "traits": { - "smithy.api#documentation": "

                                                      The AWS Region with the S3 bucket targeted by the Resource Data Sync.

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

                                                      The Region with the S3 bucket targeted by the resource data sync.

                                                      ", "smithy.api#required": {} } }, "AWSKMSKeyARN": { "target": "com.amazonaws.ssm#ResourceDataSyncAWSKMSKeyARN", "traits": { - "smithy.api#documentation": "

                                                      The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as\n the destination S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      The ARN of an encryption key for a destination in Amazon S3. Must belong to the same\n Region as the destination S3 bucket.

                                                      " } }, "DestinationDataSharing": { @@ -21386,7 +21814,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Information about the target S3 bucket for the Resource Data Sync.

                                                      " + "smithy.api#documentation": "

                                                      Information about the target S3 bucket for the resource data sync.

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncS3Format": { @@ -21424,33 +21852,33 @@ "SourceType": { "target": "com.amazonaws.ssm#ResourceDataSyncSourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of data source for the resource data sync. SourceType is either\n AwsOrganizations (if an organization is present in AWS Organizations) or\n SingleAccountMultiRegions.

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

                                                      The type of data source for the resource data sync. SourceType is either\n AwsOrganizations (if an organization is present in Organizations) or\n SingleAccountMultiRegions.

                                                      ", "smithy.api#required": {} } }, "AwsOrganizationsSource": { "target": "com.amazonaws.ssm#ResourceDataSyncAwsOrganizationsSource", "traits": { - "smithy.api#documentation": "

                                                      Information about the AwsOrganizationsSource resource data sync source. A sync source of\n this type can synchronize data from AWS Organizations.

                                                      " + "smithy.api#documentation": "

                                                      Information about the AwsOrganizationsSource resource data sync source. A sync\n source of this type can synchronize data from Organizations.

                                                      " } }, "SourceRegions": { "target": "com.amazonaws.ssm#ResourceDataSyncSourceRegionList", "traits": { - "smithy.api#documentation": "

                                                      The SyncSource AWS Regions included in the resource data sync.

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

                                                      The SyncSource Regions included in the resource data sync.

                                                      ", "smithy.api#required": {} } }, "IncludeFutureRegions": { "target": "com.amazonaws.ssm#ResourceDataSyncIncludeFutureRegions", "traits": { - "smithy.api#documentation": "

                                                      Whether to automatically synchronize and aggregate data from new AWS Regions when those\n Regions come online.

                                                      " + "smithy.api#documentation": "

                                                      Whether to automatically synchronize and aggregate data from new Regions when those\n Regions come online.

                                                      " } }, "EnableAllOpsDataSources": { "target": "com.amazonaws.ssm#ResourceDataSyncEnableAllOpsDataSources", "traits": { - "smithy.api#documentation": "

                                                      When you create a resource data sync, if you choose one of the AWS Organizations options, then Systems Manager\n automatically enables all OpsData sources in the selected AWS Regions for all AWS accounts in\n your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager\n automatically enables all OpsData sources in the selected Regions for all accounts in\n your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } } }, @@ -21488,7 +21916,7 @@ "SourceType": { "target": "com.amazonaws.ssm#ResourceDataSyncSourceType", "traits": { - "smithy.api#documentation": "

                                                      The type of data source for the resource data sync. SourceType is either\n AwsOrganizations (if an organization is present in AWS Organizations) or\n singleAccountMultiRegions.

                                                      " + "smithy.api#documentation": "

                                                      The type of data source for the resource data sync. SourceType is either\n AwsOrganizations (if an organization is present in Organizations) or\n singleAccountMultiRegions.

                                                      " } }, "AwsOrganizationsSource": { @@ -21500,30 +21928,30 @@ "SourceRegions": { "target": "com.amazonaws.ssm#ResourceDataSyncSourceRegionList", "traits": { - "smithy.api#documentation": "

                                                      The SyncSource AWS Regions included in the resource data sync.

                                                      " + "smithy.api#documentation": "

                                                      The SyncSource Regions included in the resource data sync.

                                                      " } }, "IncludeFutureRegions": { "target": "com.amazonaws.ssm#ResourceDataSyncIncludeFutureRegions", "traits": { - "smithy.api#documentation": "

                                                      Whether to automatically synchronize and aggregate data from new AWS Regions when those\n Regions come online.

                                                      " + "smithy.api#documentation": "

                                                      Whether to automatically synchronize and aggregate data from new Regions when those\n Regions come online.

                                                      " } }, "State": { "target": "com.amazonaws.ssm#ResourceDataSyncState", "traits": { - "smithy.api#documentation": "

                                                      The data type name for including resource data sync state. There are four sync\n states:

                                                      \n

                                                      \n OrganizationNotExists: Your organization doesn't exist.

                                                      \n

                                                      \n NoPermissions: The system can't locate the service-linked role. This role is\n automatically created when a user creates a resource data sync in Explorer.

                                                      \n

                                                      \n InvalidOrganizationalUnit: You specified or selected an invalid unit in the\n resource data sync configuration.

                                                      \n

                                                      \n TrustedAccessDisabled: You disabled Systems Manager access in the organization in\n AWS Organizations.

                                                      " + "smithy.api#documentation": "

                                                      The data type name for including resource data sync state. There are four sync\n states:

                                                      \n

                                                      \n OrganizationNotExists: Your organization doesn't exist.

                                                      \n

                                                      \n NoPermissions: The system can't locate the service-linked role. This role is\n automatically created when a user creates a resource data sync in Explorer.

                                                      \n

                                                      \n InvalidOrganizationalUnit: You specified or selected an invalid unit in the\n resource data sync configuration.

                                                      \n

                                                      \n TrustedAccessDisabled: You disabled Systems Manager access in the organization in\n Organizations.

                                                      " } }, "EnableAllOpsDataSources": { "target": "com.amazonaws.ssm#ResourceDataSyncEnableAllOpsDataSources", "traits": { - "smithy.api#documentation": "

                                                      When you create a resource data sync, if you choose one of the AWS Organizations options, then Systems Manager\n automatically enables all OpsData sources in the selected AWS Regions for all AWS accounts in\n your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager\n automatically enables all OpsData sources in the selected Regions for all accounts in\n your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the\n Amazon Web Services Systems Manager User Guide.

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

                                                      The data type name for including resource data sync state. There are four sync\n states:

                                                      \n

                                                      \n OrganizationNotExists (Your organization doesn't exist)

                                                      \n

                                                      \n NoPermissions (The system can't locate the service-linked role. This role is\n automatically created when a user creates a resource data sync in Explorer.)

                                                      \n

                                                      \n InvalidOrganizationalUnit (You specified or selected an invalid unit in the\n resource data sync configuration.)

                                                      \n

                                                      \n TrustedAccessDisabled (You disabled Systems Manager access in the organization in\n AWS Organizations.)

                                                      " + "smithy.api#documentation": "

                                                      The data type name for including resource data sync state. There are four sync\n states:

                                                      \n

                                                      \n OrganizationNotExists (Your organization doesn't exist)

                                                      \n

                                                      \n NoPermissions (The system can't locate the service-linked role. This role is\n automatically created when a user creates a resource data sync in Amazon Web Services Systems Manager Explorer.)

                                                      \n

                                                      \n InvalidOrganizationalUnit (You specified or selected an invalid unit in the\n resource data sync configuration.)

                                                      \n

                                                      \n TrustedAccessDisabled (You disabled Systems Manager access in the organization in\n Organizations.)

                                                      " } }, "com.amazonaws.ssm#ResourceDataSyncState": { @@ -21555,6 +21983,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceInUseException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      Error returned if an attempt is made to delete a patch baseline that is registered for a\n patch group.

                                                      ", "smithy.api#error": "client" } @@ -21567,7 +21999,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Error returned when the caller has exceeded the default resource quotas. For example, too\n many maintenance windows or patch baselines have been created.

                                                      \n

                                                      For information about resource quotas in Systems Manager, see Systems Manager service quotas in the\n AWS General Reference.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ResourceLimitExceededException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      Error returned when the caller has exceeded the default resource quotas. For example, too\n many maintenance windows or patch baselines have been created.

                                                      \n

                                                      For information about resource quotas in Systems Manager, see Systems Manager service quotas in the\n Amazon Web Services General Reference.

                                                      ", "smithy.api#error": "client" } }, @@ -21634,7 +22070,7 @@ "TypeName": { "target": "com.amazonaws.ssm#InventoryItemTypeName", "traits": { - "smithy.api#documentation": "

                                                      Name of the inventory item type. Valid value: AWS:InstanceInformation. Default Value:\n AWS:InstanceInformation.

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

                                                      Name of the inventory item type. Valid value: AWS:InstanceInformation. Default\n Value: AWS:InstanceInformation.

                                                      ", "smithy.api#required": {} } } @@ -21675,7 +22111,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Reconnects a session to an instance after it has been disconnected. Connections can be\n resumed for disconnected sessions, but not terminated sessions.

                                                      \n \n

                                                      This command is primarily for use by client machines to automatically reconnect during\n intermittent network issues. It is not intended for any other use.

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

                                                      Reconnects a session to an instance after it has been disconnected. Connections can be\n resumed for disconnected sessions, but not terminated sessions.

                                                      \n \n

                                                      This command is primarily for use by client machines to automatically reconnect during\n intermittent network issues. It isn't intended for any other use.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#ResumeSessionRequest": { @@ -21708,7 +22144,7 @@ "StreamUrl": { "target": "com.amazonaws.ssm#StreamUrl", "traits": { - "smithy.api#documentation": "

                                                      A URL back to SSM Agent on the instance that the Session Manager client uses to send commands and\n receive output from the instance. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output).

                                                      \n

                                                      \n region represents the Region identifier for an\n\t\t\t\t\t\tAWS Region supported by AWS Systems Manager, such as us-east-2 for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n AWS General Reference.

                                                      \n

                                                      \n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE.

                                                      " + "smithy.api#documentation": "

                                                      A URL back to SSM Agent on the instance that the Session Manager client uses to send commands and\n receive output from the instance. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output).

                                                      \n

                                                      \n region represents the Region identifier for an\n\t\t\t\t\t\tRegion supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n Amazon Web Services General Reference.

                                                      \n

                                                      \n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE.

                                                      " } } } @@ -21792,14 +22228,14 @@ "DocumentName": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Automation runbook (Automation document) used in a runbook workflow.

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

                                                      The name of the Automation runbook used in a runbook workflow.

                                                      ", "smithy.api#required": {} } }, "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The version of the Automation runbook (Automation document) used in a\n runbook workflow.

                                                      " + "smithy.api#documentation": "

                                                      The version of the Automation runbook used in a runbook workflow.

                                                      " } }, "Parameters": { @@ -21817,7 +22253,7 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      A key-value mapping to target resources that the Runbook operation performs tasks on.\n Required if you specify TargetParameterName.

                                                      " + "smithy.api#documentation": "

                                                      A key-value mapping to target resources that the runbook operation performs tasks on.\n Required if you specify TargetParameterName.

                                                      " } }, "MaxConcurrency": { @@ -21835,12 +22271,12 @@ "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      Information about the AWS Regions and accounts targeted by the current Runbook\n operation.

                                                      " + "smithy.api#documentation": "

                                                      Information about the Regions and accounts targeted by the current Runbook\n operation.

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

                                                      Information about an Automation runbook (Automation document) used in a runbook workflow in\n Change Manager.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

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

                                                      Information about an Automation runbook used in a runbook workflow in Change Manager.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#Runbooks": { @@ -21879,7 +22315,7 @@ "OutputS3Region": { "target": "com.amazonaws.ssm#S3Region", "traits": { - "smithy.api#documentation": "

                                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager\n automatically determines the Region of the S3 bucket.

                                                      " + "smithy.api#documentation": "

                                                      (Deprecated) You can no longer specify this parameter. The system ignores it. Instead,\n Amazon Web Services Systems Manager automatically determines the Region of the S3 bucket.

                                                      " } }, "OutputS3BucketName": { @@ -21910,7 +22346,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      A URL for the S3 bucket where you want to store the results of this request.

                                                      " + "smithy.api#documentation": "

                                                      A URL for the Amazon Web Services Systems Manager (Systems Manager) bucket where you want to store the\n results of this request.

                                                      " } }, "com.amazonaws.ssm#S3Region": { @@ -22071,26 +22507,26 @@ "InstanceIds": { "target": "com.amazonaws.ssm#InstanceIdList", "traits": { - "smithy.api#documentation": "

                                                      The IDs of the instances where the command should run. Specifying instance IDs is most\n useful when you are targeting a limited number of instances, though you can specify up to 50\n IDs.

                                                      \n

                                                      To target a larger number of instances, or if you prefer not to list individual instance\n IDs, we recommend using the Targets option instead. Using Targets,\n which accepts tag key-value pairs to identify the instances to send commands to, you can a send\n command to tens, hundreds, or thousands of instances at once.

                                                      \n

                                                      For more information about how to use targets, see Using targets and rate\n controls to send commands to a fleet in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The IDs of the instances where the command should run. Specifying instance IDs is most\n useful when you are targeting a limited number of instances, though you can specify up to 50\n IDs.

                                                      \n

                                                      To target a larger number of instances, or if you prefer not to list individual instance\n IDs, we recommend using the Targets option instead. Using Targets,\n which accepts tag key-value pairs to identify the instances to send commands to, you can a send\n command to tens, hundreds, or thousands of instances at once.

                                                      \n

                                                      For more information about how to use targets, see Using targets and rate\n controls to send commands to a fleet in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      An array of search criteria that targets instances using a Key,Value\n combination that you specify. Specifying targets is most useful when you want to send a command\n to a large number of instances at once. Using Targets, which accepts tag key-value\n pairs to identify instances, you can send a command to tens, hundreds, or thousands of instances\n at once.

                                                      \n

                                                      To send a command to a smaller number of instances, you can use the InstanceIds\n option instead.

                                                      \n

                                                      For more information about how to use targets, see Sending commands to a\n fleet in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      An array of search criteria that targets instances using a Key,Value\n combination that you specify. Specifying targets is most useful when you want to send a command\n to a large number of instances at once. Using Targets, which accepts tag key-value\n pairs to identify instances, you can send a command to tens, hundreds, or thousands of instances\n at once.

                                                      \n

                                                      To send a command to a smaller number of instances, you can use the InstanceIds\n option instead.

                                                      \n

                                                      For more information about how to use targets, see Sending commands to a\n fleet in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "DocumentName": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document to run. This can be a public document or a custom document.\n To run a shared document belonging to another account, specify the document ARN. For more\n information about how to use shared documents, see Using shared SSM documents\n in the AWS Systems Manager User Guide.

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

                                                      The name of the Amazon Web Services Systems Manager document (SSM document) to run. This can be a public document or a\n custom document. To run a shared document belonging to another account, specify the document ARN.\n For more information about how to use shared documents, see Using shared SSM documents\n in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a\n specific version number. If you run commands by using the AWS CLI, then you must escape the first\n two options by using a backslash. If you specify a version number, then you don't need to use the\n backslash. For example:

                                                      \n

                                                      --document-version \"\\$DEFAULT\"

                                                      \n

                                                      --document-version \"\\$LATEST\"

                                                      \n

                                                      --document-version \"3\"

                                                      " + "smithy.api#documentation": "

                                                      The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a\n specific version number. If you run commands by using the Command Line Interface (Amazon Web Services CLI), then\n you must escape the first two options by using a backslash. If you specify a version number, then\n you don't need to use the backslash. For example:

                                                      \n

                                                      --document-version \"\\$DEFAULT\"

                                                      \n

                                                      --document-version \"\\$LATEST\"

                                                      \n

                                                      --document-version \"3\"

                                                      " } }, "DocumentHash": { @@ -22109,7 +22545,7 @@ "target": "com.amazonaws.ssm#TimeoutSeconds", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If this time is reached and the command has not already started running, it will not\n run.

                                                      " + "smithy.api#documentation": "

                                                      If this time is reached and the command hasn't already started running, it won't run.

                                                      " } }, "Comment": { @@ -22145,19 +22581,19 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      (Optional) The maximum number of instances that are allowed to run the command at the same\n time. You can specify a number such as 10 or a percentage such as 10%. The default value is 50.\n For more information about how to use MaxConcurrency, see Using\n concurrency controls in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      (Optional) The maximum number of instances that are allowed to run the command at the same\n time. You can specify a number such as 10 or a percentage such as 10%. The default value is\n 50. For more information about how to use MaxConcurrency, see Using\n concurrency controls in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of errors allowed without the command failing. When the command fails one\n more time beyond the value of MaxErrors, the systems stops sending the command to additional\n targets. You can specify a number like 10 or a percentage like 10%. The default value is 0. For\n more information about how to use MaxErrors, see Using\n error controls in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of errors allowed without the command failing. When the command fails one\n more time beyond the value of MaxErrors, the systems stops sending the command to\n additional targets. You can specify a number like 10 or a percentage like 10%. The default value\n is 0. For more information about how to use MaxErrors, see Using\n error controls in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for Run\n Command commands.

                                                      " + "smithy.api#documentation": "

                                                      The ARN of the Identity and Access Management (IAM) service role to use to publish\n Amazon Simple Notification Service (Amazon SNS) notifications for Run Command commands.

                                                      " } }, "NotificationConfig": { @@ -22169,7 +22605,7 @@ "CloudWatchOutputConfig": { "target": "com.amazonaws.ssm#CloudWatchOutputConfig", "traits": { - "smithy.api#documentation": "

                                                      Enables Systems Manager to send Run Command output to Amazon CloudWatch Logs.

                                                      " + "smithy.api#documentation": "

                                                      Enables Amazon Web Services Systems Manager to send Run Command output to Amazon CloudWatch Logs. Run Command is a\n capability of Amazon Web Services Systems Manager.

                                                      " } } } @@ -22224,12 +22660,12 @@ "Status": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The status of the service setting. The value can be Default, Customized or\n PendingUpdate.

                                                      \n
                                                        \n
                                                      • \n

                                                        Default: The current setting uses a default value provisioned by the AWS service\n team.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Customized: The current setting use a custom value specified by the customer.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PendingUpdate: The current setting uses a default or custom value, but a setting change\n request is pending approval.

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

                                                      The status of the service setting. The value can be Default, Customized or\n PendingUpdate.

                                                      \n
                                                        \n
                                                      • \n

                                                        Default: The current setting uses a default value provisioned by the Amazon Web Services service\n team.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Customized: The current setting use a custom value specified by the customer.

                                                        \n
                                                      • \n
                                                      • \n

                                                        PendingUpdate: The current setting uses a default or custom value, but a setting change\n request is pending approval.

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

                                                      The service setting data structure.

                                                      \n

                                                      \n ServiceSetting is an account-level setting for an AWS service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n AWS service charges money to the account based on feature or service usage, then the AWS service\n team might create a default setting of \"false\". This means the user can't use this feature unless\n they change the setting to \"true\" and intentionally opt in for a paid feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. AWS services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the UpdateServiceSetting API action to change\n the default setting. Or, use the ResetServiceSetting to change the value back\n to the original value defined by the AWS service team.

                                                      " + "smithy.api#documentation": "

                                                      The service setting data structure.

                                                      \n

                                                      \n ServiceSetting is an account-level setting for an Amazon Web Services service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services\n service team might create a default setting of \"false\". This means the user can't use this\n feature unless they change the setting to \"true\" and intentionally opt in for a paid\n feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the UpdateServiceSetting API operation to\n change the default setting. Or, use the ResetServiceSetting to change the value\n back to the original value defined by the Amazon Web Services service team.

                                                      " } }, "com.amazonaws.ssm#ServiceSettingId": { @@ -22249,7 +22685,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified service setting was not found. Either the service name or the setting has not\n been provisioned by the AWS service team.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "ServiceSettingNotFound", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The specified service setting wasn't found. Either the service name or the setting hasn't\n been provisioned by the Amazon Web Services service team.

                                                      ", "smithy.api#error": "client" } }, @@ -22304,7 +22744,7 @@ "Owner": { "target": "com.amazonaws.ssm#SessionOwner", "traits": { - "smithy.api#documentation": "

                                                      The ID of the AWS user account that started the session.

                                                      " + "smithy.api#documentation": "

                                                      The ID of the Amazon Web Services user account that started the session.

                                                      " } }, "Details": { @@ -22346,7 +22786,7 @@ "value": { "target": "com.amazonaws.ssm#SessionFilterValue", "traits": { - "smithy.api#documentation": "

                                                      The filter value. Valid values for each filter key are as follows:

                                                      \n
                                                        \n
                                                      • \n

                                                        InvokedAfter: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.

                                                        \n
                                                      • \n
                                                      • \n

                                                        InvokedBefore: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Target: Specify an instance to which session connections have been made.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Owner: Specify an AWS user account to see a list of sessions started by that user.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Status: Specify a valid session status to see a list of all sessions with that status.\n Status values you can specify include:

                                                        \n
                                                          \n
                                                        • \n

                                                          Connected

                                                          \n
                                                        • \n
                                                        • \n

                                                          Connecting

                                                          \n
                                                        • \n
                                                        • \n

                                                          Disconnected

                                                          \n
                                                        • \n
                                                        • \n

                                                          Terminated

                                                          \n
                                                        • \n
                                                        • \n

                                                          Terminating

                                                          \n
                                                        • \n
                                                        • \n

                                                          Failed

                                                          \n
                                                        • \n
                                                        \n
                                                      • \n
                                                      • \n

                                                        SessionId: Specify a session ID to return details about the session.

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

                                                      The filter value. Valid values for each filter key are as follows:

                                                      \n
                                                        \n
                                                      • \n

                                                        InvokedAfter: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.

                                                        \n
                                                      • \n
                                                      • \n

                                                        InvokedBefore: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Target: Specify an instance to which session connections have been made.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Owner: Specify an Amazon Web Services user account to see a list of sessions started by that\n user.

                                                        \n
                                                      • \n
                                                      • \n

                                                        Status: Specify a valid session status to see a list of all sessions with that status.\n Status values you can specify include:

                                                        \n
                                                          \n
                                                        • \n

                                                          Connected

                                                          \n
                                                        • \n
                                                        • \n

                                                          Connecting

                                                          \n
                                                        • \n
                                                        • \n

                                                          Disconnected

                                                          \n
                                                        • \n
                                                        • \n

                                                          Terminated

                                                          \n
                                                        • \n
                                                        • \n

                                                          Terminating

                                                          \n
                                                        • \n
                                                        • \n

                                                          Failed

                                                          \n
                                                        • \n
                                                        \n
                                                      • \n
                                                      • \n

                                                        SessionId: Specify a session ID to return details about the session.

                                                        \n
                                                      • \n
                                                      ", "smithy.api#required": {} } } @@ -22696,7 +23136,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Use this API action to run an association immediately and only one time. This action can be\n helpful when troubleshooting associations.

                                                      " + "smithy.api#documentation": "

                                                      Runs an association immediately and only one time. This operation can be helpful when\n troubleshooting associations.

                                                      " } }, "com.amazonaws.ssm#StartAssociationsOnceRequest": { @@ -22747,7 +23187,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Initiates execution of an Automation document.

                                                      " + "smithy.api#documentation": "

                                                      Initiates execution of an Automation runbook.

                                                      " } }, "com.amazonaws.ssm#StartAutomationExecutionRequest": { @@ -22756,20 +23196,20 @@ "DocumentName": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document to run. This can be a public document or a custom document.\n To run a shared document belonging to another account, specify the document ARN. For more\n information about how to use shared documents, see Using shared SSM documents\n in the AWS Systems Manager User Guide.

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

                                                      The name of the SSM document to run. This can be a public document or a custom document. To\n run a shared document belonging to another account, specify the document ARN. For more\n information about how to use shared documents, see Using shared SSM documents\n in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#required": {} } }, "DocumentVersion": { "target": "com.amazonaws.ssm#DocumentVersion", "traits": { - "smithy.api#documentation": "

                                                      The version of the Automation document to use for this execution.

                                                      " + "smithy.api#documentation": "

                                                      The version of the Automation runbook to use for this execution.

                                                      " } }, "Parameters": { "target": "com.amazonaws.ssm#AutomationParameterMap", "traits": { - "smithy.api#documentation": "

                                                      A key-value map of execution parameters, which match the declared parameters in the\n Automation document.

                                                      " + "smithy.api#documentation": "

                                                      A key-value map of execution parameters, which match the declared parameters in the\n Automation runbook.

                                                      " } }, "ClientToken": { @@ -22799,13 +23239,13 @@ "TargetMaps": { "target": "com.amazonaws.ssm#TargetMaps", "traits": { - "smithy.api#documentation": "

                                                      A key-value mapping of document parameters to target resources. Both Targets and TargetMaps\n cannot be specified together.

                                                      " + "smithy.api#documentation": "

                                                      A key-value mapping of document parameters to target resources. Both Targets and TargetMaps\n can't be specified together.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run this task in parallel. You can specify a\n number, such as 10, or a percentage, such as 10%. The default value is 10.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run this task in parallel. You can specify a\n number, such as 10, or a percentage, such as 10%. The default value is 10.

                                                      " } }, "MaxErrors": { @@ -22817,13 +23257,13 @@ "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      A location is a combination of AWS Regions and/or AWS accounts where you want to run the\n Automation. Use this action to start an Automation in multiple Regions and multiple accounts. For\n more information, see Running Automation workflows in multiple AWS Regions and accounts in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A location is a combination of Regions and/or accounts where you want to run the\n automation. Use this operation to start an automation in multiple Regions and multiple\n accounts. For more information, see Running Automation workflows in multiple Regions and accounts in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n an automation. Tags enable you to categorize a resource in different ways, such as by purpose,\n owner, or environment. For example, you might want to tag an automation to identify an\n environment or operating system. In this case, you could specify the following key name/value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=environment,Value=test\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing patch baseline, use the AddTagsToResource\n action.

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

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n an automation. Tags enable you to categorize a resource in different ways, such as by purpose,\n owner, or environment. For example, you might want to tag an automation to identify an\n environment or operating system. In this case, you could specify the following key-value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=environment,Value=test\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=OS,Value=Windows\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      To add tags to an existing patch baseline, use the AddTagsToResource\n operation.

                                                      \n
                                                      " } } } @@ -22871,7 +23311,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Creates a change request for Change Manager. The runbooks (Automation documents) specified in the\n change request run only after all required approvals for the change request have been\n received.

                                                      " + "smithy.api#documentation": "

                                                      Creates a change request for Change Manager. The Automation runbooks specified in the\n change request run only after all required approvals for the change request have been\n received.

                                                      " } }, "com.amazonaws.ssm#StartChangeRequestExecutionRequest": { @@ -22917,14 +23357,14 @@ "Runbooks": { "target": "com.amazonaws.ssm#Runbooks", "traits": { - "smithy.api#documentation": "

                                                      Information about the Automation runbooks (Automation documents) that are run during the\n runbook workflow.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

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

                                                      Information about the Automation runbooks that are run during the runbook workflow.

                                                      \n \n

                                                      The Automation runbooks specified for the runbook workflow can't run until all required\n approvals for the change request have been received.

                                                      \n
                                                      ", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n a change request. Tags enable you to categorize a resource in different ways, such as by\n purpose, owner, or environment. For example, you might want to tag a change request to identify\n an environment or target AWS Region. In this case, you could specify the following key-value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Region,Value=us-east-2\n

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

                                                      Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n a change request. Tags enable you to categorize a resource in different ways, such as by\n purpose, owner, or environment. For example, you might want to tag a change request to identify\n an environment or target Region. In this case, you could specify the following key-value\n pairs:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=Environment,Value=Production\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=Region,Value=us-east-2\n

                                                        \n
                                                      • \n
                                                      " } }, "ScheduledEndTime": { @@ -22972,7 +23412,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Initiates a connection to a target (for example, an instance) for a Session Manager session. Returns a\n URL and token that can be used to open a WebSocket connection for sending input and receiving\n outputs.

                                                      \n \n

                                                      AWS CLI usage: start-session is an interactive command that requires the Session Manager\n plugin to be installed on the client machine making the call. For information, see Install\n the Session Manager plugin for the AWS CLI in the AWS Systems Manager User Guide.

                                                      \n

                                                      AWS Tools for PowerShell usage: Start-SSMSession is not currently supported by AWS Tools\n for PowerShell on Windows local machines.

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

                                                      Initiates a connection to a target (for example, an instance) for a Session Manager session. Returns a\n URL and token that can be used to open a WebSocket connection for sending input and receiving\n outputs.

                                                      \n \n

                                                      Amazon Web Services CLI usage: start-session is an interactive command that requires the Session Manager\n plugin to be installed on the client machine making the call. For information, see Install\n the Session Manager plugin for the Amazon Web Services CLI in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Amazon Web Services Tools for PowerShell usage: Start-SSMSession isn't currently supported by Amazon Web Services Tools\n for PowerShell on Windows local machines.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#StartSessionRequest": { @@ -23017,7 +23457,7 @@ "StreamUrl": { "target": "com.amazonaws.ssm#StreamUrl", "traits": { - "smithy.api#documentation": "

                                                      A URL back to SSM Agent on the instance that the Session Manager client uses to send commands and\n receive output from the instance. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)\n

                                                      \n

                                                      \n region represents the Region identifier for an\n\t\t\t\t\t\tAWS Region supported by AWS Systems Manager, such as us-east-2 for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n AWS General Reference.

                                                      \n

                                                      \n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE.

                                                      " + "smithy.api#documentation": "

                                                      A URL back to SSM Agent on the instance that the Session Manager client uses to send commands and\n receive output from the instance. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)\n

                                                      \n

                                                      \n region represents the Region identifier for an\n\t\t\t\t\t\tRegion supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n Amazon Web Services General Reference.

                                                      \n

                                                      \n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE.

                                                      " } } } @@ -23056,6 +23496,10 @@ "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "StatusUnchanged", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The updated status is the same as the current status.

                                                      ", "smithy.api#error": "client" } @@ -23085,26 +23529,26 @@ "OnFailure": { "target": "com.amazonaws.ssm#String", "traits": { - "smithy.api#documentation": "

                                                      The action to take if the step fails. The default value is Abort.

                                                      " + "smithy.api#documentation": "

                                                      The action to take if the step fails. The default value is Abort.

                                                      " } }, "MaxAttempts": { "target": "com.amazonaws.ssm#Integer", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The maximum number of tries to run the action of the step. The default value is 1.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of tries to run the action of the step. The default value is\n 1.

                                                      " } }, "ExecutionStartTime": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      If a step has begun execution, this contains the time the step started. If the step is in\n Pending status, this field is not populated.

                                                      " + "smithy.api#documentation": "

                                                      If a step has begun execution, this contains the time the step started. If the step is in\n Pending status, this field isn't populated.

                                                      " } }, "ExecutionEndTime": { "target": "com.amazonaws.ssm#DateTime", "traits": { - "smithy.api#documentation": "

                                                      If a step has finished execution, this contains the time the execution ended. If the step\n has not yet concluded, this field is not populated.

                                                      " + "smithy.api#documentation": "

                                                      If a step has finished execution, this contains the time the execution ended. If the step\n hasn't yet concluded, this field isn't populated.

                                                      " } }, "StepStatus": { @@ -23196,7 +23640,7 @@ "TargetLocation": { "target": "com.amazonaws.ssm#TargetLocation", "traits": { - "smithy.api#documentation": "

                                                      The combination of AWS Regions and accounts targeted by the current Automation\n execution.

                                                      " + "smithy.api#documentation": "

                                                      The combination of Regions and accounts targeted by the current Automation\n execution.

                                                      " } } }, @@ -23382,6 +23826,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubTypeCountLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The sub-type count exceeded the limit for the inventory type.

                                                      ", "smithy.api#error": "client" } @@ -23405,7 +23853,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Metadata that you assign to your AWS resources. Tags enable you to categorize your resources\n in different ways, for example, by purpose, owner, or environment. In Systems Manager, you can apply tags\n to documents, managed instances, maintenance windows, Parameter Store parameters, and patch\n baselines.

                                                      " + "smithy.api#documentation": "

                                                      Metadata that you assign to your Amazon Web Services resources. Tags enable you to categorize your\n resources in different ways, for example, by purpose, owner, or environment. In Amazon Web Services Systems Manager, you\n can apply tags to Systems Manager documents (SSM documents), managed instances, maintenance windows,\n parameters, patch baselines, OpsItems, and OpsMetadata.

                                                      " } }, "com.amazonaws.ssm#TagKey": { @@ -23452,12 +23900,12 @@ "Values": { "target": "com.amazonaws.ssm#TargetValues", "traits": { - "smithy.api#documentation": "

                                                      User-defined criteria that maps to Key. For example, if you specified\n tag:ServerRole, you could specify value:WebServer to run a command on\n instances that include EC2 tags of ServerRole,WebServer.

                                                      \n

                                                      Depending on the type of Target, the maximum number of values for a\n Key might be lower than the global maximum of 50.

                                                      " + "smithy.api#documentation": "

                                                      User-defined criteria that maps to Key. For example, if you specified\n tag:ServerRole, you could specify value:WebServer to run a command on\n instances that include EC2 tags of ServerRole,WebServer.

                                                      \n

                                                      Depending on the type of target, the maximum number of values for a key might be lower than\n the global maximum of 50.

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

                                                      An array of search criteria that targets instances using a Key,Value combination that you\n specify.

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n AWS Lambda, and AWS Step Functions). For more information about running tasks that do not\n specify targets, see Registering\n maintenance window tasks without targets in the\n AWS Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      Supported formats include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag:my-tag-key,Values=my-tag-value-1,my-tag-value-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag-key,Values=my-tag-key-1,my-tag-key-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Run Command and Maintenance window targets only:\n Key=resource-groups:Name,Values=resource-group-name\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Maintenance window targets only:\n Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Automation targets only:\n Key=ResourceGroup;Values=resource-group-name\n \n

                                                        \n
                                                      • \n
                                                      \n

                                                      For example:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag-key,Values=Name,Instance-Type,CostCenter\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Run Command and Maintenance window targets only:\n Key=resource-groups:Name,Values=ProductionResourceGroup\n

                                                        \n

                                                        This example demonstrates how to target all resources in the resource group ProductionResourceGroup in your maintenance window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Maintenance window targets only:\n Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC\n \n

                                                        \n

                                                        This example demonstrates how to target only EC2 instances and VPCs in your maintenance\n window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Automation targets only:\n Key=ResourceGroup,Values=MyResourceGroup\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n State Manager association targets only:\n Key=InstanceIds,Values=*\n \n

                                                        \n

                                                        This example demonstrates how to target all managed instances in the AWS Region where the\n association was created.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about how to send commands that target instances using\n Key,Value parameters, see Targeting multiple instances in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      An array of search criteria that targets instances using a key-value pair that you\n specify.

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n Lambda, and Step Functions). For more information about running tasks\n that don't specify targets, see Registering\n maintenance window tasks without targets in the\n Amazon Web Services Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      Supported formats include the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag:my-tag-key,Values=my-tag-value-1,my-tag-value-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag-key,Values=my-tag-key-1,my-tag-key-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Run Command and Maintenance window targets only:\n Key=resource-groups:Name,Values=resource-group-name\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Maintenance window targets only:\n Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2\n \n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Automation targets only:\n Key=ResourceGroup;Values=resource-group-name\n \n

                                                        \n
                                                      • \n
                                                      \n

                                                      For example:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Key=tag-key,Values=Name,Instance-Type,CostCenter\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Run Command and Maintenance window targets only:\n Key=resource-groups:Name,Values=ProductionResourceGroup\n

                                                        \n

                                                        This example demonstrates how to target all resources in the resource group ProductionResourceGroup in your maintenance window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Maintenance window targets only:\n Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC\n \n

                                                        \n

                                                        This example demonstrates how to target only Amazon Elastic Compute Cloud (Amazon EC2)\n instances and VPCs in your maintenance window.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Automation targets only:\n Key=ResourceGroup,Values=MyResourceGroup\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n State Manager association targets only:\n Key=InstanceIds,Values=*\n \n

                                                        \n

                                                        This example demonstrates how to target all managed instances in the Region where\n the association was created.

                                                        \n
                                                      • \n
                                                      \n

                                                      For more information about how to send commands that target instances using\n Key,Value parameters, see Targeting multiple instances in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#TargetCount": { @@ -23471,6 +23919,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TargetInUseException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      You specified the Safe option for the DeregisterTargetFromMaintenanceWindow\n operation, but the target is still referenced in a task.

                                                      ", "smithy.api#error": "client" } @@ -23491,19 +23943,19 @@ "Accounts": { "target": "com.amazonaws.ssm#Accounts", "traits": { - "smithy.api#documentation": "

                                                      The AWS accounts targeted by the current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The accounts targeted by the current Automation execution.

                                                      " } }, "Regions": { "target": "com.amazonaws.ssm#Regions", "traits": { - "smithy.api#documentation": "

                                                      The AWS Regions targeted by the current Automation execution.

                                                      " + "smithy.api#documentation": "

                                                      The Regions targeted by the current Automation execution.

                                                      " } }, "TargetLocationMaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of AWS accounts and AWS regions allowed to run the Automation\n concurrently.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of Regions and accounts allowed to run the Automation\n concurrently.

                                                      " } }, "TargetLocationMaxErrors": { @@ -23520,7 +23972,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The combination of AWS Regions and accounts targeted by the current Automation\n execution.

                                                      " + "smithy.api#documentation": "

                                                      The combination of Regions and accounts targeted by the current Automation\n execution.

                                                      " } }, "com.amazonaws.ssm#TargetLocations": { @@ -23600,7 +24052,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The specified target instance for the session is not fully configured for use with Session Manager.\n For more information, see Getting started with\n Session Manager in the AWS Systems Manager User Guide. This error is also returned if you\n attempt to start a session on an instance that is located in a different account or Region

                                                      ", + "aws.protocols#awsQueryError": { + "code": "TargetNotConnected", + "httpResponseCode": 430 + }, + "smithy.api#documentation": "

                                                      The specified target instance for the session isn't fully configured for use with Session Manager. For\n more information, see Getting started with\n Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you\n attempt to start a session on an instance that is located in a different account or Region

                                                      ", "smithy.api#error": "client" } }, @@ -23664,7 +24120,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Permanently ends a session and closes the data connection between the Session Manager client and\n SSM Agent on the instance. A terminated session cannot be resumed.

                                                      " + "smithy.api#documentation": "

                                                      Permanently ends a session and closes the data connection between the Session Manager client and\n SSM Agent on the instance. A terminated session isn't be resumed.

                                                      " } }, "com.amazonaws.ssm#TerminateSessionRequest": { @@ -23712,6 +24168,10 @@ "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "TooManyTagsError", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The Targets parameter includes too many tags. Remove one or more tags and try\n the command again.

                                                      ", "smithy.api#error": "client" } @@ -23724,6 +24184,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TooManyUpdates", + "httpResponseCode": 429 + }, "smithy.api#documentation": "

                                                      There are concurrent updates for a resource that supports one update at a time.

                                                      ", "smithy.api#error": "client" } @@ -23739,6 +24203,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TotalSizeLimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      The size of inventory data has exceeded the total size limit for the resource.

                                                      ", "smithy.api#error": "client" } @@ -23781,7 +24249,7 @@ "Name": { "target": "com.amazonaws.ssm#PSParameterName", "traits": { - "smithy.api#documentation": "

                                                      The parameter name of which you want to delete one or more labels.

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

                                                      The name of the parameter from which you want to delete one or more labels.

                                                      ", "smithy.api#required": {} } }, @@ -23789,7 +24257,7 @@ "target": "com.amazonaws.ssm#PSParameterVersion", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The specific version of the parameter which you want to delete one or more labels from. If\n it is not present, the call will fail.

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

                                                      The specific version of the parameter which you want to delete one or more labels from. If\n it isn't present, the call will fail.

                                                      ", "smithy.api#required": {} } }, @@ -23814,7 +24282,7 @@ "InvalidLabels": { "target": "com.amazonaws.ssm#ParameterLabelList", "traits": { - "smithy.api#documentation": "

                                                      The labels that are not attached to the given parameter version.

                                                      " + "smithy.api#documentation": "

                                                      The labels that aren't attached to the given parameter version.

                                                      " } } } @@ -23827,7 +24295,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The calendar entry contained in the specified Systems Manager document is not supported.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedCalendarException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The calendar entry contained in the specified SSM document isn't supported.

                                                      ", "smithy.api#error": "client" } }, @@ -23839,7 +24311,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      Microsoft application patching is only available on EC2 instances and advanced instances. To\n patch Microsoft applications on on-premises servers and VMs, you must enable advanced instances.\n For more information, see Using the\n advanced-instances tier in the AWS Systems Manager User Guide.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedFeatureRequiredException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      Patching for applications released by Microsoft is only available on EC2 instances and\n advanced instances. To patch applications released by Microsoft on on-premises servers and VMs,\n you must enable advanced instances. For more information, see Enabling\n the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.

                                                      ", "smithy.api#error": "client" } }, @@ -23854,7 +24330,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The Context attribute that you specified for the InventoryItem is\n not allowed for this inventory type. You can only use the Context attribute with\n inventory types like AWS:ComplianceItem.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedInventoryItemContext", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The Context attribute that you specified for the InventoryItem\n isn't allowed for this inventory type. You can only use the Context attribute with\n inventory types like AWS:ComplianceItem.

                                                      ", "smithy.api#error": "client" } }, @@ -23866,6 +24346,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "UnsupportedInventorySchemaVersion", + "httpResponseCode": 400 + }, "smithy.api#documentation": "

                                                      Inventory item type schema version has to match supported versions in the service. Check\n output of GetInventorySchema to see the available schema version for each type.

                                                      ", "smithy.api#error": "client" } @@ -23878,7 +24362,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The operating systems you specified is not supported, or the operation is not supported for\n the operating system.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedOperatingSystem", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The operating systems you specified isn't supported, or the operation isn't supported for\n the operating system.

                                                      ", "smithy.api#error": "client" } }, @@ -23890,7 +24378,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The parameter type is not supported.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedParameterType", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The parameter type isn't supported.

                                                      ", "smithy.api#error": "client" } }, @@ -23902,7 +24394,11 @@ } }, "traits": { - "smithy.api#documentation": "

                                                      The document does not support the platform type of the given instance ID(s). For example,\n you sent an document for a Windows instance to a Linux instance.

                                                      ", + "aws.protocols#awsQueryError": { + "code": "UnsupportedPlatformType", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

                                                      The document doesn't support the platform type of the given instance ID(s). For example, you\n sent an document for a Windows instance to a Linux instance.

                                                      ", "smithy.api#error": "client" } }, @@ -23953,7 +24449,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Updates an association. You can update the association name and version, the document\n version, schedule, parameters, and Amazon S3 output.

                                                      \n

                                                      In order to call this API action, your IAM user account, group, or role must be configured\n with permission to call the DescribeAssociation API action. If you don't have\n permission to call DescribeAssociation, then you receive the following error: An error\n occurred (AccessDeniedException) when calling the UpdateAssociation operation: User:\n is not authorized to perform: ssm:DescribeAssociation on resource:\n \n

                                                      \n \n

                                                      When you update an association, the association immediately runs against the specified\n targets.

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

                                                      Updates an association. You can update the association name and version, the document\n version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output.

                                                      \n

                                                      In order to call this API operation, your Identity and Access Management (IAM) user\n account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call\n DescribeAssociation, then you receive the following error: An error occurred\n (AccessDeniedException) when calling the UpdateAssociation operation: User: \n isn't authorized to perform: ssm:DescribeAssociation on resource:\n \n

                                                      \n \n

                                                      When you update an association, the association immediately runs against the specified\n targets.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#UpdateAssociationRequest": { @@ -23969,7 +24465,7 @@ "Parameters": { "target": "com.amazonaws.ssm#Parameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters you want to update for the association. If you create a parameter using\n Parameter Store, you can reference the parameter using {{ssm:parameter-name}}

                                                      " + "smithy.api#documentation": "

                                                      The parameters you want to update for the association. If you create a parameter using\n Parameter Store, a capability of Amazon Web Services Systems Manager, you can reference the parameter using\n {{ssm:parameter-name}}.

                                                      " } }, "DocumentVersion": { @@ -23993,7 +24489,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the SSM document that contains the configuration information for the instance.\n You can specify Command or Automation documents.

                                                      \n

                                                      You can specify AWS-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For SSM documents that are shared with you from other AWS accounts, you must specify the\n complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:aws:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For AWS-predefined documents and SSM documents you created in your account, you only need to\n specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

                                                      " + "smithy.api#documentation": "

                                                      The name of the SSM Command document or Automation runbook that contains the configuration\n information for the instance.

                                                      \n

                                                      You can specify Amazon Web Services-predefined documents, documents you created, or a document that is\n shared with you from another account.

                                                      \n

                                                      For Systems Manager document (SSM document) that are shared with you from other accounts, you\n must specify the complete SSM document ARN, in the following format:

                                                      \n

                                                      \n arn:aws:ssm:region:account-id:document/document-name\n \n

                                                      \n

                                                      For example:

                                                      \n

                                                      \n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document\n

                                                      \n

                                                      For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need\n to specify the document name. For example, AWS-ApplyPatchBaseline or\n My-Document.

                                                      " } }, "Targets": { @@ -24017,19 +24513,19 @@ "AutomationTargetParameterName": { "target": "com.amazonaws.ssm#AutomationTargetParameterName", "traits": { - "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation document and target resources by using rate controls.

                                                      " + "smithy.api#documentation": "

                                                      Specify the target for the association. This target is required for associations that use an\n Automation runbook and target resources by using rate controls. Automation is a capability of\n Amazon Web Services Systems Manager.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when the sixth error\n is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached are allowed to\n complete, but some of these executions may fail as well. If you need to ensure that there won't\n be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one\n at a time.

                                                      " + "smithy.api#documentation": "

                                                      The number of errors that are allowed before the system stops sending requests to run the\n association on additional targets. You can specify either an absolute number of errors, for\n example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,\n the system stops sending requests when the fourth error is received. If you specify 0, then the\n system stops sending requests after the first error is returned. If you run an association on 50\n instances and set MaxError to 10%, then the system stops sending the request when\n the sixth error is received.

                                                      \n

                                                      Executions that are already running an association when MaxErrors is reached\n are allowed to complete, but some of these executions may fail as well. If you need to ensure\n that there won't be more than max-errors failed executions, set MaxConcurrency to 1\n so that executions proceed one at a time.

                                                      " } }, "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next association\n interval, the new instance will process its association within the limit specified for\n MaxConcurrency.

                                                      " + "smithy.api#documentation": "

                                                      The maximum number of targets allowed to run the association at the same time. You can\n specify a number, for example 10, or a percentage of the target set, for example 10%. The default\n value is 100%, which means all targets run the association at the same time.

                                                      \n

                                                      If a new instance starts and attempts to run an association while Systems Manager is running\n MaxConcurrency associations, the association is allowed to run. During the next\n association interval, the new instance will process its association within the limit specified\n for MaxConcurrency.

                                                      " } }, "ComplianceSeverity": { @@ -24041,25 +24537,25 @@ "SyncCompliance": { "target": "com.amazonaws.ssm#AssociationSyncCompliance", "traits": { - "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API action. In this case, compliance data is not\n managed by State Manager. It is managed by your direct call to the PutComplianceItems API action.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " + "smithy.api#documentation": "

                                                      The mode for generating association compliance. You can specify AUTO or\n MANUAL. In AUTO mode, the system uses the status of the association\n execution to determine the compliance status. If the association execution runs successfully,\n then the association is COMPLIANT. If the association execution doesn't run\n successfully, the association is NON-COMPLIANT.

                                                      \n

                                                      In MANUAL mode, you must specify the AssociationId as a parameter\n for the PutComplianceItems API operation. In this case, compliance data isn't\n managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the\n PutComplianceItems API operation.

                                                      \n

                                                      By default, all associations use AUTO mode.

                                                      " } }, "ApplyOnlyAtCronInterval": { "target": "com.amazonaws.ssm#ApplyOnlyAtCronInterval", "traits": { - "smithy.api#documentation": "

                                                      By default, when you update an association, the system runs it immediately after it is\n updated and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you update it. This parameter is not supported for rate\n expressions.

                                                      \n

                                                      Also, if you specified this option when you created the association, you can reset it. To do\n so, specify the no-apply-only-at-cron-interval parameter when you update the\n association from the command line. This parameter forces the association to run immediately after\n updating it and according to the interval specified.

                                                      " + "smithy.api#documentation": "

                                                      By default, when you update an association, the system runs it immediately after it is\n updated and then according to the schedule you specified. Specify this option if you don't want\n an association to run immediately after you update it. This parameter isn't supported for rate\n expressions.

                                                      \n

                                                      Also, if you specified this option when you created the association, you can reset it. To do\n so, specify the no-apply-only-at-cron-interval parameter when you update the\n association from the command line. This parameter forces the association to run immediately after\n updating it and according to the interval specified.

                                                      " } }, "CalendarNames": { "target": "com.amazonaws.ssm#CalendarNameOrARNList", "traits": { - "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Systems Manager Change Calendar type\n documents you want to gate your associations under. The associations only run when that Change\n Calendar is open. For more information, see AWS Systems Manager Change\n Calendar.

                                                      " + "smithy.api#documentation": "

                                                      The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to\n gate your associations under. The associations only run when that change calendar is open. For\n more information, see Amazon Web Services Systems Manager Change\n Calendar.

                                                      " } }, "TargetLocations": { "target": "com.amazonaws.ssm#TargetLocations", "traits": { - "smithy.api#documentation": "

                                                      A location is a combination of AWS Regions and AWS accounts where you want to run the\n association. Use this action to update an association in multiple Regions and multiple\n accounts.

                                                      " + "smithy.api#documentation": "

                                                      A location is a combination of Regions and accounts where you want to run the\n association. Use this action to update an association in multiple Regions and multiple\n accounts.

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

                                                      Updates the status of the Systems Manager document associated with the specified instance.

                                                      " + "smithy.api#documentation": "

                                                      Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified\n instance.

                                                      " } }, "com.amazonaws.ssm#UpdateAssociationStatusRequest": { @@ -24113,7 +24609,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document.

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

                                                      The name of the SSM document.

                                                      ", "smithy.api#required": {} } }, @@ -24312,26 +24808,26 @@ "Attachments": { "target": "com.amazonaws.ssm#AttachmentsSourceList", "traits": { - "smithy.api#documentation": "

                                                      A list of key and value pairs that describe attachments to a version of a document.

                                                      " + "smithy.api#documentation": "

                                                      A list of key-value pairs that describe attachments to a version of a document.

                                                      " } }, "Name": { "target": "com.amazonaws.ssm#DocumentName", "traits": { - "smithy.api#documentation": "

                                                      The name of the Systems Manager document that you want to update.

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

                                                      The name of the SSM document that you want to update.

                                                      ", "smithy.api#required": {} } }, "DisplayName": { "target": "com.amazonaws.ssm#DocumentDisplayName", "traits": { - "smithy.api#documentation": "

                                                      The friendly name of the Systems Manager document that you want to update. This value can differ for\n each version of the document. If you do not specify a value for this parameter in your request,\n the existing value is applied to the new document version.

                                                      " + "smithy.api#documentation": "

                                                      The friendly name of the SSM document that you want to update. This value can differ for\n each version of the document. If you don't specify a value for this parameter in your request,\n the existing value is applied to the new document version.

                                                      " } }, "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact you are updating with the document.\n For example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n cannot be changed.

                                                      " + "smithy.api#documentation": "

                                                      An optional field specifying the version of the artifact you are updating with the document.\n For example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.

                                                      " } }, "DocumentVersion": { @@ -24416,7 +24912,7 @@ "EndDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become inactive. EndDate allows you to set a date and time in the future when the maintenance\n window will no longer run.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when you want the maintenance window to\n become inactive. EndDate allows you to set a date and time in the future when the\n maintenance window will no longer run.

                                                      " } }, "Schedule": { @@ -24435,7 +24931,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of days to wait after the date and time specified by a CRON expression before\n running the maintenance window.

                                                      \n

                                                      For example, the following cron expression schedules a maintenance window to run the third\n Tuesday of every month at 11:30 PM.

                                                      \n

                                                      \n cron(30 23 ? * TUE#3 *)\n

                                                      \n

                                                      If the schedule offset is 2, the maintenance window won't run until two days\n later.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to wait after the date and time specified by a cron expression before\n running the maintenance window.

                                                      \n

                                                      For example, the following cron expression schedules a maintenance window to run the third\n Tuesday of every month at 11:30 PM.

                                                      \n

                                                      \n cron(30 23 ? * TUE#3 *)\n

                                                      \n

                                                      If the schedule offset is 2, the maintenance window won't run until two days\n later.

                                                      " } }, "Duration": { @@ -24449,7 +24945,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowCutoff", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Systems Manager stops scheduling new\n tasks for execution.

                                                      " + "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling\n new tasks for execution.

                                                      " } }, "AllowUnassociatedTargets": { @@ -24470,7 +24966,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If True, then all fields that are required by the CreateMaintenanceWindow action are also\n required for this API request. Optional fields that are not specified are set to null.

                                                      " + "smithy.api#documentation": "

                                                      If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional\n fields that aren't specified are set to null.

                                                      " } } } @@ -24499,13 +24995,13 @@ "StartDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become active. The maintenance window will not run before this specified time.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become active. The maintenance window won't run before this specified time.

                                                      " } }, "EndDate": { "target": "com.amazonaws.ssm#MaintenanceWindowStringDateTime", "traits": { - "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become inactive. The maintenance window will not run after this specified time.

                                                      " + "smithy.api#documentation": "

                                                      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled\n to become inactive. The maintenance window won't run after this specified time.

                                                      " } }, "Schedule": { @@ -24524,7 +25020,7 @@ "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled CRON expression\n date and time.

                                                      " + "smithy.api#documentation": "

                                                      The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

                                                      " } }, "Duration": { @@ -24536,7 +25032,7 @@ "Cutoff": { "target": "com.amazonaws.ssm#MaintenanceWindowCutoff", "traits": { - "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Systems Manager stops scheduling new\n tasks for execution.

                                                      " + "smithy.api#documentation": "

                                                      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling\n new tasks for execution.

                                                      " } }, "AllowUnassociatedTargets": { @@ -24570,7 +25066,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies the target of an existing maintenance window. You\n can change the following:

                                                      \n \n
                                                        \n
                                                      • \n

                                                        Name

                                                        \n
                                                      • \n
                                                      • \n

                                                        Description

                                                        \n
                                                      • \n
                                                      • \n

                                                        Owner

                                                        \n
                                                      • \n
                                                      • \n

                                                        IDs for an ID target

                                                        \n
                                                      • \n
                                                      • \n

                                                        Tags for a Tag target

                                                        \n
                                                      • \n
                                                      • \n

                                                        From any supported tag type to another. The three supported tag types are ID target, Tag\n target, and resource group. For more information, see Target.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If a parameter is null, then the corresponding field is not modified.

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

                                                      Modifies the target of an existing maintenance window. You\n can change the following:

                                                      \n \n
                                                        \n
                                                      • \n

                                                        Name

                                                        \n
                                                      • \n
                                                      • \n

                                                        Description

                                                        \n
                                                      • \n
                                                      • \n

                                                        Owner

                                                        \n
                                                      • \n
                                                      • \n

                                                        IDs for an ID target

                                                        \n
                                                      • \n
                                                      • \n

                                                        Tags for a Tag target

                                                        \n
                                                      • \n
                                                      • \n

                                                        From any supported tag type to another. The three supported tag types are ID target, Tag\n target, and resource group. For more information, see Target.

                                                        \n
                                                      • \n
                                                      \n \n

                                                      If a parameter is null, then the corresponding field isn't modified.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#UpdateMaintenanceWindowTargetRequest": { @@ -24599,7 +25095,7 @@ "OwnerInformation": { "target": "com.amazonaws.ssm#OwnerInformation", "traits": { - "smithy.api#documentation": "

                                                      User-provided value that will be included in any CloudWatch events raised while running\n tasks for these targets in this maintenance window.

                                                      " + "smithy.api#documentation": "

                                                      User-provided value that will be included in any Amazon CloudWatch Events events raised while\n running tasks for these targets in this maintenance window.

                                                      " } }, "Name": { @@ -24618,7 +25114,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action\n are also required for this API request. Optional fields that are not specified are set to\n null.

                                                      " + "smithy.api#documentation": "

                                                      If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API\n request. Optional fields that aren't specified are set to null.

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

                                                      Modifies a task assigned to a maintenance window. You can't change the task type, but you\n can change the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript to\n AWS-RunShellScript.

                                                        \n
                                                      • \n
                                                      • \n

                                                        ServiceRoleArn

                                                        \n
                                                      • \n
                                                      • \n

                                                        TaskInvocationParameters

                                                        \n
                                                      • \n
                                                      • \n

                                                        Priority

                                                        \n
                                                      • \n
                                                      • \n

                                                        MaxConcurrency

                                                        \n
                                                      • \n
                                                      • \n

                                                        MaxErrors

                                                        \n
                                                      • \n
                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n AWS Lambda, and AWS Step Functions). For more information about running tasks that do not\n specify targets, see Registering\n maintenance window tasks without targets in the\n AWS Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      If the value for a parameter in UpdateMaintenanceWindowTask is null, then the\n corresponding field is not modified. If you set Replace to true, then all fields\n required by the RegisterTaskWithMaintenanceWindow action are required for this\n request. Optional fields that aren't specified are set to null.

                                                      \n \n

                                                      When you update a maintenance window task that has options specified in\n TaskInvocationParameters, you must provide again all the\n TaskInvocationParameters values that you want to retain. The values you do not\n specify again are removed. For example, suppose that when you registered a Run Command task, you\n specified TaskInvocationParameters values for Comment,\n NotificationConfig, and OutputS3BucketName. If you update the\n maintenance window task and specify only a different OutputS3BucketName value, the\n values for Comment and NotificationConfig are removed.

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

                                                      Modifies a task assigned to a maintenance window. You can't change the task type, but you\n can change the following values:

                                                      \n
                                                        \n
                                                      • \n

                                                        \n TaskARN. For example, you can change a RUN_COMMAND task from\n AWS-RunPowerShellScript to AWS-RunShellScript.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n ServiceRoleArn\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n TaskInvocationParameters\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n Priority\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n MaxConcurrency\n

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n MaxErrors\n

                                                        \n
                                                      • \n
                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n Lambda, and Step Functions). For more information about running tasks\n that don't specify targets, see Registering\n maintenance window tasks without targets in the\n Amazon Web Services Systems Manager User Guide.

                                                      \n
                                                      \n

                                                      If the value for a parameter in UpdateMaintenanceWindowTask is null, then the\n corresponding field isn't modified. If you set Replace to true, then all fields\n required by the RegisterTaskWithMaintenanceWindow operation are required for\n this request. Optional fields that aren't specified are set to null.

                                                      \n \n

                                                      When you update a maintenance window task that has options specified in\n TaskInvocationParameters, you must provide again all the\n TaskInvocationParameters values that you want to retain. The values you don't\n specify again are removed. For example, suppose that when you registered a Run Command task, you\n specified TaskInvocationParameters values for Comment,\n NotificationConfig, and OutputS3BucketName. If you update the\n maintenance window task and specify only a different OutputS3BucketName value, the\n values for Comment and NotificationConfig are removed.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#UpdateMaintenanceWindowTaskRequest": { @@ -24704,7 +25200,7 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "

                                                      The targets (either instances or tags) to modify. Instances are specified using\n Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using\n Key=tag_name,Values=tag_value.

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n AWS Lambda, and AWS Step Functions). For more information about running tasks that do not\n specify targets, see Registering\n maintenance window tasks without targets in the\n AWS Systems Manager User Guide.

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

                                                      The targets (either instances or tags) to modify. Instances are specified using the format\n Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using the\n format Key=tag_name,Values=tag_value.

                                                      \n \n

                                                      One or more targets must be specified for maintenance window Run Command-type tasks.\n Depending on the task, targets are optional for other maintenance window task types (Automation,\n Lambda, and Step Functions). For more information about running tasks\n that don't specify targets, see Registering\n maintenance window tasks without targets in the\n Amazon Web Services Systems Manager User Guide.

                                                      \n
                                                      " } }, "TaskArn": { @@ -24716,7 +25212,7 @@ "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role for Systems Manager to assume when running a \n maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's \n service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run \n RegisterTaskWithMaintenanceWindow.

                                                      \n

                                                      For more information, see the following topics in the in the AWS Systems Manager User Guide:

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

                                                      The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a \n maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's \n service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run \n RegisterTaskWithMaintenanceWindow.

                                                      \n

                                                      For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

                                                      \n " } }, "TaskParameters": { @@ -24728,7 +25224,7 @@ "TaskInvocationParameters": { "target": "com.amazonaws.ssm#MaintenanceWindowTaskInvocationParameters", "traits": { - "smithy.api#documentation": "

                                                      The parameters that the task should use during execution. Populate only the fields that\n match the task type. All other fields should be empty.

                                                      \n \n

                                                      When you update a maintenance window task that has options specified in\n TaskInvocationParameters, you must provide again all the\n TaskInvocationParameters values that you want to retain. The values you do not\n specify again are removed. For example, suppose that when you registered a Run Command task, you\n specified TaskInvocationParameters values for Comment,\n NotificationConfig, and OutputS3BucketName. If you update the\n maintenance window task and specify only a different OutputS3BucketName value, the\n values for Comment and NotificationConfig are removed.

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

                                                      The parameters that the task should use during execution. Populate only the fields that\n match the task type. All other fields should be empty.

                                                      \n \n

                                                      When you update a maintenance window task that has options specified in\n TaskInvocationParameters, you must provide again all the\n TaskInvocationParameters values that you want to retain. The values you don't\n specify again are removed. For example, suppose that when you registered a Run Command task, you\n specified TaskInvocationParameters values for Comment,\n NotificationConfig, and OutputS3BucketName. If you update the\n maintenance window task and specify only a different OutputS3BucketName value, the\n values for Comment and NotificationConfig are removed.

                                                      \n
                                                      " } }, "Priority": { @@ -24741,19 +25237,19 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The new MaxConcurrency value you want to specify. MaxConcurrency\n is the number of targets that are allowed to run this task in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value does not affect the running of your task and can be\n ignored.

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

                                                      The new MaxConcurrency value you want to specify. MaxConcurrency\n is the number of targets that are allowed to run this task in parallel.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value doesn't affect the running of your task and can be\n ignored.

                                                      \n
                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The new MaxErrors value to specify. MaxErrors is the maximum\n number of errors that are allowed before the task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you cannot supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value does not affect the running of your task and can be\n ignored.

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

                                                      The new MaxErrors value to specify. MaxErrors is the maximum\n number of errors that are allowed before the task stops being scheduled.

                                                      \n \n

                                                      For maintenance window tasks without a target specified, you can't supply a value for this\n option. Instead, the system inserts a placeholder value of 1, which may be reported\n in the response to this command. This value doesn't affect the running of your task and can be\n ignored.

                                                      \n
                                                      " } }, "LoggingInfo": { "target": "com.amazonaws.ssm#LoggingInfo", "traits": { - "smithy.api#documentation": "

                                                      The new logging location in Amazon S3 to specify.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      The new logging location in Amazon S3 to specify.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "Name": { @@ -24772,7 +25268,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow action\n are also required for this API request. Optional fields that are not specified are set to\n null.

                                                      " + "smithy.api#documentation": "

                                                      If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow operation are also required for this API request.\n Optional fields that aren't specified are set to null.

                                                      " } } } @@ -24807,7 +25303,7 @@ "ServiceRoleArn": { "target": "com.amazonaws.ssm#ServiceRole", "traits": { - "smithy.api#documentation": "

                                                      The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for\n maintenance window Run Command tasks.

                                                      " + "smithy.api#documentation": "

                                                      The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service \n(Amazon SNS) notifications for maintenance window Run Command tasks.

                                                      " } }, "TaskParameters": { @@ -24831,19 +25327,19 @@ "MaxConcurrency": { "target": "com.amazonaws.ssm#MaxConcurrency", "traits": { - "smithy.api#documentation": "

                                                      The updated MaxConcurrency value.

                                                      " + "smithy.api#documentation": "

                                                      The updated MaxConcurrency value.

                                                      " } }, "MaxErrors": { "target": "com.amazonaws.ssm#MaxErrors", "traits": { - "smithy.api#documentation": "

                                                      The updated MaxErrors value.

                                                      " + "smithy.api#documentation": "

                                                      The updated MaxErrors value.

                                                      " } }, "LoggingInfo": { "target": "com.amazonaws.ssm#LoggingInfo", "traits": { - "smithy.api#documentation": "

                                                      The updated logging information in Amazon S3.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

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

                                                      The updated logging information in Amazon S3.

                                                      \n \n

                                                      \n LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the\n OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure.\n For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance\n window task types, see MaintenanceWindowTaskInvocationParameters.

                                                      \n
                                                      " } }, "Name": { @@ -24877,7 +25373,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Changes the Amazon Identity and Access Management (IAM) role that is assigned to the\n on-premises instance or virtual machines (VM). IAM roles are first assigned to these hybrid\n instances during the activation process. For more information, see CreateActivation.

                                                      " + "smithy.api#documentation": "

                                                      Changes the Identity and Access Management (IAM) role that is assigned to the\n on-premises instance or virtual machines (VM). IAM roles are first assigned to\n these hybrid instances during the activation process. For more information, see CreateActivation.

                                                      " } }, "com.amazonaws.ssm#UpdateManagedInstanceRoleRequest": { @@ -24929,7 +25425,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Edit or change an OpsItem. You must have permission in AWS Identity and Access Management\n (IAM) to update an OpsItem. For more information, see Getting started with\n OpsCenter in the AWS Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate\n operational issues impacting the performance and health of their AWS resources. For more\n information, see AWS Systems Manager OpsCenter in the\n AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Getting started with\n OpsCenter in the Amazon Web Services Systems Manager User Guide.

                                                      \n

                                                      Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and\n remediate operational issues impacting the performance and health of their Amazon Web Services resources. For\n more information, see OpsCenter in the\n Amazon Web Services Systems Manager User Guide.

                                                      " } }, "com.amazonaws.ssm#UpdateOpsItemRequest": { @@ -24944,7 +25440,7 @@ "OperationalData": { "target": "com.amazonaws.ssm#OpsItemOperationalData", "traits": { - "smithy.api#documentation": "

                                                      Add new keys or edit existing key-value pairs of the OperationalData map in the OpsItem\n object.

                                                      \n

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following: amazon, aws,\n amzn, ssm, /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API action) can view and search on the\n specified data. Operational data that is not searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API action).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see\n Creating OpsItems manually in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      Add new keys or edit existing key-value pairs of the OperationalData map in the OpsItem\n object.

                                                      \n

                                                      Operational data is custom data that provides useful reference details about the OpsItem.\n For example, you can specify log files, error strings, license keys, troubleshooting tips, or\n other relevant data. You enter operational data as key-value pairs. The key has a maximum length\n of 128 characters. The value has a maximum size of 20 KB.

                                                      \n \n

                                                      Operational data keys can't begin with the following:\n amazon, aws, amzn, ssm,\n /amazon, /aws, /amzn, /ssm.

                                                      \n
                                                      \n

                                                      You can choose to make the data searchable by other users in the account or you can restrict\n search access. Searchable data means that all users with access to the OpsItem Overview page (as\n provided by the DescribeOpsItems API operation) can view and search on the\n specified data. Operational data that isn't searchable is only viewable by users who have access\n to the OpsItem (as provided by the GetOpsItem API operation).

                                                      \n

                                                      Use the /aws/resources key in OperationalData to specify a related resource in\n the request. Use the /aws/automations key in OperationalData to associate an\n Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see\n Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "OperationalDataToDelete": { @@ -24974,7 +25470,7 @@ "Status": { "target": "com.amazonaws.ssm#OpsItemStatus", "traits": { - "smithy.api#documentation": "

                                                      The OpsItem status. Status can be Open, In Progress, or\n Resolved. For more information, see Editing OpsItem details in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      The OpsItem status. Status can be Open, In Progress, or\n Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "OpsItemId": { @@ -25058,7 +25554,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Systems Manager calls this API action when you edit OpsMetadata in Application Manager.

                                                      " + "smithy.api#documentation": "

                                                      Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

                                                      " } }, "com.amazonaws.ssm#UpdateOpsMetadataRequest": { @@ -25113,7 +25609,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Modifies an existing patch baseline. Fields not specified in the request are left\n unchanged.

                                                      \n \n

                                                      For information about valid key and value pairs in PatchFilters for each\n supported operating system type, see PatchFilter.

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

                                                      Modifies an existing patch baseline. Fields not specified in the request are left\n unchanged.

                                                      \n \n

                                                      For information about valid key-value pairs in PatchFilters for each supported\n operating system type, see PatchFilter.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#UpdatePatchBaselineRequest": { @@ -25147,7 +25643,7 @@ "ApprovedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly approved patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "ApprovedPatchesComplianceLevel": { @@ -25160,19 +25656,19 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is false. Applies to Linux instances\n only.

                                                      " } }, "RejectedPatches": { "target": "com.amazonaws.ssm#PatchIdList", "traits": { - "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide.

                                                      " + "smithy.api#documentation": "

                                                      A list of explicitly rejected patches for the baseline.

                                                      \n

                                                      For information about accepted formats for lists of approved patches and rejected patches,\n see About\n package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

                                                      " } }, "RejectedPatchesAction": { "target": "com.amazonaws.ssm#PatchAction", "traits": { - "smithy.api#documentation": "

                                                      The action for Patch Manager to take on patches included in the RejectedPackages\n list.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n ALLOW_AS_DEPENDENCY: A package in the Rejected patches\n list is installed only if it is a dependency of another package. It is considered compliant\n with the patch baseline, and its status is reported as InstalledOther.\n This is the default action if no option is specified.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n BLOCK: Packages in the RejectedPatches list, and packages\n that include them as dependencies, are not installed under any circumstances. If a package was\n installed before it was added to the Rejected patches list, it is considered non-compliant with\n the patch baseline, and its status is reported as\n InstalledRejected.

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

                                                      The action for Patch Manager to take on patches included in the\n RejectedPackages list.

                                                      \n
                                                        \n
                                                      • \n

                                                        \n \n ALLOW_AS_DEPENDENCY\n : A package in the\n Rejected patches list is installed only if it is a dependency of another package.\n It is considered compliant with the patch baseline, and its status is reported as\n InstalledOther. This is the default action if no option is specified.

                                                        \n
                                                      • \n
                                                      • \n

                                                        \n \n BLOCK\n : Packages in the\n RejectedPatches list, and packages that include them as dependencies, aren't\n installed under any circumstances. If a package was installed before it was added to the\n Rejected patches list, it is considered non-compliant with the patch baseline,\n and its status is reported as InstalledRejected.

                                                        \n
                                                      • \n
                                                      " } }, "Description": { @@ -25191,7 +25687,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      If True, then all fields that are required by the CreatePatchBaseline action are also\n required for this API request. Optional fields that are not specified are set to null.

                                                      " + "smithy.api#documentation": "

                                                      If True, then all fields that are required by the CreatePatchBaseline\n operation are also required for this API request. Optional fields that aren't specified are set\n to null.

                                                      " } } } @@ -25245,7 +25741,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is 'false'. Applies to Linux instances only.

                                                      " + "smithy.api#documentation": "

                                                      Indicates whether the list of approved patches includes non-security updates that should be\n applied to the instances. The default value is false. Applies to Linux instances\n only.

                                                      " } }, "RejectedPatches": { @@ -25257,7 +25753,7 @@ "RejectedPatchesAction": { "target": "com.amazonaws.ssm#PatchAction", "traits": { - "smithy.api#documentation": "

                                                      The action specified to take on patches included in the RejectedPatches list. A patch can be\n allowed only if it is a dependency of another package, or blocked entirely along with packages\n that include it as a dependency.

                                                      " + "smithy.api#documentation": "

                                                      The action specified to take on patches included in the RejectedPatches list. A\n patch can be allowed only if it is a dependency of another package, or blocked entirely along\n with packages that include it as a dependency.

                                                      " } }, "CreatedDate": { @@ -25275,7 +25771,7 @@ "Description": { "target": "com.amazonaws.ssm#BaselineDescription", "traits": { - "smithy.api#documentation": "

                                                      A description of the Patch Baseline.

                                                      " + "smithy.api#documentation": "

                                                      A description of the patch baseline.

                                                      " } }, "Sources": { @@ -25309,7 +25805,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Update a resource data sync. After you create a resource data sync for a Region, you can't\n change the account options for that sync. For example, if you create a sync in the us-east-2\n (Ohio) Region and you choose the Include only the current account option, you can't edit that\n sync later and choose the Include all accounts from my AWS Organizations configuration option. Instead,\n you must delete the first resource data sync, and create a new one.

                                                      \n \n

                                                      This API action only supports a resource data sync that was created with a SyncFromSource\n SyncType.

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

                                                      Update a resource data sync. After you create a resource data sync for a Region, you can't\n change the account options for that sync. For example, if you create a sync in the us-east-2\n (Ohio) Region and you choose the Include only the current account option, you can't\n edit that sync later and choose the Include all accounts from my Organizations\n configuration option. Instead, you must delete the first resource data sync, and create a\n new one.

                                                      \n \n

                                                      This API operation only supports a resource data sync that was created with a\n SyncFromSource SyncType.

                                                      \n
                                                      " } }, "com.amazonaws.ssm#UpdateResourceDataSyncRequest": { @@ -25362,7 +25858,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an AWS service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n AWS service charges money to the account based on feature or service usage, then the AWS service\n team might create a default setting of \"false\". This means the user can't use this feature unless\n they change the setting to \"true\" and intentionally opt in for a paid feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. AWS services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the GetServiceSetting API action to view the\n current value. Or, use the ResetServiceSetting to change the value back to the\n original value defined by the AWS service team.

                                                      \n

                                                      Update the service setting for the account.

                                                      " + "smithy.api#documentation": "

                                                      \n ServiceSetting is an account-level setting for an Amazon Web Services service. This setting\n defines how a user interacts with or uses a service or a feature of a service. For example, if an\n Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services\n service team might create a default setting of \"false\". This means the user can't use this\n feature unless they change the setting to \"true\" and intentionally opt in for a paid\n feature.

                                                      \n

                                                      Services map a SettingId object to a setting value. Amazon Web Services services teams define\n the default value for a SettingId. You can't create a new SettingId,\n but you can overwrite the default value if you have the ssm:UpdateServiceSetting\n permission for the setting. Use the GetServiceSetting API operation to view the\n current value. Or, use the ResetServiceSetting to change the value back to the\n original value defined by the Amazon Web Services service team.

                                                      \n

                                                      Update the service setting for the account.

                                                      " } }, "com.amazonaws.ssm#UpdateServiceSettingRequest": { @@ -25378,20 +25874,20 @@ "SettingValue": { "target": "com.amazonaws.ssm#ServiceSettingValue", "traits": { - "smithy.api#documentation": "

                                                      The new value to specify for the service setting. For the\n /ssm/parameter-store/default-parameter-tier setting ID, the setting value can be\n one of the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        Standard

                                                        \n
                                                      • \n
                                                      • \n

                                                        Advanced

                                                        \n
                                                      • \n
                                                      • \n

                                                        Intelligent-Tiering

                                                        \n
                                                      • \n
                                                      \n

                                                      For the /ssm/parameter-store/high-throughput-enabled, and\n /ssm/managed-instance/activation-tier setting IDs, the setting value can be true or\n false.

                                                      \n

                                                      For the /ssm/automation/customer-script-log-destination setting ID, the setting\n value can be CloudWatch.

                                                      \n

                                                      For the /ssm/automation/customer-script-log-group-name setting ID, the setting\n value can be the name of a CloudWatch Logs log group.

                                                      \n

                                                      For the /ssm/documents/console/public-sharing-permission setting ID, the setting\n value can be Enable or Disable.

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

                                                      The new value to specify for the service setting. For the\n /ssm/parameter-store/default-parameter-tier setting ID, the setting value can be\n one of the following.

                                                      \n
                                                        \n
                                                      • \n

                                                        Standard

                                                        \n
                                                      • \n
                                                      • \n

                                                        Advanced

                                                        \n
                                                      • \n
                                                      • \n

                                                        Intelligent-Tiering

                                                        \n
                                                      • \n
                                                      \n

                                                      For the /ssm/parameter-store/high-throughput-enabled, and\n /ssm/managed-instance/activation-tier setting IDs, the setting value can be true or\n false.

                                                      \n

                                                      For the /ssm/automation/customer-script-log-destination setting ID, the setting\n value can be CloudWatch.

                                                      \n

                                                      For the /ssm/automation/customer-script-log-group-name setting ID, the setting\n value can be the name of an Amazon CloudWatch Logs log group.

                                                      \n

                                                      For the /ssm/documents/console/public-sharing-permission setting ID, the\n setting value can be Enable or Disable.

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

                                                      The request body of the UpdateServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The request body of the UpdateServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#UpdateServiceSettingResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                                      The result body of the UpdateServiceSetting API action.

                                                      " + "smithy.api#documentation": "

                                                      The result body of the UpdateServiceSetting API operation.

                                                      " } }, "com.amazonaws.ssm#Url": { diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.2020-03-31.json b/codegen/sdk-codegen/aws-models/wellarchitected.2020-03-31.json index 7c56b5cf1b2c5..6ccb2c9f097e5 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.2020-03-31.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.2020-03-31.json @@ -72,6 +72,12 @@ "SelectedChoices": { "target": "com.amazonaws.wellarchitected#SelectedChoices" }, + "ChoiceAnswers": { + "target": "com.amazonaws.wellarchitected#ChoiceAnswers", + "traits": { + "smithy.api#documentation": "

                                                      A list of selected choices to a question in your workload.

                                                      " + } + }, "IsApplicable": { "target": "com.amazonaws.wellarchitected#IsApplicable" }, @@ -80,12 +86,45 @@ }, "Notes": { "target": "com.amazonaws.wellarchitected#Notes" + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#AnswerReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why the question is not applicable to your workload.

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

                                                      An answer of the question.

                                                      " } }, + "com.amazonaws.wellarchitected#AnswerReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "OUT_OF_SCOPE", + "name": "OUT_OF_SCOPE" + }, + { + "value": "BUSINESS_PRIORITIES", + "name": "BUSINESS_PRIORITIES" + }, + { + "value": "ARCHITECTURE_CONSTRAINTS", + "name": "ARCHITECTURE_CONSTRAINTS" + }, + { + "value": "OTHER", + "name": "OTHER" + }, + { + "value": "NONE", + "name": "NONE" + } + ] + } + }, "com.amazonaws.wellarchitected#AnswerSummaries": { "type": "list", "member": { @@ -113,11 +152,23 @@ "SelectedChoices": { "target": "com.amazonaws.wellarchitected#SelectedChoices" }, + "ChoiceAnswerSummaries": { + "target": "com.amazonaws.wellarchitected#ChoiceAnswerSummaries", + "traits": { + "smithy.api#documentation": "

                                                      A list of selected choices to a question in your workload.

                                                      " + } + }, "IsApplicable": { "target": "com.amazonaws.wellarchitected#IsApplicable" }, "Risk": { "target": "com.amazonaws.wellarchitected#Risk" + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#AnswerReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      " + } } }, "traits": { @@ -183,7 +234,7 @@ "type": "string", "traits": { "smithy.api#documentation": "

                                                      An AWS account ID.

                                                      ", - "smithy.api#pattern": "[0-9]{12}" + "smithy.api#pattern": "^[0-9]{12}$" } }, "com.amazonaws.wellarchitected#AwsRegion": { @@ -219,6 +270,70 @@ "smithy.api#documentation": "

                                                      A choice available to answer question.

                                                      " } }, + "com.amazonaws.wellarchitected#ChoiceAnswer": { + "type": "structure", + "members": { + "ChoiceId": { + "target": "com.amazonaws.wellarchitected#ChoiceId" + }, + "Status": { + "target": "com.amazonaws.wellarchitected#ChoiceStatus", + "traits": { + "smithy.api#documentation": "

                                                      The status of a choice.

                                                      " + } + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#ChoiceReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      " + } + }, + "Notes": { + "target": "com.amazonaws.wellarchitected#ChoiceNotes", + "traits": { + "smithy.api#documentation": "

                                                      The notes associated with a choice.

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

                                                      A choice that has been answered on a question in your workload.

                                                      " + } + }, + "com.amazonaws.wellarchitected#ChoiceAnswerSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.wellarchitected#ChoiceAnswerSummary" + } + }, + "com.amazonaws.wellarchitected#ChoiceAnswerSummary": { + "type": "structure", + "members": { + "ChoiceId": { + "target": "com.amazonaws.wellarchitected#ChoiceId" + }, + "Status": { + "target": "com.amazonaws.wellarchitected#ChoiceStatus", + "traits": { + "smithy.api#documentation": "

                                                      The status of a choice.

                                                      " + } + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#ChoiceReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why a choice is non-applicable to a question in your workload.

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

                                                      A choice summary that has been answered on a question in your workload.

                                                      " + } + }, + "com.amazonaws.wellarchitected#ChoiceAnswers": { + "type": "list", + "member": { + "target": "com.amazonaws.wellarchitected#ChoiceAnswer" + } + }, "com.amazonaws.wellarchitected#ChoiceDescription": { "type": "string", "traits": { @@ -239,6 +354,61 @@ } } }, + "com.amazonaws.wellarchitected#ChoiceNotes": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 250 + } + } + }, + "com.amazonaws.wellarchitected#ChoiceReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "OUT_OF_SCOPE", + "name": "OUT_OF_SCOPE" + }, + { + "value": "BUSINESS_PRIORITIES", + "name": "BUSINESS_PRIORITIES" + }, + { + "value": "ARCHITECTURE_CONSTRAINTS", + "name": "ARCHITECTURE_CONSTRAINTS" + }, + { + "value": "OTHER", + "name": "OTHER" + }, + { + "value": "NONE", + "name": "NONE" + } + ] + } + }, + "com.amazonaws.wellarchitected#ChoiceStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SELECTED", + "name": "SELECTED" + }, + { + "value": "NOT_APPLICABLE", + "name": "NOT_APPLICABLE" + }, + { + "value": "UNSELECTED", + "name": "UNSELECTED" + } + ] + } + }, "com.amazonaws.wellarchitected#ChoiceTitle": { "type": "string", "traits": { @@ -249,6 +419,42 @@ } } }, + "com.amazonaws.wellarchitected#ChoiceUpdate": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.wellarchitected#ChoiceStatus", + "traits": { + "smithy.api#documentation": "

                                                      The status of a choice.

                                                      ", + "smithy.api#required": {} + } + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#ChoiceReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why a choice is non-applicable to a question in your workload.

                                                      " + } + }, + "Notes": { + "target": "com.amazonaws.wellarchitected#ChoiceNotes", + "traits": { + "smithy.api#documentation": "

                                                      The notes associated with a choice.

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

                                                      A list of choices to be updated.

                                                      " + } + }, + "com.amazonaws.wellarchitected#ChoiceUpdates": { + "type": "map", + "key": { + "target": "com.amazonaws.wellarchitected#ChoiceId" + }, + "value": { + "target": "com.amazonaws.wellarchitected#ChoiceUpdate" + } + }, "com.amazonaws.wellarchitected#Choices": { "type": "list", "member": { @@ -836,7 +1042,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Get lens review.

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

                                                      Get the answer to a specific question in a workload review.

                                                      ", "smithy.api#http": { "method": "GET", "uri": "/workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}", @@ -1277,7 +1483,7 @@ "com.amazonaws.wellarchitected#ImprovementPlanUrl": { "type": "string", "traits": { - "smithy.api#documentation": "

                                                      The improvement plan URL for a question.

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

                                                      The improvement plan URL for a question.

                                                      \n

                                                      This value is only available if the question has been answered.

                                                      ", "smithy.api#length": { "min": 1, "max": 2048 @@ -2860,7 +3066,7 @@ "type": "string", "traits": { "smithy.api#documentation": "

                                                      The ID associated with the workload share.

                                                      ", - "smithy.api#pattern": "[0-9a-f]{32}" + "smithy.api#pattern": "^[0-9a-f]{32}$" } }, "com.amazonaws.wellarchitected#ShareInvitation": { @@ -2899,7 +3105,7 @@ "com.amazonaws.wellarchitected#ShareInvitationId": { "type": "string", "traits": { - "smithy.api#pattern": "[0-9a-f]{32}" + "smithy.api#pattern": "^[0-9a-f]{32}$" } }, "com.amazonaws.wellarchitected#ShareInvitationSummaries": { @@ -3122,7 +3328,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                                      Deletes specified tags from a resource.

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

                                                      Deletes specified tags from a resource.

                                                      \n

                                                      To specify multiple tags, use separate tagKeys parameters, for example:

                                                      \n

                                                      \n DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2\n

                                                      ", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{WorkloadArn}", @@ -3143,7 +3349,7 @@ "TagKeys": { "target": "com.amazonaws.wellarchitected#TagKeyList", "traits": { - "smithy.api#documentation": "

                                                      The keys of the tags to be removed.

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

                                                      A list of tag keys. Existing tags of the resource \n whose keys are members of this list are removed from the resource.

                                                      ", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } @@ -3218,11 +3424,23 @@ "SelectedChoices": { "target": "com.amazonaws.wellarchitected#SelectedChoices" }, + "ChoiceUpdates": { + "target": "com.amazonaws.wellarchitected#ChoiceUpdates", + "traits": { + "smithy.api#documentation": "

                                                      A list of choices to update on a question in your workload. The String key \n corresponds to the choice ID to be updated.

                                                      " + } + }, "Notes": { "target": "com.amazonaws.wellarchitected#Notes" }, "IsApplicable": { "target": "com.amazonaws.wellarchitected#IsApplicable" + }, + "Reason": { + "target": "com.amazonaws.wellarchitected#AnswerReason", + "traits": { + "smithy.api#documentation": "

                                                      The reason why a question is not applicable to your workload.

                                                      " + } } }, "traits": { @@ -4011,7 +4229,7 @@ "type": "string", "traits": { "smithy.api#documentation": "

                                                      The ID assigned to the workload. This ID is unique within an AWS Region.

                                                      ", - "smithy.api#pattern": "[0-9a-f]{32}" + "smithy.api#pattern": "^[0-9a-f]{32}$" } }, "com.amazonaws.wellarchitected#WorkloadImprovementStatus": {